Bug 23406 - [GM45] compositing transparency / alpha channel issue
Summary: [GM45] compositing transparency / alpha channel issue
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 22:36 UTC by Colin Macdonald
Modified: 2012-02-08 13:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
metacity-transparency.png (383.15 KB, image/png)
2009-08-18 22:36 UTC, Colin Macdonald
no flags Details
fedora-transparency.jpg (166.68 KB, image/jpeg)
2009-08-18 22:39 UTC, Colin Macdonald
no flags Details
xcompmgr.png (160.18 KB, image/png)
2009-08-18 22:41 UTC, Colin Macdonald
no flags Details
dmesg-after_X.txt (15.13 KB, text/plain)
2009-08-18 22:46 UTC, Colin Macdonald
no flags Details
Xorg.0.log (65.62 KB, text/plain)
2009-08-18 22:47 UTC, Colin Macdonald
no flags Details

Description Colin Macdonald 2009-08-18 22:36:41 UTC
Created attachment 28773 [details]
metacity-transparency.png

When I use either xcompmgr or metacity w/ compositing enabled, some windows don't have transparency.  Its like they have a black background and the window contents are composited onto that.  I will attach screen shots.

My arch is i686, hardware is "Mobile Intel GM45 Express Chipset" in a Thinkpad X200.  Noticed on the LVDS and VGA connector.  Linux is 2.6.30.5 + tuxonice patches.  Gentoo distro.  This is Gentoo bug #281621.

xorg-server-1.6.3, xf86-video-intel-2.8.0, mesa-7.5, libdrm-2.4.12.  But I've observed this issue for about 1 year.

Some software that demonstrate the issue are metacity's popup volume control window and avant-window-manager.


Finally, I think the output from this python program is illustrative:

$ ./icanhasedit.py hello.txt
Traceback (most recent call last):
  File "./icanhasedit.py", line 351, in <module>
    d = Document (sys.argv[1])
  File "./icanhasedit.py", line 325, in __init__
    FrameWindow.__init__ (self)
  File "./icanhasedit.py", line 65, in __init__
    self.set_colormap (self.get_screen ().get_rgba_colormap ())
TypeError: GtkWidget.set_colormap() argument 1 must be gtk.gdk.Colormap, not
None

Comes from: http://blogs.gnome.org/desrt/2008/08/11/icanhasedit/


First attachment shows metacity's volume popup which should be transparent.
Comment 1 Colin Macdonald 2009-08-18 22:39:43 UTC
Created attachment 28774 [details]
fedora-transparency.jpg

This is what it metacity's volume popup should look like.  Captured on Fedora 11 on same hardware: for some reason, issue is not present there.
Comment 2 Colin Macdonald 2009-08-18 22:41:05 UTC
Created attachment 28775 [details]
xcompmgr.png

Here xcompmgr is used for compositing.  Also have avant-window-manager which has a large black box instead of transparency.
Comment 3 Colin Macdonald 2009-08-18 22:46:55 UTC
Created attachment 28776 [details]
dmesg-after_X.txt
Comment 4 Colin Macdonald 2009-08-18 22:47:12 UTC
Created attachment 28777 [details]
Xorg.0.log
Comment 5 Eric Anholt 2009-10-09 13:48:19 UTC
Does the same problem occur if you use the vesa driver on the system?
Comment 6 Colin Macdonald 2009-10-16 08:15:38 UTC
I didn't know vesa supported compositing.  Will give it a try when I get a chance.
Comment 7 Chris Wilson 2010-05-31 15:28:57 UTC
The logs don't indicate an obvious configuration error, but that is my gut feeling for this bug. If we can allocate 32bpp Visuals, as indicated by the PyGTK error, then we will not be able to do alpha compositing. However, the logs do suggest that 32bpp color depth is available. What does xdpyinfo say?
Comment 8 Colin Macdonald 2010-05-31 15:45:58 UTC
Unfortunately, I don't have Gentoo on this hardware anymore and I can't reproduce on Fedora (where it always worked).

Will leave as needinfo, sorry.
Comment 9 Chris Wilson 2012-02-08 12:23:05 UTC
Mass status change to NEEDINFO based on presence of NEEDINFO keyword. Please reopen if you can still reproduce the bug and are able to provide the information requested, thanks.


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.