You are not logged in.

#1 2023-08-30 02:57:07

JRLarsen
Member
Registered: 2023-08-30
Posts: 3

Massive Memory Leaks When Using DXVK

After updating everything a couple of weeks ago, I've been unable to play certain games such as Dead By Daylight or Subnautica: Below Zero. The games rapidly consume all of my memory until my whole system crashes. Sometimes Gnome will kill the game and Steam, sometimes it won't and I have to hard reboot because my computer freezes (not even being able to switch to another tty). Other games don't have this issue, however; such as Overwatch, Thrive, Minion Masters, etc.

System:
uname: Linux larsen-pc 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux
CPU: AMD Ryzen 9 7950X
GPU: AMD Radeon 6900 XT
Memory: 64GB DDR5-5600 CL28
Motherboard: Asus PRIME X670E-PRO WIFI ATX

Troubleshooting steps taken:
Reinstalling the effected games
Reinstalling Steam (as well as deleting all application-created files)
Downgrading Steam
Downgrading Proton
Switching to Proton GE Edition
Waiting until there were game updates and updating them
Rebooting
Trying different desktop environments (Gnome Wayland + X11, KDE Wayland + X11)
Trying Steam as a flatpak
Disabling the Steam overlay
Deleting all Steam overlay data and making sure there were no tabs open

Last edited by JRLarsen (2023-08-30 18:22:24)

Offline

#2 2023-08-30 06:16:07

seth
Member
Registered: 2012-09-03
Posts: 60,683

Offline

#3 2023-08-30 16:13:02

JRLarsen
Member
Registered: 2023-08-30
Posts: 3

Re: Massive Memory Leaks When Using DXVK

Force Direct3D emulation
Some game may not work with DXVK. Try running the application with Direct3D:
PROTON_USE_WINED3D=1 %command%

This worked! I guess there's a problem with DXVK

Offline

#4 2023-08-30 18:17:03

JRLarsen
Member
Registered: 2023-08-30
Posts: 3

Re: Massive Memory Leaks When Using DXVK

How could I downgrade DXVK in Arch? It sounds like it's built into wine but downgrading proton versions doesn't seem to fix the issue. I didn't have a dedicated DXVK package installed either
Direct3D is just so bad

Last edited by JRLarsen (2023-08-30 18:17:26)

Offline

#5 2023-08-30 19:03:17

seth
Member
Registered: 2012-09-03
Posts: 60,683

Re: Massive Memory Leaks When Using DXVK

DXVK is a concept within wine, the problem might be an ongoing bug for the specific games (check the wiki and the winhq entries)
It might also be the amd driver - either the kernel module (try eg. the LTS kernel - but you'd probably not get a userspace leak out of that) or mesa - ideally test the behavior w/ some native vulkan client/game.

Offline

Board footer

Powered by FluxBB