On 2015-06-24 17:19, Ronny Standtke wrote: > Whenever I switch the nvidia alternatives on my system to > "/usr/lib/nvidia/legacy-304xx" libEGL is no longer available and breaks > programs like kwin, cheese, totem, ... > Here is the console output: > > $ sudo update-alternatives --set nvidia /usr/lib/nvidia/legacy-304xx > $ ls -l /usr/lib/x86_64-linux-gnu/libEGL.so.1 > lrwxrwxrwx 1 root root 51 Jun 24 13:54 > /usr/lib/x86_64-linux-gnu/libEGL.so.1 -> > /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu > $ ls -l > /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu > > > lrwxrwxrwx 1 root root 44 Jun 24 13:54 > /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> > /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1 > $ ls -l /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1 > ls: cannot access /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1: No such > file or directory > $ ldd /usr/bin/kwin | grep EGL > libEGL.so.1 => not found > libEGL.so.1 => not found
After setting the nvidia alternative, you must also update the glx alternative, easiest would be to follow with dpkg-reconfigure glx-alternative-nvidia Andreas