[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-20 Thread Daniel van Vugt
Thanks for your efforts. Please propose fixes upstream at https://gitlab.gnome.org/GNOME/gdm/-/merge_requests (if they apply) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1969447

[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-20 Thread Jack Howarth
Daniel, I disagree. This bug is actually about the fact that the test crafted in /lib/udev/rules.d/61-gdm.rules doesn't parse as expected in udev. We also should probably file a bug report against upstream udev as the changes added to support escaped quotes in #6890 aren't robust enough. -- You

[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-19 Thread Daniel van Vugt
I'm not totally sure we need this bug. The problem with Wayland sessions missing on Nvidia is tracked in bug 1968929. And the use of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS should be tracked in bug 1876632. So essentially this bug is just pointing out that we haven't fixed bug 1876632 yet. --

[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-19 Thread Jack Howarth
Note that I stumbled onto the above fix after noticing the example shown for the udev escaped quoting support showed an example with double quotes surrounded by single quotes which in turn surrounded escaped double quotes...

[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-19 Thread Jack Howarth
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_/'

[Bug 1969447] Re: 42.0-1ubuntu6 doesn't recongize the presence of NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS=1

2022-04-19 Thread Jack Howarth
I am wondering if the use of escaped quotes in the failing rule of /lib/udev/rules.d/61-gdm.rules is really being honored. There don't seem to be any other examples of deployed udev rules which actually use such escaped quotes. -- You received this bug notification because you are a member of