Install ATI AMD Graphics Card Drivers In Ubuntu Linux
From today we’ll start a new series of articles / guides for setup a mining operation in Linux. Following are the instructions to install AMD Graphic Card drivers in Linux. We personally tested these instructions in Ubuntu 12.04 LTS setup with Sapphire 7950 Graphics card. Same instructions can be used for ATI Radeon™ HD 5000 Series to AMD Radeon™ HD 7900 Series desktop graphics card.
Instructions are divided in to two sections, first one is Ubuntu supplied fglrx catalyst. This may not give you the latest drivers, but should be safest.
NOTE: You must have the restricted repository enabled in Applications -> Ubuntu Software Center -> Edit -> Software Sources… for this to work.
Second part is dedicated to install latest / previous version of catalyst drivers manually from ATI Site.
Install Latest Stable Version Automatically
Step 1. Launch terminal and execute following commands.
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
Wait for 5-15 minutes, depending on your internet speed.
Step 2. Configure ATI Drivers with following commands
sudo aticonfig --lsa
sudo aticonfig --adapter=all --initial
Step 3. Now reboot.
Step 4. After your computer reboots, you can verify that everything worked by typing.
sudo aticonfig --adapter=all --odgt
If you see all of your GPUs listed, with “hardware monitoring enabled” next to each, you’re good to go.
Installing Catalyst Drivers Manually from AMD’s site.
Step 1. Make sure partners sources are enabled in your repository sources, simply navigate to Applications >> Ubuntu Software Center >> Edit >> Software sources >> Other software: check canonical partners.
Step 2. Install the prerequisite packages:
sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4
optional If you are using the x86_64 architecture (64 bit):
sudo apt-get install lib32gcc1
Step 3. Download the latest Catalyst package. In this tutorial we are using AMD Catalyst™ 13.6 LINUX Beta Driver. This package contains both the 32-bit and 64-bit driver.
It may take 10-20 minutes to complete the download, once your download is finished proceed the following commands.
chmod +x amd-driver-installer-catalyst-13-6-beta-x86.x86_64.run
Step 4. Create and install .deb packages with following commands.
sudo sh ./amd-driver-installer-catalyst-13-6-beta-x86.x86_64.run --buildpkg Ubuntu/precise
sudo dpkg -i fglrx*.deb
Note : If you want to install any previous driver version, simply change the URL in step three and respectively change the file name in rest of the commands. For example you can also install AMD Catalyst™ 13.4 Proprietary Linux x86 Display Driver.
(Special Thanks to cchtml wiki)