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, 10 September 2020, 20:56 GMT
Opened by cnotis (cnotis) - Wednesday, 05 February 2020, 19:13 GMT
Last edited by freswa (frederik) - Thursday, 10 September 2020, 20:56 GMT
|
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
Closed by freswa (frederik)
Thursday, 10 September 2020, 20:56 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.5.4-arch1-1
Thursday, 10 September 2020, 20:56 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.5.4-arch1-1
Edit:
Looks related to https://gitlab.freedesktop.org/drm/intel/issues/827 which was fixed in 5.5.
AUR contains a PKGBUILD for drm-tip [1]
[1] https://aur.archlinux.org/packages/linux-drm-tip-git/
In the meantime I go back to old release in my "production" laptop.
It's been running for 4 hours with no issues so far.
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.5-Intel-Missed-Graphics
[1] https://git.archlinux.org/linux.git/log/?h=v5.5.4-arch1
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)
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
I agree with @loqs that your issue looks different from the OP as you would be getting error lines in dmesg.
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.
My problem seems quite similar to @docdrow's however I mostly got complete system freezes. Disabling compositing stops the complete freezes and I am left with a graphics restart only.
Usually happens when I'm using Firefox. The video just freezes. I can still SSH into my laptop from another device, no errors in Xorg log, no errors in dmesg.. just frozen video.
When the laptop reboots, there's a "ghost" of the frozen screen on the display -- and even fresh booting doesn't completely get rid of the ghost it only goes away after 15 minutes of regular use.
Weird
https://gitlab.freedesktop.org/drm/intel/issues/1201
Upstream kernel 5.5.7 has some i915 updates: maybe that will help when it's pushed out?
Have you tried using the 4.19.* kernel branch?
Cheers
Paul.
I have switched to the discrete graphics as the situation with the integrated is unbearable.
Of course, the logs are clean.
I ended up resolving the issue by clean installing arch, then installing linux-lts419 from aur and booting into that kernel instead. Keeping an eye out to see if the newest kernel resolves the issues, but in the meantime, i'm extremely happy to get this laptop working.
Did have some problems, perhaps minute in comparison with yours, and DRI2, TearFree helped in my case.
Take a look here: https://wiki.archlinux.org/index.php/intel_graphics
I opened a bug upstream: https://gitlab.freedesktop.org/drm/intel/-/issues/1700
In short I've been told my issue has been resolved in drm-tip by commit 614654abe847a42fc75d7eb5096e46f796a438b6 but that commit is still not included in archlinux stock kernel. I just rebased it and I'm compiling a custom kernel to see if this solves the issue.
[1] https://gitlab.freedesktop.org/drm/intel/-/issues/1700#note_464734
You could as an intermediate step try 5.7rc2 which does not contain 614654abe847a42fc75d7eb5096e46f796a438b6
drm-tip is currently 5.7rc2 plus drm changes for 5.8 plus additional fixes. As an integration branch drm-tip is not merged to mainline.
[1] https://gitlab.freedesktop.org/drm/intel/-/issues/1700#note_463875
Edit:
If you want to test that 614654abe847a42fc75d7eb5096e46f796a438b6 fixed the issue. Test 614654abe847a42fc75d7eb5096e46f796a438b6 then its parent.
Is the issue resolved?
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=af23facc38c26ac188b6adac2cae2dafaca0c82d
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)
[1] https://gitlab.freedesktop.org/drm/intel/-/issues/1700
I will try to catch the problem and write to the tracker.
[1] https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
[1] https://gitlab.freedesktop.org/drm/intel/-/issues/1700
Relevant logs attached. HW is i5-6300U with HD Graphics 520. Everything up to date besides kernel.
journalctl.txt (49.3 KiB)
Instead of trying some testing/alpha/debug/etc. packages, I'd prefer to revert some packages to have a stable OS...
Which kernel was the journal you posted produced by? The extract did not contain that information.
Why do you believe it is a packaging issue?
No, I've reverted directly to 5.4.15-arch1-1 because I had used it previously with no issues at all.
> Which kernel was the journal you posted produced by?
5.4.15-arch1-1
> Why do you believe it is a packaging issue?
Because it did not happen on that kernel before upgrade.
I had a stable OS with packages form ~January 2020, upgraded it this Monday. I've experienced a GPU hang and came across this bug. As mentioned by OP, kernel 5.4.15-arch1-1 was supposed to not be affected by this issue, so I've reverted to it right away and that step did not solve the hangs. This leads me to the conclusion the Intel issues might also be not related to the kernel itself.
The original report as you mention reported no issues under 5.4.15 while your extract shows issues. Is it not a separate issue?
You upgraded on Monday from what kernel version to what kernel version? You did not include the pacman.log for the update.
You could revert all the packages you updated and see if you can reproduce the issue.
If you want support identifying the cause of your issue please use support channels such as the forums, mailing list, IRC.
[1] https://wiki.archlinux.org/index.php/Bug_reporting_guidelines#Upstream_or_Arch?