Partly true. Rpmfusion makes those drivers available for .rpm based linux flavours only, esp. Fedora. The “real” nvidia drivers I mentioned are general and to be used by every Linux flavour using nvidia cards.
Funny thing is, I didn’t had those files on my system at that time, later on I thought I just didn’t searched well enough because suddenly I had (at the time of that quoted post), today however they are gone again (??), probably because I had an update of xorg-x11-drv-nvidia c.s. yesterday (just guessing here).
Suspend doesnt work today (I get a Failed to enable unit: Unit file nvidia-suspend.service does not exist when i try to enable the service; when i do a locate nvidia-suspend.service I get a /usr/lib/systemd/system/nvidia-suspend.service as (former) location, but after manually updating the locate database I do get /etc/systemd/system/systemd-suspend.service.requires/nvidia-suspend.service as location (which is a dead link to /usr/lib/systemd/system/nvidia-suspend.service).
Falling back to line in /etc/modprobe.d/nvidia.conf as mentioned above is still the best solution for me.
Yesh, there are most like several benefits of the experimental nvidia systemd way but if you aren’t aware or feel the need of any of them then whatever as long as the machine suspends and wakes okay, I think.
Hahahaha I had just gotten suspend and wake to work better than ever (OpenCL remained when machine awoke after being suspended) (via the experimental nvidia systemd way ) and after today’s update swoosh no more /usr/lib/modprobe.d/nvidia-power-management.conf (no /etc/modprobe.d/nvidia* either) and dead links to missing nvidia-suspend.service and company.
The machine refused to suspend. Fannastic.
I went to toss the nvidia card in a lake but now is perhaps not the best time… so I created nvidia.conf and nvidia-power-management.conf in the two modprobe.d folders mentioned above with options nvidia NVreg_PreserveVideoMemoryAllocations=0 and rebooted four times, one for each, and the machine failed to suspend throughout. I tried the same with just NVreg_PreserveVideoMemoryAllocations=0 - nope.
sep 03 18:08:10 feds systemd-logind: Error during inhibitor-delayed operation (already returned success to client): Unit nvidia-resume.service not found. sep 03 18:08:10 feds baloorunner: The X11 connection broke (error 1). Did the X11 server die? No, just my hope of a great weekend… or something. So anyway I removed the four nvidia*.conf files, followed https://rpmfusion.org/Howto/NVIDIA#Suspend and reinstalled xorg-x11-drv-nvidia-power and reenabled the now existing three nvidia systemd services and rebooted and there still isn’t a nvidia.conf, not in /usr/lib and not in /etc , but my old friend nvidia-power-management.conf was in /usr/lib/(modprobe.d) and now suspend works, with OpenCL still available upon wakeup if in use when suspended.
Huzzah, and don’t we lead interesting lives with linux and the nvidia driver