
rinsableleech
Published
PROTON_HIDE_NVIDIA_GPU=1 %command%
There was a flicker that would occur fairly often and it looked like the flicker was a previous frame that for whatever reason was being rendered again. I realized this after I closed the game menu, walked a bit and for a split second saw a past frame of the menu I accessed render again.
Turning off Adaptive Sync in the Arch display settings fixed the problem
Need to add a dxvk.conf file to the game's folder or you get poor performance and vram leak
The game has suffered from VRAM leaks for some time now and you'll get degraded frame rates over time until the game eventually crashes. The current fix appears to be to add a dxvk.conf file into the Diablo 4 game folder with the following:
dxgi.maxDeviceMemory=[value that's a little less than your VRAM]
dxgi.maxSharedMemory=[value that's a little less than your VRAM]
[Diablo IV.exe] dxvk.maxChunkSize = 4
That last line may or may not work for you; it doesn't appear to do anything for me I've played the game with and without it and it performs the same but others say that it helps with the VRAM leak
I'm not sure if this due to the VRAM leak or the config file that we're creating to work around the leak, but the game will hitch quite frequently especially when firing up the game, the initial minute or so is really laggy
Quite a few hitches afterward anyway and the only Proton version I was able to get the least amount of hitching with was Experimental, but it's still very much there
The tinkering really helps a lot, especially in my case. Depending on your play style and build though, the hitching I mentioned before might be a dealbreaker and would not recommend if you have a hardcore character, that hitch can genuinely cost you your character.
I personally haven't had much of an issue with it, but if you dual boot with Windows, you'll get better mileage on Windows for sure. The game frequently ping pongs between Gold and Platinum though, so I wouldn't be surprised if it's running near flawless again after a few updates.
The one difference I've noticed between playing this game on Linux and Windows is that despite the hitching, the game is able to maintain a significantly higher FPS on Linux in busy scenes versus in Windows. For me, busy scenes in Linux were still holding onto the low 100's and I never had a dip under 100 except when in towns while with Windows the frame rate dropped as low as 70 in busy scenes
Works well out of the box. Only changes I had to do were optional for better battery life
Default settings in game and set frame limit to 30FPS in the Steam UI. Because the OLED runs at 90Hz at this frame rate, responsiveness was really good and honestly didn't even feel like I was playing at 30FPS. 45 FPS is also an option but I prefer the longer battery life of 30
Others have already noted this but you have to create the dxvk.conf file
dxgi.maxDeviceMemory=###
dxgi.maxSharedMemory=###
where ### is a number that's slightly lower than your maximum VRAM
There is another setting you can put the conf file which is [Diablo IV.exe] dxvk.maxChunkSize = 4
but from my observations that seems to only help users who are running the game through a launcher that isn't Steam, as a Steam user, when I added this, I actually got worse performance but I've also seen Linux behave weirdly across different hardware and configurations so it still migh be worth a shot even if you're on Steam
As long as you have the dxvk file with the VRAM limit the game is playable on any Proton but I've noticed that the default proton, Experimental, and Proton 9 will have varying degrees of stuttering while Proton 10 (currently in beta) significantly reduces if not eliminates the stuttering and bring the gameplay on par to Windows at least it does for me.
Didn't have to do anythig the game worked well on its own
This was a fresh install of Steam due to an issue I had previously. I hadn't even enabled the option for compatibility with non-steam games to use proton and all that jazz. Game showed up before enabling that option and it ran beautifully 100% flawless the amount of time I was playing it
Sometimes downgrading graphics settings caused the frame rate to seriously tank, not sure if this is a Linux thing or a bug in the game
The game ran fine with defaults proton for me but there was a bit of a hitch when new areas would load as I walked. When I tested with Proton GE, the hitch was significantly reduced and frames were way smoother. I dual boot Windows so I'll play the game there as well and edit my rating as I see fit, might be possible that the same behaviors exist in Windows and the game just needs a few patches