DeskTux

Linux on Desktops

User Tools

Site Tools


misc:nvidia

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
misc:nvidia [2018-11-02 12:15] – [Official Nvidia drivers] jensmisc:nvidia [2018-11-02 17:36] – [GCC errors] jens
Line 14: Line 14:
 An extensive description is given in the [[http://wiki.debian.org/NvidiaGraphicsDrivers|Debian Wiki]], especially the section about [[http://wiki.debian.org/NvidiaGraphicsDrivers#Use_DKMS|DKMS]] is important. Here I'll just summarize the steps for your (and my) convenience that are specific for Debian Squeeze (and the latest Nvidia cards). An extensive description is given in the [[http://wiki.debian.org/NvidiaGraphicsDrivers|Debian Wiki]], especially the section about [[http://wiki.debian.org/NvidiaGraphicsDrivers#Use_DKMS|DKMS]] is important. Here I'll just summarize the steps for your (and my) convenience that are specific for Debian Squeeze (and the latest Nvidia cards).
  
-Just install some necessary tools: <code>apt-get install linux-headers-`uname -r` nvidia-kernel-dkms</code>+Just install some necessary tools: <code>apt install linux-headers-`uname -r` nvidia-kernel-dkms</code>
  
 That's it already, you can now continue with the [[#X_configuration|configuration of X]]! That's it already, you can now continue with the [[#X_configuration|configuration of X]]!
Line 33: Line 33:
 === Installing the driver === === Installing the driver ===
   - Download the latest driver [[http://www.nvidia.com/object/unix.html|from Nvidia]], afterwards make it executable.   - Download the latest driver [[http://www.nvidia.com/object/unix.html|from Nvidia]], afterwards make it executable.
-  - Install your Kernel headers and some build tools. On Debian (Etch or later) run this: <code>apt-get install linux-headers-`uname -r` build-essential dkms</code>+  - Install your Kernel headers and some build tools. On Debian (Etch or later) run this: <code>apt install linux-headers-`uname -r` build-essential dkms</code>
   - Invoke the Nvidia Installer. I, personally, prefer a few options as well (see [[#Explanations_of_the_used_options|below]] for an explanation): <code>./NVIDIA-Linux-<version>.run -a -n -s --dkms</code>   - Invoke the Nvidia Installer. I, personally, prefer a few options as well (see [[#Explanations_of_the_used_options|below]] for an explanation): <code>./NVIDIA-Linux-<version>.run -a -n -s --dkms</code>
   - Edit your X-configuration file (usually ''/etc/X11/[[xorg.conf]]''), I don't trust the script to do that accurately. See [[#X_configuration|below]] for the steps.   - Edit your X-configuration file (usually ''/etc/X11/[[xorg.conf]]''), I don't trust the script to do that accurately. See [[#X_configuration|below]] for the steps.
Line 95: Line 95:
   - Install gcc-4.1: <code>apt-get install gcc-4.1</code>   - Install gcc-4.1: <code>apt-get install gcc-4.1</code>
   - Use at least version 177.76 of the driver. Beta-drivers can be found on [[http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14|the Nvidia forums]]   - Use at least version 177.76 of the driver. Beta-drivers can be found on [[http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14|the Nvidia forums]]
-  - Run this to install: <code>export CC=gcc-4.1; ./NVIDIA-Linux-<version>.run -a -n -N -s</code>+  - Run this to install: <code>export CC=gcc-4.1; ./NVIDIA-Linux-<version>.run -a -n -s --dkms</code>
  
 To check which compiler version was used to compile your kernel you can use the command ''cat /proc/version'' (look for the part named "gcc version"). To check which compiler version was used to compile your kernel you can use the command ''cat /proc/version'' (look for the part named "gcc version").
misc/nvidia.txt · Last modified: 2019-11-09 08:26 by jens