Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 160693

Summary: x11-wm/compiz-0.3.6 needs to modify compiz-aiglx
Product: Gentoo Linux Reporter: Tommaso Pasini <tommaso.pasini>
Component: Current packagesAssignee: Hanno Böck <hanno>
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: compiz-aiglx

Description Tommaso Pasini 2007-01-07 14:02:10 UTC
As reported in the linked thread, compiz now needs different options to start than compiz-0.3.4; the script was

# Start compiz
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --use-cow --indirect-rendering --strict-binding gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom screenshot water dbus

now it should be

LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom screenshot water dbus

without the options --use-cow, --indirect-rendering and --strict-binding.

I use only compiz-aiglx but I suppose also compiz-xgl and compiz-nvidia need to be edited.

Reproducible: Always

Steps to Reproduce:
1. Upgrade compiz from 0.3.4 to 0.3.6
2. Start compiz-aiglx

Actual Results:  
Window decorations don't work anymore.
Comment 1 Christian Ludwig 2007-01-07 23:04:37 UTC
Created attachment 105959 [details]

This is what works for me at least. I used that for a week now and had no problems so far. For the --fast-filter option, I do not know exactly why I had to turn it on anymore.

My video is a radeon driver on GNOME, if that matters at all.
Comment 2 Tommaso Pasini 2007-01-08 09:22:21 UTC
I forgot to say I'm using nvidia-drivers-1.0.9746.
Comment 3 Lloeki 2007-01-10 13:37:54 UTC
if you take a look at my post here:
you will notice that it's not exactly window decorations not working, but rather the first plugin after gconf being mistakenly removed from gconf list. usually, this is decoration. that is certainly an upstream bug.

but anyway, this bug (updating 3.4 switches to 3.6) has to be fixed.
Comment 4 Lloeki 2007-01-13 17:08:30 UTC
may I suggest the title to be changed to something like 'x11-wm/compiz-0.3.6 needs to modify compiz starting wrappers (compiz-aiglx, compiz-nvidia...)'

also, compiz-0.3.6 now supports kde-window-decorator and absence of gconf (in case of kde desktop), but the scripts start gtk-window-deocrator by default. I suggest having support for this new decorator by detecting if either kwin or metacity is started, and starting the correct one accordingly.

an example startup script I use for pure kde compiz is:

kde-window-decorator --replace &
plugins="move resize minimize place decoration wobbly fade \
        cube rotate switcher dbus"
__GL_YIELD="NOTHING" /usr/bin/compiz --replace ${plugins}
Comment 5 Hanno Böck gentoo-dev 2007-01-20 04:19:19 UTC
A short note, compiz-aiglx/xgl/nvidia should be deprecated anyway, I'll re-commit an ebuild that leaves them out.
compiz-start should handle all situations now. Please report bugs if compiz-start doesn't work for you.
Comment 6 Hanno Böck gentoo-dev 2007-01-20 04:32:49 UTC
I now no longer install those scripts, switch to compiz-start