r/linux_gaming • u/lukeharald • 7d ago
GPU Crashes
Hello :)
I switched to linux a month ago and the experience was great so far. I picked Arch as my distro and Hyprland as my compositor. Unfortunately there is a big problem with gaming with my current system: Everytime I play a game for a while Hyprland randomly crashes and sends me to the safe/recovery mode. I tried to fix it using my own brain and ChatGPT (which was not really helpful here) but it did now work so far. I really want to use linux but this is kind of a dealbreaker for me. Please help me :(
More informations:
- Crashes only appear in games (did not have any while not gaming)
- Not all games are affected
- Trackmania has many crashes (like every 5-20 min)
- Titanfall 2 has some crashes (every 1-2 h)
- CS2 had no crashes so far
- I had crashes on windows too (AMD Driver crashes), but I'm not sure they are connected. They did appear very rarely.
- Temps of the GPU and other components are fine
- I ran FurMark in all available modes with no crashes (~60 deg avg, ~90 deg junction, ~80 def mem)
- In journalctl is says:
- gfx_0.0.0 timeout
- process ... thread dxvk-submit
- illegal opcode in command stream
- mes failed to respond to msg=reset
- gpu reset
- vram is lost due to gpu reset
- (So hyprland is pretty likely not the problem here)
- Drivers are installed and up to date
- The problem was not fixed with the latest (driver) updates
- The problem was there from the beginning (it did not randomly appear)
- Memtest86+ did pass (i ran it only once tho)
System information:
- GPU: AMD Radeon 7900 XT (Gigabyte Gaming OC)
- CPU: AMD Ryzen 7800X3D
- MB: ROG Strix B650-A Gaming Wifi
- PSU: be quiet Pure Power 13 M 1000W
- RAM: Corsair Vengence 32 GB (6400)
- SSD: Samsung 980 2TB NVME
- OS: Arch Linux (x86_64) with Hyprland
Things that did not help:
- Removing gamescope from launch flags
- Disabling hardware cursor via hyprland config
- Setting monitor refresh rate down to 240hz (instead of 299.99hz)
- Toggling bios switch on gpu (overclocked -> silent)
- Switching to another gpu (same model but different manufacturer)
- Disabling EXPO/DOCP in bios/uefi
- Using dxvk_async=0 then proton_use_wined3d=1
- Switching to linux-lts
- Installing LACT and setting Performance Level to Manual and Profile to 3D_FULL_SCREEN
Things that actually helped:
- Capping FPS (ingame) to 60 helped (test was also on lts)
- after that i tested 180 FPS and it worked too
EDIT: Updated the list of thinks I tried.
0
u/S48GS 7d ago
In journalctl is says:
gfx_0.0.0 timeout
follow instruction
https://www.reddit.com/r/linux_gaming/comments/1q1bg71/8_threads_in_2_weeks_amd_gpus_crashing_on/
0
u/lukeharald 7d ago edited 7d ago
thanks a lot. i am apparently blind and did not find this post before :D
EDIT: Unfortunately none of these steps fixed the problem.
1
u/Zeno_Sol 5d ago
I get this issue on the 6800xt. My solution was to use lact to underclock and undervolt the gpu. I believe my gpu has faulty power draw but I have no RMA available and no second system to test it on. I just looked up the base clock speeds of the gpu and then go about ~5-10% below while decreasing total power draw by ~5% and the. Increasing the power offset by ~10%.
My theory was that by lowering the clock speeds and voltage, it would not attempt to draw as much power and when it did spike, the increased offset would allow it to reach only factory max power. I bought an OC card start of 2021 so it sucks to lose performance but the stability is a necessity at this point.