Bug 443976 - Textures are corrupted after suspend in Wayland session
Summary: Textures are corrupted after suspend in Wayland session
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.23.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-18 13:47 UTC by Peter Shkenev
Modified: 2021-10-18 15:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot with bug (608.56 KB, image/jpeg)
2021-10-18 13:47 UTC, Peter Shkenev
Details

Note You need to log in before you can comment on or make changes to this 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.