Bug 445456 - Multiple GPU hangs upon display of notifications or hovering-over a panel
Summary: Multiple GPU hangs upon display of notifications or hovering-over a panel
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-14 03:24 UTC by Carter Reeb
Modified: 2023-09-06 10:38 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Logs from journalctl from when I was testing the bug (4.23 KB, text/x-log)
2021-11-14 03:24 UTC, Carter Reeb
Details
Journalctl around gpu hang (6.51 KB, text/plain)
2021-11-15 09:21 UTC, Ludovic Jozeau
Details
Hang and plasma crash (139.64 KB, text/plain)
2021-11-15 09:33 UTC, Ludovic Jozeau
Details
GPU hangs in SDDM (414.19 KB, text/plain)
2021-11-24 13:37 UTC, Travis Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carter Reeb 2021-11-14 03:24:10 UTC
Created attachment 143526 [details]
Logs from journalctl from when I was testing the bug

SUMMARY
When receiving a notification, hovering-over a panel, or clicking on/hovering over a panel item, the GPU will hang for 5-10 seconds. After the effect, the GPU will stop hanging, but will cause widgets to stop appearing when clicked on if they're on a panel. Hovering over panel items, even in edit mode, will not show labels or context options like they're supposed to after the effect. Despite this, right-clicking on widgets or the panel still works as intended.


STEPS TO REPRODUCE
1. Use Mesa with Intel's integrated graphics (Xe/Tiger Lake) as the primary graphics card
2. Have the below versions of software
3. Start KDE Plasma using startplasma-x11
4. Recieve a notification or hover over/interact with a panel
5. The GPU will hang for 5-10 seconds
6. After the effect, certain displays described above will stop appearing.

OBSERVED RESULT
The GPU hangs for 5-10 seconds, often multiple times, and causes certain displays to stop appearing.

EXPECTED RESULT
Notifications and hover-over actions correctly render.

SOFTWARE/OS VERSIONS
Linux: 5.15.2-zen1-1-zen (x86_64)

KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU: Intel Tigerlake Xe Graphics (Gen12)
Graphics Platform: X11

Logs attached below   =-)
Comment 1 Ludovic Jozeau 2021-11-15 09:21:30 UTC
Created attachment 143566 [details]
Journalctl around gpu hang
Comment 2 Ludovic Jozeau 2021-11-15 09:32:37 UTC
I'm experiencing the exact same issue, with an Intel TigerLake-LP GT2 [Iris Xe Graphics].
Sometimes, plasma also crashes.

Also, I had dpi issues after the 5.23.3 update, that I solved by setting it manually.

And I have some animations that are too fast (app launch spinner, plasma splash)

Here is a hw-probe: https://linux-hardware.org/?probe=90b63564bb
Comment 3 Ludovic Jozeau 2021-11-15 09:33:06 UTC
Created attachment 143567 [details]
Hang and plasma crash
Comment 4 Ludovic Jozeau 2021-11-15 21:48:37 UTC
Ok, for now, I found a work-around, by using  linux-lts 5.10.79 and correctly removing ~/.Xauthority (remove then logout then be sure it's removed in a tty then log in then reboot) so it seems to be a problem with latest linux 5.15.2
Comment 5 Jérôme Poisson 2021-11-17 20:33:50 UTC
I have the same issue on Arch Linux after a recent update (KDE 5.88.0, Qt 5.15.2, Linux 5.15.2, Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)): desktop unusable, random freeze, checking network manager or notification freeze everything.

As for  Ludovic Jozeau  above, switching to linux-lts (i.e. Linux 5.10.79-1-lts) fixes it.
Comment 6 Travis Collins 2021-11-24 13:37:47 UTC
Created attachment 143902 [details]
GPU hangs in SDDM

I've got the same issue, but it also seems to manifest is SDDM. Similar hardware as well:

Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics]
kernel: 5.15.4-arch1-1
Plasma: 5.23.3
SDDM: 0.19.0
Using xserver

I'm seeing GPU hangs in SDDM as well. Sometimes this manifests as just a black screen with a cursor coming out sleep. Sometimes graphics on the lock screen are glitched, but I'm still able to enter my password to unlock. For the glitched lock screen graphics, I've seen a frozen screen (the clock hasn't updated), a 'scrambled' image, and even an upside down image. I haven't seen anyone reporting SDDM issues, so I thought I'd chime in.

Once at the desktop, I've had varying success opening krunner and executing plasmashell --replace. It's usually only a matter of time before I have issues again.
Comment 7 David Edmundson 2023-09-06 10:38:26 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.