libGL error:No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Try to find the cause :
export LIBGL_DEBUG=verbose
glxinfo gives :
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL:OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL:OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL:Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc:No such file or directory.
libGL error:No matching fbConfigs or visuals foundmso-padding-alt:1.0pt4.0pt1.0pt4.0pt">libGL error: failed to load driver: swrast
I reinstall ?X11-drivers/nvidia-drivers-340.76?
*Determining the location of the kernel source code
*Found kernel source directory:*/usr/src/linux
*Found kernel object directory:*/lib/modules/3.2.1-gentoo-r2/build
*Found sources for kernel version:*3.2.1-gentoo-r2
*Checkingfor suitable kernel configuration options...[ ok ]>>>Emerging(1of1) x11-drivers/nvidia-drivers-340.76>>>Installing(1of1) x11-drivers/nvidia-drivers-340.76>>>Jobs:1of1 complete Load avg:1.13,0.82,0.42>>>Auto-cleaning packages...>>>No outdated packages were found on your system.* GNU info directory index is up-to-date.!!! existing preserved libs:>>>package: media-libs/glew-1.12.0*-/usr/lib/libGLEW.so.1.10*-/usr/lib/libGLEW.so.1.10.0* used by/usr/lib/xbmc/xbmc.bin (media-tv/xbmc-13.2-r1)Use emerge @preserved-rebuild to rebuild packages using these libraries
* IMPORTANT:3 news items need reading for repository 'gentoo'.*Use eselect news to read news items.
Then : emerge @preserved-rebuild
It will reinstall XBMC :
Emerging (1 of 1) media-tv/xbmc-13.2-r1
But still XBMC not starting because of no Direct Rendering.
I can't do a downgrade to the last version 340.58 or 340.65 because it doesn't exist anymore.
PS : When I start XMING on my windows computer then I have direct rendering :
localhost ~# glxinfo | grep direct
direct rendering:Yes
Question
esa1966
Hi,
I spend hours to find a solution but without success.
Last emerge installed the NVIDIA drivers 340.76.
My last working drivers was : x11-drivers/nvidia-drivers-340.58 or 340.65 (ION card support only version below 341.0.0 ).
After this :
GLX is no more loaded ? in Xorg.0.log I can see :
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so$
[ 314.201] (II) UnloadModule: "glx"
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 314.223] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 314.223] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 314.223] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 314.223] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
As a consequence, XBMC doesn?t want to start.
In folder : ?/usr/lib/xorg/modules/extensions? the link point to the old library :
The new library is : libglx.so.340.76
I have done a new link :
ln -s ../../../opengl/nvidia/extensions/libglx.so.340.76 libglx.so
But XBMX doesn?t want to start.
I started X and check with glxgears :
glxinfo gives :
I reinstall ?X11-drivers/nvidia-drivers-340.76?
Then : emerge @preserved-rebuild
It will reinstall XBMC :
Emerging (1 of 1) media-tv/xbmc-13.2-r1
But still XBMC not starting because of no Direct Rendering.
I can't do a downgrade to the last version 340.58 or 340.65 because it doesn't exist anymore.
PS : When I start XMING on my windows computer then I have direct rendering :
Thank for help.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts