Bug 448694 - Graphical glitches occurr some time after waking on NVidia card
Summary: Graphical glitches occurr some time after waking on NVidia card
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.23.5
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-18 08:42 UTC by jan.claussen10
Modified: 2022-09-22 13:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
vlad.zahorodnii: NVIDIA+


Attachments
Graphic hardware info (115.54 KB, image/png)
2022-01-18 08:44 UTC, jan.claussen10
Details
Bug photo 1 (1.93 MB, image/jpeg)
2022-01-19 07:43 UTC, jan.claussen10
Details
Bug photo 2 (1.95 MB, image/jpeg)
2022-01-19 07:44 UTC, jan.claussen10
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan.claussen10 2022-01-18 08:42:19 UTC
SUMMARY
I have a P20 workstation and the NVidia only driver mode configured. When I go to sleep mode and wake up, a few graphic glitches like flickering objects occur, until after some time the x-server seems to crash. Windows get gray and you only see fractals or black shades. My colleagues don't have any issues on Unity or GNOME. 

When graphic issues occur, I usually try to restart kwin and plasmashell, but it doesn't work in this case. Could also be that kwin core is not the issue here, but I wouldn't know where else to submit this bug.


STEPS TO REPRODUCE
1. Set up the NVidia graphics driver on ThinkPad P20
2. Go to sleep mode
3. Wake up again

OBSERVED RESULT
After some times severe graphic issues occur.

EXPECTED RESULT
No glitches.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Comment 1 jan.claussen10 2022-01-18 08:44:49 UTC
Created attachment 145605 [details]
Graphic hardware info
Comment 2 jan.claussen10 2022-01-19 07:43:57 UTC
Created attachment 145639 [details]
Bug photo 1
Comment 3 jan.claussen10 2022-01-19 07:44:14 UTC
Created attachment 145640 [details]
Bug photo 2
Comment 4 Zamundaaa 2022-01-19 09:21:33 UTC
If you press shift+alt+F12 or restart KWin (kwin_x11 --replace) after that happens, does the issue go away?
Comment 5 jan.claussen10 2022-01-21 07:33:03 UTC
Yes, I just tried pressing Shift+Alt+F12 and the issue indeed goes away. The fonts in the window borders are still a bit garbled up, but when I enter kwin --replace afterwards, everything is back to normal. 

Thank you, now I don't have to restart everytime with all of my windows opened. I think this is a critical bug though. Any ideas which packages could be involved? I would be happy to try out some things or provide logs.
Comment 6 Vlad Zahorodnii 2022-01-24 10:54:10 UTC
If Xorg crashes, the issue might be elsewhere. Can you report this issue to Xorg developers please?
Comment 7 jan.claussen10 2022-01-25 08:58:32 UTC
Technically, the X-server doesn't crash, it is only kwin that creates the glitches. I just wasn't very precise/sure about the naming of the issue.
Comment 8 David Edmundson 2022-09-22 13:52:02 UTC
Changes were made for Plasma 5.26, please confirm if the issue remains