Limit VRAM in Lutris - eviltoast

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?

  • bankimu@lemm.eeOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • MoreCoffee@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      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.

      • bankimu@lemm.eeOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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.