Bug 495509

Summary: Screen remains black after waking from sleep on SDDM login screen without prior login
Product: [Unmaintained] Powerdevil Reporter: Kalzi <kalzwayed>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.2.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kalzi 2024-10-28 23:36:46 UTC
SUMMARY
Screen remains black after waking from sleep on lock screen (SDDM) without prior login. Meaning, I'd reboot the system, let it get to the lock screen, then put it to sleep from the "sleep" option there. Come back later, wake it to log in and it is a black screen

STEPS TO REPRODUCE
1. Reboot the system and wait for the lock screen (SDDM) to appear.
2. Without logging in, put the system to sleep.
3. Wake the system from sleep to log in.

OBSERVED RESULT
Upon waking, the screen remains black with no option to interact or proceed to the login screen. I'm then forced to go into a tty to reboot the system. Tried to run sddm from the terminal, it shows up, but it never logs in after I enter my password. It stays on the plasma login logo forever. I HAVE to reboot

EXPECTED RESULT
The system should display the lock screen as normal, allowing the user to log in after waking from sleep.

SOFTWARE/OS VERSIONS

Operating System: EndeavourOS 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: A520I AC
System Version: -CF

ADDITIONAL INFORMATION
NA
Comment 1 Nate Graham 2024-10-29 16:18:29 UTC
Quick correction: SDDM is the *login* screen, not the lock screen. The lock screen is the thing that locks the screen after you're already logged in.

Can you confirm that you're talking exclusively about the SDDM login screen here?
Comment 2 Kalzi 2024-10-30 00:09:17 UTC
(In reply to Nate Graham from comment #1)
> Quick correction: SDDM is the *login* screen, not the lock screen. The lock
> screen is the thing that locks the screen after you're already logged in.
> 
> Can you confirm that you're talking exclusively about the SDDM login screen
> here?

Hey, Nate. Sorry about that. I always call it lock screen, but yes I am talking about SDDM specifically. It only happens on SDDM.
Comment 3 Nate Graham 2024-10-30 15:38:46 UTC
Thanks. I cannot reproduce the issue on my Fedora 41 system with SDDM 0.21. I suspect it's actually an SDDM issue. Can you report it at https://github.com/sddm/sddm/issues? Thanks!
Comment 4 Kalzi 2024-10-31 01:21:51 UTC
(In reply to Nate Graham from comment #3)
> Thanks. I cannot reproduce the issue on my Fedora 41 system with SDDM 0.21.
> I suspect it's actually an SDDM issue. Can you report it at
> https://github.com/sddm/sddm/issues? Thanks!

Got it, thanks. I have reported it to the SDDM team on github