View previous topic :: View next topic |
Author |
Message |
fasa n00b
Joined: 25 Feb 2003 Posts: 6 Location: France (paris)
|
Posted: Fri Jan 13, 2006 7:57 am Post subject: libGLcore and libGL not found |
|
|
Hi folks !
I am having some problem when i try to start glear I get tthe following error :
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
I have also the following error in xorg at startup :
(II) LoadModule: "glx"
(II) Loading /usr/lib64/modules/extensions/libglx.so
dlopen: libGLcore.so.1: cannot open shared object file: No such file or directory
I am using nvidia drivers :
media-video/nvidia-glx-1.0.8178
media-video/nvidia-kernel-1.0.8178-r1
Also I have configure eselect to use nvidia :
drizzt ~ # eselect opengl show
nvidia
LibGLcore seems to be here an orrectly linked :
lrwxrwxrwx 1 root root 17 jan 11 23:10 libGL.so -> libGL.so.1.0.8178
lrwxrwxrwx 1 root root 17 jan 11 23:10 libGL.so.1 -> libGL.so.1.0.8178
lrwxrwxrwx 1 root root 21 jan 11 23:10 libGLcore.so -> libGLcore.so.1.0.8178
lrwxrwxrwx 1 root root 21 jan 11 23:10 libGLcore.so.1 -> libGLcore.so.1.0.8178
Can anyone help me on this one ? _________________ Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet. |
|
Back to top |
|
|
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Thu Jan 19, 2006 7:10 am Post subject: |
|
|
If eselect is working right the following should look like this:
$ cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"
$
I had some path problems and upgrading eselect fixed it.....
Hope this helps. _________________ I need a better signature... |
|
Back to top |
|
|
fasa n00b
Joined: 25 Feb 2003 Posts: 6 Location: France (paris)
|
Posted: Mon Jan 30, 2006 12:14 pm Post subject: |
|
|
rlittle wrote: | If eselect is working right the following should look like this:
$ cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"
$
I had some path problems and upgrading eselect fixed it.....
Hope this helps. |
Thank you for your reply. i came up with the same solution after a long serach. _________________ Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet. |
|
Back to top |
|
|
OldTango l33t
Joined: 21 Feb 2004 Posts: 718
|
Posted: Sun Feb 05, 2006 2:34 am Post subject: |
|
|
I had the same issues as fasa had after an emerge -pvuD world yesterday. I am on an amd64 system and try my best to run a stable setup.
Before down-grading eselect Code: | cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia" |
To fix it I had to actually down-grade eselect and eselect-opengl to fix the problem.
After down-grading
Code: | cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"
|
For some reason nvidia-glx is far slower than xorg-xll-glx in glxgears. Anyone know why that may be??? |
|
Back to top |
|
|
fasa n00b
Joined: 25 Feb 2003 Posts: 6 Location: France (paris)
|
Posted: Sun Feb 05, 2006 6:08 pm Post subject: |
|
|
Maybe you haven't enable direct rendering in xorg ?
try glxinfo | grep "direct" you should have :
- direct rendering: Yes
If not had the following line in your Device section :
Option "RenderAccel" "true" _________________ Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet. |
|
Back to top |
|
|
OldTango l33t
Joined: 21 Feb 2004 Posts: 718
|
Posted: Tue Feb 07, 2006 6:50 pm Post subject: |
|
|
fasa wrote: | Maybe you haven't enable direct rendering in xorg ?
try glxinfo | grep "direct" you should have :
- direct rendering: Yes
If not had the following line in your Device section :
Option "RenderAccel" "true" |
Thanks for tips. I checked them and all is as it should be. glxgears is giving me about 15,000 fps with nvidia-glx, which I am running now. If I recall xorg-x11-glx was giving me around 21,000 fps. Later this week I will check xorg to verify as it could be related to other issues. After downgrading eselect, all seems stable and working right now. |
|
Back to top |
|
|
|