Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65392 - [linux] i915 driver issue. System freezes after updating to kernel 5.5.1/5.5.2

Attached to Project: Arch Linux
Opened by cnotis (cnotis) - Wednesday, 05 February 2020, 19:13 GMT
Last edited by freswa (frederik) - Thursday, 20 February 2020, 21:30 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 8
Private No

Details

Description:

After updating the system, I've noticed consistent system hangs/freezes after at most 1 hour. Using the linux kernel 5.4.15, my system working fine.
As i can understand from journalctl output, it is i915 driver issue.

Please find attached the journalctl kernel output

This task depends upon

Comment by loqs (loqs) - Wednesday, 05 February 2020, 20:16 GMT Comment by loqs (loqs) - Thursday, 06 February 2020, 01:03 GMT
Thank you got filing the upstream report https://gitlab.freedesktop.org/drm/intel/issues/1146

AUR contains a PKGBUILD for drm-tip [1]

[1] https://aur.archlinux.org/packages/linux-drm-tip-git/
Comment by figue (figue) - Saturday, 08 February 2020, 16:39 GMT
I have this freeze bug too. Tested several kernels in v5.5 and I can't work with them. @loqs did you have time to try drm-tip kernel? Patch posted doesn't apply in v5.5.

In the meantime I go back to old release in my "production" laptop.
Comment by loqs (loqs) - Saturday, 08 February 2020, 17:00 GMT
@figure no I do not have the hardware to test on luman encountering a different i915 issue could not get drm-tip to boot so far https://bugs.archlinux.org/task/64725#comment186152
Comment by cnotis (cnotis) - Sunday, 09 February 2020, 15:52 GMT
Built from AUR the linux-drm-tip version 5.5.0-1-drm-tip-git-gc53ff44eb14e.
It's been running for 4 hours with no issues so far.
Comment by Ioan Loosley (ioangogo) - Friday, 14 February 2020, 04:06 GMT
According to phoronix some patches where missed in the latest point release that would have mitigated these hangs

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.5-Intel-Missed-Graphics
Comment by loqs (loqs) - Saturday, 15 February 2020, 16:12 GMT
@ionagogo they are included in 5.5.4.arch1-1 [1] currently in testing can you reproduce the issue using that version?

[1] https://git.archlinux.org/linux.git/log/?h=v5.5.4-arch1
Comment by figue (figue) - Saturday, 15 February 2020, 23:23 GMT
Running all afternoon 5.5.4-arch1-1 in my lenovo laptop. Seems good. No freezes at all for now. Thank you!
Comment by cnotis (cnotis) - Sunday, 16 February 2020, 18:10 GMT
The latest update 5.5.4-arch1-1 is working fine for me.
Comment by George Shearer (docdrow) - Monday, 17 February 2020, 20:28 GMT
I'm using 5.5.4-arch1-1 on a Razer Blade Stealth 2019 and still having lockups. :(

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)


Comment by loqs (loqs) - Monday, 17 February 2020, 20:41 GMT
@docdrow what is the dmesg from the lockup?
Comment by George Shearer (docdrow) - Sunday, 23 February 2020, 00:27 GMT
Doesn't seem to be much of interest in my dmesg :( Video freezes solid, but I can still ssh in.
   dmesg.txt (114.3 KiB)
Comment by George Shearer (docdrow) - Sunday, 23 February 2020, 00:29 GMT
Note that it has happened again with: 5.5.5-arch1-1

Comment by loqs (loqs) - Sunday, 23 February 2020, 00:47 GMT
I suspect this is a separate issue from cnotis as the i915 driver is not detecting any issues with the GPU.
You can increase drm logging with drm.debug=0x1e log_buf_len=1M [1]

[1] https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
Comment by Paul Kerry (paulkerry) - Sunday, 23 February 2020, 20:12 GMT
@docdrow: your dmesg.txt also shows "bbswitch" and "Optimus" lines so you may have a problem there?
I agree with @loqs that your issue looks different from the OP as you would be getting error lines in dmesg.
Comment by Georgi Mitsov (Elemag) - Monday, 24 February 2020, 20:13 GMT
I still have the same problem. It has creeped all the way back to the 4.19 LTS series and it is definitely something with the Intel 915 driver.
I have reliably reproduced the problem by opening a project in Intellij which appears to be causing too many graphical updates with Scala syntax colouring.

Using LTS kernel does not solve it.
Kernel downgrade to previous LTS (4.19) does not solve it.
Firmware downgrade of linux-firmware to 20200122 does not solve it.

There is something fixed in the latest 5.5 kernel such as sometimes the system does not completely freeze but restarts all graphics (as in reentering runlevel 5)

As a last resort I have disabled compositing in Plasma and so far have no issues.
Comment by loqs (loqs) - Monday, 24 February 2020, 21:03 GMT

Loading...