radeon driver GLX pixmap support

Michel Dänzer michel at tungstengraphics.com
Mon Feb 11 08:19:26 PST 2008


On Mon, 2008-02-11 at 10:58 -0500, Stephen Winiecki wrote:
> Michel Dänzer <michel at tungstengraphics.com> wrote on 02/11/2008 08:18:30 
> AM:
> 
> > On Fri, 2008-02-08 at 16:34 -0500, Stephen Winiecki wrote: 
> > > It is my understanding that the current open source radeon driver does 
> not 
> > > have GLX pixmap support, but it is being worked on?  Can someone 
> provide 
> > > status or a pointer to discussion of this support being added?
> > 
> > The biggest roadblock is the pending DRI2 rework, and porting the radeon
> > driver(s) to it.
> 
> Thanks for your response.  Can you provide a bit more detail on the actual 
> issue?  Are you saying that without the new DRI2 implementation this 
> function cannot be supported by the driver? 

Exactly.


> > > Also - someone told me that ARGB8888 cannot be configured in GLX (they 
> 
> > > were using PPC, Xorg 7.1.1).  Is this true?
> > 
> > Not per se - I'm typing this on a PowerBook running compiz with some
> > partially translucent ARGB8888 windows. :) I'm using more or less
> > current Git snapshots though, but this has been working at least since
> > xserver 1.3 or thereabouts. We'd need to get more information about this
> > problem.
> Debian Etch is being used - xserver-xorg = 7.1.0-19, xserver-xorg-core = 
> 1.1.1-21.  So we may need an upgraded xserver for this to work?

Maybe, though I wouldn't think so.

> In some test code, glXChooseVisual is failing when configured for RGBA8888 
> as follows:
> 
>         int cfg_attr[] = {
>                 GLX_RGBA,
>                 GLX_DOUBLEBUFFER,
> #ifdef RGBA8888
>                 // RGBA8888: 32bits per pixel
>                 GLX_BUFFER_SIZE, 32,
>                 GLX_RED_SIZE, 8,
>                 GLX_GREEN_SIZE, 8,
>                 GLX_BLUE_SIZE, 8,
>                 GLX_ALPHA_SIZE, 8,
> #else

I just modified Mesa's progs/xdemos/glxgears.c to use these attributes,
and it works. Are you running in depth 24 and with AIGLX and the
Composite extension enabled? What's the output of

glxinfo | grep 32

?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list