You are not logged in.

#1 2020-08-13 06:22:11

mattf
Member
Registered: 2020-04-12
Posts: 17

Suspending does not work after system upgrade

Suspend now fails if some process is using the gpu during the suspend process. I am not talking about resume, while the suspend it hangs and the OS becomes unresponsive. It took my quite a while to understand this was this cause, but I had nvtop automatically restoring from a tmux session and after being able to switch to tty2 and kill nvtop (that used 100% cpu then) the system suspended.

At first I was getting this problem then no idea what I did but I am not having this anymore on the hang: https://i.imgur.com/03qIjCu.jpg

I have a 1050ti and nvidia 450. This issue didn't happen before, I was able to have blender open on render viewport and suspend and resume and it would be still working. I am using nvidia-prime.

This is journalctl for when it hangs now: https://filebin.net/j9qz0fpagj1x3m18/log.txt?t=red9ffg7

Aug 13 01:39:07 arch-matheus kded5[1530]: ktp-kded-module: "screen-saver-away" presence change request: "away" ""
Aug 13 01:39:07 arch-matheus kded5[1530]: ktp-kded-module: plugin queue activation: "away" ""
Aug 13 01:39:07 arch-matheus kded5[1530]: ktp-kded-module: "gabble/jabber/google_2dim_4" requested presence change error: "RequestedPresence 0 cannot be set on yourself"
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: UdevQt: unable to create udev monitor connection
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: qt.svg: link #fcitx-kbd is undefined!
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MainBlock.qml:88:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:64:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/SessionManagementScreen.qml:64:5: Unable to assign [undefined] to int
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/lib/qt/qml/org/kde/plasma/components/Button.qml:52: ReferenceError: PlasmaCore is not defined
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/ActionButton.qml:33:5: Unable to assign [undefined] to int
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/KeyboardLayoutButton.qml:29:5: Unable to assign [undefined] to int
Aug 13 01:39:07 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/Battery.qml:48:9: Unable to assign [undefined] to double
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:41:5: Unable to assign [undefined] to int
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: qt.svg: link #fcitx-kbd is undefined!
Aug 13 01:39:08 arch-matheus ntpd[734]: Deleting interface #4 enp2s0, 10.42.0.1#123, interface stats: received=1, sent=1, dropped=0, active_time=3022 secs
Aug 13 01:39:08 arch-matheus ntpd[734]: Deleting interface #6 enp2s0, fe80::724d:e80f:440d:ecd0%2#123, interface stats: received=0, sent=0, dropped=0, active_time=3020 secs
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:08 arch-matheus kscreenlocker_greet[54576]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:96:9: QML Image: Network access is disabled.
Aug 13 01:39:10 arch-matheus kernel: r8169 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full - flow control rx/tx
Aug 13 01:39:10 arch-matheus NetworkManager[696]: <info>  [1597293550.0748] device (enp2s0): carrier: link connected
Aug 13 01:39:10 arch-matheus NetworkManager[696]: <info>  [1597293550.0752] device (enp2s0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Aug 13 01:39:11 arch-matheus systemd-logind[702]: Delay lock is active (UID 0/root, PID 696/NetworkManager) but inhibitor timeout is reached.
Aug 13 01:39:11 arch-matheus systemd[1]: Reached target Sleep.
Aug 13 01:39:11 arch-matheus systemd[1]: Starting NVIDIA system suspend actions...
Aug 13 01:39:11 arch-matheus suspend[54702]: nvidia-suspend.service
Aug 13 01:39:11 arch-matheus logger[54702]: <13>Aug 13 01:39:11 suspend: nvidia-suspend.service
Aug 13 01:39:13 arch-matheus org_kde_powerdevil[2383]: powerdevil: ACTIVE SESSION PATH CHANGED: "/"
Aug 13 01:39:13 arch-matheus org_kde_powerdevil[2383]: powerdevil: Switched to inactive session - leaving unchanged
Aug 13 01:39:15 arch-matheus /usr/bin/gpm[701]: *** info [mice.c(1990)]:
Aug 13 01:39:15 arch-matheus /usr/bin/gpm[701]: imps2: Auto-detected intellimouse PS/2
Aug 13 01:39:16 arch-matheus systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Aug 13 01:39:16 arch-matheus 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'
Aug 13 01:39:16 arch-matheus kernel: kauditd_printk_skb: 1 callbacks suppressed
Aug 13 01:39:16 arch-matheus kernel: audit: type=1131 audit(1597293556.666:204): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:18 arch-matheus systemd[1]: Started Getty on tty2.
Aug 13 01:39:18 arch-matheus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:18 arch-matheus kernel: audit: type=1130 audit(1597293558.146:205): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:18 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:18 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:18 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:18 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:25 arch-matheus audit[54813]: USER_AUTH pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1100 audit(1597293565.225:206): pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus audit[54813]: USER_ACCT pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus audit[54813]: CRED_ACQ pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus login[54813]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Aug 13 01:39:25 arch-matheus kernel: audit: type=1101 audit(1597293565.395:207): pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1103 audit(1597293565.395:208): pid=54813 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1006 audit(1597293565.395:209): pid=54813 uid=0 old-auid=4294967295 auid=0 tty=tty2 old-ses=4294967295 ses=5 res=1
Aug 13 01:39:25 arch-matheus systemd[1]: Created slice User Slice of UID 0.
Aug 13 01:39:25 arch-matheus systemd[1]: Starting User Runtime Directory /run/user/0...
Aug 13 01:39:25 arch-matheus systemd-logind[702]: New session 5 of user root.
Aug 13 01:39:25 arch-matheus systemd[1]: Finished User Runtime Directory /run/user/0.
Aug 13 01:39:25 arch-matheus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus systemd[1]: Starting User Manager for UID 0...
Aug 13 01:39:25 arch-matheus org_kde_powerdevil[2383]: powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_35"
Aug 13 01:39:25 arch-matheus kernel: audit: type=1130 audit(1597293565.415:210): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1101 audit(1597293565.415:211): pid=54943 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1103 audit(1597293565.415:212): pid=54943 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Aug 13 01:39:25 arch-matheus kernel: audit: type=1006 audit(1597293565.415:213): pid=54943 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=6 res=1
Aug 13 01:39:25 arch-matheus kernel: audit: type=1105 audit(1597293565.425:214): pid=54943 uid=0 auid=0 ses=6 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus audit[54943]: USER_ACCT pid=54943 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus audit[54943]: CRED_ACQ pid=54943 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Aug 13 01:39:25 arch-matheus audit[54943]: USER_START pid=54943 uid=0 auid=0 ses=6 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus systemd[54943]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[root] ruser=[<unknown>] rhost=[<unknown>]
Aug 13 01:39:25 arch-matheus org_kde_powerdevil[2383]: powerdevil: Current session is now inactive
Aug 13 01:39:25 arch-matheus systemd[54943]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: /etc/xdg/autostart/org.kde.kgpg.desktop:8: Unknown key name 'MimeType' in section 'Desktop Entry', ignoring.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Configuration file /etc/xdg/autostart/klipper.desktop is marked executable. Please remove executable permission bits. Proceeding anyway.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-powerdevil-autostart.service, only Type=Application is supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-xapp\x2dsn\x2dwatcher-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-pulseaudio-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dssh-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-kaccess-autostart.service, only Type=Application is supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dsecrets-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-gsettings\x2ddata\x2dconvert-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dpkcs11-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: Not generating service for XDG autostart app-at\x2dspi\x2ddbus\x2dbus-autostart.service, startup phases are not supported.
Aug 13 01:39:25 arch-matheus systemd-xdg-autostart-generator[54953]: kde-systemd-start-condition not found: No such file or directory
Aug 13 01:39:25 arch-matheus systemd[54943]: Queued start job for default target Main User Target.
Aug 13 01:39:25 arch-matheus systemd[54943]: Reached target Paths.
Aug 13 01:39:25 arch-matheus systemd[54943]: Reached target Timers.
Aug 13 01:39:25 arch-matheus systemd[54943]: Starting D-Bus User Message Bus Socket.
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on GnuPG network certificate management daemon.
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on p11-kit server.
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on Multimedia System.
Aug 13 01:39:25 arch-matheus systemd[54943]: Condition check resulted in Sound System being skipped.
Aug 13 01:39:25 arch-matheus systemd[54943]: Listening on D-Bus User Message Bus Socket.
Aug 13 01:39:25 arch-matheus systemd[54943]: Reached target Sockets.
Aug 13 01:39:25 arch-matheus systemd[54943]: Reached target Basic System.
Aug 13 01:39:25 arch-matheus systemd[1]: Started User Manager for UID 0.
Aug 13 01:39:25 arch-matheus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus systemd[1]: Started Session 5 of user root.
Aug 13 01:39:25 arch-matheus systemd[54943]: Starting Update XDG user dir configuration...
Aug 13 01:39:25 arch-matheus systemd[54943]: xdg-user-dirs-update.service: Succeeded.
Aug 13 01:39:25 arch-matheus systemd[54943]: Finished Update XDG user dir configuration.
Aug 13 01:39:25 arch-matheus systemd[54943]: Reached target Main User Target.
Aug 13 01:39:25 arch-matheus systemd[54943]: Startup finished in 163ms.
Aug 13 01:39:25 arch-matheus audit[54813]: USER_START pid=54813 uid=0 auid=0 ses=5 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus audit[54813]: CRED_REFR pid=54813 uid=0 auid=0 ses=5 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=arch-matheus addr=? terminal=tty2 res=success'
Aug 13 01:39:25 arch-matheus login[54813]: ROOT LOGIN ON tty2
Aug 13 01:39:25 arch-matheus kernel: audit: type=1130 audit(1597293565.705:215): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:25 arch-matheus systemd[54943]: Started D-Bus User Message Bus.
Aug 13 01:39:25 arch-matheus dbus-daemon[54968]: [session uid=0 pid=54968] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.1' (uid=0 pid=54966 comm="flatpak --installations ")
Aug 13 01:39:25 arch-matheus systemd[54943]: Starting Virtual filesystem service...
Aug 13 01:39:25 arch-matheus dbus-daemon[54968]: [session uid=0 pid=54968] Successfully activated service 'org.gtk.vfs.Daemon'
Aug 13 01:39:25 arch-matheus systemd[54943]: Started Virtual filesystem service.
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: *** info [daemon/processrequest.c(42)]:
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: Request on 6 (console 2)
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: *** info [daemon/disable_paste.c(28)]:
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: disabling pasting per request from virtual console (2)
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: *** info [daemon/processrequest.c(42)]:
Aug 13 01:39:25 arch-matheus /usr/bin/gpm[701]: Request on 6 (console 2)
Aug 13 01:39:27 arch-matheus systemd[1]: Requested transaction contradicts existing jobs: Transaction for reboot.target/start is destructive (suspend.target has 'start' job queued, but 'stop' is included in transaction).
Aug 13 01:39:28 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:28 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:28 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:28 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:38 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:38 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:38 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:38 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:46 arch-matheus nmbd[1805]: [2020/08/13 01:39:46.649359,  0] ../../source3/libsmb/nmblib.c:922(send_udp)
Aug 13 01:39:46 arch-matheus nmbd[1805]:   Packet send failed to 10.42.0.255(138) ERRNO=Network is unreachable
Aug 13 01:39:47 arch-matheus org_kde_powerdevil[2383]: powerdevil: ACTIVE SESSION PATH CHANGED: "/"
Aug 13 01:39:47 arch-matheus kernel: kauditd_printk_skb: 2 callbacks suppressed
Aug 13 01:39:47 arch-matheus kernel: audit: type=1130 audit(1597293587.313:218): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:47 arch-matheus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 13 01:39:47 arch-matheus org_kde_powerdevil[2383]: powerdevil: Switched to inactive session - leaving unchanged
Aug 13 01:39:47 arch-matheus systemd[1]: Started Getty on tty3.
Aug 13 01:39:48 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:48 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:48 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:48 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:51 arch-matheus org_kde_powerdevil[2383]: powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_35"
Aug 13 01:39:51 arch-matheus org_kde_powerdevil[2383]: powerdevil: Current session is now inactive
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_32"
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: Current session is now active
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: Can't contact ck
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: Currently using activity  "917cb5da-bc0e-42e1-ba2e-9c45053f5021"
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: () ()
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: () ()
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: Loading profile for plugged AC
Aug 13 01:39:52 arch-matheus org_kde_powerdevil[2383]: powerdevil: Activity is not forcing a profile
Aug 13 01:39:58 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:58 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:58 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:39:58 arch-matheus kscreenlocker_greet[54576]: Could not create AF_NETLINK socket (Operation not permitted)
Aug 13 01:40:00 arch-matheus kernel: sysrq: Keyboard mode set to system default

I don't find the cause for the problem there.

My nvidia-sleep.sh script is as follows:

#!/bin/bash

 if [ ! -f /proc/driver/nvidia/suspend ]; then
     exit 0
 fi
 
 RUN_DIR="/var/run/nvidia-sleep"
 XORG_VT_FILE="${RUN_DIR}"/Xorg.vt_number
 
 PATH="/bin:/usr/bin"
 
 case "$1" in
     suspend|hibernate)
         mkdir -p "${RUN_DIR}"
         fgconsole > "${XORG_VT_FILE}"
         chvt 63
         if [[ $? -ne 0 ]]; then
             exit $?
         fi
         echo "$1" > /proc/driver/nvidia/suspend
         exit $?
         ;;
     resume)
         echo "$1" > /proc/driver/nvidia/suspend 
         #
         # Check if Xorg was determined to be running at the time
         # of suspend, and whether its VT was recorded.  If so,
         # attempt to switch back to this VT.
         #
         if [[ -f "${XORG_VT_FILE}" ]]; then
             XORG_PID=$(cat "${XORG_VT_FILE}")
             rm "${XORG_VT_FILE}"
             chvt "${XORG_PID}"
         fi
         exit 0
         ;;
     *)
         exit 1
 esac

I have these module options:

 options nvidia NVreg_PreserveVideoMemoryAllocations=1
 options nvidia NVreg_TemporaryFilePath=/run

I am using linux-lts and nvidia-lts packages.

I believe the problem is that nvidia procecess are somehow unable to get suspended on the newer driver... Or maybe is the kernel's fault? Any workaround besides downgrading?

Offline

#2 2020-08-13 07:50:29

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Suspending does not work after system upgrade

I believe your problem is related to this.
Nvidia has acknowledge the existence of the problem so there should be a fix sometime. There's also a KDE bug report concerning this.

Offline

#3 2020-08-13 19:23:55

mattf
Member
Registered: 2020-04-12
Posts: 17

Re: Suspending does not work after system upgrade

Oh how sad... Are all those transitions that problematic? I have some programs that are simply crashing during suspend as well.

Btw do you have the related nvidia thread on this issue? Not sure if it is my problem exactly.

Offline

#4 2020-08-23 19:23:10

mattf
Member
Registered: 2020-04-12
Posts: 17

Re: Suspending does not work after system upgrade

Still not fixed.... sad Just updated again to newer nvidia-lts and linux-lts.

If I have something like nvtop open It won't suspend and just freezes.

Offline

Board footer

Powered by FluxBB