Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2005 16:58:47 -0700
From:      Jaimie Garner <jaimie@onsitepcs.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: How do i enable DRI support in Xorg?
Message-ID:  <200505061658.47445.jaimie@onsitepcs.net>

next in thread | raw e-mail | index | archive | help
You should just load it from the xorg.conf file as I remember.
like this
Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection
Notice the Load "dri"

Or it may look like this just uncomment glx and dri
Section "Module"
      # This loads the GLX module
      # Load "glx"
      # This loads the DRI module
      # Load "dri"
        Load  "record"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection

I think thats it. It has been a while since I had to mess with it though

On Friday 06 May 2005 4:40 pm, just me wrote:
> i read the building section in the link , i i found that i already
> have the dri module file for my video card, it's in
> /usr/X11R6/lib/modules/dri ,savage_dri.so. so i don't think i should
> build it, but how do i load it ? i tried to do kldload
> full_path/savage_dri.so and it didn't work -
> # kldload /usr/X11R6/lib/modules/dri/savage_dri.so
> kldload: can't load /usr/X11R6/lib/modules/dri/savage_dri.so: No such
> file or directory
> su-2.05b# file  /usr/X11R6/lib/modules/dri/savage_dri.so
> /usr/X11R6/lib/modules/dri/savage_dri.so: ELF 32-bit LSB shared
> object, Intel 80386, version 1 (FreeBSD), stripped
>
> so........what can i do ?
>
> On 5/7/05, Jaimie Garner <jaimie@onsitepcs.net> wrote:
> > I asumed it would just gave em a link to shed some light on how I did it
> > with Linux. I havent ran X on FreeBSD.
> >
> > On Friday 06 May 2005 3:17 pm, Matthias Buelow wrote:
> > > Jaimie Garner wrote:
> > > >Go here http://dri.freedesktop.org/wiki/Building this helped me to
> > > > build Xorg + Mesa and DRI for ATI Radeon on a custome built linux
> > > > system. Should not be to far off for FreeBSD.
> > >
> > > The OP does not have to build Xorg manually.  The ports system
> > > already does this, and his video chipset is old enough to be supported
> > > by the latest release Xorg (if it isn't, then a CVS Xorg won't help.)
> > >
> > > The OP could post the error messages pertaining to DRI
> > > (from /var/log/Xorg.0.log) plus the output from "xdriinfo"
> > > and "kldstat".
> > >
> > > mkb.
> > > _______________________________________________
> > > freebsd-stable@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > > To unsubscribe, send any mail to
> > > "freebsd-stable-unsubscribe@freebsd.org"
> >
> > --
> > Jaimie Garner
> > Onsite PCS inc.
> > 323 SE RIverside AV
> > Grants Pass, OR 97526
> > 541.471.1343
> > 866.471.1343
> > jaimie@onsitepcs.net
> > www.onistepcs.net
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

--
Jaimie Garner
Onsite PCS inc.
323 SE RIverside AV
Grants Pass, OR 97526
541.471.1343
866.471.1343
jaimie@onsitepcs.net
www.onistepcs.net



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