Bug 8155

Summary: Compiz+AIGLX does not work correctly on i965
Product: Mesa Reporter: Andrew Barr <andrew.james.barr>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: avi, chris, erik.andren, gordon.jin
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Andrew Barr 2006-09-06 13:52:27 UTC
Starting compiz on a new Core 2 Duo system with a GMA X3000 (965G) graphics
accelerator results in all open windows turning to solid gray squares and the
background wallpaper turning solid brown (no idea why that color). The system
does not lock, however, a Ctrl+C will return me to my desktop, and executing
'metacity --replace' gets me back to normal. Other OpenGL clients, including
Xscreensaver GL hacks and the Really Slick Screensavers, work fine.

No messages beyond those about an unsupported visual (normal AFAIK, happens on
my 855GM laptop) and missing stencil support (also normal) are output by Compiz.

X.org is 7.1.1 with the Fedora Rawhide AIGLX patchset
(http://people.freedesktop.org/~krh/compiz-on-aiglx), Mesa is CVS from 08/24,
Compiz is git HEAD.
Comment 1 veelion (inactive account) 2006-09-07 01:31:22 UTC
I setup compiz+aiglx on Q965 c0, the OS is Ubuntu Linux with kernel 
2.6.15+Xorg 7.0. the problems what i met is the same as that Andrew met.  all 
open window without any title words, menu words, only gray squares. glxgears 
can run well. I can move the window to the other side of the Cube. if disabale 
GL desktop, the desktop turn to its real appearence. 
Comment 2 veelion (inactive account) 2006-09-07 02:39:41 UTC
It is G965 platform, I type it wrong.
Comment 3 Andrew Barr 2006-09-11 17:26:33 UTC
Just a note, the Metacity compositor is also broken. The screen goes black
except for the mouse pointer until you turn it off.
Comment 4 Andrew Barr 2006-09-22 13:59:43 UTC
With recent DRI updates to the i965 driver (I've been watching Mesa CVS) Compiz
*almost* works. It actually does work properly, but there are thick black
borders around the windows, as you can see here
(http://www.oakcourt.dyndns.org/~andrew/screenshots/brw_compiz.png). This
appears, to my untrained eye, to be some kind of alpha channel/alpha blending
error. This compiz is that 'quinn' fork so I don't know if that's the issue, or
the particular theme that is used (although I tried a second one), but this
looked like a driver bug so I thought I'd  update this here.
Comment 5 veelion (inactive account) 2006-10-12 02:04:09 UTC
I got the same windows with black borders on G965 with Ubuntu Edgy using 
aiglx+beryl. video playing has a issue, which is, if the video window is not 
the active window or there are other windows behind it, it will always wink. 
but minimize all the other windows, the video playing become normal.
Comment 6 Andrew Barr 2006-10-15 09:13:06 UTC
I have seen it said that the shadow issue is a bug in Mesa:
http://forum.beryl-project.org/viewtopic.php?pid=45649. This would make
sense--since updating Mesa on my laptop I now see the solid shadow issue there
as well (855GM GPU). Does anyone have any additional information about this?
Comment 7 Andrew Barr 2006-10-29 09:38:07 UTC
FYI for anyone following this bug: It _should_ work with Xserver git HEAD and
Mesa CVS but we are waiting on GLX 1.3 support in Xserver--currently the
GLX_ext_texture_from_pixmap extension doesn't work so when you start Compiz you
get a white screen.
Comment 8 Erik Andren 2006-11-15 04:29:11 UTC
I can confirm this bug.
Comment 9 Erik Andren 2006-11-15 04:29:55 UTC
I can confirm this bug using an Intel DG965WH motherboard and ubunty feisty fawn
current
Comment 10 Andrew Barr 2006-12-30 09:18:58 UTC
This should probably be closed...this has been working for me for quite some
time now.
Comment 11 Eric Anholt 2007-02-26 17:13:46 UTC
Reporter says the bug is fixed.
Comment 12 Adam Jackson 2009-08-24 12:24:19 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.