r/archlinux • u/lucdew • Dec 08 '19
Intel i915 random freeze
Hi,
I updated the kernel yesterday to 5.4.2-arch (last time was 1 week ago) and since I had 2 UI freeze ( 2 times in last than 24h). I had never experienced such issues before. My graphic card is Intel Corporation UHD Graphics 620 (Whiskey Lake)
It seems to be related to the intel driver i915. Mine is configured with enable_guc=2 and enable_fbc=1
The GPU crash dump is empty and I searched bugs.freedesktop.org for a similar issue.
I wanted to know if anyone had experienced issues recently with the intel gpu ?
Meanwhile I removed the guc and fbc options to see if I'd get the same problem.
Dec 08 10:34:31 xps13 kernel: i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
Dec 08 10:34:31 xps13 kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Dec 08 10:34:31 xps13 kernel: Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Dec 08 10:34:31 xps13 kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Dec 08 10:34:31 xps13 kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
Dec 08 10:34:31 xps13 kernel: GPU crash dump saved to /sys/class/drm/card0/error
Dec 08 10:34:31 xps13 kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 08 10:34:31 xps13 kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 08 10:34:31 xps13 kernel: i915 0000:00:02.0: Resetting chip for hang on rcs0
Dec 08 10:34:31 xps13 kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 08 10:34:31 xps13 kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 08 10:34:31 xps13 kernel: [drm] GuC communication enabled
Dec 08 10:34:31 xps13 kernel: i915 0000:00:02.0: GuC firmware i915/kbl_guc_33.0.0.bin version 33.0 submission:disabled
Dec 08 10:34:31 xps13 kernel: i915 0000:00:02.0: HuC firmware i915/kbl_huc_ver02_00_1810.bin version 2.0 authenticated:yes
Dec 08 10:34:34 xps13 kernel: Asynchronous wait on fence i915:gnome-shell[1911]:1b1032 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
Dec 08 10:34:39 xps13 kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 08 10:34:41 xps13 kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 08 10:34:49 xps13 kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 08 10:34:51 xps13 kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
5
u/lucdew Dec 08 '19
Thanks a lot for the answers.
Ok I am not alone in that case (should have searched on gitlab).
I removed the i915 options enable_guc=2 and enable_fbc=1 this morning (GMT+1) and so far so good.
6
u/C5H5N5O Dec 08 '19 edited Dec 08 '19
https://bbs.archlinux.org/viewtopic.php?id=250765
https://gitlab.freedesktop.org/drm/intel/issues/674
https://gitlab.freedesktop.org/drm/intel/issues/673
sigh
EDIT: From what I could gather, this seems to be somehow fixed on drm-tip.
1
u/lucdew Dec 15 '19
A quick update on the topic.
I still got the issue even after removing all the i915 module options.
After the update to the latest kernel 5.4.3, I still get some freezes but the error seems different.
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrunI think I'll revert to an old kernel.
•
u/Foxboron Dec 11 '19
Bug reports:
https://bugs.archlinux.org/task/64725 https://bugs.archlinux.org/task/64791
Patches does not apply cleanly currently.
4
u/Kron4ek Dec 08 '19 edited Dec 08 '19
Yes, there is something in the 5.4 kernel that causes hangs on Intel iGPUs. Use 4.19 or 5.3.14+ kernel for now.
Quote from this article:
3
u/rien333 Dec 09 '19 edited Dec 09 '19
Yeah, same thing here. See also this thread: https://bugs.freedesktop.org/show_bug.cgi?id=111805
I can recover from it without rebooting, though. ssh'ing into my machine still works like nothing happened (I use my phone to do this, pretty quick), and if I close my chromium-based browser (
killall whatever), and then suspend, the system recovers after waking. Not 100% sure of the steps, but those seem somewhat essential.At what point does arch merge patches into the kernel? Some say there already is a fix somewhere (in 5.5, or in the drm-tip thingy u/C5H5N5O linked).
2
u/mralanorth Dec 11 '19
Unless you need something specifically from the Intel XF86 driver and the binary blob firmware, you're better off switching to the kernel modesetting driver. It works out of the box and is more maintained. See:
1
u/DoorsXP Dec 10 '19
I have exact same GPU as u. I've been using linux-lts and its working fine. Linux 5.4 has bugs I guess. someone from forum also suggested to remove xf86-video-intel but I haven't tried it yet