Saturday, 11 July 2009

Ubuntu 9.04 64 bit and ATI Radeon drivers on T400

The ATI Radeon HD 3470 (Discreet) graphics card embedded with the Lenovo T400 seems to have generated all sorts of issues with ubuntu 9.04 64 bit. I have seen many posts that seem to conclude that your best bet with ubuntu is to choose "Integrated" from the BIOS of the machine and stick with that.
I decided to turn on convention and attempt to install the currnent 9.6 verson of ATI's Catalyst control center for the HD 3470.
After much time on google, I found the definitive "unofficial" guide to this process at:

http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide

In summary:
1) Get some libraries
$ sudo apt-get install ia32-libs
2)Get the drivers from:
http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.5〈=English
Downlaoded file is :
ati.driver-installer-9-6-x86_64.run
3) create .deb packages
sh ati.driver-installer-9-6-x86_64.run --buildpkg Ubuntu/jaunty
This takes some time so be patient!
It generates several deb files:
fglrx-amdcccle_8.620-0ubuntu1_amd64.deb
fglrx-installer_8.620-0ubuntu1_amd64.changes
fglrx-kernel-source_8.620-0ubuntu1_amd64.deb
fglrx-modaliases_8.620-0ubuntu1_amd64.deb
libamdxvba1_8.620-0ubuntu1_amd64.deb
xorg-driver-fglrx_8.620-0ubuntu1_amd64.deb
xorg-driver-fglrx-dev_8.620-0ubuntu1_amd64.deb
4) Install dkms package required to install these debs
$ sudo apt-get install dkms
5) Now, install all the debs we need necessary
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccld_*.deb
6) Now edit X server conf file:
$ sudo gedit /etc/X11/xorg.conf
7) Add the foolowing line to the Device section
Section "Device
[...]
Identifier "SOME IDENTIFIER"
[...]
Driver "fglrx"
[...]
EndSection
Save file and exit
8) Now run command:
$ sudo aticonfig --initial -f
9) Reboot
10) Login again and, in a terminal enter:
$ fglrxinfo
You should get back:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 2.1.8673
A lot of work but it means that you can use the power of your T400 graphics card to the full...

If you install fusion-icon with:
$ sudo apt-get install fusion-icon
and add it to System>Preferences>Startup applications as:
fusion-icon -n
The you can switch compiz off and on from an icon on the top panel

1 comment:

  1. Steps 6 and 7 are not necessary, step 8 does the same thing.

    ReplyDelete