No joy with XComposite extension on Gutsy on Thinkbook X60

Chris Robinson chris.kcat at
Thu Oct 4 16:50:55 CDT 2007

On Thursday 04 October 2007 02:22:57 pm Dan Kegel wrote:
> Sorry, here's a little brain dump before I go to bed.
> I'm running updated Gutsy beta on a Thinkbook X60, and
> am testing out wine from git on Google Earth.
> Initially it aborted on startup with
> X Error of failed request:  BadValue (integer parameter out of range
> for operation)
>   Major opcode of failed request:  145 (XFree86-DRI)

This seems to happen on ATi cards/drivers. glXCreateGLXPixmap silently fails 
in quite a spectacular way (it returns an XID, prints a libGL error, and 
doesn't cause any X error; leaving you with a seemingly valid but unuseable 
XID). Wine ignores BadDrawable errors on the gdi_display, so a problem 
doesn't pop up 'til later when trying to set a context.

Forcing indirect contexts in Wine seems to relieve the crash, but still leaves 
you with an unusable GL display.

Can only hope the next fglrx driver release fixes that, since they'll likely 
be advertising AIGLX capabilities. But given the track record of the drivers, 
not even this recent rewrite has been very helpful to their stability.

> The log also showed it couldn't find the XComposite extension,
> and sure enough, config.log showed configure hadn't found it.
> I think I fixed this with
>    sudo apt-get install libxcomposite-dev
> and reconfiguring and rebuilding Wine.  But now when I start
> Google Earth, it aborts with
> According to
> this is "libgl1-mesa-dri: miscompiled with current gcc".
> A patch was attached there:
> The bug's been reported to Ubuntu:

Thunderbird has more experience using ATi cards (I only have nVidia which 
doesn't use MESA's DRI), so he can hopefully provide more insight. But this 
looks more like an Ubuntu/Debian packaging problem. No idea how to help 
there :/

More information about the wine-devel mailing list