You are not logged in.
Hi all
I am under Excalibur.
I am not sure what is the culprit, but day or two ago I upgraded elogind to version 255.17-1 and polkitd 126-2devuan1.
Now my script in /etc/elogind/system-sleep/nvidia for resuming NVidia Prime hackery below does not show resumes neither under "deep" nor "s2idle" settings.
I tried changing SuspendMode in /etc/elogind/sleep.conf.d/10-elogind.conf.
user.log shows only "pre/post" "suspend" invocations.
Manually executing /etc/elogind/system-sleep/nvidia script and passing "post" "resume" args to it works fine & resumes GUI.
#!/bin/sh
/usr/bin/logger -t "DEBUG" -s "/etc/elogind/system-sleep/nvidia $1 $2"
case "$1/$2" in
pre/suspend)
/usr/bin/nvidia-sleep.sh "suspend"
;;
post/resume)
/usr/bin/nvidia-sleep.sh "resume"
;;
esac
P.S. Recent elogind-255.17-2 does NOT solve the problem (neither in "deep" nor in "s2idle" modes)
Any help?
Last edited by MageSlayer (2025-01-28 11:19:49)
Offline
Sorry for noise.
My fault. Script should be following instead:
#!/bin/sh
/usr/bin/logger -t "DEBUG" -s "/etc/elogind/system-sleep/nvidia $1 $2"
case "$1/$2" in
pre/suspend)
/usr/bin/nvidia-sleep.sh "suspend"
;;
post/suspend)
/usr/bin/nvidia-sleep.sh "resume"
;;
esac
Offline