GLX extension in Xorg? (5.4 and 6.0)

Chris Hill chris at
Mon Nov 21 23:21:22 GMT 2005

On Mon, 21 Nov 2005, David Gerard wrote:

> I have a 5.4 and a 6.0 box here, both with Xorg installed from
> ports. When running xscreensaver, half the time they come up
> saying the GLX extension isn't loaded. And, of course, they
> can't run glxgears for the same reason.
> The thing is, I can't find which port installs this extension.
> Is there one?

In /etc/X11/xorg.conf, I have the following:
Section "Module"
         Load  "extmod"
         Load  "glx"
         # X may fail to start following an upgrade of X, saying
         # "Failed to load GLX" or some such. The fix seems to be to
         # rename /usr/X11R6/lib/modules/extensions/libglx.a to some
         # other name. Makes no sense but it works. Documented here
         # so it will be findable next time.
...blah blah...

That commented note relates to something I found on some web site after 
googling the same problem. It seems to work. Note, I have an nvidia 
card; if you have some other card, the above may not be applicable to 


Chris Hill               chris at
**                     [ Busy Expunging <|> ]

More information about the freebsd-questions mailing list