Bug 443976

Summary: Textures are corrupted after suspend in Wayland session
Product: [Plasma] plasmashell Reporter: Peter Shkenev <mustela>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, materka
Priority: NOR    
Version First Reported In: 5.23.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot with bug

Description Peter Shkenev 2021-10-18 13:47:14 UTC
Created attachment 142579 [details]
Screenshot with bug

SUMMARY
Textures are messed up after suspend in wayland session.

STEPS TO REPRODUCE
1. Suspend computer
2. Wake computer up
3. Login and observe chaos

OBSERVED RESULT
Messed up system tray, icons, menus and text. Application icons can be restored by hovering cursor on them

EXPECTED RESULT
Normal graphics

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 5.14.2
(available in About System)
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU NVIDIA GeForce GTX 660 with proprietary NVIDIA driver 470.74
It is known that NVIDIA driver doesn't preserve graphic context on supsend, so everything needs to be redrawn.

I think this bug is also related to kwin.

Just in case, I've reported this to Qt: https://bugreports.qt.io/browse/QTBUG-97592
Comment 1 David Edmundson 2021-10-18 15:47:46 UTC
I don't have context loss support in QtWayland yet, I'll comment on the upstream bug.
Comment 2 David Edmundson 2021-10-18 15:49:52 UTC
kwin is also not reloading, but that's not fixable whilst we're using EGLStreams.