Bug 495477

Summary: blank screen with only cursor after immediate wake up when screen timeouts and powers off
Product: [Plasma] kwin Reporter: kxxt <rsworktech>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.2.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video

Description kxxt 2024-10-28 11:43:07 UTC
Created attachment 175303 [details]
Video

SUMMARY

After a period of inactivity, the screen times out and powers off. At this moment,
if I shake the mouse to prevent the session from being locked, there is a chance that I won't be able to get my desktop session back. Instead, what I get is a black session with only the cursor. 
There appears to be no way to go back to my desktop session when this happens.

A workaround I found is to switch to another tty(e.g. Ctrl+Alt+F6) and restart kwin by running `kwin_wayland --replace`.

STEPS TO REPRODUCE
1. Wait for the screen to timeout and power off
2. When the screen turns black, shake the mouse to wake it up
3. Hope that this bug reproduces.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.6.58-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION

A video is attached.
Comment 1 Nate Graham 2024-10-28 16:05:46 UTC
Do you have extra empty entries in the "Device:" dropdown menu in System Settings > Display & monitor? If so, I think this is very likely Bug 493810.
Comment 2 kxxt 2024-10-29 10:29:45 UTC
(In reply to Nate Graham from comment #1)
> Do you have extra empty entries in the "Device:" dropdown menu in System
> Settings > Display & monitor? If so, I think this is very likely Bug 493810.

Yes, there are two suspicious empty entries in that menu. Any idea on how to remove these entries?
Comment 3 Nate Graham 2024-10-29 14:20:51 UTC
Unfortunately not.

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