Friday, January 28, 2011

ATI Radeon HD6000 series drivers for Linux

I recently decided to splash out and buy myself an ATI 6950 graphics card as it supports OpenGL 4.1 and I want to write programs that use the latest features. Anyway, after a few weeks of not even using he card due to the lack of Linux drivers for the 6900 series, this week ATI finally released Catalyst 11.1 with support for the new cards.

I was a little too eager to get it installed which resulted in a blank screen after reboot. However, the usual combo of Ctrl + Alt + F3 then running the un-installer got everything back to normal.
/usr/share/ati/fglrx-uninstall.sh
The problem was that as this was a fairly new system, I had not yet installed gcc or the kernel-devel packages. So for anyone out there that is having problems setting up their ATI graphics card under Linux, specifically Fedora, these steps may be of some help.

Before you install Catalyst there are a few bits you'll need. You'll need to be ROOT and it would be a good idea to update your system but not essential. You do however need gcc and the kernel-devel packages mentioned above. The kernel-devel package will add the relevant files for your current kernel version in:
/usr/src/kernels/
So for example, typing uname -r I could see my kernel version was 2.6.35.10-74.fc14.x86_64, so once I installed the kernel-devel package:
yum install kernel-devel
I had the following folder:
/usr/src/kernels/2.6.35.10-74.fc14.x86_64/
The Catalyst installer will also need the gcc compiler so make sure that is also installed:
yum install gcc
Download the ati-driver-installer-11-1-x86.x86_64.run file from the ATI/AMD website. Then navigate to the file using the terminal. You will need to make the file executable before you can run it so use:
chmod 755 ati-driver-installer-11-1-x86.x86_64.run
Then run the file:
./ati-driver-installer-11-1-x86.x86_64.run
That's it, you should be good to go. You will need to reboot your system for the changes to take effect. Before you do however it is a good idea to take a quick look at the log file for errors:
/usr/share/ati/fglrx-install.log

No comments: