Thursday, October 19, 2006

Debian HOW-TO : AIGLX + Compiz

Last revision : May 26th, 2007

You've got this Debian machine, and yet you want to use the famous "3D desktop" everyone's talking about ?

On Debian Etch (or Sid), it is surprisingly easy to configure a "3D desktop".

Here is how to do it.

  • Prerequisites

This guide assumes that you have direct rendering enabled. In other words, the output of

glxinfo | grep direct

should say (if glxinfo doesn't work, make sure you have the package mesa-utils installed) :

direct rendering: Yes

If not, make sure your card is properly configured and that the drivers for it are rightly set up. If you need help about that, refer to the tutorial on NVIDIA drivers or the one on ATI drivers. Any INTEL card will do just as well.

A 3D desktop with Compiz, showing a very handy feature : "expose" (a la Mac OS X).

  • xorg.conf

A few changes have to be made to the file /etc/X11/xorg.conf.

In Section "Module", make sure you have

   Load   "dbe"

in first position.

In Section "Device", ensure you have

   Option   "XAANoOffscreenPixmaps"   "true"

in last position. Plus, if you don't already have a Section "Extensions", add one somewhere (still in your xorg.conf) :

Section   "Extensions"
Option "Composite" "Enable"

Also, NVIDIA users should make sure that they have those 2 lines in the Section "Screen" of their xorg.conf file :

   Option   "AddARGBGLXVisuals"   "true"
DefaultDepth 24

As well as those lines in Section "Device" :

   Option   "AllowGLXWithComposite"   "true"
Option "TripleBuffer" "true"


Starting with xorg 7.1, AIGLX is integrated in the X server. Also, it should get loaded automatically. Ensure that it does :

cat /var/log/Xorg.0.log | grep -i aiglx

which should say (==) AIGLX enabled. If it doesn't get loaded, you can force it by adding :

   Option   "AIGLX"   "true"

to Section "ServerLayout" of your /etc/X11/xorg.conf.

It is to be noted that, technically, NVIDIA drivers do not use AIGLX (starting with version 1.0-9629), though the X server configuration is the same.

  • Compiz

Compiz's installation is quite straight forward. First install the required packages :

sudo apt-get install compiz

Then, add Compiz to your desktop environment (Gnome, KDE, or Xfce) startup script.


Go in Desktop -> Preferences -> Sessions. Then choose the Startup Programs tab and add an entry for Compiz :

compiz --replace --fast-filter


Simply create a file ~/.kde/Autostart/compiz.desktop with this content :

[Desktop Entry]
Exec=compiz --replace gconf & kde-window-decorator &


Simply edit the file /usr/share/desktop-base/profiles/xdg-config/xfce4-session/xfce4-session.rc (or /etc/xdg/xfce4-session/xfce4-session.rc) and replace xfwm4 with compiz:

Client0_Command=compiz --fast-filter

That's it. Restart the X server and you are good to go.

The "film view", showing multiple desktops

  • Tips

You can view my xorg.conf here.

Issuing this command :

grep -A 2 '<' /usr/share/gconf/schemas/compiz.schemas

will give you a complete list of the Compiz shortcuts.

If you get any weird issues with Compiz (ie no windows' borders), simply erase the gconf entry of compiz :

rm -r ~/.gconf/apps/compiz/

and restart GNOME.


Anonymous said...

This really needs to be easier - hacking a bunch of config files to reach 'normal' isn't the Debian way. Why can't an "apt-get install compiz" take care of everything for you?

Hugues said...

I hear what you say, I think so too.

But, then again, the only file you need to edit is /etc/X11/xorg.conf. For that, you can rely on the example xorg.conf mentionned in the article.

And finally you need to start Compiz at Gnome start by adding it to Gnome's Session Manager.

As Compiz & AIGLX just entered Etch, this will no doubt get easier in the future.

Anyway, thanks for the feedback !

Anonymous said...

What about KDE? Is this only for Gnome?

Anonymous said...

Actually you don't even need AIGLX to run compiz with nvidia beta drivers.

Hugues said...

"Actually you don't even need AIGLX to run compiz with nvidia beta drivers."

Apparently that's true : I did test NVIDIA beta drivers with Compiz without using the "indirect-rendering" option (an disabling it in /usr/bin/compiz), but without any performance improvement.

Anyway, AIGLX is integrated in Xorg 7.1, so there is no extra configuration required nor performance penalty in using it.

bonovoxmofo said...

Hey what about us KDE guys, how we enable this ?


Hugues said...

Ok mofo :)

I've added a part for KDE users. I'll be adding one for XFCE fans as well.

Thanks for the feedback.

I do my best to regularly update most of this blog...

bonovoxmofo said...

OK so far I've followed the instructions and it works.
The following are some observations:

Under KDE

Gnome takes control of windows, resizing positioning and etc. this is due the line:

Exec=compiz --replace gconf & gnome-window-decorator &

I don't like this 'cause I am very used to the combination of Meta+right_click to resize & Meta+left_click to move windows, and I don't know how to handle this on gnome :( 'cause resizing à la gnome requires to put the cursor on the edges of the window AFAIK and even doing that I don't always get the correct resizing (is this because compiz?)

Another thing is that you only can have 4 desktops, no more no less, is this correct?

Also can anyone point to a good tutorial about controlling this like pressing Ctrl+Meta+left_click transforms the desktop in a cube that you can rotate, what other combinations exist?

Please excuse my poor knowledge on this matters, still they are very interesting.

The tutorial is great.

Many thanks.

bonovoxmofo said...

OK to answer some of my questions hehehe ;)

Some controls are:

Alt+Tab to show a 'dock' which contains some tiny screenshots and you can cycle through them

Ctrl+Alt+Left/Right keys will cycle the desktops in the cube fashion

Ctrl+Alt+Up key will make thumbnails of all the windows in the actual desktop, so you can select any window in case you are lost in you own desktop, very handy :)

Ctrl+Alt+Down key will display the desktops in a horizontal 'film strip' like way very neat, press Left or Right keys to move between destops.

Of course Ctrl+Alt+Left click for cube rotation

Windows opacity change if you use the scroll of your mouse over any of them, so you can see what is behind though?

What other key combinations / mouse do you know?


Hugues said...

You pretty much summarized the commands I use as well.

You can check out the "TIPS" section of the tutorial, I've added a command which gives a list of all available Compiz shortcuts.

Thanks again for the feedback !

Jonathan B. Horen said...

What about those of us who refuse to be enslaved by desktop managers, and prefer to simply use a window manager?

Now that I've edited my xorg.conf file, and installed the mesa-utils and compiz, what should I add to my .xinitrc file and/or window-manager configuration file?

I use JWM, with all of its 168K memory footprint.

Hugues said...


Looks interesting indeed.

I'll give it a serious try and see if something can be done.

Thanks for reading !

Hugues said...

Hi Jonathan,

I did take a look at JWM, and I think it is excellent : light, but still very easy and functional.

Anyway, using Compiz with it doesn't appear to be feasible, as JWM is a window manager itself. Compiz normally replaces your window manager, so you have to kill your existing one to run it.

Perhaps I'm missing something here, but I don't think it is doable without some serious hacking.

If you are brave and know your way around in C, you can try to work something out I guess. But then it won't be JWM anymore. Or you can write to the author of JWM, see if he has an idea about this.

Thanks for the feedback !

Anonymous said...

The best guide i found and everything worked as a swiss clock. many thanks amigo

impact24 said...

Hi hugues,

This is really the most straightforward guide available...I got it to work under my amd64 sid and it works great.

Just a question though, where did you find out about how to edit the X11 config files? I couldn't find the relevant docs under /usr/share/doc/compiz-(gnome). Perhaps I'm looking in the wrong place?

Anyway, great tutorial and great blog. More power to you.

Hugues said...

I did look for a while before finding "the right way" to do it. There are a few guides here and there that helped me found the actual working instructions. Here are a few :

Thanks !

Anonymous said...

Hi, I added the command

compiz --replace --fast-filter

via settings -> sessions in Gnome, and now I get a really wierd screen, sometimes fully white, sometimes all kinds of colors. I was wondering if you could help me (I'm a complete newbie) and let me know how I can access the startup entries so I can remove this command. The only session which works now is the failsafe terminal session, so I was hoping you might be able to let me know how I can delete this command using the terminal.

Thanks, I would really appreciate the help!

Hugues said...


If things went wrong, just erase the directory ~/.config (so that means /home/yourself/.config) and the compiz entry in your system startup will get erased.


jon said...


Great set of instructions, but ALAS, I was not successful in my attempt to get compiz working in Xfce4. I have the same laptop (Z63A) and am running Ubuntu Edgy Eft.

Will probably try again at some point, but for now I was running into too many difficulties for it to be worth it.

Will keep checking back here in case there are new tips.

Keep up the great stuff.


Hugues said...

Hi Jon,

Instructions for Ubuntu Edgy should be about the same, the only difference being the Compiz packages, which you can download using the instructions posted here :

You absolutely need the Compiz packages from Gandalf (or perhaps Edgy now use newer compiz packages?), as the ones shipping with Edgy are quite old and simply don't work on that machine (Z63A).

I did try AIGLX + Compiz on Edgy (using Gandalf's Compiz), but I found it much more buggy then on Debian.

Good luck,


Stuart said...

hi, im using the nVidia GeForce FX5200go 64Mb card and i found that my card's "diredt rendering" is NO, im wondering does that mean i cant use compiz+xgl ?

Hugues said...

Hi Stuart,

Yes, if "direct rendering" is off, then you it simply mean that you should install the NVIDIA proprietary driver for your card (as stated in this tutorial).

About Compiz + XGL, I'm sure you can find a good tutorial on that somewhere. Keep in mind that it will not be so simple to set up as it is with Compiz + AIGLX.

Good luck,


Anonymous said...


you mention that the version 1.0-9629 at least of NVIDIA drivers should be used. but the latest versions in Debian are 1.0.9625 (experimental) and 1.0.8776 (unstable). does that mean that we need to use the NVIDIA installer ans not the debian way to have the right drivers ?

thanks, michal

Hugues said...

The 1.0-9625 drivers will work fine too.

In fact, my instructions should mention "at least 1.0-9625", because that is the version initial support for GLX_EXT_texture_from_pixmap was added.

So 1.0-9625 was the first NVIDIA drivers working with AIGLX, but it was a BETA one :

And 1.0-9629 was the first NVIDIA stable driver working with AIGLX :

Both mentions Added initial support for GLX_EXT_texture_from_pixmap.

Carlos Samour said...

Great howto. I got everything working with an Nvidia Card. The only problem I have is that every minute or so, my screen flickers, like when it refreshes it flashes. Any Idea why this might be happening?

Hugues said...

Hi Carlos,

Your best bet here is to take a look at /var/log/Xorg.0.log to see if there is anything suspicious in there (errors or warning).

If you want to look right away for errors :
cat /var/log/Xorg.0.log | grep EE will do it.

Also, take a your /etc/X11/xorg.conf to see if you haven't forgotten anything. You can compare with the example file mentioned in the HOW-TO. Also, make sure you have the latest version of NVIDIA drivers installed.

If you want more in depth assistance, you might want to post on, and I'll probably end up being the one helping you (under the nickname antidrugue).

By the way, I did read some of your blog, and though it was both interesting & well written. I hope you appreciate your experience teaching GNU/Linux classes. I wish to have the chance to do that some day.

Good luck !

Anonymous said...

Thanks, that got me up running. Windows are wavy and everything.

However, there are still some puzzles:

# grep XAANoOffscreenPixmaps \
(WW) NVIDIA(0): Option "XAANoOffscreenPixmaps" is not used
# grep aiglx /var/log/Xorg.0.log

- Sid box
- FX5200/128MB card
- nvidia driver 9631
- xserver-xorg-core 1.1.1-11

Any clues would be much appreciated.

Anonymous said...

hi..i have problems after the reboot of the borders were loaded!!!
so i googled i bit..and found that aiglx doesn't work with proprietary that true?
thanks for the attention

kit said...

For proprietary drivers, you'd need to use XGL instead of AIGLX. If you're on Ubuntu, go to as there are lots of help there.

Anonymous said...


I was a bit scared of trying AIGLX on my P4 2.0 ghz notebook running Debian Etch...

And finally, it has been really easy following this article.

It runs perfectly.

Thanks a lot for this contribution.


Hugues said...

Hi M@,

AIGLX does work perfectly with proprietary drivers.

I've tested it on both NVIDIA and ATI cards (using proprietary drivers) and got it to work in no time without any issues.

I'm unsure as why some people propagate rumors saying that AIGLX (+Compiz/beryl) is incompatible with proprietary drivers.

Good luck,


fede said...

Do you mind telling me what is your nvidia-glx version? 1.0.8776-3 or 1.0.9746-2?


Hugues said...


As I state in this how-to, you need NVIDIA driver version 1-96XX and up for AIGLX to work. That means 1-9746 should work, but not 1-8776.

Thanks for reading,


Taki said...

Great How-To! Easy to follow and learn from. Much appreciated.

Name: Uways Z said...

wonderful! i^m still wondering why i didn^t find this gudie earlier

Anonymous said...

Awesome how-to! Very fast and efficient. I think the hardest part of all this was getting the Nvidia drivers installed. I didn't have any luck with an amd64 kernel (sad, it was wicked fast loading everything), but k7 kernel works great! I'm running Debian Sid.

- Scotti

Hugues said...

Hi Scotti,

So the NVIDIA drivers didn't work with Debian AMD64 kernel ? Well, perhaps you can give a shot at compiling your own kernel then.

I prepared a tutorial on that, just take a look at the archive section for December 2005.

Thanks for the feedback, I appreciate !


Anonymous said...

Hi Hugues,

I will try compiling my own kernel this weekend. I think it would be a great learning experience for sure.

I referenced this article today in a thread on the Debian forums explaining more. I "dugg" this article too!

I'll let you know how compiling my own kernel goes by following your article. :-)

- Scotti

joffa said...

This helped me a lot using debian etch - it all worked a treat using the nvidia binary. As it didn't unable the use of a suitable nvidia-kernel-source package from either etch or sid, (I'm trying to have a complete debian system) I reinstalled my system from scratch & downloaded the experimental package 1.0.9746-2 & dpkg -i installed it. It seems to be all go until I run the command compiz --replace. I then get a frozen screen without the gnome windows; the mouse moves but I can't do any thing at all & have to Ctl-Alt-backspace to start again. I have read checked and reread rechecked all your instructions but nothing. So is it because I have mixed etch with sid with experimental? If I was to remove the debian pacakges and go again with the nvidia binary, if later down the track I want to remove the nvidia binary to install debian packages, how does one remove the nvidia binary? Thanks again.

Hugues said...

Hi Joffa,

You can remove the NVIDIA binary quite easily. Just rerun the installer with the "uninstall" parameter. So, something like that :
sh --uninstall

It will uninstall the driver as well as the kernel module.

Good luck !


Anonymous said...

As Compiz & AIGLX just entered Etch, this will no doubt get easier in the future

Hmm my packages are not working. AIGLX gives errors. Which package do you mean with AIGLX?

I have here an etch box with latest ATI fglrx (33.6) driver installed an working. I also tried the debian etch packages, version 28.xx, IIRC.
My xorg is xserver-xorg 7.1.0-12.
I get an error in Xorg.0.log:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/ undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering

If I explicitly switch AIGLX on in xorg.conf, even the fglrx driver won't be loaded and everything switches back to MESA.

Any ideas?

Hugues said...

Hi Anonymous,

If you have any problems regarding AIGLX or any other matters related to this tutorial, please post your question on and someone (probably me) will help you.

Thanks for reading, and thank you for your comment,


Benjamin said...

firstly, I disagree that this has to be easier...try installing beryl, now that sucks. Secondly, I was having trouble with xfce so this post was excellent, I didn't know how to suppress xfwm. This really isn't that much editing, honestly though, compared to some things in debian, like building a module...anyway thanks a lot!

James said...

I have been trying to get Compiz to work for a little while now.

After following numerous tutorials on the subject I am utterly stuck.

I'm running Debian 4.0 (testing) with Nvidia, Xorg 7.1 and Gnome. When I start compiz I instantly loose all window borders and the desktop. The mouse functions but I can't click on anything.

I have found people having the same issues, and they all suggest that I need to start gnome-window-decorator... however this doesn't appear to exist _anywhere_!

Any idea what on earth I'm missing? Where can I download this mysterious file?

Anonymous said...

I have the same probles as james... a pointer in the right direction would be appreciated

Hugues said...

Hello James,

I can only suggest that you revise all the steps you did to install & configure Compiz.

First, make sure the NVIDIA drivers are properly installed.

Second, ensure that your /etc/X11/xorg.conf file is exactly like it should be.

Finally, you can install Compiz (or Beryl if you prefer).

If you wish to get interactive help, I suggest you try I may be around to help you myself, as antidrugue.

Thank you all for reading,


Anonymous said...

I'm also having the "missing borders" problem after, I think, following all your directions.

$ compiz --replace --fast-filter
GLX_EXT_texture_from_pixmap is available with direct rendering.
/usr/bin/compiz.real: Failed to load slide: freedesktop

Debian Sid+experimental
Gnome 2.18
X 7.1.1
nvidia 9746
$ glxinfo | grep direct
direct rendering: Yes
$ cat /var/log/Xorg.0.log | grep -i aiglx
(**) Option "AIGLX" "true"

Anonymous said...

Solved my own "Failed to load slide: freedesktop" problem.

Cycle said...

The instructions for replacing xfwm4 with compiz in xfce should be simplified to the same as the beryl instructions, i.e. just change the xfwm4 entry in xfce4-session.rc to compiz (instead of commenting out the entry and adding compiz.desktop to the autostart menu). Much simpler and works like a charm for me.

Hugues said...

Hi Cycle,

You are right. I changed to match the tutorial on Beryl. Both simpler and faster that way.



Jørgen said...

Thanks for the tutorial! My only problem was, using kde, I lost my window decorations and to get them back I had to run 'kde-window-decorator'. Perhaps it would be better to change 'gnome-window-decorator' to 'kde-window-decorator' in the exec line of the kde autostart file?

Hugues said...

Hi Jørgen,

Thanks a lot for that great fix. As I am not that much of a KDE user, I didn't spend too much time tweaking the Compiz config for it. Using the "kde-window-decorator" seems to be the way to go.


Anant Shrivastava said...

You can also check my blog entry which simply tells you about xorg.conf entries you need to create or change.

I am in process of creating a configuration wizard for Compiz.

You can check it here.

Anonymous said...

Hi, I've followed the instructions here and at
for my ATI X1400, since which, when I run


I get

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.0.6650 (8.39.4)

but when I run

compiz --replace --fast-filter

I get

/usr/bin/compiz.real: GLX_SGIX_fbconfig is missing
/usr/bin/compiz.real: Failed to manage screen: 0
/usr/bin/compiz.real: No manageable screens found on display :0.0

palka said...

Thank you very much! I managed to install everything smooth and clean on first attempt :)
Compiz looks sooo sweet ^^

Francisco said...

Hi there, thanks for the howto.

I have a fresh Debian etch install, and following your steps I installed compiz, but whenever I start it with 'compiz --replace --fast-filter', windows lose their decorations, and that's it.

I've already tried removing the compiz directory under .gconf, without success. Any ideas?

David said...

I install compiz 0.5.2 on debian but couldn't get borders or effects either. This post solved it:

Francisco said...

Thanks David, that solved it for me too.

Hugues said...

Thanks David for that link, and big thanks to everyone for their participation!

Anonymous said...

Dude, you're the man!! I've tried many other tutorials, but yours is the only one that fixed my broken compiz!!



Anonymous said...

Hi I'm Kirikù!!
Many Thanks to you it works great!!!
I've read many forum to make compiz run in Debian on my aspire 3684 whit intel 945GM.
Thank you a lot :)

Anonymous said...


Debian Etch

Device "ATI Technologies Inc RC410 [Radeon Xpress 200]"

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

Section "Files"

# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "dbe"

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "hu"

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"

Section "Monitor"
Identifier "SyncMaster"
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
Option "DPMS"

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"

Section "Device"
Identifier "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Driver "ati"
BusID "PCI:1:5:0"

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "XAANoOffscreenPixmaps" "true"

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 4
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 8
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 15
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 16
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 24
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24

Section "DRI"
Mode 0666

Section "Extensions"
Option "Composite" "Enable"

kapanpun said...


Richard said...


i've searched hi & lo for a solution like this!

was ready to give up on etch; now everything works.

thank you hughes

solarismania said...

I'm using geforce 7300GS. Can i use AIGLX ?

Nomad said...

Really valuable post - nice to see Google have 'stickyed' it :-)

Some things I can add:
From a barebones Squeeze install i.e. command line login & so manual install of xorg, gnome-core, etc ...
(sidenote I'm using a NVIDIA 7950 GTX SLI but just using one for now --- but for setting up the card from scratch I found these links to be most useful: )

...and we're back
It seems from a minimal package install Compiz doesn't play nice until you have these in your(mine anyway) system too:

vova-206 said...

Great!Thanks!Huge thanks!!!I had sex with compiz for about 3 hours and then i found this post and...Voila!Everything works fine!By the way,as my videocard has only 64MB of vram(less than 128 recommended) i turned Triple Buffer to 'false',and everything is still ok.But what is the best is that windows borders are here now!Thanks!

V4H!D said...

Thank you for this solution.
But I have one problem, when i have type "glxinfo | grep direct" command receive this output:
direct rendering: No
This is compiz-check(version 0.4) output:
Gathering information about your system...

Distribution: Debian GNU/Linux (5.0.3)
Desktop environment: GNOME
Graphics chip: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)
Driver in use: openchrome
Rendering method: AIGLX

Checking if it's possible to run Compiz on your system...

Checking for texture_from_pixmap... [ OK ]
Checking for non power of two support... [ OK ]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]
Checking for hardware/setup problems... [ OK ]

Something potential problematic has been detected with your setup:
Warning: Detected driver is not on Compiz' whitelist.

Would you like to know more? (Y/n)

Your driver is not known to work with Compiz and thus may be blacklisted on
certain distributions.

How can change "glxinfo | grep direct" command output?

Anonymous said...

Tank you!!! :)

worked very nice!