The hibernate script I use works fine on 470.94 :
sync
echo 3 > /proc/sys/vm/drop_caches
echo -n disk >/sys/power/state
The machine hard crashes on resume on any 500 series driver (tested 515.65.01, 515.76,520.56.06)
I also tried adding the nvidia-sleep i.e.
sync
echo 3 > /proc/sys/vm/drop_caches
sh /usr/bin/nvidia-sleep.sh suspend
echo -n disk >/sys/power/state
sh /usr/bin/nvidia-sleep.sh resume
tested with and without
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/tmp
in /etc/modprobe.d
However this hard crashes same way (most likely the resume script needs to be run earlier in the resume stack than the script call but I don’t know how to do that, I don’t have systemd on my machine).
OS Slackware 15
GPU GTX 1070
Linux 5.15.71