latest ATI drivers in Ubuntu

First edit xorg.conf and change

Driver "fglrx"

to

Driver "vesa"

and add

Section "Extensions"
Option "Composite" "Disable"
EndSection


install everything required to build a debian kernel module
(note: older fglrx needs to be uninstalled)

apt-get update
apt-get install module-assistant build-essential wget fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)

Now add

DISABLED_MODULES="fglrx"

to/etc/default/linux-restricted-modules-common
(just in case!)

now go and get the latest driver package (note get the .run file not the rpm)
then build:

chmod +x ati-driver-installer-8.32.5-x86.x86_64.run ./ati-driver-installer-8.32.5-x86.x86_64.run --buildpkg Ubuntu/edgy
dpkg -i xorg-driver-fglrx_8.32.5-1_i386.deb fglrx-kernel-source_8.32.5-1_i386.deb fglrx-control_8.32.5-1_i386.deb
rm /usr/src/fglrx-kernel*.deb
sudo mkdir -p /usr/src/modules/fglrx/linux
sudo touch /usr/src/modules/fglrx/linux/config.h

rebuild the kernel module

module-assistant prepare
module-assistant update
module-assistant build fglrx
module-assistant install fglrx depmod -a
aticonfig --initial aticonfig --overlay-type=Xv

(note: some further editing of xorg.conf may be necessary to actually set the default screen and card to the new drivers, check this then reboot)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: