On 9/8/05, Daniel Estévez <[EMAIL PROTECTED]> wrote:
> El Jueves, 8 de Septiembre de 2005 15:26, escribió:
> > El Jueves, 8 de Septiembre de 2005 00:38, escribió:
> > > You should use David Airlie kernel DRM (which is in current Linus "git"
> > > top of tree) along with the following patch in case it didn't make it
> > > yet:
> >
> > OK. I have downloaded the project linux/kernel/git/airlied/drm-2.6.git. The
> > patch seems to be already applied, as patching fails, and the code (not
> > exactly the same) is included. Then, to make the modules, I remove
> > drivers/char/agp/* and drivers/char/drm/* from my current kernel (2.6.12)
> > source and then copy all the files from drm-2.6/drivers/char/agp and
> > drm-2.6/drivers/char/drm to their places in the 2.6.12 source. Then I make
> > modules and rmmod radeon, drm, uninorth-agp and agpgart. Then I insmod the
> > modules I've just compiles (agpgart.ko, uninorth-agp.ko, drm.ko and
> > radeon.ko). Finally I start X, but I get the same errors.
> >
> > Should I compile the whole kernel in drm-2.6? I'm not used to kernel
> > developping and I'm affraid I have made a mistake somewere.
> 
> Well, I'm fool. I David Airlie's kernel was already patched but it wasn't.
> Strangely, patch rejected the hunks and I ended up patching by hand. Now I
> don't get that errors, but during X startup, dri is first enabled and then
> disabled. When I run glxinfo it reports Direct Rendering: No and glxgears
> runs as slow as usually.
> 
> The X server I am using was built from ubuntu xorg source package (6.8.2)
> patched with ati.patch from r300_driver.
> 

I'm not sure that patch is enough anymore.  You may need to use the
cvs version of the driver.  Also, you will need to have the r300 3d
lib (r300_dri.so) from mesa built and installed before 3d will work. 
Set LIBGL_DEBUG to verbose and then run glxinfo to see why it's
failing.  See the troubleshooting guide for more:
http://dri.freedesktop.org/wiki/DriTroubleshooting

Alex


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to