Guide for installing ATI graphic card driver,following it can let your ATI graphic card works perfectly.

1.Check if your ATI graphic on following list:

Laptop:
Mobility™ Radeon™ X1800
Mobility™ Radeon™
X1600
Mobility™ Radeon™ X1400
Mobility™ Radeon™
X1300
Mobility™ Radeon™ X1200
Mobility™ Radeon™
X1100
Mobility™ Radeon™ X800
Mobility™ Radeon™
X700
Mobility™ Radeon™ X600
Mobility™ Radeon™
X300
Mobility™ Radeon™ X200
Mobility™ Radeon™
9800
Mobility™ Radeon™ 9600
Mobility™ Radeon™
9550
Mobility™ Radeon™ 9500
Mobility™ Radeon™
Xpress 1200 series
Mobility™ Radeon™ Xpress 1100 series
Mobility™
Radeon™ Xpress 200 series

PC:
Radeon™
HD 2900 series
Radeon™ HD 2600 series
Radeon™ HD
2400 series
Radeon™ X1900 series
Radeon™ X1800
series
Radeon™ X1600 series
Radeon™ X1300 series
Radeon™
X850 series
Radeon™ X800 series
Radeon™ X700
series
Radeon™ X600 series
Radeon™ X550/X300
series
Radeon™ 9800 series
Radeon™ 9700 series
Radeon™
9600 series
Radeon™ 9550 series
Radeon™ 9500
series
Radeon™ Xpress1200 series
Radeon™ Xpress
1100 series
Radeon™ Xpress 200 series

If your card isn’t in the list,I am sorry this tuturial is not suite for you.

2. Installing necessary packages:

sudo apt-get update

sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf l ibstdc++5 linux-headers-generic -y

3.Download the updatest ATI graphic driver :

download the driver to your main folder from here:
http://ati.amd.com/support/drivers/linux/linux-radeon.html

4.Create driver deb packages:

sudo bash yourdriverfilename.run –buildpkg Ubuntu/gutsy
After running above command,you will get 4 .deb packages like:
xorg-driver-fglrx-dev_8.433-1_i386.deb,
xorg-driver-
fglrx_8.433-1_i386.deb,fglrx-amdcccle_8.433-1_i386.deb,fglrx-kernel-
source_8.433-1_i386.deb

5.Move old fglrx module to blacklist:

Gnome user:
gksu gedit /etc/default/linux-restricted-modules-common

KDE user:
kdesu kate /etc/default/linux-restricted-modules-common

Change the
“DISABLED_MODULES” to be DISABLED_MODULES=”fglrx”,and then save file
and exist.

6.Install driver .deb packages:


sudo dpkg -i xorg-driver-fglrx_8.433-1*.deb
fglrx-kernel-source_8.433-1*.deb fglrx-amdcccle_8.433-1*.deb


(replace the above deb packages’ filename with yours deb packages’
filenames)

and then run this command:
sudo apt-get install -f

7.Remove old fglrx modules:


sudo rm /usr/src/fglrx-kernel*.deb

If Ubuntu say the file can not be found,leave it alone and just continue to run this command:

sudo apt-get -f install


8.Complie kernel modules:

sudo module-assistant prepare,update

sudo module-assistant build,install fglrx -f

sudo depmod -a
Run above commands one by one,after that,you
still need to check if there is “fglrx.ko”created in /lib/modules/$(uname
-r)/misc

9.Run below two commands:

sudo mkdir /lib/modules/$(uname -r)/volatile

sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname
-r)/volatile/fglrx.ko

10.Load the fglrx module:

sudo gedit
/etc/init.d/ati-module-fix

and then add below lines in:

#!/bin/sh -e

# For loading ATI display drivers

ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname
-r)/volatile/fglrx.ko

exit 0

Save and exit,and then run this command:

sudo chmod ugo+x
/etc/init.d/ati-module-fix


sudo update-rc.d ati-module-fix defaults 29

“29″ is the GDM serial
number,you can get your GDM serial number by running “ls /etc/rc2.d/”
and then use the numeral showed on terminal minus 1=your GDM serial
number.

11.Restart your computer and then run:

sudo aticonfig
–initial


sudo aticonfig –overlay-type=Xv

12.Restart your computer again and then run:

sudo shutdown -hr now

13.Check if the driver is installed successfully by running these commands:

$ fglrxinfo


$ fgl_glxgears


$ glxinfo grep -e ‘direct’ -e ‘OpenGL’


$ glxinfo grep render


$ glxinfo head


$ Xorg -version

If suceess,you will get result like:

$ fglrxinfo
display: :0.0 screen: 0
OpenGL
vendor string: ATI Technologies Inc.
OpenGL renderer string:
RADEON X800 GTO
OpenGL version string: 2.1.7059 Release
$
glxinfo grep -e ‘direct’ -e ‘OpenGL’
direct rendering: Yes
OpenGL
vendor string: ATI Technologies Inc.
OpenGL renderer string:
RADEON X800 GTO
OpenGL version string: 2.1.7059 Release
OpenGL
extensions:
$ glxinfo grep render
direct
rendering: Yes
OpenGL renderer string: RADEON X800 GTO
$
glxinfo head
name of display: :0.0
display: :0
screen: 0
direct rendering: Yes
server glx vendor
string: SGI
server glx version string: 1.2
server
glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx
vendor string: SGI
$ Xorg -version

X
Window System Version 1.3.0
Release Date: 19 April 2007
X
Protocol Version 11, Revision 0, Release 1.3
Build Operating
System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
Current
Operating System: Linux zhu-desktop 2.6.22-14-generic #1 SMP Sun Oct 14
23:05:12 GMT 2007 i686
Build Date: 29 September 2007
Before
reporting problems, check http://wiki.x.org
to make sure
that you have the latest version.
Module Loader present
$
glxgears
46155 frames in 5.0 seconds = 9230.813 FPS
46167
frames in 5.0 seconds = 9233.256 FPS
46149 frames in 5.0
seconds = 9229.676 FPS
46162 frames in 5.0 seconds =
9232.396 FPS
46146 frames in 5.0 seconds = 9229.138 FPS
46129
frames in 5.0 seconds = 9225.787 FPS
$ fgl_glxgears
Using
GLX_SGIX_pbuffer
9818 frames in 5.0 seconds = 1963.600 FPS
10142
frames in 5.0 seconds = 2028.400 FPS
10125 frames in 5.0
seconds = 2025.000 FPS
10149 frames in 5.0 seconds =
2029.800 FPS
10128 frames in 5.0 seconds = 2025.600 FPS
10149
frames in 5.0 seconds = 2029.800 FPS

Done,good luck!