Bug 469098 - Waking from screen off leads to a white screen.
Summary: Waking from screen off leads to a white screen.
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.4
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL: https://gitlab.freedesktop.org/drm/am...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-28 11:17 UTC by Francois
Modified: 2023-05-04 10:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois 2023-04-28 11:17:42 UTC
SUMMARY

After waking the screen from a power-save screen-off event, the screen wakes to a white screen.  Sometimes, very rarely, the system wakes to a white screen alternating with the original screen content.  It alternates white/content with every keystroke and/or mouse movement.

"ALT-F2 & kwin --restart" returns to a non-flickering, "usable" state, with all previous windows and content lost.  If Akonadi (bug #468568) doesn't crash. 

STEPS TO REPRODUCE
1. Configure screen sleep in the Energy Saving settings (or Activity Power Settings) 
2. Sleep
3. Wake

OBSERVED RESULT
White screen, loss of previous state.

EXPECTED RESULT
Correct waking of the system, with the previous state and work restored.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Kernel: 6.2.12-100  (But the same behaviour was observed with the 6.1 family)
Graphics platform: Wayland
Comment 1 Nate Graham 2023-04-28 20:40:18 UTC
Are you using an AMD GPU by any chance?
Comment 2 Francois 2023-05-02 09:57:03 UTC
(In reply to Nate Graham from comment #1)
> Are you using an AMD GPU by any chance?

By chance, yes!  I'm using the integrated GPU of my Ryzen 5 7600.

Although I was planning to, I completely forgot to add any hardware information to my bug report, I apologize!
Comment 3 Nate Graham 2023-05-02 14:50:56 UTC
Aha, in that case this is https://gitlab.freedesktop.org/drm/amd/-/issues/2354.
Comment 4 Francois 2023-05-04 10:31:00 UTC
Thank you for the link to the upstream issue.  I will try the proposed
> amdgpu.sg_display = 0
 option with kernel 6.2 when I have the time.