Bug 473819

Summary: Environment becomes "glitchy" when monitors are awoken from sleep
Product: [Plasma] plasmashell Reporter: Dennis <entangled_mousiness015>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate, ngompa13
Priority: NOR    
Version: 5.27.7   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis 2023-08-27 18:48:04 UTC
SUMMARY
When returning to my computer and the (two) monitors are awoken from sleep, the desktop environment glitches out.

STEPS TO REPRODUCE
1. Be inactive from computer until monitors goes to sleep by the "Screen Energy Saving" option
2. Wake up the monitors and login
3. Monitors are broken.

OBSERVED RESULT
The wallpaper on the primary monitor becomes black and gets the "ghosting" effect when you drag around windows and move the mouse. Like the infamous behavior on older Windows versions.
The wallpaper on the secondary monitor also becomes black, but this ghosting effect isn't here on this one.
The KDE taskbar kind of disappears but pressing the Super-button works to open applications and already opened applications seem to work.

EXPECTED RESULT
The desktop should look and behave normally like from a fresh boot after the monitors comes back to sleep.

SOFTWARE/OS VERSIONS
Linux: Fedora Linux 38
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
I just installed Fedora 38 KDE today, so the installation is fresh. Barely gotten to install anything yet.
I've also installed NVIDIA drivers for my GTX 980 from rpmfusion: https://rpmfusion.org/Howto/NVIDIA
> $ modinfo -F version nvidia
> 535.98

The behavior and experience is similar to the one I had around the beginning of the year when I used Kubuntu with a dual-monitor setup. Something about the handling of monitors had to be rewritten to my understanding and the fix was shipped in KDE 5.26/5.27, which was part of Kubuntu 23.04. After that release I had no problems there.
Comment 1 Dennis 2023-08-27 18:51:52 UTC
I forgot to mention: the workaround for fixing the issue is to open the display configuration and rearrange the monitors a little bit and apply. That resets the desktop back to normal. Then rearrange the monitors back to normal.

I also now set the monitors to never go to sleep, to avoid this issue altogether, but I doesn't really want to do that...
Comment 2 Nate Graham 2023-08-28 21:10:00 UTC

*** This bug has been marked as a duplicate of bug 448866 ***