How to Install the proprietary NVIDIA driver
From Salix OS
Contents |
Prerequisites
- Download the proprietary NVIDIA driver and save it to a known location. Throughout this guide we assume you used your home directory.
- Blacklist nouveau driver
- Install the kernel sources
Installation
- Close all your applications and save all date. Also log out if possible.
- Now press Ctrl + Alt + F1 to go to the first terminal in text-mode and login as root.
- Now terminate X by dropping to runlevel 3 (text-mode only).
init 3
- Now change to the folder where you saved the NVIDIA driver. Replace <youruser> with your user name.
cd ~<youruser>
- Now start the installer.
sh NVIDIA-Linux-*.run
- Follow the instructions of the installer. Select to update your xorg.conf. Otherwise you need to do so manually.
- When finished return to X by going to runlevel 4.
init 4
Installation of kernel sources
As root run the following:
slapt-get --update slapt-get -i kernel-source
This first updates your local package cache and then installs the kernel-source package, which is quite big and thus can take a while. When your finished install the actual driver.
Blacklisting nouveau
Run the following as root:
slapt-get --update slapt-get -i xf86-video-nouveau-blacklist
When finished you need to reboot your computer. Afterwards you need to continue with the installation of kernel sources or if you have already installed the kernel-source package, you can go directly to the installation of the driver.