How to Install ATI Catalyst on Slackware Linux
2012-05-18 02:24
471 查看
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:
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 this command is ran running ls *.tgz should output the following:
Now we need to install the packages. This is achieved by running the following command:
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:
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:
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:
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
相关文章推荐
- How to Install ATI/AMD Catalyst 13.4 Linux Driver in Ubuntu 10.04
- How to install Toad on linux with Corssover
- [转载]How to Install Firefox 33 on CentOS, Redhat and Other Linux Distributions
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
- How to build and install Open vSwitch on a linux
- How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on Debian 7
- how to install apache, PHP and MySQL on Linux
- How to Install JPCap on Linux
- How to Install MySQL 5.1 Database on A Linux Server
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6
- How to Install Kali Linux on Android - Tutorial With Screenshot
- How to install and run Microsoft Windows for free on Linux
- How to Install Python 2.7.13 on Ubuntu & LinuxMint
- How to install JDK on Linux
- How To Install LAMP (Linux, Apache, MySQL, PHP) On Ubuntu 11.04/11.10/12.04
- how to install apache, PHP and MySQL on Linux 2
- How to install and configure Jabber Server (Ejabberd) on Debian Lenny GNU / Linux
- How to Install Oracle Java on Ubuntu Linux
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6 【Reliable】
- how to install apache, PHP and MySQL on Linux 3