Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281621 - xorg-server/metacity w/ compositing: no tranparency on volume controls, others
Summary: xorg-server/metacity w/ compositing: no tranparency on volume controls, others
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-15 21:03 UTC by Colin Macdonald
Modified: 2009-08-19 05:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gentoo-transparency.png (gentoo-transparency.png,383.15 KB, image/png)
2009-08-15 21:03 UTC, Colin Macdonald
Details
fedora-transparency.png (fedora-transparency-Screenshot.png,1017.31 KB, image/png)
2009-08-15 21:04 UTC, Colin Macdonald
Details
gentoo-avant-window-navigator.png (gentoo-avant-window-navigator.png,315.75 KB, image/png)
2009-08-15 21:05 UTC, Colin Macdonald
Details
Xorg.0.log (Xorg.0.log,22.90 KB, text/plain)
2009-08-15 21:08 UTC, Colin Macdonald
Details
dmesg (dmesg.output,15.11 KB, text/plain)
2009-08-16 17:53 UTC, Colin Macdonald
Details
xpyinfo.output (xpyinfo.output,18.92 KB, text/plain)
2009-08-16 17:54 UTC, Colin Macdonald
Details
xorg.conf (xorg.conf.20090814,3.73 KB, text/plain)
2009-08-16 17:58 UTC, Colin Macdonald
Details
gentoo-xcompmgr.png (gentoo-xcompmgr.png,160.18 KB, image/png)
2009-08-16 20:16 UTC, Colin Macdonald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2009-08-15 21:03:12 UTC
When I enable metacity's composting manager, the volume control popup is not semi-transparent.  Its like it has no alpha channel.

I will attach a screenshot to explain.  Also another screenshot taken from Fedora 11 on the same hardware shows what it should look like.  The drop shadows look fine and if I use "transset" to adjust the transparency of windows, that works fine too.

Some other applications, such as avant-window-navigator have the same issue: solid black background instead of transparency (will attach screenshot).  I think "gnome-do" was also effected.

I'm on a Thinkpad X200, running latest X:
[ebuild   R   ] media-libs/mesa-7.5-r2  USE="motif nptl xcb -debug -doc -pic" VIDEO_CARDS="intel mach64 r128 radeon radeonhd -mga -none -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 3 kB
[ebuild   R   ] x11-base/xorg-server-1.6.3  USE="hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -citron -elographics -fpit -hyperpen -joystick -mutouch -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev intel mach64 r128 radeon radeonhd v4l vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx -geode -glint -i128 -i740 (-impact) -imstt -mga -neomagic (-newport) -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -vermilion -via -virtualbox -vmware -voodoo -xgi" 0 kB
[ebuild   R   ] x11-drivers/xf86-video-intel-2.8.0  USE="dri -debug" 733 kB


I've observed this behavior over all versions of the relevant software in the last year that I've had this machine.  I'm reporting it here because the bug does not appear on Fedora 11 on the same hardware.

# emerge --info
Portage 2.2_rc38 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30.4 i686)
=================================================================
System uname: Linux-2.6.30.4-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 15 Aug 2009 19:25:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distcc distlocks fixpackages preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/science /usr/local/layman/gnome /usr/local/layman/sunrise /usr/local/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 audiofile avahi berkdb blas bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl dbus dga dri dts dv dvb dvd dvdr emboss encode esd evo exif expat f77 faad fam fbcon ffmpeg fftw firefox flac fortran gcj gd gdbm gif ginac glut gmp gnome gnome-keyring gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog jack java jpeg jpeg2k lapack latex lcms leim libcaca libnotify libsamplerate lirc live mad matroska mikmod mmap mmx mng mono mozilla mp3 mp4 mpeg mudflap mysql nas ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp pam pcmcia pcre pdf perl plotutils png policykit ppds pppd pulseaudio python qhull qt3 qt3support qt4 quicktime radeon raw readline reflection rtc samba scanner sdk sdl session slang sndfile speex spell spl sqlite sse ssl startup-notification svg sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis win32codecs wmf wxwindows x264 x86 xcb xft xinerama xml xorg xosd xulrunner xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="realmagic" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeon v4l vesa mach64 r128 radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Colin Macdonald 2009-08-15 21:03:56 UTC
Created attachment 201363 [details]
gentoo-transparency.png

transparency in the volume popup on gentoo
Comment 2 Colin Macdonald 2009-08-15 21:04:42 UTC
Created attachment 201364 [details]
fedora-transparency.png

transparency on Fedora 11.
Comment 3 Colin Macdonald 2009-08-15 21:05:54 UTC
Created attachment 201366 [details]
gentoo-avant-window-navigator.png

another example on gentoo: avant-window-navigator just shows a black bar
Comment 4 Colin Macdonald 2009-08-15 21:08:51 UTC
Created attachment 201370 [details]
Xorg.0.log

I should had that I currently have no xorg.conf.  I have previously tried various xorg.conf changes like:

Section "Extensions"
	Option "Composite"      "Enable"
EndSection

but to no avail.
Comment 5 Colin Macdonald 2009-08-15 21:12:24 UTC
Finally, I should the output from this program 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/
Don't know quite what it does since I've never been able to run it, but it certainly involves alpha channels and compositing!
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 12:37:06 UTC
Looks weird... Will have to dig deeper into this. Could you attach your full xorg.conf, dmesg, and the output of xdpyinfo?

@gnome, I don't remember seeing this. Maybe one of you has?

Thanks
Comment 7 Colin Macdonald 2009-08-16 17:53:37 UTC
Created attachment 201442 [details]
dmesg

(probably a lot of suspend cycles in there)
Comment 8 Colin Macdonald 2009-08-16 17:54:43 UTC
Created attachment 201444 [details]
xpyinfo.output
Comment 9 Colin Macdonald 2009-08-16 17:58:36 UTC
Created attachment 201445 [details]
xorg.conf

I currently don't use an xorg.conf.  Here's one I used to use (that also exhibited this bug).
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 19:23:16 UTC
Could you try not using metacity's compositor and use xcompmgr instead?

Thanks
Comment 11 Colin Macdonald 2009-08-16 20:16:06 UTC
Created attachment 201462 [details]
gentoo-xcompmgr.png

good idea!  Bug still happens, so I guess that rules out metacity, must be xorg?
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 22:20:12 UTC
I guess it's not a gnome bug then. Removing CC.

Please file a bug upstream [1] and paste the url here so I can track the issue.

Thanks


[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 13 Colin Macdonald 2009-08-19 05:49:44 UTC
upstream bug: http://bugs.freedesktop.org/show_bug.cgi?id=23406

I reopened, hope that's the right thing to do.
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-08-19 05:58:06 UTC
Your bug report is perfect. Thanks for opening it.

Let's track this upstream directly, I'll CC myself on the bug.

Thanks