As I play Diablo 4, I see it take up ridiculous amount of VRAM, upwards of 20GB.

The game doesn’t have very good control over VRAM management, and I think it just doesn’t free up any loaded texture if the VRAM size is large.

I use Lutris to run Battle.net client and Diablo.

Is there any way I can limit VRAM available to it from Wine, DXVK, or Lutris?

12 points
*

I think it just doesn’t free up any loaded texture if the VRAM size is large.

Works as designed.

Memory is there to be used. Why do you want to limit the usage? Do you need the memory elsewhere?

permalink
report
reply
6 points

For real. “Oh no, I’m using too much of my computer!”

Imagine driving a car “it’s using ALL the cylinders, can I turn off part of my engine?”

permalink
report
parent
reply
-1 points

Vram isn’t memmory, it’s memmory espace mapped to storage.

permalink
report
parent
reply
1 point

Do you also have the issue with D4 where the in game menus are laggy when opened? For me the GPU hits 100% usage and the fps drops. Once I close the menus/inventory it’s fine.

permalink
report
reply
1 point

Hmm no I have no lags at all. Happy to help any tests on my machine if it helps you to diagnose your issue.

permalink
report
parent
reply
1 point

I’ve actually figured out that it’s caused by having the in game vsync turned on. When disabled it’s fine, but I’m not sure why it’s causing an issue as I’m also using freesync.

permalink
report
parent
reply
1 point

I also use vsync in even game, never realized any benefit turning it off. Never seen any issues with it. I don’t use freesync though.

permalink
report
parent
reply
1 point

Proton and dxvk used?

permalink
report
reply
1 point

The latest versions - DXVK 2.2, lutris-GE-Proton8-10.

permalink
report
parent
reply

Linux Gaming

!linux_gaming@lemmy.ml

Create post

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

Community stats

  • 1.3K

    Monthly active users

  • 1K

    Posts

  • 11K

    Comments