How to enable desktop effects with ATI driver Cassandra

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to enable desktop effects with ATI driver Cassandra

Postby Neo4 on 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"
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection

* 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
use-xgl
Save the following script as: /etc/X11/Xsession.d/91Xgl

# This file is sourced by Xsession(5), not executed.

STARTXGL=
XGL="/usr/bin/Xgl"
XGL_OPTIONS=":1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer"

if grep -qs ^use-xgl "$OPTIONFILE"; then
if [ -x "$XGL" ]; then
STARTXGL=yes
fi
if [ -r /tmp/.X1-lock ]; then
xglpid=`cat /tmp/.X1-lock`
if [ -d /proc/$xglpid ]; then
echo "Xgl already running"
STARTXGL=
fi
fi
fi

if [ -n "$STARTXGL" ]; then
$XGL $XGL_OPTIONS &
DISPLAY=:1
fi

# 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/
Last edited by Neo4 on Fri Jun 15, 2007 6:30 pm, edited 1 time in total.
Neo4
Level 1
Level 1
 
Posts: 39
Joined: Mon Feb 05, 2007 10:03 am

Linux Mint is funded by ads and donations.
 

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

Well - for Cassandra Beryl is already there....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Tutorials

Who is online

Users browsing this forum: sadhu and 6 guests