i915 hang on battery power for Intel HD Graphics 620
I have a Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
, and for the last year or two, I've been experiencing intermittent GPU hangs. I recently realized that it is only hanging when running from battery power, and I've finally been able to extract a crash dump from DRM after a few days of trying.
The crash seems to generally happen after I've been running on battery for a while and during the start of GPU-accelerated applications, though it can happen randomly without starting a new application at all.
The actual errors that I see from the kernel look like this:
[45281.536758] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[45281.537463] i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[45281.546751] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffa, in gnome-shell [852]
[45291.242801] Asynchronous wait on fence 0000:00:02.0:gnome-shell[852]:17b9d4 timed out (hint:intel_atomic_commit_ready [i915])
[45296.372318] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffa, in gnome-shell [852]
[45296.373337] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0
[45296.374043] i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[45296.375683] i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
[Thu May 20 22:01:39 2021] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[Thu May 20 22:01:39 2021] i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[Thu May 20 22:01:39 2021] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffa, in Xwayland [1185]
[Thu May 20 22:01:48 2021] Asynchronous wait on fence 0000:00:02.0:gnome-shell[856]:5e06 timed out (hint:intel_atomic_commit_ready [i915])
[Thu May 20 22:01:53 2021] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffa, in Xwayland [1185]
[Thu May 20 22:01:53 2021] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0
[Thu May 20 22:01:53 2021] i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[Thu May 20 22:01:53 2021] i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
I have only ever seen it report Xwayland or gnome as the triggering process.
-
uname -m
:x86_64
-
uname -r
:5.12.4-arch1-2
- Linux Distribution: I am currently running Arch Linux on the affected machine, but I also experienced the problem in Pop!_OS 20.04
-
dmidecode
: dmidecode.out - Display Connector: This happens when using the builtin monitor on this laptop,
eDP