Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292579 - ~x11-drivers/nvidia-drivers-190.42 Failed to load module "glx"
Summary: ~x11-drivers/nvidia-drivers-190.42 Failed to load module "glx"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 20:31 UTC by Patrik Gornicz
Modified: 2009-11-11 03:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Gornicz 2009-11-09 20:31:36 UTC
The newest nvidia-drivers (x11-drivers/nvidia-drivers-190.42-r2 and x11-drivers/nvidia-drivers-190.42-r3) fail to load the glx module on my computer.

Relevant part of Xorg.0.log

(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
...
(**) Nov 09 14:57:54 NVIDIA(0): Enabling RENDER acceleration
(EE) Nov 09 14:57:54 NVIDIA(0): Failed to initialize the GLX module; please chec
k in your X
(EE) Nov 09 14:57:54 NVIDIA(0):     log file that the GLX module has been loaded
 in your X
(EE) Nov 09 14:57:54 NVIDIA(0):     server, and that the module is the NVIDIA GL
X module.  If
(EE) Nov 09 14:57:54 NVIDIA(0):     you continue to encounter problems, Please t
ry
(EE) Nov 09 14:57:54 NVIDIA(0):     reinstalling the NVIDIA driver.


I tracked down the issue to a miss created symlink. The ebuild creates this 

/usr/lib/xorg/modules/extensions/libglx.so.190.42 -> ../../../opengl/nvidia/extensions/libglx.so.190.42

while the older ebuilds created this

/usr/lib/xorg/modules/extensions/libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.190.42

Renaming it fixes my issue. If you need/want more information just ask.

Danger
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-11-10 14:38:58 UTC
run eselect opengl set nvidia
Comment 2 Benjamin Herr 2009-11-11 00:40:18 UTC
(In reply to comment #1)
> run eselect opengl set nvidia

That is what sets the mentioned wrong symlink.
Comment 3 Patrik Gornicz 2009-11-11 03:50:29 UTC
Running "eselect opengl set nvidia" changes the symlink to the one causing me problems ...

patrik-desktop extensions > pwd
/usr/lib/xorg/modules/extensions
patrik-desktop extensions > ls -Al
total 144
-rwxr-xr-x 1 root root 18252 Nov  9 15:22 libdbe.so
-rwxr-xr-x 1 root root 93012 Nov  9 15:22 libextmod.so
lrwxrwxrwx 1 root root    50 Nov 10 22:41 libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.190.42
-rwxr-xr-x 1 root root 26488 Nov  9 15:22 librecord.so
patrik-desktop extensions > eselect opengl set nvidia
Switching to nvidia OpenGL interface... done
patrik-desktop extensions > ls -Al
total 144
-rwxr-xr-x 1 root root 18252 Nov  9 15:22 libdbe.so
-rwxr-xr-x 1 root root 93012 Nov  9 15:22 libextmod.so
lrwxrwxrwx 1 root root    50 Nov 10 22:43 libglx.so.190.42 -> ../../../opengl/nvidia/extensions/libglx.so.190.42
-rwxr-xr-x 1 root root 26488 Nov  9 15:22 librecord.so


Some version information ...

patrik-desktop extensions > eselect version
eselect 1.2.6

Copyright (c) 2005-2009 Gentoo Foundation.
Distributed under the terms of the GNU General Public License v2.
patrik-desktop extensions > eselect opengl version
Version 20091107


Anything else I can do to help?