Sudden issues in the past 2 weeks - cannot paste text, cannot log out or suspend

Posting the journalctl logs from a soft failed Sleep (monitor goes to power saving, fans remain spinning, after 1 min or so system resumes by itself and I’m presenting with the unlock screen)

soft failed Sleep journalctl logs
ModemManager[1038]: <info>  [sleep-monitor] system is about to suspend
NetworkManager[1087]: <info>  [19782315.9308] manager: sleep: sleep requested (sleeping: no  enabled: yes)
NetworkManager[1087]: <info>  [19782315.9310] manager: NetworkManager state is now ASLEEP
NetworkManager[1087]: <info>  [19782315.9311] device (abc1d2): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
kded5[1472]: org.kde.plasma.nm.kded: Unhandled active connection state change:  3
systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
audit[1]: SERVICE_START pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=>
NetworkManager[1087]: <info>  [19782315.9523] device (abc1d2): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [19782315.9528] dhcp4 (abc1d2): canceled DHCP transaction
NetworkManager[1087]: <info>  [19782315.9529] dhcp4 (abc1d2): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[1087]: <info>  [19782315.9529] dhcp4 (abc1d2): state changed no lease
NetworkManager[1087]: <info>  [19782315.9530] dhcp6 (abc1d2): canceled DHCP transaction
NetworkManager[1087]: <info>  [19782315.9530] dhcp6 (abc1d2): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[1087]: <info>  [19782315.9530] dhcp6 (abc1d2): state changed no lease
systemd-resolved[801]: abc1d2: Bus client reset search domain list.
systemd-resolved[801]: abc1d2: Bus client set default route setting: no
systemd-resolved[801]: abc1d2: Bus client reset DNS server list.
audit[1039]: NETFILTER_CFG table=firewalld:5 family=1 entries=5 op=nft_unregister_rule pid=1039 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
NetworkManager[1087]: <info>  [19782315.9903] device (abc1d2): set-hw-addr: reset MAC address to XX (deactivate)
NetworkManager[1087]: <info>  [19782315.9912] device (abc1d2): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
kernel: r8169 0000:04:00.0 abc1d2: Link is Down
chronyd[1000]: Source XX offline
chronyd[1000]: Source XX offline
chronyd[1000]: Source XX offline
chronyd[1000]: Can't synchronise: no selectable sources
chronyd[1000]: Source XX offline
systemd[1]: Reached target sleep.target - Sleep.
systemd[1]: Starting nvidia-suspend.service - NVIDIA system suspend actions...
suspend[3708]: nvidia-suspend.service
logger[3708]: <13> suspend: nvidia-suspend.service
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
DiscoverNotifier[1753]: packagekitqt.transaction: Unknown Transaction property: "Sender" QVariant(QString, ":1.87")
DiscoverNotifier[1753]: packagekitqt.transaction: Unknown Transaction property: "Sender" QVariant(QString, ":1.87")
kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 3
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "auto_null.monitor"
PackageKit[1930]: get-updates transaction /12770_eedecaac from uid 1000 finished with success after 136ms
uresourced[1275]: Setting resources on user-1000.slice (MemoryMin: 0, MemoryLow: 0, CPUWeight: 100, IOWeight: 100)
uresourced[1275]: Setting resources on user@1000.service (MemoryMin: 0, MemoryLow: 0, CPUWeight: 100, IOWeight: 100)
uresourced[1275]: Setting resources on user.slice (MemoryMin: 0, MemoryLow: 0, CPUWeight: -, IOWeight: -)
systemd[1]: nvidia-suspend.service: Deactivated successfully.
systemd[1]: Finished nvidia-suspend.service - NVIDIA system suspend actions.
audit[1]: SERVICE_START pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
audit[1]: SERVICE_STOP pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
systemd[1]: Starting systemd-suspend.service - System Suspend...
systemd-sleep[3794]: Entering sleep state 'suspend'...
kernel: PM: suspend entry (deep)
kernel: Filesystems sync: 0.287 seconds
kernel: Freezing user space processes ... 
kernel: Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
kernel: task:kwin_wayland    state:D stack:0     pid:1376  ppid:1369   flags:0x00000006
kernel: Call Trace:
kernel:  <TASK>
kernel:  __schedule+0x35f/0x1360
kernel:  ? _raw_spin_lock_irqsave+0x23/0x50
kernel:  schedule+0x5d/0xe0
kernel:  rwsem_down_read_slowpath+0x27c/0x4c0
kernel:  nvkms_ioctl_from_kapi+0x22/0x90 [nvidia_modeset]
kernel:  _nv000080kms+0x1bc/0x240 [nvidia_modeset]
kernel:  ? nv_drm_internal_framebuffer_create+0x21c/0x340 [nvidia_drm]
kernel:  ? nv_drm_framebuffer_create+0x84/0x90 [nvidia_drm]
kernel:  ? drm_internal_framebuffer_create+0x3b1/0x540
kernel:  ? drm_mode_addfb2+0x46/0xf0
kernel:  ? drm_mode_addfb_ioctl+0x10/0x10
kernel:  ? drm_ioctl_kernel+0xa6/0x150
kernel:  ? drm_ioctl+0x22f/0x410
kernel:  ? drm_mode_addfb_ioctl+0x10/0x10
kernel:  ? __x64_sys_ioctl+0x8d/0xd0
kernel:  ? do_syscall_64+0x58/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
kernel:  </TASK>
kernel: 
kernel: OOM killer enabled.
kernel: Restarting tasks ... done.
kernel: random: crng reseeded on system resumption
kernel: PM: suspend exit
kernel: PM: suspend entry (s2idle)
kernel: Filesystems sync: 0.012 seconds
audit[1]: SERVICE_STOP pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>
rtkit-daemon[866]: The canary thread is apparently starving. Taking action.
kernel: Freezing user space processes ... 
kernel: Freezing of tasks failed after 20.001 seconds (1 tasks refusing to freeze, wq_busy=0):
kernel: task:kwin_wayland    state:D stack:0     pid:1376  ppid:1369   flags:0x00000006
kernel: Call Trace:
kernel:  <TASK>
kernel:  __schedule+0x35f/0x1360
kernel:  ? _raw_spin_lock_irqsave+0x23/0x50
kernel:  schedule+0x5d/0xe0
kernel:  rwsem_down_read_slowpath+0x27c/0x4c0
kernel:  nvkms_ioctl_from_kapi+0x22/0x90 [nvidia_modeset]
kernel:  _nv000080kms+0x1bc/0x240 [nvidia_modeset]
kernel:  ? nv_drm_internal_framebuffer_create+0x21c/0x340 [nvidia_drm]
kernel:  ? nv_drm_framebuffer_create+0x84/0x90 [nvidia_drm]
kernel:  ? drm_internal_framebuffer_create+0x3b1/0x540
kernel:  ? drm_mode_addfb2+0x46/0xf0
kernel:  ? drm_mode_addfb_ioctl+0x10/0x10
kernel:  ? drm_ioctl_kernel+0xa6/0x150
kernel:  ? drm_ioctl+0x22f/0x410
kernel:  ? drm_mode_addfb_ioctl+0x10/0x10
kernel:  ? __x64_sys_ioctl+0x8d/0xd0
kernel:  ? do_syscall_64+0x58/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? syscall_exit_to_user_mode+0x17/0x40
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? do_syscall_64+0x67/0x80
kernel:  ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
kernel:  </TASK>
kernel: 
kernel: OOM killer enabled.
systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
rtkit-daemon[866]: Demoting known real-time threads.
systemd-sleep[3794]: Failed to put system to sleep. System resumed again: Device or resource busy
kernel: Restarting tasks ... done.
kernel: random: crng reseeded on system resumption
kernel: PM: suspend exit
rtkit-daemon[866]: Successfully demoted thread 2063 of process 2060 (/usr/bin/pipewire-pulse).
rtkit-daemon[866]: Successfully demoted thread 2060 of process 2060 (/usr/bin/pipewire-pulse).
rtkit-daemon[866]: Successfully demoted thread 1419 of process 1394 (/usr/bin/wireplumber).
rtkit-daemon[866]: Successfully demoted thread 1394 of process 1394 (/usr/bin/wireplumber).
rtkit-daemon[866]: Successfully demoted thread 1422 of process 1393 (/usr/bin/pipewire).
rtkit-daemon[866]: Successfully demoted thread 1393 of process 1393 (/usr/bin/pipewire).
rtkit-daemon[866]: Demoted 7 threads.
rtkit-daemon[866]: The canary thread is apparently starving. Taking action.
rtkit-daemon[866]: Demoting known real-time threads.
rtkit-daemon[866]: Successfully demoted thread 2063 of process 2060 (/usr/bin/pipewire-pulse).
rtkit-daemon[866]: Successfully demoted thread 2060 of process 2060 (/usr/bin/pipewire-pulse).
rtkit-daemon[866]: Successfully demoted thread 1419 of process 1394 (/usr/bin/wireplumber).
rtkit-daemon[866]: Successfully demoted thread 1394 of process 1394 (/usr/bin/wireplumber).
rtkit-daemon[866]: Successfully demoted thread 1422 of process 1393 (/usr/bin/pipewire).
rtkit-daemon[866]: Successfully demoted thread 1393 of process 1393 (/usr/bin/pipewire).
rtkit-daemon[866]: Demoted 7 threads.
systemd[1]: fprintd.service: Deactivated successfully.
audit[1]: SERVICE_STOP pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
audit: BPF prog-id=80 op=UNLOAD
kwin_wayland[1376]: kwin_wayland_drm: Atomic commit failed! Permission denied
kwin_wayland[1376]: kwin_wayland_drm: Presentation failed! Permission denied
systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
systemd[1]: Failed to start systemd-suspend.service - System Suspend.
systemd[1]: Dependency failed for suspend.target - Suspend.
audit[1]: SERVICE_START pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
systemd[1]: systemd-suspend.service: Consumed 2.139s CPU time.
systemd-logind[870]: Operation 'sleep' finished.
ModemManager[1038]: <info>  [sleep-monitor] system is resuming
NetworkManager[1087]: <info>  [1678211624.6127] manager: sleep: wake requested (sleeping: yes  enabled: yes)
NetworkManager[1087]: <info>  [1678211624.6129] device (abc1d2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-400:00: attached PHY driver (mii_bus:phy_addr=r8169-0-400:00, irq=MAC)
uresourced[1275]: Setting resources on user.slice (MemoryMin: 262144000, MemoryLow: 0, CPUWeight: -, IOWeight: -)
uresourced[1275]: Setting resources on user-1000.slice (MemoryMin: 262144000, MemoryLow: 0, CPUWeight: 500, IOWeight: 500)
uresourced[1275]: Setting resources on user@1000.service (MemoryMin: 262144000, MemoryLow: 0, CPUWeight: 500, IOWeight: 500)
kwin_wayland[1376]: kwin_wayland_drm: Failed to create gamma blob! Invalid argument
systemd[1]: Stopped target sleep.target - Sleep.
systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions...
suspend[3837]: nvidia-resume.service
logger[3837]: <13> suspend: nvidia-resume.service
systemd[1]: nvidia-resume.service: Deactivated successfully.
systemd[1]: Finished nvidia-resume.service - NVIDIA system resume actions.
audit[1]: SERVICE_START pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
audit[1]: SERVICE_STOP pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
NetworkManager[1087]: <info>  [1678211624.7875] manager: NetworkManager state is now DISCONNECTED
kernel: r8169 0000:04:00.0 abc1d2: Link is Down
wireplumber[1394]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "auto_null"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "auto_null.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
plasmashell[1497]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor"
ModemManager[1038]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0': not supported by any plugin
NetworkManager[1087]: <info>  [1678211627.3537] device (abc1d2): carrier: link connected
kernel: r8169 0000:04:00.0 abc1d2: Link is Up - Full - flow control rx/tx
kernel: IPv6: ADDRCONF(NETDEV_CHANGE): abc1d2: link becomes ready
NetworkManager[1087]: <info>  [1678211627.3538] device (abc1d2): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211627.3542] policy: auto-activating connection 'conn' (XX)
NetworkManager[1087]: <info>  [1678211627.3544] device (abc1d2): Activation: starting connection 'conn' (XX)
NetworkManager[1087]: <info>  [1678211627.3544] device (abc1d2): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211627.3546] manager: NetworkManager state is now CONNECTING
NetworkManager[1087]: <info>  [1678211627.3549] device (abc1d2): set-hw-addr: set-cloned MAC address to XX (XX)
NetworkManager[1087]: <info>  [1678211627.3549] device (abc1d2): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
audit[1039]: NETFILTER_CFG table=firewalld:6 family=1 entries=5 op=nft_register_rule pid=1039 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
NetworkManager[1087]: <info>  [1678211627.3602] device (abc1d2): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211627.3605] dhcp4 (abc1d2): activation: beginning transaction (timeout in 45 seconds)
systemd-resolved[801]: abc1d2: Bus client set default route setting: yes
systemd-resolved[801]: abc1d2: Bus client set DNS server list to: XX
NetworkManager[1087]: <info>  [1678211628.8389] dhcp6 (abc1d2): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[1087]: <info>  [1678211628.8392] policy: set 'conn' (abc1d2) as default for IPv6 routing and DNS
systemd-resolved[801]: abc1d2: Bus client set DNS server list to: XX
NetworkManager[1087]: <info>  [1678211628.8404] dhcp6 (abc1d2): state changed new lease, address=XX
NetworkManager[1087]: <info>  [1678211629.3655] dhcp4 (abc1d2): state changed new lease, address=XX
NetworkManager[1087]: <info>  [1678211629.3657] policy: set 'conn' (abc1d2) as default for IPv4 routing and DNS
systemd-resolved[801]: abc1d2: Bus client set search domain list to: XX
systemd-resolved[801]: abc1d2: Bus client set DNS server list to: XX
systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
audit[1]: SERVICE_START pid=1 uid=0 auid=XX ses=XX subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=>
NetworkManager[1087]: <info>  [1678211629.3773] device (abc1d2): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211629.3780] device (abc1d2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211629.3781] device (abc1d2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
NetworkManager[1087]: <info>  [1678211629.3783] manager: NetworkManager state is now CONNECTED_SITE
NetworkManager[1087]: <info>  [1678211629.3785] device (abc1d2): Activation: successful, device activated.

coredumpctl yields dumps from /usr/bin/plasmashell and /usr/libexec/org_kde_powerdevil

I tried to include them here but it exceeds the character limit by a very significant margin!

It’s a crash in the Nvidia driver that is preventing your system to sleep, please make sure you are running the latest driver.

If you moved back from S3 to S0ix, enabling S0ix for the Nvidia driver might help, I can give you better instructions later today, but for now I will give you this link:

https://us.download.nvidia.com/XFree86/Linux-x86_64/525.89.02/README/powermanagement.html

You ideally should report those to the KDE devs.

I can’t give you proper guidance on how to do it right now, but might be able to later today.

You may be able to pipe the output of each of those to fpaste then post the links it provides here.

I can try to install the latest drivers to see if it helps. I made a separate topic as I need to ensure that I can safely downgrade again.

I’m definitely staying on S3, there has been a clear improvement in Sleep success rates. Over the past 3 or so days, I estimate the success rate to be 80% vs 25% previously, of which 99% were soft failures (as described earlier). I only had a hard freeze once.

Thanks again to everyone who has helped thus far :grinning:

I updated to the latest Nvidia drivers successfully. The driver appears to be stable for now, will update again after some days of usage.

A big thank you to everyone who has helped out big or small, seems like updating the Nvidia drivers was the last key to getting Suspend reliability back. I’ve had a 100% Suspend success rate for the past week.

Logout is still broken but it doesnt affect my workflow directly so I’m okay with it. This has been a messy topic covering many areas, I’ll probably create a new topic for Logout if necessary. For now, thank you again!

1 Like