gpu hang with iris driver when playing Diablo 2 under wine
Software
- Distro: openSUSE Tumbleweed
- Kernel: 5.4.13
- Mesa: 19.3.2
- wine: 5.0
- Diablo 2: 1.14d, with GLIDE3-to-OpenGL-Wrapper Version 1.4e
Steps to reproduce
- Start the game and play a bit
- Reproducible: often
dmesg output
[ 3586.367720] i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
[ 3586.367725] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 3586.367728] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 3586.367730] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 3586.367732] The GPU crash dump is required to analyze GPU hangs, so please always attach it.
[ 3586.367734] GPU crash dump saved to /sys/class/drm/card0/error
[ 3586.368753] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3586.369603] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 3586.376101] i915 0000:00:02.0: Resetting chip for hang on rcs0
[ 3586.377962] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 3586.378795] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 3589.375802] Asynchronous wait on fence i915:compton[2416]:1a3f4 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 3589.376041] Asynchronous wait on fence i915:compton[2416]:1a3f4 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 3594.363670] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3596.379655] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3604.383754] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3606.367761] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3608.379837] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3610.363807] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3612.379848] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3614.363839] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3616.379855] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3618.363896] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3620.379917] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3622.363899] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3624.383933] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3626.367972] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3628.379962] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3630.364011] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3632.379998] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3634.364013] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3636.380076] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3638.368068] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3640.384105] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3642.364129] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3644.380062] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3646.364185] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3648.380147] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3650.368139] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3652.384140] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3654.368148] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3656.380218] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3658.364250] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3660.380208] i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering.
[ 3660.380765] i915 0000:00:02.0: Resetting chip for hang on rcs0
[ 3668.380312] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3671.548456] Asynchronous wait on fence i915:X[2215]:7912 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 3671.548634] Asynchronous wait on fence i915:X[2215]:7912 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 3676.384381] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3678.364335] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3680.380399] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3682.364436] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3684.380389] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3686.364464] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3688.380463] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3690.364433] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[ 3692.380477] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Workaround
export MESA_LOADER_DRIVER_OVERRIDE=i965