How to enable desktop effects with ATI driver Cassandra

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Level 1
Level 1
Posts: 39
Joined: Mon Feb 05, 2007 10:03 am

How to enable desktop effects with ATI driver Cassandra

Postby Neo4 » Fri Jun 15, 2007 2:13 pm

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)

Section "Device"
Identifier "ATI Technologies, Inc. ATI Default Card"
Driver "fglrx"
Option "DesktopSetup" "horizontal"
BusID "PCI:1:0:0"
Section "Extensions"
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
xglpid=`cat /tmp/.X1-lock`
if [ -d /proc/$xglpid ]; then
echo "Xgl already running"

if [ -n "$STARTXGL" ]; then

# 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 ... ati-beryl/
Last edited by Neo4 on Fri Jun 15, 2007 6:30 pm, edited 1 time in total.

Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse » Fri Jun 15, 2007 6:21 pm

Well - for Cassandra Beryl is already there....
Don't fix it if it ain't broken, don't break it if you can't fix it

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 5 guests