Общо показвания

август 10, 2006

Candies...

Recently I've been blogging about the XGL and AIGLX and Compiz and stuffs. And here we are now - there:)

Compiz on AIGLX working perfectly well, on a moderate ( not really slow but not really fast ) graphics adapter - Intel 855GM. I've been using it from the last night but it feels like I've been doing it all my life. The animations are awesome. They are fast enough to not stop your work but slow enough so you can actually see it. It makes your desktop more vivid, more physical.

So if you have not yet tried metacity with compositing enabled or compiz (regardless of your hardware - if you're Ati or Nvidia owner you use XGL, if you have Intel integrated - you use AIGLX) now is the right time. Before you are forced to:) Why am I saying that? Because I think it is so good for the user to have eye-candy it will become part of every window manager. Just like it is on Mac OS X. You get it by default.

I should not be me if I hide the downsides. Compiz is not yet mature enough. It lacks some functionality you might got used with. For example the new windows overlap the current one. Though it is new in metacity (present from 2.12 i think) It cannot be made to show the control buttons on the left side ( and it really irritates me) and it is not themable yet (at least not the official one, compiz-quinn is, but i could not find a version of it to run on AIGLX). But don't let this disappoint you. It is really fast, it takes less CPU than the previous release of metacity (from April 2006 - AIGLX repo) - actually it works just like there is no compositing made ( CPU under 1%, and up to 5% with video playback using XVideo) . So go on and give it a shot.

One more thing for the fedora users. Be warned - the new rebuild of metacity is not working with the Xorg (AIGLX) 1.1.1. I couldn't find the reason, I'm waiting for a reply in fedora forums. Maybe someone will answer. Actually it works with no problem but without compositing. Once activated I only see blue screen. It used to work before the update. So if you are currently using metacity with composite enabled have in mind it might breaks on 855GMs. But compiz work for sure.

That is for now. I'll update this once I find out what the problem with metacity is and why the heck the compiz package comes without libscale so the Exposé-like function is missing from this build.... I really dislike that!

update

short description of the steps i took in order to make the scale plugin available on the aiglx's compiz package was posted yesterday on fedora forums. I'll paste it here too, hoping someone will make use of it as I did.


Preface: As my knowledge to AutoTools is little to none, be advised this may not be the best way to achieve this, but it is working. At least if you use the i386 architecture and you are using the aiglx repo package for compiz installation.

As you might noticed already the changelog of the package says:
* Thu Jul 20 2006 Kristian Høgsberg - 0.0.13-0.7.20060720git
- Drop scale plugin from snapshot.
I don't know what the reason for this was, I'm not intending to ask Kristian, as I think he has more valuable things to do than to reply my questions. The thing here is I really like that plugin and I want to use it despite what the packager of compiz thinks about it. At the end of the day it's all about the freedom of choice, right. That is this software about!

So, how do I get this plugin, when I'm not really a rpm build guru or developer or anything. The first thing I noticed was the error: libscale.so not found (when starting compiz from the command line) So i think, what if I add it? And that's exactly what I did. But also I have to find it. Since it was dropped from the source (meaning plugins/scale.c has been deleted from the source the package is build from and Makefile.in has been modified to not seek for this file) I had no choice but to patch the Makefile.in and to add scale.c from the CVS repository. Surprisingly it worked. Please note that I used the file from cvs not from git. Which might be a mistake, I'm not really sure, as I said I'm no developer - just a regular user. As a result the ./configure && make produced all the necessary files, including libscale.so (located in plugins/.lib/ ) Then I just copied that file in /usr/lib/compiz (as root) and it worked.

here is a description of the exact steps(I presume you already have installed the i386 package for compiz from AIGLX repo) :
download the src rpm from the AIGLX repo.
unpack it (do not install it, just unpack in a temp dir)
unpack the compiz source inside the rpm package
patch with the provided in the rpm patches.
use cvs to obtain the compiz source
in the source tree of compiz from aiglx patch the plugins/Makefile.in with the Makefile.in found in compiz's cvs tree (plugins/Makefile.in) or you can just copy the CVS file over the aiglx one.
configure and make
su to superuser (root)
copy plugins/.lib/libscale.so to /usr/lib/compiz
use gconftool or gset-compiz to activate the plugin.

I think it is possible to redistribute the produced file (libscale.so) to your friends - It should work on all i386 with the same package installed (compiz-0.0.13-0.12.20060721git.fc5.aiglx)

So it is possible to have the scale plugin.
Публикуване на коментар