[RX 5600XT] Random GPU hang while playing games, GPU reset
Brief summary of the problem:
While playing any kind of game, there is a chance that my GPU just hangs and tries to restart itself. The result is a still image and the only thing I can do is to restart the whole PC from a TTY terminal. This problem is not a new one, I had it more than a year now.
Other recent reports like theese #2067 (closed) #2161 (closed) #2175 (closed) seems similar / relevant.
Hardware description:
- CPU: AMD R7 5800X
- GPU: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev ca)
- System Memory: 16GB
- Display(s): 1440P monitor
- Type of Display Connection: HDMI. Same with DP
System information:
- Distro name and Version: Manjaro KDE
- Kernel version: 5.19.14-1
- Custom kernel: no
- AMD official driver version: N/A
How to reproduce the issue:
Just play some games (Cyberpunk, Stellaris, Star Trek Online, World War Z). Many times, this hang occurs quite soon, but some time it occurs after more than an hour of normal gaming. I did all the stability test, the system is rock stable. I also tested the card under Windows just to be sure. Everything is stable.
Today, I was able to reproduce this problem on a second PC, also with Manjaro KDE and also with an RX 5600XT (not the same card!). So this problem is not related to one particular VGA card or PC hardware. So I'm quite sure it is software related. This PC with an older RX570 card had no problem at all.
The type of game is not relevant. Also, I got this problem once during browsing with Firefox.
There where some kernel and firmware package combinations that does not had this hang... Maybe around kernel 5.15, but I'm not sure.
Attached files:
I have a bunch of dmesg outputs... See n9 for the latest one.