Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-6.8.0-r1: libGL.so and glx woes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
geta
Apprentice
Apprentice


Joined: 10 May 2003
Posts: 153

PostPosted: Mon Nov 15, 2004 1:14 am    Post subject: xorg-6.8.0-r1: libGL.so and glx woes Reply with quote

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
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Nov 15, 2004 2:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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