Re: -current and radeon DRI

From: Adam K Kirchhoff (adamk_at_voicenet.com)
Date: 02/28/04


Date: 28 Feb 2004 17:11:30 -0500

Simon Cahuk <simon.cahuk@uni-mb.si> writes:

> On Fri, 27 Feb 2004 17:42:50 -0500, Adam K Kirchhoff wrote:
>
> > Simon Čahuk <simon.cahuk@uni-mb.si> writes:
> >
> >> Hi! I have problems getting DRI to work under -current.
> >> I have a radeon 9000pro card. I cant't get DRI to work.
> >> radeondrm is compiled into the kernel: using X from ports.
> >>
> >> When I do startx, my monitor goes into standby. alt+Fx or
> >> ctrl+alt+Fx is not possible. The X log says DRI is enabled.
> >> Any solution?
> >>
> >> Simon
> >
> > Can you post your entire /var/log/XFree86.0.log file somewhere?
> >
> > Did you previously have the DRI working? If you disable direct
> > rendering in your XF86Config-4 file, will X work then?
> >
> > Adam
>
> Yes, I can post it.
>
> I'm using the same XConfig as I do in Linux. Here in Linux DRI works
> perfectly. I wanted to use DRI CVS from freedesktop.org, but I have
> problem with Mesa:
>
> make[3]: Entering directory `/home/simon/src/f-dri/build/xc/include/GL'
> make[3]: *** No rule to make target `/home/simon/src/mesa/include/GL/gl.h', needed by `gl.h'. Stop.
> make[3]: Leaving directory `/home/simon/src/f-dri/build/xc/include/GL'
> make[2]: *** [includes] Error 2
> make[2]: Leaving directory `/home/simon/src/f-dri/build/xc/include'
> make[1]: *** [includes] Error 2
> make[1]: Leaving directory `/home/simon/src/f-dri/build/xc'
> make: *** [World] Error 2

I'm not sure I can help with your problem getting it running, but I
can certainly help getting it built :-)

In addition to getting the DRI cvs on your machine, you need to grab
the latest Mesa source code. Set your CVSROOT to:

:pserver:anonymous@pdx.freedesktop.org:2401/cvs/mesa

and checkout Mesa

Then, edit the xc/config/cf/host.def file and point MesaSrcDir (which
should be the second define) to the full path for the Mesa source.

And then "make World".

That should build the DRI without problems. If X still won't work for
you, drop me an e-mail (use the word "personal" somewhere in the subject
line or it'll get tagged as SPAM) and let me know.

Adam