FS#72752 - [linux] 5.15.2 freezes a perfectly working X/KDE environment

Attached to Project: Arch Linux
Opened by Reginald (Uqbar) - Monday, 15 November 2021, 08:30 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 05 December 2021, 08:35 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
Latest update "extra/linux-zen 5.15.2.zen1-1" freezes a perfectly working X/KDE environment.
Some of the graphics elements are not displayed at all. Some are displayed only by hovering.
From time to time the whole graphics freezes and resumes 10 - 15 seconds later.
System is actually unusable.
Restoring previous kernel "extra linux-zen 5.14.16.zen1-1" fixes the problem.


Additional info:
* package version(s):
xorg-server: 21.1.1-3
plasma-framework: 5.88.0-1
kwin: 5.23.3-1 (compositor enabled, OpenGL 3.1)
mesa: 21.2.5-1

* config and/or log files etc.
- Dual monitor
- Compositor is enabled

* link to upstream bug report, if any

Steps to reproduce:
It happens as soon as I reboot after the kernel update.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 05 December 2021, 08:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 5.15.6.arch2-1
Comment by Reginald (Uqbar) - Monday, 15 November 2021, 13:54 GMT
xf86-video-intel 1:2.99.917+916+g31486f40-2
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
Comment by Alexander Mills (DarthLasciel) - Monday, 15 November 2021, 14:33 GMT
Same issue with current linux (not Zen) kernel on X/KDE Plasma.

xf86-video-intel not installed. Installing it didn't change anything.
Desktop freezes when opening any System Windows (Settings)
Comment by Reginald (Uqbar) - Monday, 15 November 2021, 14:53 GMT
Can you check that downgrading the kernel fixes it?
Comment by Reginald (Uqbar) - Monday, 15 November 2021, 15:19 GMT
Relevant hardware:
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
Comment by Alexander Mills (DarthLasciel) - Monday, 15 November 2021, 16:12 GMT
Downgrading fixed it
Comment by Jan Visser (starquake) - Monday, 15 November 2021, 18:46 GMT
Same hardware and same problem. Both linux and linux-zen. Using X/KDE Plasma. Downgrade fixes it.
Comment by Reginald (Uqbar) - Monday, 15 November 2021, 19:04 GMT
I wonder whether this is is something with KDE/Kwin or just X. But as my Linux box is my daily runner, I don't dare to try a switch to Gnome o other DE.
Comment by Reginald (Uqbar) - Monday, 15 November 2021, 19:07 GMT
For the record, at the moment I have added to /etc/pacman.conf this line:

IgnorePkg = linux-zen

so I can keep upgrading everything but the kernel.
Any idea on how to debug/troubleshoot this issue?
Comment by David Rosenstrauch (darose) - Monday, 15 November 2021, 21:33 GMT
Starting a zoom call seems to trigger the issue for me.
Comment by David Rosenstrauch (darose) - Monday, 15 November 2021, 21:34 GMT
And I see a bunch of these in dmesg:

[26473.212925] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in zoom [39011]
[26473.213979] i915 0000:00:02.0: [drm] zoom[39011] context reset due to GPU hang
Comment by Jan Visser (starquake) - Tuesday, 16 November 2021, 07:42 GMT
As a workaround I switched to linux-lts. It also isn't affected.
Comment by Reginald (Uqbar) - Tuesday, 16 November 2021, 07:51 GMT
@starquake In general there's no need to jump back to 5.10.79 when 5.14.16 works the bug around.
Comment by Ryan Petris (ryanpetris) - Tuesday, 16 November 2021, 10:51 GMT
I also have this same issue with 5.15.2 and downgrading to 5.14.16 fixes the issue. I can reproduce it on two different systems, one with an i7-1185G7 and another with an i7-1165G7.
Comment by Ryan Petris (ryanpetris) - Tuesday, 16 November 2021, 10:56 GMT
Also note that this also occurs with the regular linux kernel.
Comment by David Rosenstrauch (darose) - Thursday, 18 November 2021, 19:19 GMT Comment by Robert de Jager (blob) - Thursday, 18 November 2021, 21:26 GMT
I can also verify this issue on a Dell XPS13 9310 (intel XE gfx), using stock archlinux kernel 5.15.2.
KDE Plasma is affected on both X11 and Wayland.

My other box that us running with an NVidia GTX960 with proprietary drivers is working fine with the 5.15.2-zen kernel.
Comment by Ryan Petris (ryanpetris) - Thursday, 18 November 2021, 21:48 GMT
Looks like this is the upstream issue: https://gitlab.freedesktop.org/drm/intel/-/issues/4530
Comment by André Felício (antigerme) - Thursday, 18 November 2021, 22:18 GMT
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
and kernel 5.15.2

A good workaround is boot with linux-lts kernel. (thanks @starquake)
Comment by John Clark (Johnc456) - Friday, 26 November 2021, 12:45 GMT
Another upstream report: https://gitlab.freedesktop.org/drm/intel/-/issues/4145
Patches going to 5.16 (https://patchwork.freedesktop.org/series/97105/), hoping for a backport!
Comment by David Rosenstrauch (darose) - Thursday, 02 December 2021, 15:40 GMT
Any chance we could get that commit included with the next 5.15 kernel build? I'm pinned to the 5.14.16 kernel until this revert/fix gets rolled out.
Comment by loqs (loqs) - Thursday, 02 December 2021, 17:38 GMT Comment by David Rosenstrauch (darose) - Friday, 03 December 2021, 01:31 GMT
Yep - works. Thanks!
Comment by Reginald (Uqbar) - Friday, 03 December 2021, 07:41 GMT
It's actually "aur/linux-pds 5.15.6.arch2-1" .
Comment by Robert de Jager (blob) - Friday, 03 December 2021, 14:22 GMT
I have hazarded a work day with this new kernel.
No issues so far.

Thanks for the fix.

Loading...