Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 16:52:38 -0500
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-questions@freebsd.org
Cc:        fredthetree <fredthetree@gmail.com>
Subject:   Re: Xlib: extension "GLX" missing on display ":0.0".
Message-ID:  <200604121652.38172.josh@tcbug.org>
In-Reply-To: <cb6387b50604121307p20d0eaf8hf8be8270b45affe6@mail.gmail.com>
References:  <cb6387b50604121203m1b222542y4da499b7815b8de9@mail.gmail.com> <200604121457.24013.daeg@houston.rr.com> <cb6387b50604121307p20d0eaf8hf8be8270b45affe6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 April 2006 15:07, fredthetree wrote:
> nothing.
>
> i just noticed something though:
>
> X Window System Version 6.9.0
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: FreeBSD 6.1 i386 [ELF]
> Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASE
> FreeBSD 6.1-PRERELEASE #0: Fri Apr  7 23:44:35 ADT 2006
> daniel@daniel.higham.ca:/usr/obj/usr/src/sys/MACHINE
> i386
> Build Date: 08 April 2006
>         Before reporting problems, check http://wiki.X.Org
>         to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??)
> unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 12
> 16:59:25 2006 (==) Using config file: "/etc/X11/xorg.conf"
> (EE) Failed to load module "glx" (module does not exist, 0)
>
> so where do i get the glx module?
>
> On 4/12/06, David J Brooks <daeg@houston.rr.com> wrote:
> > On Wednesday 12 April 2006 14:03, fredthetree wrote:
> > > glx doesn't work. both glx and dri are in my xorg.conf, i'm
> > > using the nv driver, i have graphics/dri installed.
> > >
> > > [daniel@daniel ~]$ glxgears
> > > Xlib:  extension "GLX" missing on display ":0.0".
> > > glxgears: Error: couldn't get an RGB, Double-buffered visual.
> > >
> > >
> > > --
> > > [daniel@daniel ~]$ uname -a
> > > FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE
> > > #0: Fri
> >
> > Apr
> >
> > > 7 23:44:35 ADT 2006
> > > daniel@daniel.higham.ca:/usr/obj/usr/src/sys/MACHINE i386
> > > [daniel@daniel ~]$ pkg_info |grep dri
> > > dri-6.4.1,2         OpenGL hardware acceleration drivers for
> > > the DRI
> > >
> > > relevent bits of xorg.conf:
> > > Section "ServerLayout"
> > >         Identifier     "X.org Configured"
> > >         Screen      0  "Screen0" 0 0
> > >         InputDevice    "Mouse0" "CorePointer"
> > >         InputDevice    "Keyboard0" "CoreKeyboard"
> > > EndSection
> > >
> > > Section "Module"
> > >         Load  "dbe"
> > >         Load  "dri"
> > >         Load  "extmod"
> > >         Load  "glx"
> > >         Load  "record"
> > >         Load  "xtrap"
> > >         Load  "freetype"
> > >         Load  "type1"
> > > EndSection
> > >
> > > Section "Device"
> > >         ### Available Driver options are:-
> > >         ### Values: <i>: integer, <f>: float, <bool>:
> > > "True"/"False", ### <string>: "String", <freq>: "<f>
> > > Hz/kHz/MHz" ### [arg]: arg optional
> > >         #Option     "SWcursor"                  # [<bool>]
> > >         #Option     "HWcursor"                  # [<bool>]
> > >         #Option     "NoAccel"                   # [<bool>]
> > >         #Option     "ShadowFB"                  # [<bool>]
> > >         #Option     "UseFBDev"                  # [<bool>]
> > >         #Option     "Rotate"                    # [<str>]
> > >         #Option     "VideoKey"                  # <i>
> > >         #Option     "FlatPanel"                 # [<bool>]
> > >         #Option     "FPDither"                  # [<bool>]
> > >         #Option     "CrtcNumber"                # <i>
> > >         #Option     "FPScale"                   # [<bool>]
> > >         #Option     "FPTweak"                   # <i>
> > >         Identifier  "Card0"
> > >         Driver      "nv"
> > >         VendorName  "nVidia Corporation"
> > >         BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
> > >         BusID       "PCI:1:0:0"
> > > EndSection
> >
> > Try adding this section in /etc/X11/xorg.conf:
> > Section "DRI"
> >     Mode 0666
> > EndSection

You need to install the official nvidia drivers to get 3d 
acceleration.  The nv driver provided by Xorg will not work.

-- 
Thanks,

Josh Paetzel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604121652.38172.josh>