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....

options nvidia NVreg_PreserveVideoMemoryAllocations=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\""
ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!="1", GOTO="gdm_disable_wayland"

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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968929

Title:
  No Wayland support on my NVIDA laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1968929/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to