GPU Hang in Hitman 3 and remote desktop (RX 6600, Wayland)
System information
inxi -GSC -xx
System:
Host: fedora Kernel: 5.17.14-300.fc36.x86_64 arch: x86_64 bits: 64
compiler: gcc v: 2.37-27.fc36 Desktop: KDE Plasma v: 5.24.5 tk: Qt
v: 5.15.3 wm: kwin_wayland dm: SDDM
Distro: Fedora release 36 (Thirty Six)
CPU:
Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
Speed (MHz): avg: 2160 high: 2200 min/max: 2200/4208 boost: enabled
cores: 1: 2200 2: 2199 3: 2200 4: 2200 5: 2200 6: 2199 7: 2200 8: 2198
9: 2199 10: 2199 11: 1870 12: 2067 bogomips: 86397
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: ASUSTeK
driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
active: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 0b:00.0 chip-ID: 1002:73ff
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.2
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu d-rect: 3840x1080
display-ID: 0
Monitor-1: DP-2 pos: primary,left res: 1920x1080 size: N/A
Monitor-2: DP-3 pos: right res: 1920x1080 size: N/A
OpenGL: renderer: AMD DIMGREY_CAVEFISH (LLVM 14.0.0 DRM 3.44
5.17.14-300.fc36.x86_64)
v: 4.6 Mesa 22.1.1 direct render: Yes
Proton Version:
Proton-GE-Proton7-19
Describe the issue
In Hitman 3, in the Sapienza level, the game freezes. No idea what causes it, but I have a few hunches:
- The lighting in the level changes (going from tunnel to outside or vice versa, or looking at the tunnel from outside)
- Specific sounds play (My hunch is that this has something to do with display-port)
After the game freezes, sounds keep playing but both of my screens freeze to whatever they were showing at time. I have had the same bug before, and I've described it here: #6113 (comment 1405012)
I can pretty easily reproduce the issue, I have save around the area where the game does this. So far it has happened pretty much every time.
I have tried both the stable version of Mesa and the version that is in rawhide: mesa-22.1.1-1.fc36 and mesa-22.1.1-1.fc37
I also have the same issue happening sometimes when I use Remote Desktop (KRDC with RDP connection to Windows laptop)
Regression
The game worked fine with Mesa version 22.1.0.