Subject: Re: DRM, DRI, X11 and Radeon and NetBSD-current
To: Vincent <10.50@free.fr>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-x11
Date: 03/31/2007 16:10:18
On Sat, 31 Mar 2007, Vincent wrote:
> Yep, you were right and twice right. With an extra LDFLAGS=-lpthread all is 
> fine, except that I get this:
>
> (WW) AIGLX: 3D driver claims to not support visual 0x23
[snip]
> (II) AIGLX: Loaded and initialized /usr/pkg/lib/dri/radeon_dri.so
> (II) GLX: Initialized DRI GL provider for screen 0
>
> Which I assume means that no 3D-acceleration is available anyway.

The 'claims to not support visual' messages are harmless. You should have 
3D acceleration now. To use AIGLX extensions, you need to set the 
LIBGL_ALWAYS_INDIRECT=1 environment variable. For example, my script to 
start compiz:

   #!/bin/sh

   LIBGL_ALWAYS_INDIRECT=1                                 \
   LD_LIBRARY_PATH=/usr/pkg/lib/compiz:$LD_LIBRARY_PATH    \
   /usr/pkg/bin/compiz $*

Cheers,
Jared