For the past few days I have been enjoying the power and stability of Slackware Linux. Coming from using Ubuntu as my primary system where everything was installed at the click of a button it took a little bit of tinkering to get my ATI Radeon HD 6450 graphics
card to work. For these instructions I am going to use my specific graphics card as an example, but the process for installing the ATI catalyst is the same for all graphics cards. The first thing you need to do is download a copy of the latest driver from
the ATI website:http://support.amd.com/us/gpudownload/Pages/index.aspx.
Follow the prompts to meet your particular needs:
you aren’t sure what exact ATI graphics card you have run the following command: lspci.
Look for a line that looks something like this:
02:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO [Radeon HD 4650]
Obviously your entry will look different depending on what graphics card you have. The part in the brackets is all that we are really concerned about here. In order to compile the graphics driver you will need a copy of the Linux kernel source code in your
/usr/src directory. Now that you have downloaded the file move it to the /usr/src directory. For me the command looks like this, but you may need to adjust it to fit your needs:
The rest of the install process will have to be carried out without running the X server. If you are like me and already have X setup to run automatically at boot time the easiest way to exit X is to simply enter Linux into run level 3. This is done simply
by running this command:
You will now be presented with nothing but a Linux command line. Log in as root and cd to the /usr/src directory:
You may have noticed that the package downloaded from the ATI website is a .run file. In order to install the ATI catalyst we will need to convert it to a Slackware package. To do this we run the following command (again, adjust as needed):
After running this everything should be correctly installed, but there are still a few more steps in order to get everything working just right. First off, X needs to have some basic configuration performed. This is made easy by just running the ATI configuration
This should generate a file called amdpcsdb.default in the /etc/ati directory. You will need to run the following command so that the configuration can be used:
$cp /etc/ati/amdpcsdb.default /etc/ati/amdpcsdb
Now you need to actually unzip the module file. To do this run the following command (the path to the file may need to be adjusted depending on what kernel version you’re running):
Then finally run this command:
You should now be able to reboot your system and boot up into X using the new graphics drivers. To test your install after rebooting run:
The output should look something like this:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4600 Series
OpenGL version string: 3.3.10362 Compatibility Profile Context