GPU crashes while running on battery
Since several months I'm having trouble when running my notebook on battery. At "random" times the system hangs; This occurred while watching streams/videos as well as simply coding in my IDE or browsing the web, so I cannot see any specific reproduction steps.
It is frequent in that I expect at least one crash on one battery runtime (I approx it to happen about once every 2 hours). Never happened when powered by cable.
Since I added the dmesg debugging options (drm.debug=0x1e log_buf_len=1M
), the issue does not occur as often; Roughly once in 6 to 8 hours.
Symptoms: The UI (X11) gets irresponsive but sound continues for a few more seconds, then repeats its buffer. If, immediately after becoming irresponsive, I plug in the power cable and switch to another TTY, the X11 system crashes and I am able to recover debugging information (gpu-hang.03.dmesg.zst) which states that it's a GPU crash (gpu-hang.03.dump.zst) and led me here.
System: Arch Linux 5.8.12-1 x86_64 As this bug has occurred for multiple months now, it already happened on earlier kernel versions (I guess it startet happening with early 5.x kernels but not the first ones).
I'm using a Schenker Notebook (N24_25BU; dmidecode).
The issue occurs on eDP connection, haven't tested other connections.
The best information I've found so far on this kind of issue was https://linuxreviews.org/Linux_Kernel_5.5_Will_Not_Fix_The_Frequent_Intel_GPU_Hangs_In_Recent_Kernels but both suggested kernel options (intel_idle.max_cstate=1 i915.enable_dc=0
) did not resolve the issue.
GPU dumps of two earlier hangs (before I added the debugging kernel parameters for dmesg) in case they may be helpful: gpu-hang.01.dump.zst gpu-hang.02.dump.zst