Comment 3 for bug 1591979

Revision history for this message
Rovanion (rovanion-luckey) wrote :

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?