Though in the strace log, there are multiple refernces where libGLX_nvidia is clearly opened:
[pid 3977] openat(AT_FDCWD, "/var/lib/snapd/lib/gl/libGLX_nvidia.so.0", O_RDONLY|O_CLOEXEC) = 20 [pid 3977] openat(AT_FDCWD, "/var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.510.60.02", O_RDONLY) = 20
at least we know that the library is there and is accessible. I could not find a matching close on that fd number, so most likely it remained, so I'm guessing that dlopen(), if it was used, did not fail as I would expect some cleanup to happen.
Though in the strace log, there are multiple refernces where libGLX_nvidia is clearly opened:
[pid 3977] openat(AT_FDCWD, "/var/lib/ snapd/lib/ gl/libGLX_ nvidia. so.0", O_RDONLY|O_CLOEXEC) = 20 snapd/hostfs/ usr/lib/ x86_64- linux-gnu/ libGLX_ nvidia. so.510. 60.02", O_RDONLY) = 20
[pid 3977] openat(AT_FDCWD, "/var/lib/
at least we know that the library is there and is accessible. I could not find a matching close on that fd number, so most likely it remained, so I'm guessing that dlopen(), if it was used, did not fail as I would expect some cleanup to happen.