I had hibernation working without any issues until last week when I updated to 6.5.0. It looks like it’s some sort of issue with kwin_wayland or dbus communication when a failed hibernation requests happens I see this in the system logs
dbus-daemon[802]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.12' (uid=0 pid=902 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
dbus-daemon[802]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.130" (uid=1000 pid=2737 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=838 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
kwin_wayland[2737]: kwin_core: Failed to delay sleep: Rejected send message, 2 matched rules; type="method_call", sender=":1.130" (uid=1000 pid=2737 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=838 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
then
kernel: Freezing user space processes aborted after 0.001 seconds (380 tasks refusing to freeze, wq_busy=0):
If I use echo -n disk > /sys/power/state hibernation works every time, but after systemctl hibernation fails trying to use /sys/power/state will fail as well and print out echo: write error: Device or resource busy
system logs from journalctl
Oct 27 14:14:38 thad-laptop13 sudo[77585]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 sudo[77585]: tschulz : TTY=pts/7 ; PWD=/etc/systemd/system/sleep.target.wants ; USER=root ; COMMAND=/usr/bin/systemctl hibernate
Oct 27 14:14:38 thad-laptop13 sudo[77585]: pam_unix(sudo:session): session opened for user root(uid=0) by tschulz(uid=1000)
Oct 27 14:14:38 thad-laptop13 systemd-logind[838]: The system will hibernate now!
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.2934] manager: sleep: sleep requested (sleeping: no enabled: yes)
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.2939] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 ModemManager[961]: <msg> [sleep-monitor-systemd] system is about to suspend
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.2942] manager: NetworkManager state is now ASLEEP
Oct 27 14:14:38 thad-laptop13 sudo[77585]: pam_unix(sudo:session): session closed for user root
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.2943] device (wlp1s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 dbus-daemon[802]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.12' (uid=0 pid=902 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
Oct 27 14:14:38 thad-laptop13 dbus-daemon[802]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.130" (uid=1000 pid=2737 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=838 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
Oct 27 14:14:38 thad-laptop13 kwin_wayland[2737]: kwin_core: Failed to delay sleep: Rejected send message, 2 matched rules; type="method_call", sender=":1.130" (uid=1000 pid=2737 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=838 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
Oct 27 14:14:38 thad-laptop13 systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Oct 27 14:14:38 thad-laptop13 dbus-daemon[802]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 27 14:14:38 thad-laptop13 systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Oct 27 14:14:38 thad-laptop13 kernel: wlp1s0: deauthenticating from 88:dc:96:80:6b:9b by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 kernel: pcieport 0000:00:08.1: PME: Spurious native interrupt!
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=88:dc:96:80:6b:9b reason=3 locally_generated=1
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.5847] device (wlp1s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Withdrawing address record for fe80::f305:ffbd:c56c:484f on wlp1s0.
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6163] dhcp4 (wlp1s0): canceled DHCP transaction
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Leaving mDNS multicast group on interface wlp1s0.IPv6 with address fe80::f305:ffbd:c56c:484f.
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6163] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Interface wlp1s0.IPv6 no longer relevant for mDNS.
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6164] dhcp4 (wlp1s0): state changed no lease
Oct 27 14:14:38 thad-laptop13 DiscoverNotifier[3958]: packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6503] dns-mgr: Removing DNS information from /sbin/resolvconf
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: PMKSA-CACHE-REMOVED 88:dc:96:80:6b:9b 0
Oct 27 14:14:38 thad-laptop13 resolvconf[77648]: Failed to resolve interface "NetworkManager": No such device
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <warn> [1761592478.6615] dns-mgr: could not commit DNS changes: /sbin/resolvconf returned error code
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Withdrawing address record for 192.168.0.194 on wlp1s0.
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Leaving mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.0.194.
Oct 27 14:14:38 thad-laptop13 avahi-daemon[800]: Interface wlp1s0.IPv4 no longer relevant for mDNS.
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6882] device (wlp1s0): supplicant interface state: completed -> disconnected
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.6887] device (wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: p2p-dev-wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: p2p-dev-wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: nl80211: deinit ifname=p2p-dev-wlp1s0 disabled_11b_rates=0
Oct 27 14:14:38 thad-laptop13 systemd[1]: Reached target sleep.target - Sleep.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Starting systemd-hibernate.service - System Hibernate...
Oct 27 14:14:38 thad-laptop13 systemd-sleep[77701]: Performing sleep operation 'hibernate'...
Oct 27 14:14:38 thad-laptop13 kernel: PM: hibernation: hibernation entry
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 27 14:14:38 thad-laptop13 wpa_supplicant[917]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Oct 27 14:14:38 thad-laptop13 kernel: Filesystems sync: 0.019 seconds
Oct 27 14:14:38 thad-laptop13 kernel: Freezing user space processes
Oct 27 14:14:38 thad-laptop13 kernel: Freezing user space processes aborted after 0.001 seconds (380 tasks refusing to freeze, wq_busy=0):
Oct 27 14:14:38 thad-laptop13 kernel: OOM killer enabled.
Oct 27 14:14:38 thad-laptop13 kernel: Restarting tasks: Starting
Oct 27 14:14:38 thad-laptop13 kernel: Restarting tasks: Done
Oct 27 14:14:38 thad-laptop13 systemd-sleep[77701]: Failed to put system to sleep. System resumed again: Device or resource busy
Oct 27 14:14:38 thad-laptop13 bluetoothd[801]: Controller resume with wake event 0x0
Oct 27 14:14:38 thad-laptop13 kernel: PM: hibernation: hibernation exit
Oct 27 14:14:38 thad-laptop13 systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
Oct 27 14:14:38 thad-laptop13 systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Failed to start systemd-hibernate.service - System Hibernate.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Dependency failed for hibernate.target - System Hibernation.
Oct 27 14:14:38 thad-laptop13 systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
Oct 27 14:14:38 thad-laptop13 systemd-logind[838]: Operation 'hibernate' finished.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Stopped target sleep.target - Sleep.
Oct 27 14:14:38 thad-laptop13 ModemManager[961]: <msg> [sleep-monitor-systemd] system is resuming
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.8504] manager: sleep: wake requested (sleeping: yes enabled: yes)
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.8509] device (enx9cbf0d0098fc): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 kdeconnectd[3776]: Error sending UDP packet: QAbstractSocket::NetworkError
Oct 27 14:14:38 thad-laptop13 systemd[1]: Starting grub-common.service - Record successful boot for GRUB...
Oct 27 14:14:38 thad-laptop13 kernel: traps: Chrome_ChildIOT[73011] general protection fault ip:5dac3d0646fc sp:7c1d41bf9ab0 error:0 in bitwarden-app[645b6fc,5dac38bf9000+8969000]
Oct 27 14:14:38 thad-laptop13 kdeconnectd[3776]: kdeconnect.core: Failed to open any MDNS client sockets
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.8656] device (enx9cbf0d0098fc): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.8699] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 27 14:14:38 thad-laptop13 systemd[1]: Started systemd-coredump@3-77761-0.service - Process Core Dump (PID 77761/UID 0).
Oct 27 14:14:38 thad-laptop13 systemd[1]: Started drkonqi-coredump-processor@3-77761-0.service - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Oct 27 14:14:38 thad-laptop13 systemd[1]: grub-common.service: Deactivated successfully.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Finished grub-common.service - Record successful boot for GRUB.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Oct 27 14:14:38 thad-laptop13 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Oct 27 14:14:38 thad-laptop13 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
Oct 27 14:14:38 thad-laptop13 kwin_wayland_wrapper[3011]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9461] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9462] manager: NetworkManager state is now CONNECTED_LOCAL
Oct 27 14:14:38 thad-laptop13 kwin_wayland_wrapper[3011]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9827] device (wlp1s0): supplicant interface state: internal-starting -> disconnected
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9828] device (p2p-dev-wlp1s0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9831] Wi-Fi P2P device controlled by interface wlp1s0 created
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9832] manager: (p2p-dev-wlp1s0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/10)
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9833] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9835] device (wlp1s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Oct 27 14:14:38 thad-laptop13 NetworkManager[902]: <info> [1761592478.9839] device (p2p-dev-wlp1s0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
user logs from journalctl
Oct 27 14:14:38 thad-laptop13 sudo[77585]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 sudo[77585]: tschulz : TTY=pts/7 ; PWD=/etc/systemd/system/sleep.target.wants ; USER=root ; COMMAND=/usr/bin/systemctl hibernate
Oct 27 14:14:38 thad-laptop13 sudo[77585]: pam_unix(sudo:session): session opened for user root(uid=0) by tschulz(uid=1000)
Oct 27 14:14:38 thad-laptop13 sudo[77585]: pam_unix(sudo:session): session closed for user root
Oct 27 14:14:38 thad-laptop13 kwin_wayland[2737]: kwin_core: Failed to delay sleep: Rejected send message, 2 matched rules; type="method_call", sender=":1.130" (uid=1000 pid=2737 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=838 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 kscreenlocker_greet[77592]: PAM _pam_init_handlers: no default config other
Oct 27 14:14:38 thad-laptop13 DiscoverNotifier[3958]: packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
Oct 27 14:14:38 thad-laptop13 kdeconnectd[3776]: Error sending UDP packet: QAbstractSocket::NetworkError
Oct 27 14:14:38 thad-laptop13 kdeconnectd[3776]: kdeconnect.core: Failed to open any MDNS client sockets
Oct 27 14:14:38 thad-laptop13 kwin_wayland_wrapper[3011]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Oct 27 14:14:38 thad-laptop13 kwin_wayland_wrapper[3011]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!