A short introduction about Compiz

From Wikipedia:

"Compiz is one of the first compositing window managers for the X Window System that is able to take advantage of OpenGL-acceleration. The integration allows it to perform compositing effects in window management, such as a minimization effect and a cube workspace. Compiz conforms to the ICCCM standard and as such can substitute for the default Metacity in GNOME or KWin in KDE. Compiz brings some of the features found in competitors, such as Exposé in Apple's Mac OS X and a new Alt-Tab application-switcher, similar to the one found in Microsoft's Windows Vista. Compiz is built on the Composite extension to X and the GLX_EXT_texture_from_pixmap extension to OpenGL. Compiz was released by Novell in January 2006 in the wake of a new Xgl version."

"...Compiz works with modifications on the standard X.Org server, with AIGLX enabled. With AIGLX, Intel cards can also be used with Compiz. Even mobile cards work there."

In September 2006, X.org 7.1 (AIGLX merged) and Compiz were accepted into Debian unstable and further into testing. It is currently maintained by the Debian X Strike Force.

Debian compiz + AIGLX HOWTO

First, you should verify if your video card is supported. Check the list of supported cards below (on other cards, Compiz would need Xgl):

We will need to fetch some packages from testing or unstable, so point Debian official Unstable repository in your "/etc/apt/sources.list". (deb [http://ftp.debian.org] main unstable) and "apt-get update".

Install the following packages:

Add the following options to the corresponding sections in the file /etc/X11/xorg.conf:

Section "ServerLayout"
        Option "AIGLX" "true"
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

Section "Device"
        Option "XAANoOffscreenPixmaps" "true"
EndSection

Nvidia user may also need:

Section "Device"
        Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
        Option "AddARGBGLXVisuals" "True"
EndSection

Section "Module"
        #Load "dri"
        #Load "GLcore"
EndSection

Restart your X.org server and login into GNOME. Open a terminal and issue the following command:

compiz --replace

If everything is correct you will be able to use all compiz resources. ?BR You may want to start your compiz automatically with GNOME: ?BR Add "compiz --replace" to "Desktop -> Preferences -> Sessions -> Startup Programs".

Limitations

The water effect uses GL_ARB_fragment_program, which not currently work propely with the open source drivers under AIGLX in X.org 7.1.

Troubleshooting

If something fail you could check /var/log/Xorg.0.log and search for possible problems with DRI and GLX. You also should verify if AIGLX was successfully loaded.

Default hot keys