Bug 505958 - KDE Neon Wayland session fails to sleep/wake up, always starts a fresh boot instead
Summary: KDE Neon Wayland session fails to sleep/wake up, always starts a fresh boot i...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-22 08:52 UTC by Marcus Harrison
Modified: 2025-09-05 03:48 UTC (History)
5 users (show)

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


Attachments
journalctl logs from after a suspend command was sent (156.56 KB, text/x-log)
2025-06-23 13:27 UTC, Marcus Harrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Harrison 2025-06-22 08:52:13 UTC
SUMMARY
With an X11 session, putting my laptop to sleep, either by:
- closing the lid; or
- using the Sleep button in the main menu
and waking the laptop up again works, returning me to the lock screen.

However, in a Wayland session, using both techniques, the laptop doesn't wake up to the lock screen. Instead, it does a completely fresh reboot.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 8640HS w/ Radeon 760M Graphics
Memory: 16 GiB of RAM (13,4 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 83DK
System Version: Yoga 7 2-in-1 14AHP9
Comment 1 Marcus Harrison 2025-06-23 13:27:45 UTC
Created attachment 182557 [details]
journalctl logs from after a suspend command was sent
Comment 2 Nate Graham 2025-08-06 22:41:10 UTC
Thanks for the bug report, and I'm sorry we didn't manage to get to it yet. And also thanks for the journal log; that was helpful. This looks weird:

Jun 23 09:12:10 user-yoga7 systemd-logind[824]: The system will suspend now!

Jun 23 09:12:10 user-yoga7 dbus-daemon[791]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.49" (uid=1000 pid=1371 comm="/usr/bin/kwin_wayland --wayland-fd 7 --socket wayl" label="unconfined") interface="org.freedesktop.login1.Seat" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=824 comm="/usr/lib/systemd/systemd-logind" label="unconfined")

Jun 23 09:12:10 user-yoga7 kwin_wayland[1371]: kwin_core: Failed to delay sleep: Rejected send message, 2 matched rules; type="method_call", sender=":1.49" (uid=1000 pid=1371 comm="/usr/bin/kwin_wayland --wayland-fd 7 --socket wayl" label="unconfined") interface="org.freedesktop.login1.Seat" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=824 comm="/usr/lib/systemd/systemd-logind" label="unconfined")

Are you having any other weird, random-seeming issues with involve dbus errors in the log?

Does it happen in a new clean user account on the same machine?
Comment 3 Bug Janitor Service 2025-08-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 4 Bug Janitor Service 2025-09-05 03:48:25 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.