Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: nvidia 555.58-2 | nvidia-sleep.sh script gone?? (Read 599 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

nvidia 555.58-2 | nvidia-sleep.sh script gone??

I recently upgraded my nvidia drivers from 550.90 to 555.58-2 and i noticed that nvidia-sleep.sh has vanished.
Script is used by elogind after resume from suspend: /lib64/elogind/system-sleep/nvidia
Code: [Select]
#!/bin/sh

case "$1" in
    post)
        /usr/bin/nvidia-sleep.sh "resume"
        ;;
esac

I tried to reinstall the drivers (sudo pacman -R nvidia nvidia-utils nvidia-settings) then (sudo pacman -S nvidia nvidia-utils nvidia-settings) but without success.

According to the docs site nvidia-sleep is supposedly somewhere in /usr/share/nvidia. But it's not there

MAYBE i'm going insane and the script was removed before. My loginctl suspend was running smoothly before

Can anyone confirm?


Re: nvidia 555.58-2 | nvidia-sleep.sh script gone??

Reply #1
MAYBE i'm going insane and the script was removed before. My loginctl suspend was running smoothly before
Not going insane. It was removed in this commit.

I haven't updated the nvidia drivers yet. In case it's any use to you ?
/usr/bin/nvidia-sleep.sh
Spoiler (click to show/hide)

Re: nvidia 555.58-2 | nvidia-sleep.sh script gone??

Reply #2
I manually reinstated the script there, but my suspend/resume routine still seems to be broken... AGAIN

I will have to investigate this further.
Maybe i will downgrade nvidia.

Thanks for your quick answer and clarification!

Re: nvidia 555.58-2 | nvidia-sleep.sh script gone??

Reply #3
It may be that it's been removed because it's now handled differently ?

I mention in passing:
I have no joy with high level suspend / resume and nvidia.
For years I've used the lower level
Code: [Select]
echo "mem" > /sys/power/state
as it's the only way that doesn't result in an X black screen on resume on my machine.

Re: nvidia 555.58-2 | nvidia-sleep.sh script gone??

Reply #4
yeah that works.

Im just sad because
Code: [Select]
loginctl suspend
worked so flawlessly before
I put a lot of effort in researching, reading documentation, editing config files and so on..

Back to the grind again. Happy hacking!

Re: nvidia 555.58-2 | nvidia-sleep.sh script gone??

Reply #5
It has been fixed in world-gremlins, as it got wiped in PKGBUILD, which I got to add a patch so it doesn't happen again later