this post was submitted on 03 Apr 2025
31 points (100.0% liked)
Linux Gaming
17592 readers
561 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Kinda, I have this issue with Diablo 4. It might with work other games that use dxvk, but you van try creating a config file in the same directory as the executable:
"dxvk.conf" with the following lines: dxgi.maxDeviceMemory=8192 dxgi.maxSharedMemory=8192
Worth a shot.
Oh yeah I found something similar just now which might work? Using DXVK_CONFIG="dxgi.maxDeviceMemory = 6144:" %command% to try and limit the game to 6GB VRAM. It hasn't crashed since, but I'm unsure whether that's because of this. I could try the other parameter as well and see if that works, though reading the comments I'm unsure about that. Worth a try
EDIT: I also found a comment on the NVIDIA forums detailing this solution. Apparently you can configure this system-wide, which would limit the VRAM on all DXVK games
As far as I know, there's no shared memory with Nvidia on Linux so that last flag might not do anything
Maybe, but it definitely helped keep it playable.