Difference between revisions of "How to Install ATI Driver"

From Salix OS
Jump to: navigation, search
(Instruccions for installing the AMD/ATI graphics driver)
 
m (Installation)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
== Things to have ==
 
== Things to have ==
  
In order too install the AMD/ATI official driver you have to have the following:
+
In order to install the AMD/ATI official driver you will require the following:
  
- The latest driver from AMD found in this page: [http://support.amd.com/la/gpudownload/Pages/index.aspx].
+
- The latest driver from AMD found on this page: [http://support.amd.com/us/gpudownload].
  
- You should have the '''kernel-source''' and '''kernel-headers''' packages installed.
+
- You need to have the '''kernel-source''' and '''kernel-headers''' packages installed.<br>
 +
''kernel-source is not installed with the default OS. You will need to run 'slapt-get -i kernel-source' from a root terminal to install it.''
  
 
== Installation ==
 
== Installation ==
 
In a root terminal run the following command
 
In a root terminal run the following command
  
   # sh ati-driver-installer-XX.X-XXX.run --buildpkg Slackware/All
+
   # bash amd-catalyst-installer-<release>-<architecture>.run --buildpkg Slackware/Slackware
  
That should create two standard Slackware packages, one for the kernel module and another for the binary driver, instal both of them using '''installpkg'''
+
That should create one standard Slackware package for you to install using '''installpkg'''
  
   # installpkg fglrx-module-XXXXX_kernel_XXXX.tgz   #the kernel module
+
   # installpkg fglrx-<version>-<architecture>.tgz
  # installpkg fglrx-xXXXXX.tgz    #the driver itself
+
  
 
Just to be sure the driver is going to work check the '''/etc/fstab''' file to see if this line is present, if it's not add it
 
Just to be sure the driver is going to work check the '''/etc/fstab''' file to see if this line is present, if it's not add it
Line 31: Line 31:
 
== Upgrading your Kernel or mesa version==
 
== Upgrading your Kernel or mesa version==
  
If you upgrade your kernel version after installing the driver, you have to rebuild the''' kernel module''', you can do so with this command
+
If you upgrade your kernel or mesa version, you have to create a new package following the instruccions of the Installation part.
  
   # sh ati-driver-installer-XX.X-XXX.run --buildpkg Slackware/Only_Module
+
And then install the new package with '''upgradepkg'''
 +
   # upgradepkg fglrx-<version>-<architecture>.tgz
  
Then install the new package as usual
+
== Uninstalling the Drivers ==
  
  # installpkg fglrx-module-XXXXX_kernel_XXXX.tgz
+
If for whatever reason you don't want to use the drivers anymore and want to remove them first run the following command as root
  
Be sure that the kernel, kernel-sources and kernel-header versions match or you'll have a big mess.
+
  # aticonfig --uninstall
 
+
then just use '''removepkg''' to uninstall the driver package
If you upgrade your mesa libraries version you have to rebuild or just reinstall the driver --depending if you changed kernel versions too-- in order to use the ATI's OpenGL libraries needed by the driver
+
 
+
  # sh ati-driver-installer-XX.X-XXX.run --buildpkg Slackware/Only_X
+
 
+
And the installe the package new package with installpkg
+
  # installpkg fglrx-xXXXXX.tgz
+
 
+
== Uninstalling the Drivers ==
+
  
If for wathever reasson you don't want no use the drivers anymore and want to remove them just use '''removepkg''' to uninstall the kernel-module and the driver packages
+
[[Category:User Documentation|Xorg]]
If you uninstall the drivers make sure to reinstall the ''''mesa'''' package, because the ATI driver override mesa's OpenGL libraries with it's own.
+

Latest revision as of 19:13, 25 December 2013

Contents

Things to have

In order to install the AMD/ATI official driver you will require the following:

- The latest driver from AMD found on this page: [1].

- You need to have the kernel-source and kernel-headers packages installed.
kernel-source is not installed with the default OS. You will need to run 'slapt-get -i kernel-source' from a root terminal to install it.

Installation

In a root terminal run the following command

 # bash amd-catalyst-installer-<release>-<architecture>.run --buildpkg Slackware/Slackware

That should create one standard Slackware package for you to install using installpkg

 # installpkg fglrx-<version>-<architecture>.tgz

Just to be sure the driver is going to work check the /etc/fstab file to see if this line is present, if it's not add it

 tmpfs	/dev/shm	tmpfs	defaults	0	0

Configuring your system

To make the driver work you'll need an xorg.conf file. In order to create a minimal working xorg.conf file run the following command

 # aticonfig --initial

And you're ready to go, just reboot your computer and enjoy your 3D acceleration.

Upgrading your Kernel or mesa version

If you upgrade your kernel or mesa version, you have to create a new package following the instruccions of the Installation part.

And then install the new package with upgradepkg

 # upgradepkg fglrx-<version>-<architecture>.tgz

Uninstalling the Drivers

If for whatever reason you don't want to use the drivers anymore and want to remove them first run the following command as root

 # aticonfig --uninstall

then just use removepkg to uninstall the driver package