I have an optimus laptop, so both intel and nvidia cards. It has worked fine for years (running 12.04) using bumblebee. Yes, I know there are better options by now, but it works fine.
Problem is, for various reasons I needed the CUDA 6 toolkit, which means an external install. Unsurprisingly, it squashed my GLX library.
Currently the nvidia hardware works fine, but the Intel hardware (that is, my xserver on :0) can't successfully load GLX. I would hazard a guess that perhaps it has something to do with the intel xorg initialization log containing
[ 77.269] (II) LoadModule: "glx" [ 77.269] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 77.277] (II) Module glx: vendor="NVIDIA Corporation" [ 77.277] compiled for 4.0.2, module version = 1.0.0 [ 77.277] Module class: X.Org Server Extension #... [ 77.469] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
dpkg -S agrees that
/usr/lib/xorg/modules/extensions/libglx.so "belongs" to
xserver-xorg-core, so I'm reasonably sure that a forced reinstall of that package would put libglx.so back to the "correct" version. The only problem is that that would break the nvidia side.
Intel doesn't use an
xorg.conf, Nvidia uses one via bumblebee.
Is there a way that I can get these two drivers to coexist in peace?