How can we even know whether the Nvidia power mananagement support is broken or working if the Ubuntu Nvidia packaging never starts nvidia-hibernate.service, nvidia-powerd.service, nvidia-resume.service and nvidia-suspend.service like rpmfusion on Fedora? Of course, we would need a /etc/modprobe.d/nvidia-power-management.conf to get NVreg_PreserveVideoMemoryAllocations=1. However, I'm still unconvinced that the current check for NVreg_PreserveVideoMemoryAllocations=1 in 61-gdm.rules is really functional. In my hands, even though I had NVreg_PreserveVideoMemoryAllocations=1 present from addition of a /etc/modprobe.d/nvidia-power-management.conf contaiining....
How can we even know whether the Nvidia power mananagement support is broken or working if the Ubuntu Nvidia packaging never starts nvidia- hibernate. service, nvidia- powerd. service, nvidia- resume. service and nvidia- suspend. service like rpmfusion on Fedora? Of course, we would need a /etc/modprobe. d/nvidia- power-managemen t.conf to get NVreg_PreserveV ideoMemoryAlloc ations= 1. However, I'm still unconvinced that the current check for NVreg_PreserveV ideoMemoryAlloc ations= 1 in 61-gdm.rules is really functional. In my hands, even though I had NVreg_PreserveV ideoMemoryAlloc ations= 1 present from addition of a /etc/modprobe. d/nvidia- power-managemen t.conf contaiining....
options nvidia NVreg_PreserveV ideoMemoryAlloc ations= 1
the test...
IMPORT{ program} ="/bin/ sh -c \"sed -e 's/: /=/g' -e 's/\([^ [:upper: ]]\)\([ [:upper: ]]\)/\1_ \2/g' -e 's/[[:lower: ]]/\U&/ g' -e 's/^/NVIDIA_/' /proc/driver/ nvidia/ params\ "" PRESERVE_ VIDEO_MEMORY_ ALLOCATIONS} !="1", GOTO="gdm_ disable_ wayland"
ENV{NVIDIA_
in 61-gdm.rules never recognized its presence. It seems like the rule might not be properly parsing the escaped quotes.
Also, I looked at the Debian packaging for nvidia and I don't see any evidence that they have ever started those power management related services.