View previous topic :: View next topic |
Author |
Message |
geta Apprentice
Joined: 10 May 2003 Posts: 153
|
Posted: Mon Nov 15, 2004 1:14 am Post subject: xorg-6.8.0-r1: libGL.so and glx woes |
|
|
Hello there,
I'm really stuck with a problem. I've searched the forums and searched google and still can't find a solution.
Basically it goes like this:
Any program relying on direct rendering seemed to be complaining about a missing or wrong libGL.so.1 file. Examples of these are: glxgears, glxinfo, tuxracer. All right, went into the file system, found out that /usr/lib/libGL.so.1 was a symbolic link to a directory (some old xfree sin) and reset the symbolic link to what seemed to be the suitable library:
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
This went quite well, only now glxgears complains:
Quote: | Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual. |
Nothing to worry about, at least no error message about invalid file or missing libGL.so. phew. And lets look at my Xorg.log:
Quote: | bash-2.05b$ cat /var/log/Xorg.0.log | grep glx
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
|
This is basically where my problems begin. I've seen a suggestion of including "glx" and "dri" use-flags, which don't have an effect on me as they work from version 6.8.0-r2 upwards and apart from that I haven't seen any useful tips apart from the odd "remerge" which I've obviously already done. So does anyone know whats wrong with my setup? Have I forgotten anything important and why does this glx module seem to be missing?
Cheers, geta
Nearly forgot: a snippet of my xorg.conf might be helpful
Code: | Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
Load "GLcore"
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"
EndSection
|
_________________ geta - pronounced: "djetta" |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Nov 15, 2004 2:26 am Post subject: |
|
|
I had the reverse problem. Going from xorg back to xfree
(with my old ati card glx works **way** better with xfree
than xorg).
There were *many* borked symlinks lurking here and there.
Once they were all fixed gl worked again. files like
libGL.a, gl.h, glx.h, gltokens.h, libGL... (several of these).
portage seems quite broken about switching from xfree to
xorg and back ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|