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) 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 DRM_I830_CMDBUFFER: -22 According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311 this is "libgl1-mesa-dri: i965_dri.so miscompiled with current gcc". A patch was attached there: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;bug=394311 The bug's been reported to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/66645
Any clues? - Dan
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 DRM_I830_CMDBUFFER: -22 According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311 this is "libgl1-mesa-dri: i965_dri.so miscompiled with current gcc". A patch was attached there: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;bug=394311 The bug's been reported to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/66645
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 :/
On 10/4/07, Dan Kegel dank@kegel.com wrote:
I'm running updated Gutsy beta on a Thinkbook X60, and... Google Earth, it aborts with DRM_I830_CMDBUFFER: -22 According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311 this is "libgl1-mesa-dri: i965_dri.so miscompiled with current gcc". A patch was attached there: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;bug=394311 The bug's been reported to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/66645
Chris wrote:
This seems to happen on ATi cards/drivers
But my laptop has Intel graphics, not ATI: 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) and the driver is open source. I guess I'll just have to figure out how to build it myself to verify the fix ... :-(
I filed a bug for this, https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/149260 and Bryce sent me a beta package which works. Solved, I think!