Bug 464827

Summary: white/light gray screen on monitor wakeup in Wayland, all the time on X11
Product: [Plasma] kwin Reporter: Paul <paulhollensen>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.26.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: org.kde.KWin.supportInformation

Description Paul 2023-01-25 20:54:07 UTC
Created attachment 155642 [details]
org.kde.KWin.supportInformation

SUMMARY
Under wayland, login works fine but when the monitor goes to sleep it wakes up to a blank screen.
Under X11, login immediately produces the blank screen.
Both kwin and plasmashell say up and running.

STEPS TO REPRODUCE
1. Let system idle until monitor falls asleep
2. Move mouse
3. 

OBSERVED RESULT
Blank white/light gray screen with cursor still responsive. As in cursor moves and changes form based on what hidden window is underneath.

EXPECTED RESULT
Desktop and windows visible.

SOFTWARE/OS VERSIONS
Linux 6.1.7
KDE Plasma 5.26.5
KDE Frameworks 5.102
Qt 5.15.8+kde+r174
mesa 22.3.3
attached output of qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation

ADDITIONAL INFORMATION
This is a new system using AMD integrated graphics (RDNA 2) and a single monitor plugged in with HDMI.  I disabled screen locking and it still occurs. I tried creating a new user with fresh config.  I can switch to another virtual console.  On X11 when I switch back I briefly see the desktop.  This issue was also recently reported in https://forums.gentoo.org/viewtopic-p-8768658.html?sid=6f7dccffd7790600c6e13d6afcae57d2.  Unfortunately that user gave up and moved to xmonad.  I now have
export QT_LOGGING_RULES="kwin_*.debug=true"
in .bash_profile, and have looked through the journal but not sure what to look for.
Comment 1 Paul 2023-01-27 16:51:17 UTC
For posterity, this is a symptom of not having installed a 2D X.org driver (xf86-video-*).