You are not logged in.
After hit suspend on gnome menu Screen turns black for ~1 minute, suspend eventually fails (or crash), the machine resumes to Gnome lock screen.
Ive set those arguments in modprobe.d: (Wihtout those flags the suspend service works but all video returns currupted.)
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
and 3 nvidia services are active: nvidia-suspend, nvidia-hibernate and nvidia-resume (this i was forced to enable in order to GDM display "wayland" options. With this disabled it was needed to change 61-gdm rules with same suspend behaviour.)
[gabriel@arch ~]$ systemctl status nvidia-suspend.service
○ nvidia-suspend.service - NVIDIA system suspend actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Sat 2022-07-02 10:59:39 -03; 23min ago
Process: 1437 ExecStart=/usr/bin/logger -t suspend -s nvidia-suspend.service (code=exited, status=0/SUCCESS)
Process: 1438 ExecStart=/usr/bin/nvidia-sleep.sh suspend (code=exited, status=0/SUCCESS)
Main PID: 1438 (code=exited, status=0/SUCCESS)
CPU: 763ms
jul 02 10:59:38 arch systemd[1]: Starting NVIDIA system suspend actions...
jul 02 10:59:38 arch suspend[1437]: nvidia-suspend.service
jul 02 10:59:38 arch logger[1437]: <13>Jul 2 10:59:38 suspend: nvidia-suspend.service
jul 02 10:59:39 arch systemd[1]: nvidia-suspend.service: Deactivated successfully.
jul 02 10:59:39 arch systemd[1]: Finished NVIDIA system suspend actions.
[gabriel@arch ~]$ systemctl status nvidia-resume.service
○ nvidia-resume.service - NVIDIA system resume actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-resume.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Sat 2022-07-02 11:00:21 -03; 22min ago
Process: 1537 ExecStart=/usr/bin/logger -t suspend -s nvidia-resume.service (code=exited, status=0/SUCCESS)
Process: 1538 ExecStart=/usr/bin/nvidia-sleep.sh resume (code=exited, status=0/SUCCESS)
Main PID: 1538 (code=exited, status=0/SUCCESS)
CPU: 3ms
jul 02 11:00:20 arch systemd[1]: Starting NVIDIA system resume actions...
jul 02 11:00:20 arch logger[1537]: <13>Jul 2 11:00:20 suspend: nvidia-resume.service
jul 02 11:00:20 arch suspend[1537]: nvidia-resume.service
jul 02 11:00:21 arch systemd[1]: nvidia-resume.service: Deactivated successfully.
jul 02 11:00:21 arch systemd[1]: Finished NVIDIA system resume actions.
[gabriel@arch ~]$ systemctl status suspend.target
○ suspend.target - Suspend
Loaded: loaded (/usr/lib/systemd/system/suspend.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
jul 02 11:00:20 arch systemd[1]: Dependency failed for Suspend.
jul 02 11:00:20 arch systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
[gabriel@arch ~]$
Journalctl reports:
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:12 arch gnome-shell[955]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
jul 02 10:59:33 arch sudo[1393]: pam_unix(sudo:session): session closed for user root
jul 02 10:59:33 arch audit[1393]: USER_END pid=1393 uid=1000 auid=1000 ses=4 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=suc>
jul 02 10:59:33 arch audit[1393]: CRED_DISP pid=1393 uid=1000 auid=1000 ses=4 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
jul 02 10:59:33 arch kernel: audit: type=1106 audit(1656770373.805:119): pid=1393 uid=1000 auid=1000 ses=4 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr>
jul 02 10:59:33 arch kernel: audit: type=1104 audit(1656770373.805:120): pid=1393 uid=1000 auid=1000 ses=4 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/>
jul 02 10:59:37 arch NetworkManager[563]: <info> [1656770377.6378] manager: sleep: sleep requested (sleeping: no enabled: yes)
jul 02 10:59:37 arch NetworkManager[563]: <info> [1656770377.6379] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
jul 02 10:59:37 arch gnome-shell[955]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_panel_AggregateMenu>:0x55aca996f660] in animation of duration 150ms but not on stage.
jul 02 10:59:37 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:37 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.1655] device (wlan0): set-hw-addr: reset MAC address to AC:BC:32:8A:DA:99 (unmanage)
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.1715] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.1716] manager: NetworkManager state is now ASLEEP
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.1718] device (enp7s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
jul 02 10:59:38 arch wpa_supplicant[658]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
jul 02 10:59:38 arch dbus-daemon[561]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.3' (uid=0 pid=563 comm="/usr/bin/NetworkManager --no->
jul 02 10:59:38 arch wpa_supplicant[658]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
jul 02 10:59:38 arch wpa_supplicant[658]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
jul 02 10:59:38 arch systemd[1]: Starting Network Manager Script Dispatcher Service...
jul 02 10:59:38 arch dbus-daemon[561]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
jul 02 10:59:38 arch systemd[1]: Started Network Manager Script Dispatcher Service.
jul 02 10:59:38 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.1792] device (enp7s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
jul 02 10:59:38 arch kernel: audit: type=1130 audit(1656770378.175:121): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=succes>
jul 02 10:59:38 arch wpa_supplicant[658]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2282] dhcp4 (enp7s0): canceled DHCP transaction
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2283] dhcp4 (enp7s0): activation: beginning transaction (timeout in 45 seconds)
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2283] dhcp4 (enp7s0): state changed no lease
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2285] dhcp6 (enp7s0): canceled DHCP transaction
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2285] dhcp6 (enp7s0): activation: beginning transaction (timeout in 45 seconds)
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2285] dhcp6 (enp7s0): state changed no lease
jul 02 10:59:38 arch NetworkManager[563]: <info> [1656770378.2327] device (enp7s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
jul 02 10:59:38 arch kernel: r8169 0000:07:00.0 enp7s0: Link is Down
jul 02 10:59:38 arch wpa_supplicant[658]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
jul 02 10:59:38 arch wpa_supplicant[658]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
jul 02 10:59:38 arch systemd[1]: Reached target Sleep.
[b]jul 02 10:59:38 arch systemd[1]: Starting NVIDIA system suspend actions...
jul 02 10:59:38 arch suspend[1437]: nvidia-suspend.service
jul 02 10:59:38 arch logger[1437]: <13>Jul 2 10:59:38 suspend: nvidia-suspend.service[/b]
jul 02 10:59:38 arch kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 43
jul 02 10:59:38 arch kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0
jul 02 10:59:38 arch kernel: rfkill: input handler enabled
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch wireplumber[1011]: dbus[1011]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
jul 02 10:59:38 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gsd-media-keys[1135]: Unable to get default sink
jul 02 10:59:38 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gsd-media-keys[1135]: Unable to get default source
jul 02 10:59:38 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gsd-media-keys[1135]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:38 arch gjs[1258]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 10:59:39 arch systemd[1]: nvidia-suspend.service: Deactivated successfully.
jul 02 10:59:39 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:39 arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:39 arch systemd[1]: Finished NVIDIA system suspend actions.
jul 02 10:59:39 arch kernel: audit: type=1130 audit(1656770379.742:122): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:39 arch kernel: audit: type=1131 audit(1656770379.742:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:39 arch systemd[1]: Starting System Suspend...
jul 02 10:59:39 arch systemd-sleep[1447]: Entering sleep state 'suspend'...
jul 02 10:59:39 arch kernel: PM: suspend entry (deep)
jul 02 10:59:39 arch kernel: Filesystems sync: 0.175 seconds
jul 02 10:59:59 arch kernel: Freezing user space processes ...
jul 02 10:59:59 arch kernel: Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
jul 02 10:59:59 arch kernel: task:gnome-shell state:D stack: 0 pid: 955 ppid: 894 flags:0x00000006
jul 02 10:59:59 arch kernel: Call Trace:
jul 02 10:59:59 arch kernel: <TASK>
jul 02 10:59:59 arch kernel: __schedule+0x37c/0x11f0
jul 02 10:59:59 arch kernel: ? attach_entity_load_avg+0x180/0x1e0
jul 02 10:59:59 arch kernel: schedule+0x4f/0xb0
jul 02 10:59:59 arch kernel: rwsem_down_read_slowpath+0x35d/0x3c0
jul 02 10:59:59 arch kernel: nvkms_ioctl_from_kapi+0x26/0x90 [nvidia_modeset 29ea6b51fc5684cf4202fefd12dc27119117aed2]
jul 02 10:59:59 arch kernel: _nv000092kms+0x42/0x50 [nvidia_modeset 29ea6b51fc5684cf4202fefd12dc27119117aed2]
jul 02 10:59:59 arch kernel: nv_drm_framebuffer_destroy+0x3e/0x50 [nvidia_drm 4b36ef1081205483d1c223fb8f5317eaa79aef46]
jul 02 10:59:59 arch kernel: drm_mode_rmfb+0x1c2/0x1f0
jul 02 10:59:59 arch kernel: ? drm_mode_rmfb+0x1f0/0x1f0
jul 02 10:59:59 arch kernel: drm_ioctl_kernel+0xca/0x170
jul 02 10:59:59 arch kernel: drm_ioctl+0x22e/0x410
jul 02 10:59:59 arch kernel: ? drm_mode_rmfb+0x1f0/0x1f0
jul 02 10:59:59 arch kernel: __x64_sys_ioctl+0x91/0xc0
jul 02 10:59:59 arch kernel: do_syscall_64+0x5f/0x90
jul 02 10:59:59 arch kernel: ? syscall_exit_to_user_mode+0x26/0x50
jul 02 10:59:59 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 10:59:59 arch kernel: ? syscall_exit_to_user_mode+0x26/0x50
jul 02 10:59:59 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 10:59:59 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 10:59:59 arch kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
jul 02 10:59:59 arch kernel: RIP: 0033:0x7f6131cf77af
jul 02 10:59:59 arch kernel: RSP: 002b:00007fff1831afb0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
jul 02 10:59:59 arch kernel: RAX: ffffffffffffffda RBX: 000055acaadc2630 RCX: 00007f6131cf77af
jul 02 10:59:59 arch kernel: RDX: 00007fff1831b04c RSI: 00000000c00464af RDI: 0000000000000009
jul 02 10:59:59 arch kernel: RBP: 00007fff1831b04c R08: 0000000000000000 R09: 0000000000000000
jul 02 10:59:59 arch kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c00464af
jul 02 10:59:59 arch kernel: R13: 0000000000000009 R14: 000055aca9f1d370 R15: 0000000000000000
jul 02 10:59:59 arch kernel: </TASK>
jul 02 10:59:59 arch kernel:
jul 02 10:59:59 arch kernel: OOM killer enabled.
jul 02 10:59:59 arch kernel: Restarting tasks ... done.
jul 02 10:59:59 arch kernel: PM: suspend exit
jul 02 10:59:59 arch kernel: PM: suspend entry (s2idle)
jul 02 10:59:59 arch kernel: audit: type=1131 audit(1656770399.959:124): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=succes>
jul 02 10:59:59 arch kernel: audit: type=1131 audit(1656770399.962:125): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:59 arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:59 arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 10:59:59 arch rtkit-daemon[695]: The canary thread is apparently starving. Taking action.
jul 02 10:59:59 arch unknown[1016]: Service not used for 60 seconds. Shutting down..
jul 02 10:59:59 arch rtkit-daemon[695]: Demoting known real-time threads.
jul 02 10:59:59 arch systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1021 of process 1012.
jul 02 10:59:59 arch systemd[1]: geoclue.service: Deactivated successfully.
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1012 of process 1012.
jul 02 11:00:19 arch kernel: Filesystems sync: 0.026 seconds
jul 02 11:00:19 arch kernel: Freezing user space processes ...
*jul 02 11:00:19 arch kernel: Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
jul 02 11:00:19 arch kernel: task:gnome-shell state:D stack: 0 pid: 955 ppid: 894 flags:0x00000006
jul 02 11:00:19 arch kernel: Call Trace:
jul 02 11:00:19 arch kernel: <TASK>
jul 02 11:00:19 arch kernel: __schedule+0x37c/0x11f0
jul 02 11:00:19 arch kernel: ? attach_entity_load_avg+0x180/0x1e0
jul 02 11:00:19 arch kernel: schedule+0x4f/0xb0
jul 02 11:00:19 arch kernel: rwsem_down_read_slowpath+0x35d/0x3c0
jul 02 11:00:19 arch kernel: nvkms_ioctl_from_kapi+0x26/0x90 [nvidia_modeset 29ea6b51fc5684cf4202fefd12dc27119117aed2]
jul 02 11:00:19 arch kernel: _nv000092kms+0x42/0x50 [nvidia_modeset 29ea6b51fc5684cf4202fefd12dc27119117aed2]
jul 02 11:00:19 arch kernel: nv_drm_framebuffer_destroy+0x3e/0x50 [nvidia_drm 4b36ef1081205483d1c223fb8f5317eaa79aef46]
jul 02 11:00:19 arch kernel: drm_mode_rmfb+0x1c2/0x1f0
jul 02 11:00:19 arch kernel: ? drm_mode_rmfb+0x1f0/0x1f0
jul 02 11:00:19 arch kernel: drm_ioctl_kernel+0xca/0x170
jul 02 11:00:19 arch kernel: drm_ioctl+0x22e/0x410
jul 02 11:00:19 arch kernel: ? drm_mode_rmfb+0x1f0/0x1f0
jul 02 11:00:19 arch kernel: __x64_sys_ioctl+0x91/0xc0
jul 02 11:00:19 arch kernel: do_syscall_64+0x5f/0x90
jul 02 11:00:19 arch kernel: ? syscall_exit_to_user_mode+0x26/0x50
jul 02 11:00:19 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 11:00:19 arch kernel: ? syscall_exit_to_user_mode+0x26/0x50
jul 02 11:00:19 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 11:00:19 arch kernel: ? do_syscall_64+0x6b/0x90
jul 02 11:00:19 arch kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
jul 02 11:00:19 arch kernel: RIP: 0033:0x7f6131cf77af
jul 02 11:00:19 arch kernel: RSP: 002b:00007fff1831afb0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
jul 02 11:00:19 arch kernel: RAX: ffffffffffffffda RBX: 000055acaadc2630 RCX: 00007f6131cf77af
jul 02 11:00:19 arch kernel: RDX: 00007fff1831b04c RSI: 00000000c00464af RDI: 0000000000000009
jul 02 11:00:19 arch kernel: RBP: 00007fff1831b04c R08: 0000000000000000 R09: 0000000000000000
jul 02 11:00:19 arch kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c00464af
jul 02 11:00:19 arch kernel: R13: 0000000000000009 R14: 000055aca9f1d370 R15: 0000000000000000
jul 02 11:00:19 arch kernel: </TASK>
jul 02 11:00:19 arch kernel:
jul 02 11:00:19 arch kernel: OOM killer enabled.
jul 02 11:00:19 arch kernel: Restarting tasks ... done.
jul 02 11:00:19 arch kernel: PM: suspend exit
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1017 of process 1011.
jul 02 11:00:19 arch systemd-sleep[1447]: Failed to put system to sleep. System resumed again: Device or resource busy
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1011 of process 1011.
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1019 of process 1010.
jul 02 10:59:59 arch rtkit-daemon[695]: Successfully demoted thread 1010 of process 1010.
jul 02 10:59:59 arch rtkit-daemon[695]: Demoted 6 threads.
jul 02 11:00:19 arch rtkit-daemon[695]: The canary thread is apparently starving. Taking action.
jul 02 11:00:19 arch rtkit-daemon[695]: Demoting known real-time threads.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1021 of process 1012.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1012 of process 1012.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1017 of process 1011.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1011 of process 1011.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1019 of process 1010.
jul 02 11:00:19 arch rtkit-daemon[695]: Successfully demoted thread 1010 of process 1010.
jul 02 11:00:19 arch rtkit-daemon[695]: Demoted 6 threads.
jul 02 11:00:19 arch CROND[1458]: (root) CMD (timeshift --check --scripted)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT ((process:1458): GLib-GIO-CRITICAL **: 11:00:20.064: g_file_get_path: assertion 'G_IS_FILE (file)' failed)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT ()
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (** (process:1458): CRITICAL **: 11:00:20.064: tee_jee_file_system_path_combine: assertion 'path1 != NULL' failed)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT ()
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (** (process:1458): CRITICAL **: 11:00:20.064: tee_jee_file_system_dir_exists: assertion 'dir_path != NULL' failed)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Using system disk as snapshot device for creating snapshots in BTRFS mode)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Mounted '/dev/nvme0n1p2' at '/run/timeshift/1458/backup')
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Hourly snapshots are enabled)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Last hourly snapshot is more than 1 hour old)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Tagged snapshot '2022-07-02_10-52-50': hourly)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Daily snapshots are enabled)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Last daily snapshot is 10 hours old)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (------------------------------------------------------------------------------)
jul 02 11:00:20 arch crontab[1523]: (root) LIST (root)
jul 02 11:00:20 arch crontab[1524]: (root) LIST (root)
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT ()
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Found stale mount for device '/dev/nvme0n1p2' at path '/run/timeshift/1458/backup')
jul 02 11:00:20 arch CROND[1455]: (root) CMDOUT (Unmounted successfully)
jul 02 11:00:20 arch systemd[1]: run-timeshift-1458-backup.mount: Deactivated successfully.
jul 02 11:00:20 arch CROND[1455]: (root) CMDEND (timeshift --check --scripted)
jul 02 11:00:20 arch dbus-daemon[908]: [session uid=1000 pid=908] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.11' (uid=1000 pid=955 comm="/usr/bin/gnome-shell")
jul 02 11:00:20 arch systemd[894]: Starting Virtual filesystem metadata service...
jul 02 11:00:20 arch dbus-daemon[908]: [session uid=1000 pid=908] Successfully activated service 'org.gtk.vfs.Metadata'
jul 02 11:00:20 arch systemd[894]: Started Virtual filesystem metadata service.
*jul 02 11:00:20 arch systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
*jul 02 11:00:20 arch systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
*jul 02 11:00:20 arch systemd[1]: Failed to start System Suspend.
*jul 02 11:00:20 arch systemd[1]: Dependency failed for Suspend.
jul 02 11:00:20 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
jul 02 11:00:20 arch systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
jul 02 11:00:20 arch systemd[1]: systemd-suspend.service: Consumed 2.008s CPU time.
jul 02 11:00:20 arch systemd[1]: Stopped target Sleep.
jul 02 11:00:20 arch gnome-shell[955]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
jul 02 11:00:20 arch systemd[1]: Starting NVIDIA system resume actions...
jul 02 11:00:20 arch kernel: audit: type=1130 audit(1656770420.992:126): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
jul 02 11:00:20 arch systemd-logind[562]: Operation 'sleep' finished.
jul 02 11:00:20 arch logger[1537]: <13>Jul 2 11:00:20 suspend: nvidia-resume.service
jul 02 11:00:20 arch suspend[1537]: nvidia-resume.service
jul 02 11:00:20 arch NetworkManager[563]: <info> [1656770420.9985] manager: sleep: wake requested (sleeping: yes enabled: yes)
jul 02 11:00:20 arch NetworkManager[563]: <info> [1656770420.9986] device (enp7s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
jul 02 11:00:21 arch kernel: rfkill: input handler disabled
jul 02 11:00:21 arch systemd[1]: nvidia-resume.service: Deactivated successfully.
jul 02 11:00:21 arch systemd[1]: Finished NVIDIA system resume actions.
jul 02 11:00:20 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 11:00:20 arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 11:00:21 arch kernel: audit: type=1130 audit(1656770420.998:127): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 11:00:21 arch kernel: audit: type=1131 audit(1656770420.998:128): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-resume comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jul 02 11:00:21 arch kernel: Generic FE-GE Realtek PHY r8169-0-700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
jul 02 11:00:21 arch NetworkManager[563]: <info> [1656770421.2286] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
jul 02 11:00:21 arch kernel: r8169 0000:07:00.0 enp7s0: Link is Down
There is some solution to that or is just the combo "wayland with nvidia" beeing "wayland with nvidia"?
My system, atm is:
Arch installed with archinstall script.
Linux arch 5.18.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Jun 2022 23:03:08 +0000 x86_64 GNU/Linux
Ryzen 5 5600g + 32gb ram + nvme 500gb with btrfs.
nvidia-dkms nvidia-utils : nvidia 3060 12gb
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.57 Driver Version: 515.57 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 0% 43C P8 17W / 170W | 549MiB / 12288MiB | 7% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 955 G /usr/bin/gnome-shell 163MiB |
| 0 N/A N/A 2120 G /usr/lib/firefox/firefox 160MiB |
+-----------------------------------------------------------------------------+
Last edited by gabekings (2022-07-03 13:06:54)
Offline
Solution:
Thanks for u/supersockpuppet on reddit that lead us to the solution gave by devyn.cairns in nvidia Forum!
I found a solution.
gnome-shell is trying to talk to the NVIDIA driver after it has already gone into suspend, so it can’t respond. Linux tries to freeze the task, but fails because gnome-shell is waiting for a response from the driver and can’t be frozen.
The solution is to manually suspend gnome-shell using the STOP signal before the NVIDIA driver goes to suspend. Then use the CONT signal on resume.
/usr/local/bin/suspend-gnome-shell.sh:
#!/bin/bash
case "$1" in
suspend)
killall -STOP gnome-shell
;;
resume)
killall -CONT gnome-shell
;;
esac
sudo chmod +x /usr/bin/suspend-gnome-shell.sh
than create:
/etc/systemd/system/gnome-shell-suspend.service:
[Unit]
Description=Suspend gnome-shell
Before=systemd-suspend.service
Before=systemd-hibernate.service
Before=nvidia-suspend.service
Before=nvidia-hibernate.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/suspend-gnome-shell.sh suspend
[Install]
WantedBy=systemd-suspend.service
WantedBy=systemd-hibernate.service
Than create:
/etc/systemd/system/gnome-shell-resume.service:
[Unit]
Description=Resume gnome-shell
After=systemd-suspend.service
After=systemd-hibernate.service
After=nvidia-resume.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/suspend-gnome-shell.sh resume
[Install]
WantedBy=systemd-suspend.service
WantedBy=systemd-hibernate.service
Then just enable the two new systemd units:
systemctl daemon-reload
systemctl enable gnome-shell-suspend
systemctl enable gnome-shell-resume
This should interrupt gnome-shell in time so it’s not trying to access the graphics hardware. It worked for me.
source: https://forums.developer.nvidia.com/t/t … /200933/12
Last edited by gabekings (2022-07-03 13:10:37)
Offline
This solved my blackscreens after suspend. I been trying to figure out a solution for months. Thank you
Offline
Thank you!!! Came here for exactly this. Works like a charm on Opensuse Slowroll as well.
Offline