Your Ad Here
Follow jechemuy on Twitter

Friday, April 22, 2011

Manually Installing AMD ATI Graphics/Video Driver on Ubuntu

For those people not happy about their AMD ATI Graphics/Video Card driver for some reason, there is a way to install the proprietary drivers from AMD ATI. This procedure allows you to manually build your driver from the latest Catalyst package release which is Catalyst 11.3.

Before starting the process you would need to deactivate the current driver if you are using the one from Hardware Drivers (jockey) before proceeding.
WARNING: IF IT AIN'T BROKEN DON'T FIX IT

First you need to install the prerequisite packages (this is all done in terminal):

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0

IMPORTANT: If you are using the x86_64 architecture (64 bit), be sure to install "ia32-libs" before proceeding!

sudo apt-get install ia32-libs

Download the latest Catalyst package from the official AMD website using the command below. The 
package contains both the 32-bit and 64-bit driver.

cd ~/; mkdir catalyst11.3; cd catalyst11.3/
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-3-x86.x86_64.run

Then you would need to create .deb packages from the package you have downloaded with the following command.

sudo sh ati-driver-installer-11-3-x86.x86_64.run --buildpkg Ubuntu/lucid

***change lucid (as this is what I'm currently using) to the current release you have

You would then need to install the .deb packages that you have created.

sudo dpkg -i fglrx*.deb

Next is to generate a new /etc/X11/xorg.conf file. Before you do this, back up your current xorg.conf if you have one. Back Up xorg.conf with the following command.

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

You would then need to create a new generic configuration file with the following command.

sudo aticonfig --initial –f

Go to Administration>Systems>Hardware Drivers and activate the driver.

Reboot.

Run the following command in terminal to check if your new Catalyst driver is installed.

fglrxinfo

If for some reason there are problems that you encounter or the resolutions has not changed you can run this command to force the use of the new xorg config file.

sudo aticonfig --input=/etc/X11/xorg.conf --tls=1

If you encounter an error on aticonfig you can check the link for other troubleshooting options:

I f for some reason you need to reinstall the driver because of errors encountered, you can run this is terminal to remove the driver packages that may have been left behind from the previous install.

sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx

For more troubleshooting and for other releases:

0 comments:

Click Here!

Post a Comment