On Wed 11 Sep 2002 10:18, Sam Halliday wrote:
> hello there,
>
> i was wondering if somebody could please set me
> straight on the whole dri thing... i am currently
> recompiling my entire system (LFS... sometimes rpms
> seem like a good idea!) and i have reached the
> (almost) final stage... XFree86.
>
I've been playing with LFS, too!

> I have a voodoo3000 card which i see is supported by
> the dri system and i think it is about time i got the
> accelerated graphics working! My question is this...
> do i need to get the latest dri source from cvs, or
> does the latest XFree86-4.2.1 have enough in it that i
> can compile dri support without any additional adons?
> (well, besides libglide3) and if so, what must i
> specify in my host.def?
>
Alexander Stohr recommends:

For a startup its the simplest thing to get the set of XF86 source tarballs,
extract them to something ~/xc and do an 
  echo "#define BuildXF86DRM YES" >~/xc/config/cf/host.def
followed by a
  cd ~/xc; make World

Installation? Hmm, i never needed that for my purposes. ;-)
Try a "make install".

I have done this, yes, it is make install. You might also want to run make 
install.man to install the man pages.

I've played with the dri cvs stuff, but I'm no expert, so I can not really 
say if the voodoo3000 stuff is in the XFree86 tree, or if you still need to 
fetch the dri stuff as well. But if you do need it, I would recommend getting 
the XFree86 cvs stuff, compile and install that first, then the dri cvs 
stuff. You will NEED the XFree86 installled for the dri stuff to work.

> i noticed in my (partial) compile of XFree86 today
> that i had a few dri_xxx.o files in the lib/modules
> folder. Are these what i think they are? ie. are these
> the accelerated graphics modules for the associated
> cards?
>
For dri to work, you will need two modules, the kernel modules, in 
xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
and the Xserver modules in 
xc/programs/Xserver/hw/xfree86/drivers/<Whatever_chipset>

> i quess what i am tryign to ask is this... is dri in
> the stable XFree86 release now?
>
I don't know, and I'm no expert. I've only been playing with the dri cvs 
stuff because my card is under active development and I am hoping to provide 
some feedback.

> i hope i have made sense... probably haven't

Kinda did, but not really ;-) Of course, after Xfree86, you still need a 
Window/Desktop manager. I've built KDE3.0Beta2 on mine.
> thanks in advance!
> Sam
>
Hope this helps... and I defer to the experts for anything I might have got 
wrong.

Cheers,

        John Gay
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to