Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149455 - compiz-0.2.0 under KDE: no window-decoration
Summary: compiz-0.2.0 under KDE: no window-decoration
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 14:51 UTC by Robin Bankhead
Modified: 2007-11-08 11:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2006-09-28 14:51:48 UTC
Hi, I've enabled AIGLX and emerged the latest compiz-0.0.13_pre20060928 but when I launch it under KDE, I have no window-decorations.  I was originally launching compiz via the /usr/local/bin/compizrc script suggested in the wiki page, http://gentoo-wiki.com/HOWTO_AIGLX but have also tried using the supplied compiz-aiglx script, to no better result.
The actual effects (those I've tried) seem to work fine and there is no other issue - compiz runs very smoothly and without any system-hogging.  The water plugin was causing an error (unsupported extension) so I removed it from the compiz-aiglx script; the only other error I get is:

"compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed."

It's been suggested in the forum that lack of gconf configuration could be the problem.  I've never used Gnome, and in ~/.gconf/apps/compiz I had only a couple of keys present (one under general/allscreens/options and one under plugins/fade/screen0/options).

Graphics card is an Intel 855GM.  Current versions of various things:
x11-base/xorg-server-1.1.1-r1
media-libs/mesa-6.5.1-r1
kde-base/kwin-3.5.4

emerge --info
Portage 2.1.2_pre1-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 17:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/wine"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/share/wine/fonts"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups dbus dio dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp gpm gstreamer gtk2 hal i8x0 ieee1394 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kde kernel_linux ldap libg++ libwww linguas_en_GB mad matroska mikmod mmx mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcmcia pcntl pcre perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session sharedmem soap sockets spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 vcd vhosts video_cards_fbdev video_cards_i810 video_cards_vesa vorbis wifi win32codecs xcomposite xine xinerama xml xmlrpc xmms xorg xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Bankhead 2006-10-01 17:17:29 UTC
Observation: it seems there's no way gtk-window-decorator could work with the current distribution, as there is no default theme included.  In addition, the gconf schema for compiz (I've found and installed this since I filed) doesn't include any line pointing to a theme. The OpenSuse wiki page for compiz mentions the key /apps/compiz/plugins/decoration/allscreens/options/decor_theme - but this is omitted from the schema, and the page doesn't supply any details about it.
Comment 2 QFH 2006-10-11 16:01:56 UTC
Did you follow the instructions on the wiki page to fix issues with Flash in Firefox by adding 
XLIB_SKIP_ARGB_VISUALS=1
to /etc/env.d/?

If so, remove it. This solved the problem for me.
Comment 3 Robin Bankhead 2006-10-12 02:20:45 UTC
Version bump (problem still exists on compiz-0.2.0).

I had the XLIB_SKIP_ARGB_VISUALS=1 in a KDE Autostart script, I've removed it but there's no difference.

If there is actually a decoration-theme present that should be being used, how can I tell?  There seem to be no configuration guidelines for this anywhere.
Comment 4 Robin Bankhead 2006-10-16 05:26:59 UTC
I have made it work, though I'm not certain which (if not all) of the following changes are necessary:

1) emerge x11-wm/metacity-2.16.3 (the wiki now says that this version is needed for gwd to use metacity themes)

2) unmerge x11-themes/gtk-engines-qt (gnome-theme-manager goes bananas when this is in use)

3) added a gwd key to gconf with the following values (lifted from freedesktop.org mailing list):
gconftool-2 -s /apps/gwd/use_metacity_theme -t bool true
gconftool-2 -s /apps/gwd/metacity_theme_opacity -t float 0.75
gconftool-2 -s /apps/gwd/metacity_theme_shade_opacity -t bool TRUE
gconftool-2 -s /apps/gwd/metacity_theme_active_opacity -t float 0.75
gconftool-2 -s /apps/gwd/metacity_theme_active_shade_opacity -t bool TRUE

4) added the line "unset XLIB_SKIP_ARGB_VISUALS" to the head of the compiz-aiglx script (I think this one was mentioned on your blog, Hanno).

I'm still not clear on whether the decoration *should* have worked without using metacity themes, so I'm not sure where this leaves us.  I am happy to do further explorations on my system if someone can offer guidance, so this ebuild can be positively developed.
Comment 5 Hanno Böck gentoo-dev 2007-01-28 12:20:39 UTC
seems to be related only to very old versions, closing
Comment 6 Gokdeniz Karadag 2007-11-08 09:42:41 UTC
(In reply to comment #5)
> seems to be related only to very old versions, closing
> 

This can be seen in most recent versions of compiz & compiz-fusion
I am using compiz-fusion 0.6.0  and compiz 0.6.2 versions on KDE (latest as of this week) and I am NOT using the xeffects overlay.

With the default install compiz-start removed the window decorations, the following patch makes it work perfectly. Maybe the decorator selecting code can change the options variable also.

--- /usr/bin/compiz-start       2007-11-07 12:59:22.000000000 +0200
+++ /usr/local/bin/compiz-start 2007-11-07 13:21:19.000000000 +0200
@@ -16,7 +16,7 @@
 GLX_RENDER=`glxinfo|grep -c "OpenGL renderer string: Mesa GLX Indirect"`


-COMPIZ_OPTIONS="--replace"
+COMPIZ_OPTIONS="--replace ccp --sm-disable"

 if [ $GLX_WITH_DIRECT -eq 3 ]; then
        if [ $GLX_RENDER -eq 0 ]; then



Comment 7 Robin Bankhead 2007-11-08 11:50:45 UTC
That doesn't fix it for me, there's still no decoration (I also have the latest everything now).