I have found that current /lib/udev/rules.d/61-gdm.rules can be fixed by
swapping the order of the single and escaped double quotes from...
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\""
which fails to parse correctly to...
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'"
which parses properly and allows the test for
ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!="1",
GOTO="gdm_disable_wayland"
to succeed when /etc/modprobe.d/nvidia-power-management.conf contains...
options nvidia NVreg_PreserveVideoMemoryAllocations=1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969447
Title:
42.0-1ubuntu6 doesn't recongize the presence of
NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969447/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs