Difference between revisions of "How to Install the proprietary NVIDIA driver"

From Salix OS
Jump to: navigation, search
m (swapped over order of detailed instructions to refelct the order they need to be done in)
Line 1: Line 1:
You need to close all running applications during the installation of the driver. Therefor if you want to be able to view these instructions while working through them you should open them on another computer or create a printout.
+
You need to close all running applications during the installation of the driver. Therefore if you want to be able to view these instructions while working through them you should open them on another computer or create a printout.
  
 
==Prerequisites==
 
==Prerequisites==
Line 6: Line 6:
 
* [[#Installation of kernel sources|Install the kernel sources]]
 
* [[#Installation of kernel sources|Install the kernel sources]]
  
==Installation==
+
==Blacklisting nouveau==
# Close all your applications and save all date. Also log out if possible.
+
Run the following as root:
# Now press ''Ctrl + Alt + F1'' to go to the first terminal in text-mode and login as ''root''.
+
slapt-get --update
# Now terminate X by dropping to runlevel 3 (text-mode only). <br/><pre>init 3</pre>
+
slapt-get -i xf86-video-nouveau-blacklist
# Now change to the folder where you saved the NVIDIA driver. Replace <youruser> with your user name. <br/><pre>cd ~<youruser></pre>
+
 
# Now start the installer. <br/><pre>sh NVIDIA-Linux-*.run</pre>
+
When finished you need to reboot your computer. Afterwards you need to continue with the [[#Installation of kernel sources|installation of kernel sources]] or if you have already installed the kernel-source package, you can go directly to the [[#Installation|installation of the driver]].
# 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. <br/><pre>init 4</pre>
+
  
You can tweak some settings with the ''nvidia-settings'' tools now, if you need/want to. To be able to save changes to your ''xorg.conf'' you need to run the ''nvidia-settings'' tool as root.
 
  
 
==Installation of kernel sources==
 
==Installation of kernel sources==
Line 22: Line 20:
 
  slapt-get -i kernel-source
 
  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 [[#Installation|install the actual driver]].
+
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 you're finished [[#Installation|install the actual driver]].
  
==Blacklisting nouveau==
+
==Installation==
Run the following as root:
+
# Close all your applications and save all data. Also log out if possible.
slapt-get --update
+
# Now press ''Ctrl + Alt + F1'' to go to the first terminal in text-mode and login as ''root''.
slapt-get -i xf86-video-nouveau-blacklist
+
# Now terminate X by dropping to runlevel 3 (text-mode only). <br/><pre>init 3</pre>
 +
# Now change to the folder where you saved the NVIDIA driver. Replace <youruser> with your user name. <br/><pre>cd ~<youruser></pre>
 +
# Now start the installer. <br/><pre>sh NVIDIA-Linux-*.run</pre>
 +
# 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. <br/><pre>init 4</pre>
  
When finished you need to reboot your computer. Afterwards you need to continue with the [[#Installation of kernel sources|installation of kernel sources]] or if you have already installed the kernel-source package, you can go directly to the [[#Installation|installation of the driver]].
+
You can tweak some settings with the ''nvidia-settings'' tools now, if you need/want to. To be able to save changes to your ''xorg.conf'' you need to run the ''nvidia-settings'' tool as root.

Revision as of 16:53, 15 May 2012

You need to close all running applications during the installation of the driver. Therefore if you want to be able to view these instructions while working through them you should open them on another computer or create a printout.

Contents

Prerequisites

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.


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 you're finished install the actual driver.

Installation

  1. Close all your applications and save all data. Also log out if possible.
  2. Now press Ctrl + Alt + F1 to go to the first terminal in text-mode and login as root.
  3. Now terminate X by dropping to runlevel 3 (text-mode only).
    init 3
  4. Now change to the folder where you saved the NVIDIA driver. Replace <youruser> with your user name.
    cd ~<youruser>
  5. Now start the installer.
    sh NVIDIA-Linux-*.run
  6. Follow the instructions of the installer. Select to update your xorg.conf. Otherwise you need to do so manually.
  7. When finished return to X by going to runlevel 4.
    init 4

You can tweak some settings with the nvidia-settings tools now, if you need/want to. To be able to save changes to your xorg.conf you need to run the nvidia-settings tool as root.