Hello,
I recently did an update using default repositories available for Nvidia+Cuda setup on a laptop with bumblebee installed. I am discovering that while I have everything working properly using optirun but default X is somewhat broken. Output from glxinfo and glxgears:
~> glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
~> glxgears
Error: couldn't get an RGB, Double-buffered visual
As I’ve metioned, this works with bumblebee and I do have minor response time issues here and there. I started noticing this when I tried to launch Steam and it returned:
OpenGL GLX extension not supported by displayMain.cpp (332) : Assertion Failed: Fat
al Error: OpenGL GLX extension not supported by display
I did some research and most of the “solutions” for other distros are simply to upgrade. I am reaching a conclusion that there is some form of incompatibility between libGL(X) and the new Nvidia driver.
I am a little bit lost here. It seems that by using Nvidia card through optirun I can get pretty much everything to work, but using Intel card, I can’t access anything that uses OpenGL, and many compositor activities are sluggish.
From what I read, most likely due to incompatibility in libGLX which is only configure for the Nvidia card. I am at a loss.
Solution found, and it makes me feel quite dumb. By default Nvidia libglx was loaded instead of general one. The solution was done by the following:
sudo update-alternatives --config libglx.so
then choosing the default libglx provided by xorg.
There are 2 choices for the alternative libglx.so (providing /usr/lib64/xorg/modules/extensions/libglx.so).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so 100 auto mode
1 /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so 100 manual mode
* 2 /usr/lib64/xorg/modules/extensions/xorg/xorg-libglx.so 50 manual mode