Package: nvidia-legacy-304xx-alternative
Version: 304.125-1
Severity: important

glx-alternative-nvidia sets up a slave link for libEGL. The problem is
that nvidia-legacy-304xx-alternative doesn't add this slave link, too.
This way libEGL is completely missing in the running system when
nvidia-legacy-304xx-alternative is selected via update-alternatives.
This leads to many instabilities, e.g. no window decoration in KDE
because kwin is just crashing...

The attached patch, which just adds a slave link to the mesa version of
libEGL, fixes the problem for me. So far everything runs fine, including
3D games. I am not sure if the patch is the correct solution and there
are probably more things to fix (dependencies, etc.) so please consider
the patch just as a first idea...

Cheers

Ronny
--- nvidia-graphics-drivers-legacy-304xx-304.125/debian/nvidia-alternative.postinst.in	2015-06-17 11:31:28.000000000 +0200
+++ nvidia-graphics-drivers-legacy-304xx-304.125_fixed/debian/nvidia-alternative.postinst.in	2015-06-18 14:31:09.847436309 +0200
@@ -42,6 +42,7 @@
 if [ "$1" = "triggered" ]; then
 
 	slaves="
+		$(add_multiarch_slave /usr/lib nvidia/ libEGL.so.1 /usr/lib/mesa-diverted/)
 		$(add_multiarch_slave /usr/lib nvidia/ libGL.so.1 /usr/lib #PRIVATE#/)
 		$(add_multiarch_slave /usr/lib nvidia/ libnvidia-cfg.so.1 /usr/lib #PRIVATE#/)
 		$(add_multiarch_slave /usr/lib nvidia/ libXvMCNVIDIA.so.1 /usr/lib #PRIVATE#/)

Reply via email to