[radv/Navi] The Witcher 3 is causing a GPU hang
Using latest Mesa master and llvm10 snapshot (20191122100618+b47f9eb55d1), The Witcher 3 in Wine(esync)+dxvk is causing a GPU hang.
- GPU: Sapphire Pulse RX 5700 XT
- kernel: 5.4-rc7+
- radv: driverInfo = Mesa 20.0.0-devel (git-a2689ebc) (LLVM 10.0.0)
- aco enabled
The same thing happens with llvm though, not just with aco. So it could be some llvm or general radv regression.
dmesg of the hang:
[ 235.111555] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
[ 240.231552] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=408630, emitted seq=408632
[ 240.231620] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process witcher3.exe pid 2928 thread witcher3.exe pid 3252
[ 240.231622] [drm] GPU recovery disabled.
See attached save. To trigger the hang, move forwards towards the gards. Talk to them (trigger action with E), and answer "Mind your manners". That will trigger a fight. Draw steel sword, and do a few swings. That causes a hang very consistently for me.