How to Install ATI Catalyst on Slackware Linux


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:

NOTE: If 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:

$cp /home/adam/Downloads/ati-driver-installer-10-12-x86.x86_64.run /usr/src

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:

$init 3

You will now be presented with nothing but a Linux command line. Log in as root and cd to the /usr/src directory:

$cd /usr/src

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):

$sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg

After this command is ran running ls *.tgz should output the following:

$ls *.tgz
fglrx-module-8.801-x86_64-1_kernel_2.6.33.4.tgz  fglrx-x750_64a-8.801-x86_64-1.tgz

Now we need to install the packages. This is achieved by running the following command:

$installpkg fglrx-module-8.801-x86_64-1_kernel_2.6.33.4.tgz fglrx-x750_64a-8.801-x86_64-1.tgz

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 script:

$aticonfig --initial

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):

$gunzip /lib/modules/2.6.33.4/external/fglrx.ko.z

Then finally run this command:

$depmod -a

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:

$fglrxinfo

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

If you have any question or problems please let me know and I’ll do my best to help you out.


About Adam Thompson

An enigma wrapped in a riddle, Adam is a mysterious character. Said to be part cyborg, Adam is known for his superhuman abilities with technology and science. Adam is a Linux guru who designs and builds operating systems for giggles.
  • Pingback: Tweets that mention How to Install ATI Catalyst on Slackware Linux | LOTP -- Topsy.com

  • Pingback: A Review of Slackware Linux | LOTP

  • Teddy Parks

    I never thought I’d see the day when I was reading a Slackware tutorial from a Ubuntu user. Nevertheless, I’m glad to see you branched away from that wretched “distro” and moved to a real one. Gratz.

    • http://lotphelp.com Adam Thompson

      I use a lot of different distros. For the longest time I was using Arch Linux as my primary desktop. Before that it was Gentoo ;)

      • Oscar

        Is This tutorial valid for also Zenwalk is based slackware?

        • http://lotphelp.com Adam Thompson

          This should work for all Slackware derivatives. 

  • Cdkoth

    I just bought this graphics card (64 bit driver)and tried to install on Slackware 13.1 (64 bit)following the above instructions however the boot process results in a screen that rather looks like like the old atari tennis game from the 70′s. So now to troubleshoot. There was no login prompt just a very old style small square cursor for the mouse and an underscore flashing in the top left of the screen. So I rebooted without the graphics card and reset the run level back to 3, not to start x so that I can at least view the log files and see where the issue may be. There were no problems following the instructions, they were great but need to troubleshoot now.

    • http://lotphelp.com Adam Thompson

      Are you absolutely certain you used the right driver for your graphics card? 

  • Akgulozcan

    Here is the easiest way http://www.youtube.com/watch?v=A7knXebI3Vo. Also works on 64bit PC’s

    • http://lotphelp.com Adam Thompson

      For some reason I could never get the installer to run properly on Slackware. That’s why I used the above method. I can say that this method most certainly is easier though. 

  • Casaxa

    I tried it on slackware64 13.1 and I get a freeze. With ati 12.4 drivers.

  • Dragos_dracool

    it’s working nice ;) thnx

  • Pingback: Slackware 14.0 - Blackscreen after 'startx' and unfunctional keyboard

  • Amritpal

    Thank you for this article.  I applied the latest drivers for the Radeon HD 6400M on the HP4530s running Slackware 14 (32 bit).  Worked a treat.  Prior to installing the driver (and then using the AMD Catalyst Control Centre), the fans were working very hard using up a lot of the battery and not giving me more then 1 hour.  Now, it’s back to 3 hours (much like the Windows partition.
    Much better! 

  • Lasse

    Thank you. I was trying to install Slackware 14 on a ThinkPad E135, and was almost giving up. I downloaded and installed
    amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.zip
    with the aid of these instructions. After install it did not work directly. But when I desperately had created a new xorg.conf file with the xorgsetup command, the graphics showed up. Hurray!!

    After this I fixed the sound by modifying the file /usr/share/alsa/alsa.conf
    “defaults.ctl.card 0″ was changed to “defaults.ctl.card 1″ and
    “defaults.pcm.card 0″ was changed to “defaults.pcm.card 1″