A Hat in Time: GPU hang with gallium nine
Submitted by Franc[e]sco
Assigned to Default DRI bug account
when using gallium nine, A Hat in Time locks up the entire system (requires a hard reboot) on certain scenes.
I'm running a r9 270x with the amdgpu driver and mesa-git 110950.fc455797-1 + llvm-svn 360675-1
this issue was discussed with the gallium nine guys here: https://github.com/iXit/wine-nine-standalone/issues/35 and they narrowed it down to radeonsi
using AMD_DEBUG=mono fixes the issue
this is the apitrace for gallium nine https://mega.nz/#!ZJhRhYaR!cVsMkRYkl6kPl0f43sMKu8NI4pvA4eE85cbLJyoQ-jE
the hang happens on the very last part of the trace, when the green goo in the middle of the room is on screen. the area is chapter3, act6 and all other challenges that take place there
playing back the trace also causes the same hang.
playing back the trace with AMD_DEBUG=mono works correctly without any hangs
other users report that turning off dynamic lights also fixes the issue
another user reported a similar hang in chapter 1, act 4 with this apitrace https://kiwii.casa/downloads/d3d9.trace.xz