Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howtos:hardware:proprietary_graphics_drivers [2012/10/02 15:53 (UTC)] rinias [Sources] Made original source more precise. |
howtos:hardware:proprietary_graphics_drivers [2016/12/09 04:52 (UTC)] reedych |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <!-- Reviewed 20130119 by Hazel --> | ||
====== Proprietary Graphics Drivers ====== | ====== Proprietary Graphics Drivers ====== | ||
- | Although the X.org X11 graphical system provides many drivers, supplying at least 2D video acceleration for most video cards, if a system is equipped with a GPU from AMD (ATI) or nVIDIA, | + | The X.Org X11 graphical system provides many drivers, supplying at least 2D video acceleration for most video cards; however, if a system is equipped with a GPU from AMD (ATI) or nVIDIA, proprietary binary drivers can be downloaded from the web sites of both these vendors and installed. |
The aim of this article is to outline the various methods of installation and configuration of these proprietary drivers in Slackware. | The aim of this article is to outline the various methods of installation and configuration of these proprietary drivers in Slackware. | ||
Line 7: | Line 8: | ||
===== AMD (ATI) Catalyst Driver Installation and Configuration ===== | ===== AMD (ATI) Catalyst Driver Installation and Configuration ===== | ||
- | AMD are dropping support | + | AMD are dropping support |
+ | |||
+ | **Note:** the driver will not work on 14.2 because Catalyst supports only Xorg 1.17 and 3.19 (or no?). | ||
=== Download ==== | === Download ==== | ||
- | Note that the installer will compile a driver (fglrx) and it needs the kernel modules and source packages to be installed. The following steps are valid for both the UI and the [[howtos: | + | Note that the installer will compile a driver (fglrx) and it needs the '' |
=== Installation ==== | === Installation ==== | ||
Line 21: | Line 24: | ||
After downloading, | After downloading, | ||
- | | + | |
Next, switch to root with: | Next, switch to root with: | ||
- | | + | |
CD to the folder which contains the ' | CD to the folder which contains the ' | ||
Line 32: | Line 35: | ||
# sh amd-driver-installer-VERSION-x86.x86_64.run | # sh amd-driver-installer-VERSION-x86.x86_64.run | ||
| | ||
- | The installer will collect data about your system and will prompt for either an automatic installation or to create a distribution specific package. Select distribution specific package here as it can be managed by Slackware' | + | The installer will collect data about your system and will prompt for either an automatic installation or to create a distribution-specific package. Select distribution-specific package here, as it can then be managed by Slackware' |
When prompted to select a distribution, | When prompted to select a distribution, | ||
Line 45: | Line 48: | ||
=== Configuration ==== | === Configuration ==== | ||
- | You will need to reboot the system for it to make use of the new drivers | + | You will need to reboot the system for it to make use of the new drivers. Before |
| | ||
blacklist radeon | blacklist radeon | ||
blacklist radeonhd | blacklist radeonhd | ||
- | Next you can create a new Xorg configuration file by running: | + | Next you can create a new X.Org configuration file by running: |
# aticonfig --initial -f | # aticonfig --initial -f | ||
- | Xorgs does not usually require ''/ | + | X.Org does not usually require |
Option " | Option " | ||
- | If there were no errors and the driver was installed successfully, | + | If there were no errors and the driver was installed successfully, |
=== Testing ==== | === Testing ==== | ||
Line 64: | Line 67: | ||
After rebooting, you can test the drivers by running: | After rebooting, you can test the drivers by running: | ||
- | | + | |
This should display rotating gears that run smoothly without glitches. | This should display rotating gears that run smoothly without glitches. | ||
- | === Automatic un/install ==== | + | You can also run: |
- | If you chose to install the package automatically and you need to uninstall the drivers, you can run the installer with this argument: | + | $ glxinfo |
+ | |||
+ | Have a look at the first few lines of output to see if DRI is enabled. If it is not, then you need to do a bit more work, because the package creation built into the ati installer is quite old (pre official 64bit Slackware) and some files need to be moved around to make it work on the 14.1 version of Slackware. A package for slackbuilds.org that fixes the problem is being worked on, but in the meantime you can try a manual solution posted [[http:// | ||
+ | |||
+ | === Automatic un-install ==== | ||
+ | |||
+ | If you chose to install the package automatically and you need to uninstall the drivers, you can run the installer with an additional '' | ||
# sh amd-driver-installer-VERSION-x86.x86_64.run --uninstall | # sh amd-driver-installer-VERSION-x86.x86_64.run --uninstall | ||
Line 77: | Line 86: | ||
#/ | #/ | ||
| | ||
- | <note important> | + | <note important> |
Line 84: | Line 93: | ||
==== Installation via SlackBuilds.org ==== | ==== Installation via SlackBuilds.org ==== | ||
- | Edward Koenig maintains the libvdpau, nvidia-driver and nvidia-kernel packages at [[http://slackbuils.org|SlackBuilds.org]] | + | Edward Koenig maintains the libvdpau, nvidia-driver and nvidia-kernel packages at [[http://slackbuilds.org/|SlackBuilds.org]] |
- | All three packages are required to have a functioning nVIDIA driver. The nvidia-kernel package builds the kernel module, the nvidia-driver package builds the X.org driver and contains the OpenGL implementation as well as the COMPAT32 libraries for use on a [[slackware: | + | All three packages are required to have a functioning nVIDIA driver. The nvidia-kernel package builds the kernel module, the nvidia-driver package builds the X.Org driver and contains the OpenGL implementation as well as the COMPAT32 libraries for use on a [[slackware: |
=== '' | === '' | ||
- | The first step in the driver installation is to blacklist the '' | + | The first step in the driver installation is to blacklist the '' |
+ | |||
+ | Blacklisting the nouveau driver | ||
=== Package Installation === | === Package Installation === | ||
Line 125: | Line 136: | ||
=== Downloading the Appropriate nVIDIA Driver Binary Installer === | === Downloading the Appropriate nVIDIA Driver Binary Installer === | ||
- | The first step is to download the appropriate driver from the [[ http:// | + | The first step is to download the appropriate driver from the [[http:// |
=== Disabling the nouveau Module === | === Disabling the nouveau Module === | ||
Line 170: | Line 181: | ||
* After building the module on x86_64 systems, the installer will prompt about installing nVIDIA' | * After building the module on x86_64 systems, the installer will prompt about installing nVIDIA' | ||
* Next, in the case of a previous version, the installer will uninstall the module. | * Next, in the case of a previous version, the installer will uninstall the module. | ||
- | * Once no conflicting X and, should this option be chosen, OpenGL files are found, the module will be installed. | + | * Once no conflicting X and (should this option be chosen) OpenGL files are found, the module will be installed. |
* The program will then offer to use the nvidia-xconfig utility to modify the xorg.conf file to reflect the change in video drivers. This utility often works, but could possibly change other values in xorg.conf. It does, however, back-up the original file to "''/ | * The program will then offer to use the nvidia-xconfig utility to modify the xorg.conf file to reflect the change in video drivers. This utility often works, but could possibly change other values in xorg.conf. It does, however, back-up the original file to "''/ | ||
* A prompt confirms that the driver installation is complete and was a success, at which point the program exits to the console. | * A prompt confirms that the driver installation is complete and was a success, at which point the program exits to the console. | ||
Line 203: | Line 214: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||