First things first. With a recent ATI card you must use Xgl. It will not work with AIGLX. The Free radeon driver doesn't support these newer cards. This leaves you with resorting to the proprietary ATI driver (fglrx). This driver doesn't support the Xorg composite extension which is required for AIGLX to work. It's ok, Xgl isn't that much harder to setup.
* Install the proprietary ATI driver
apt-get install xserver-xorg-video-ati
* Activate the driver in /etc/X11/xorg.conf (Composite must be disabled for direct rendering to work)
Identifier "ATI Technologies, Inc. ATI Default Card"
Option "DesktopSetup" "horizontal"
Option "Composite" "0"
* Verify direct rendering works
glxinfo | grep direct
Should be yes
* Install Xgl
apt-get install xserver-xgl
* Activate Xgl
The Ubuntu Site has other options, but my method of using the Xsession is a lot cleaner.
Add the following line to: /etc/X11/Xsession.options
Save the following script as: /etc/X11/Xsession.d/91Xgl
# This file is sourced by Xsession(5), not executed.
XGL_OPTIONS=":1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer"
if grep -qs ^use-xgl "$OPTIONFILE"; then
if [ -x "$XGL" ]; then
if [ -r /tmp/.X1-lock ]; then
if [ -d /proc/$xglpid ]; then
echo "Xgl already running"
if [ -n "$STARTXGL" ]; then
$XGL $XGL_OPTIONS &
# vim:set ai et sts=2 sw=2 tw=80:
* Here you can use the default compiz installation just by activating it in the Desktop Effects panel in System -> Preferences.
in http://www.kittypee.com/2007/05/07/desk ... ati-beryl/