On Tuesday 29 March 2005 17:34, Johannes Berg wrote:
> On Tue, 2005-03-29 at 17:27 -0500, Adam Jackson wrote:
> > The server doesn't load the DRI driver.  Why are you asking it to?
>
> Umm. good question. Probably because I don't know what I actually have
> to ask it to load.

In this order:

As root, load the agpgart kernel modules corresponding to your motherboard 
chipset, ie, agpgart and <chipset>-agp.

As root, load the drm and r300 kernel modules.

In xorg.conf, add Load "glx" and Load "dri" lines in your Module section.  
Check that your DRI section sets the permissions properly.

Start X.

Run 'ldd `which glxinfo`'.  Check that the libGL it's loading is the libGL you 
built from Mesa CVS.

Run 'LIBGL_DEBUG=verbose glxinfo'.  Look at the top for the DRI module path.  
Make sure r300_dri.so is there.  Check that it's being loaded.  Check that 
the 'direct rendering:' line says Yes.

Profit.

- ajax

Attachment: pgp7NLgfKy2NE.pgp
Description: PGP signature

Reply via email to