You are not logged in.
Hi all
I don't know if it's the right place to report issues.
But I'd like to report.
Looks like nvidia driver needs some more attention to work properly.
Currently it requires nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service running to avoid crashes on resume for certain application.
Specifically Firefox with hardware acceleration enabled crashes on resume without those "services".
See https://github.com/elFarto/nvidia-vaapi … 2164389423 and https://wiki.archlinux.org/title/NVIDIA … er_suspend for details.
BR
Last edited by MageSlayer (2024-09-28 08:07:49)
Offline
If the problem is that these .service files can't do their job without systemd running, then the solution is to fork nvidia-suspend-common, the package that supplies these .service files. Someone needs to step forward to do the work and maintain it as updates come along. (It most likely will not be someone who is already packaging for devuan - there aren't enough of us.)
Offline
Just in case if it's still matters.
Creating /etc/elogind/system-sleep/nvidia with following contents & making it executable:
#!/bin/sh
case "$1" in
pre)
/usr/bin/nvidia-sleep.sh "suspend"
;;
post)
/usr/bin/nvidia-sleep.sh "resume"
;;
esac
... and uncommenting following line in /etc/modprobe.d/nvidia-options.conf:
options nvidia-current NVreg_PreserveVideoMemoryAllocations=1
... seems to make it work. And Firefox becomes stable again!
Offline