And here's how I managed to get it to run on Ubuntu 7.10 Gutsy Gibbon
Remove Xgl (whoohoo) (if present)
sudo apt-get remove xserver-xgl
Remove the old driver (if present)
Go to System → Administration → Restricted Drivers Manager and choose disable.
Alternatively remove it yourself:
sudo apt-get remove xorg-driver-fglrx
Delete old fglrx debs (might not be necessary)
sudo rm -f /usr/src/fglrx-kernel*.deb
Blacklist old fglrx module
sudo gedit /etc/default/linux-restricted-modules-common
And insert fglrx - it should look like this then:
DISABLED_MODULES="fglrx"
Alternatively remove the linux-restricted-modules-* package for your kernel (that's what I did, because I don't need them - don't do this, if you use an Atheros chip).
You may want to reboot now. I did.
Download the driver installer to your home folder
wget http://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run
Install necessary packages
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic
Create .deb packages
bash ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy
Install .deb packages
sudo dpkg -i fglrx-kernel-source_8.42.3-1_i386.deb xorg-driver-fglrx_8.42.3-1_i386.deb
Compile kernel module
sudo m-a prepare,update
sudo m-a build,install fglrx-kernel
sudo depmod
Set up the driver
sudo gedit /etc/X11/xorg.conf
Make sure "fglrx" is set for the Driver in the Section "Device".
And if present, remove (whoohoo again)
Section "Extensions"
Option "Composite" "0" # or "Disable"
EndSectionAs well as
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Reboot
Enjoy
SKIP_CHECKS=yes compiz
(necessary because fglrx is not on Ubuntu's whitelist)
If it works, do this:
mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
This will create a file in your home folder which makes sure that Compiz will run without the above prefix from then on.
