Xgl page - http://www.freedesktop.org/Software/Xgl

Michel Dänzer michel at daenzer.net
Wed Mar 9 09:12:17 PST 2005


On Wed, 2005-03-09 at 01:44 +0100, David Reveman wrote:
> On Tue, 2005-03-08 at 16:07 -0500, Michel Dänzer wrote:
> > On Tue, 2005-03-01 at 00:39 +0100, David Reveman wrote:
> > > 
> > > The fglrx driver do have some puffer support in it, but it contains
> > > memory leaks and doesn't seem to be very stable. I guess that's why the
> > > driver doesn't actually report pbuffer support. The memory leaks aren't
> > > that big of a problem for Xglx as all used pbuffer memory is allocated
> > > when starting the server and Xgl is then doing the memory management on
> > > its own. If you want to try the pbuffer support provided by the fglrx
> > > driver, you should be able to get glitz to detect pbuffer support by
> > > forcing glx_version to >=1.3 and GLX extensions 'fbconfig' and 'pbuffer'
> > > as detected in glx/glitz_glx_info.c. 
> > 
> > Ah, I was wondering why it wasn't using pbuffers... I'll look into why
> > it doesn't advertise these extensions (maybe glitz could still try to
> > use an extension if GetProcAddress succeeds for all needed functions?),
> 
> I've done this before but it turned out a bad idea for two reasons:
> 
> 1. As GetProcAddress is allowed to return an empty handle there's no way
> to know if it really succeeds.
> 
> 2. I've noticed that many OpenGL drivers have as policy to list all
> extensions that the driver is able to accelerate, which means that if an
> extension is required by the advertised OpenGL version but not listed in
> the extension string, it's usually done in software. We don't want this
> to happen as we can probably do the software fall-back a lot better on
> our own.   

Fair enough.


> > but I think there might be another problem in glitz as well: For direct
> > rendered contexts, shouldn't it use glXGetClientString(...,
> > GLX_EXTENSIONS) instead of glXQueryExtensionsString() (and analogously
> > for the GLX version)?
> 
> Correct, I'll commit a fix for this in a day or so. Thanks.

Thank you! BTW, is there a CVS commit mailing list for glitz?


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer




More information about the xorg mailing list