You are not logged in.
Lately I've been experiencing a problem with GLX (libglx.so). When running glxinfo or glxgears, the following error appears:
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
This affects Kodi, Stellarium, etc., as they won't start.
But if I logout from lightdm and login again, the error disappears. So to reproduce the issue I tried these steps: logout from Xfce, or simply restarting X; stop lightdm.service; remove nvidia module; start lightdm.service; login into Xfce. And the error reappears. But... if I load nvidia module BEFORE starting lightdm, the error is gone.
Packages installed:
nvidia-340xx 340.102-3
nvidia-340xx-libgl 340.102-1
lib32-nvidia-340xx-libgl 340.102-1
xorg-server 1.19.1-5
xorg-server-common 1.19.1-5
So the obvious question is: how to fix this without restarting the Xfce session?
Last edited by damnbug (2017-02-21 21:02:31)
Offline
Please post the system's xorg.log plus associated config files.
Offline
The solution is to add
Section "Files"
ModulePath "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
EndSection
to /etc/X11/xorg.conf.d/20-nvidia.conf
Last edited by damnbug (2017-02-21 20:55:50)
Offline
This should be fixed with nvidia-340xx-utils-340.102-3.
The package was relying on the OutputClass method from xorg, but the nvidia-340xx driver doesn't provide any nvidia-drm module, so ModulePath directive wasn't executed, and nvidia glx library not loaded.
Do you have any xorg logs? I probably break module autoloading with nvidia-340xx-utils-340.102-3? (logs with release 2 and 3 please)
Last edited by lordheavy (2017-02-22 09:11:55)
Offline