Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319609 - nvidia-drivers-195.36.24: bad glx symbolic link (xorg 1.8.0 cannot find glx)
Summary: nvidia-drivers-195.36.24: bad glx symbolic link (xorg 1.8.0 cannot find glx)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-05-13 20:18 UTC by Alessandro Candini
Modified: 2010-05-27 17:35 UTC (History)
3 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 Alessandro Candini 2010-05-13 20:18:23 UTC
This is the bad link to fix:
/usr/lib/xorg/modules/extensions/libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.195.36.24

This is the correct one which works:
/usr/lib/xorg/modules/extensions/libglx.so -> /usr/lib64/opengl/nvidia/extensions/libglx.so.195.36.24

After link correction, xorg-server-1.8.0 finds and loads properly glx library.

Reproducible: Always

Steps to Reproduce:
You have just to install and properly configure xorg-server-1.8.0

Actual Results:  
It doesn't find glx library

Expected Results:  
To find it!
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-05-19 07:59:53 UTC
perhaps you should do
eselect opengl set nvidia.
If this doesn't work, it is a bug in the eselect opengl module.
Comment 2 Alessandro Candini 2010-05-19 16:20:54 UTC
I tryied with "eselect opengl nvidia", but it didn't work.

It worked only changing the symlinks as described...
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2010-05-26 20:09:03 UTC
I honestly don't see a problem...

$ ls -l /usr/lib/xorg/modules/extensions/libglx.so 
lrwxrwxrwx 1 root root 53 2010-05-11 12:35 /usr/lib/xorg/modules/extensions/libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.195.36.24

$ glxinfo | grep 'direct rendering'
direct rendering: Yes

$ ls -l /usr/lib
lrwxrwxrwx 1 root root 5 2009-01-26 08:40 /usr/lib -> lib64


/var/log/Xorg.0.log snippet:

[    93.112] (II) LoadModule: "glx"
[    93.112] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    95.198] (II) Module glx: vendor="NVIDIA Corporation"
[    95.198]    compiled for 4.0.2, module version = 1.0.0
[    95.198]    Module class: X.Org Server Extension
[    95.198] (II) NVIDIA GLX Module  195.36.24  Thu Apr 22 19:52:00 PDT 2010


So I need info from you on exact details on what's wrong and why you're sure its wrong.
Comment 4 Alessandro Candini 2010-05-27 17:35:48 UTC
It is strange that this happened only to me: without changing the symlink reported above, xorg-1.8.0 notified me that he was not able to load the glx module and so the direct rendering didn't work.

Only after changing the symlink, xorg could find the glx module and I was able to obtain a working direct rendering, having an output like yours...