I met the similar problem twice. Environment is following. CPU: SkyLake(core i5 6500TE) Distribution: debian(customised) Kernel: 4.14.40 Mesa: 17.3.9 libdrm: 2.4.89 ---- [197410.815921] [drm] GPU HANG: ecode 9:0:0x85dffffb, in drawingproc [2559], reason: Hang on rcs0, action: reset [197410.815927] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197418.809902] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197426.809904] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197434.813910] i915 0000:00:02.0: Resetting rcs0 after gpu hang i965: Failed to submit batchbuffer: Input/output error [197442.813908] i915 0000:00:02.0: Resetting rcs0 after gpu hang ---- "i965: Failed to submit batchbuffer: Input/output error" was appeared in stderr by mesa linked by drawingproc.