So I tried debugging the issue by inserting some print statements into
the script on every call to update-alternatives --set, but I seem to be
missing the crucial calls in some way:
$ LC_ALL=C sudo prime-select nvidia
Info: the current GL alternatives in use are: ['nvidia-361-prime', None]
Info: the current EGL alternatives in use are: ['nvidia-361-prime', None]
Info: selecting nvidia-361 for the nvidia profile
('gl_alternative:', '/usr/lib/nvidia-361/ld.so.conf')
('In set_alternatives, path is:', '/usr/lib/nvidia-361/ld.so.conf')
update-alternatives: using /usr/lib/nvidia-361/ld.so.conf to provide
/etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode
update-alternatives: warning: skip creation of
/usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file
/usr/lib32/nvidia-361/vdpau/libvdpau_nvidia.so.1 (of link group
i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so
because associated file /usr/lib32/nvidia-361/vdpau/libvdpau_nvidia.so (of link
group i386-linux-gnu_gl_conf) doesn't exist
('egl_alternative:', '/usr/lib/nvidia-361/ld.so.conf')
('In set_alternatives, path is:', '/usr/lib/nvidia-361/ld.so.conf')
update-alternatives: using /usr/lib/nvidia-361/ld.so.conf to provide
/etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in manual
mode
Could it be that the issue isn't at all what I believe it to be. That
the warnings update-alternatives give are not related to the issue?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591979
Title:
prime-select nvidia tries to use nonexisting folder lib32 causing
failure to switch graphics card
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1591979/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs