Comment 12 for bug 1969243

Revision history for this message
Jack Howarth (jwhowarth) wrote :

Does the line...

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\""

in /lib/udev/rules.d/61-gdm.rules parse correctly?

Adding /etc/modprobe.d/nvidia-hack.conf containing 'options nvidia NVreg_PreserveVideoMemoryAllocations=1', doesn't seem to make NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS available as an environmental despite the fact that manually executing...

/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"

produces "NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1"