Compiz Integration

dragoran drago01 at gmail.com
Thu Mar 29 17:09:32 UTC 2007


Kristian Høgsberg wrote:
> dragoran wrote:
>>
>> With fc6 compiz and AIGLX got into fedora and we should improve the 
>> user expirence with this in F7, not make it worse.
>> We also need to integrate compiz better into our desktop.
>>
>> Right now its easy to active and to disable with the "Desktop 
>> Effects" app.
>> But this does not work correctly due to some regressions.
>>
>> 1)Compiz gets started from the session manager and so its not 
>> possible to switch compiz->metacity because compiz restarts itself.
>
> I couldn't reproduce this, but it does look like compiz should 
> properly deregister itself.  I sent a patch reply to your mail on the 
> compiz list, if you could try that out and see if it work that'd be 
> great.
>
ok I will test it but not today.. have some work that has to be finished 
by tomorrow :(
>> 2)The next thing is that if compiz is configured to use 4 Viewports 
>> and Metacity 4 Workspaces compiz will ignore its own setting and use 
>> the metacity one until X is restarted.
>
> Yeah, I reproduced this and it's pretty confusing when you both have 
> workspace and viewports active.  I'm not sure that feature is even in 
> compiz...
it is... the cube does not work without viewports thats why because it 
has both now...
>
>> The god news are that this stuff is fixed, we only need to get the 
>> fixes into fedora ;)
>> There is a patch for 1) in bugzilla: 
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229113
>> As for 2) I have sent a patch upstream which is merged into current 
>> git. It adds a --ignore-desktop-hints commandline switch to compiz 
>> which fixes this behavior. We need to either make it the default by 
>> patching compiz or start compiz with this option from "Desktop 
>> Effects". ( I can send a patch for desktop-effects/compiz if needed)
>
> I'd rather not have to patch this - for our 0.3.6 RPM we'll probably 
> have to, but longer term I don't see why compiz would ever want to 
> have this behaviour.
ok, then we should move this discussion upstream...
look at this commit: 
http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commit;h=256882741efef0dfc583304fe672045281a12895
>
>> After doing this the switching between metacity and compiz should 
>> work as fine as it did when fc6 got released. (The current f6 updates 
>> have the same problems). I am using a custom compiz package(git 
>> snapshot) with this changes and it works without any problems and is 
>> stable. (With compiz-0.3.6 the window decorator sometimes crashes but 
>> this is fixed in git; have not seen any crash with it). We have 
>> shipped a git snapshot in fc6 so this should not be the problem, also 
>> 0.4 should be out sometime soon.
>
> I haven't seen it crash when I've used it.  Do you have an idea what 
> the fix is in upstream or could you try to get a backtrace of the crash?
I don't know exactly what has fixed it upstream.. I will test it 
tomorrow again, and try to get a backtrace, the problem is that it isn't 
easy to reproduce, sometimes it happens after some minutes sometimes it 
works for hours with no problems.
as for current git, it never happend for me...
> When we shipped a git snapshot there wasn't an official release out 
> yet.  I'd like to stick with 0.3.6 until 0.4 is released, and in any 
> case, we're not making that change for FC7 at this point.
>
ok but 0.4 should be out before F7 final so I hope this makes it in.





More information about the Fedora-desktop-list mailing list