Bug 500673

Summary: Black screen upon waking from suspend
Product: [Plasma] plasmashell Reporter: justinsolstice
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: grave CC: kde, kdedev, nate
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description justinsolstice 2025-02-24 15:03:16 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
When waking up laptop from suspend the entire system freezes up. I cannot switch ttys and the cursor is not visible

STEPS TO REPRODUCE
1. Suspend session to ram
2. Attempt to wake the system 
3. 

OBSERVED RESULT
The screen remains black, the power led indicates that the system has exited suspend, but nothing is visible

EXPECTED RESULT
The lock screen is visible

SOFTWARE/OS VERSIONS
Linux: 6.12.13-1-lts
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.1.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

The following is the journalctl log, which may be relevant:

Feb 24 09:38:58 frameworkxvi plasmashell[1401]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Feb 24 09:38:58 frameworkxvi systemd[1]: Reached target Sleep.
Feb 24 09:38:58 frameworkxvi systemd[1]: Starting System Suspend...
Feb 24 09:38:58 frameworkxvi systemd[1]: session-2.scope: Unit now frozen-by-parent.
Feb 24 09:38:58 frameworkxvi systemd[1]: user@1000.service: Unit now frozen-by-parent.
Feb 24 09:38:58 frameworkxvi systemd[1]: user-1000.slice: Unit now frozen-by-parent.
Feb 24 09:38:58 frameworkxvi systemd[1]: user.slice: Unit now frozen.
Feb 24 09:38:58 frameworkxvi systemd-sleep[108530]: Successfully froze unit 'user.slice'.
Feb 24 09:38:58 frameworkxvi kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
Feb 24 09:38:59 frameworkxvi iwd[807]: event: state, old: autoconnect_quick, new: autoconnect_full
Feb 24 09:39:02 frameworkxvi systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Feb 24 09:39:58 frameworkxvi kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
Feb 24 09:40:28 frameworkxvi systemd-sleep[108530]: Performing sleep operation 'suspend'...
Feb 24 09:40:28 frameworkxvi kernel: PM: suspend entry (s2idle)
Feb 24 09:40:28 frameworkxvi kernel: Filesystems sync: 0.014 seconds
Feb 24 09:40:28 frameworkxvi bluetoothd[747]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 24 09:43:20 frameworkxvi kernel: Freezing user space processes
Feb 24 09:43:20 frameworkxvi kernel: Freezing user space processes completed (elapsed 0.003 seconds)
Feb 24 09:43:20 frameworkxvi kernel: OOM killer disabled.
Feb 24 09:43:20 frameworkxvi kernel: Freezing remaining freezable tasks
Feb 24 09:43:20 frameworkxvi kernel: Freezing remaining freezable tasks completed (elapsed 0.002 seconds)
Feb 24 09:43:20 frameworkxvi kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 24 09:43:20 frameworkxvi kernel: queueing ieee80211 work while going to suspend
Feb 24 09:43:20 frameworkxvi kernel: [drm] PCIE GART of 512M enabled (table at 0x00000081FEB00000).
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: PSP is resuming...
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: reserve 0x1300000 from 0x81fc000000 for PSP TMR
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x00000035, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x00525c00 (82.92.0)
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
Feb 24 09:43:20 frameworkxvi kernel: [drm] DMUB hardware initialized: version=0x07002A00
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: ACPI: EC: interrupt blocked
Feb 24 09:43:20 frameworkxvi kernel: ACPI: EC: interrupt unblocked
Feb 24 09:43:20 frameworkxvi kernel: [drm] PCIE GART of 512M enabled (table at 0x00000081FEB00000).
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: PSP is resuming...
Feb 24 09:43:20 frameworkxvi kernel: [drm] PCIE GART of 512M enabled (table at 0x00000080FFD00000).
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: SMU is resuming...
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: SMU is resumed successfully!
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:c4:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: nvme nvme0: 16/0/0 default/read/poll queues
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: reserve 0x1300000 from 0x81fc000000 for PSP TMR
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x00000035, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x00525c00 (82.92.0)
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
Feb 24 09:43:20 frameworkxvi kernel: [drm] DMUB hardware initialized: version=0x07002A00
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
Feb 24 09:43:20 frameworkxvi kernel: amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 was added
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring gfx_32819.1.1 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring compute_32819.2.2 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: [drm] ring sdma_32819.3.3 ib test pass
Feb 24 09:43:20 frameworkxvi kernel: OOM killer enabled.
Feb 24 09:43:20 frameworkxvi kernel: Restarting tasks ... done.
Feb 24 09:43:20 frameworkxvi kernel: random: crng reseeded on system resumption
Feb 24 09:43:20 frameworkxvi kernel: PM: suspend exit
Feb 24 09:43:20 frameworkxvi systemd-logind[753]: Lid opened.
Feb 24 09:43:20 frameworkxvi bluetoothd[747]: Controller resume with wake event 0x0
Feb 24 09:43:20 frameworkxvi systemd-sleep[108530]: System returned from sleep operation 'suspend'.
Feb 24 09:43:22 frameworkxvi boltd[748]: probing: started [1000]
Feb 24 09:43:24 frameworkxvi boltd[748]: probing: timeout, done: [2003323] (2000000)
Feb 24 09:43:33 frameworkxvi bluetoothd[747]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 24 09:43:36 frameworkxvi bluetoothd[747]: profiles/audio/media.c:endpoint_reply() Endpoint replied with an error: org.freedesktop.DBus.Error.NoReply
Feb 24 09:43:39 frameworkxvi bluetoothd[747]: profiles/audio/media.c:endpoint_reply() Endpoint replied with an error: org.freedesktop.DBus.Error.NoReply
Feb 24 09:43:39 frameworkxvi bluetoothd[747]: profiles/audio/a2dp.c:select_cb() Unable to select a valid configuration
Feb 24 09:43:44 frameworkxvi systemd-logind[753]: Power key pressed short.
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: new high-speed USB device number 9 using xhci_hcd
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: New USB device found, idVendor=05ac, idProduct=12a8, bcdDevice=13.02
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: Product: iPhone
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: Manufacturer: Apple Inc.
Feb 24 09:43:50 frameworkxvi kernel: usb 1-2.2: SerialNumber: 0000810100123C240C90801E
Feb 24 09:43:50 frameworkxvi mtp-probe[108653]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.2"
Feb 24 09:43:50 frameworkxvi mtp-probe[108653]: bus: 1, device: 9 was not an MTP device
Feb 24 09:43:50 frameworkxvi boltd[748]: probing: started [1000]
Feb 24 09:43:50 frameworkxvi kernel: usbcore: registered new device driver apple-mfi-fastcharge
Feb 24 09:43:50 frameworkxvi mtp-probe[108667]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.2"
Feb 24 09:43:50 frameworkxvi mtp-probe[108667]: bus: 1, device: 9 was not an MTP device
Feb 24 09:43:50 frameworkxvi mtp-probe[108670]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.2"
Feb 24 09:43:51 frameworkxvi mtp-probe[108670]: bus: 1, device: 9 was not an MTP device
Feb 24 09:43:53 frameworkxvi boltd[748]: probing: timeout, done: [2866744] (2000000)
Feb 24 09:43:54 frameworkxvi systemd-logind[753]: Lid closed.
Feb 24 09:43:59 frameworkxvi systemd-logind[753]: Lid opened.
Feb 24 09:44:08 frameworkxvi systemd-logind[753]: Lid closed.
Feb 24 09:44:12 frameworkxvi systemd-logind[753]: Lid opened.
Feb 24 09:44:14 frameworkxvi systemd-logind[753]: Power key pressed short.
Comment 1 TraceyC 2025-02-24 19:49:01 UTC
This sounds similar to bug 499789. Can you please try something?

In Display Configuration, set Color accuracy to "Prefer efficiency" for all displays
Can you reproduce the bug with that setting?
Comment 2 justinsolstice 2025-02-26 15:43:10 UTC
(In reply to TraceyC from comment #1)
> This sounds similar to bug 499789. Can you please try something?
> 
> In Display Configuration, set Color accuracy to "Prefer efficiency" for all
> displays
> Can you reproduce the bug with that setting?

Yea, same thing happens. One thing I've noticed is this only happens when the screen turns off when closing lid. Then the system goes to sleep due to being idle
Comment 3 TraceyC 2025-03-05 19:16:12 UTC
Was this in a Wayland session or X11? Does it happen in the other one as well?
Comment 4 justinsolstice 2025-03-06 00:59:19 UTC
(In reply to TraceyC from comment #3)
> Was this in a Wayland session or X11? Does it happen in the other one as
> well?

I'll check with X11, so far this has only been happening in wayland
Comment 5 Bug Janitor Service 2025-03-21 03:47:04 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-04-05 03:46:57 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.