Penguin
Blame: NvidiaDriverHowto
EditPageHistoryDiffInfoLikePages
Annotated edit history of NvidiaDriverHowto version 8, including all changes. View license author blame.
Rev Author # Line
1 AristotlePagaltzis 1 To get the most out of Nvidia graphics cards, you need to download the drivers from [nvidia | http://www.nvidia.com/object/linux.html]. Because of Nvidia's licencing, these usually can not be included in Linux distributions. Most distros come with the [Free] nv driver. This works well but only provides basic functionality. It doesn't do 3D graphics acceleration, so can not support some games.
5 zcat(1) 2
8 AristotlePagaltzis 3 If you're running [Ubuntu] you should install the <tt>linux-restricted-modules-~*-nvidia</tt> and <tt>nvidia-glx</tt> [Package]s, as described on the [Ubuntu wiki | https://wiki.ubuntu.com/BinaryDriverHowto/Nvidia]. If you have an older TNT/TNT2/GeForce2 card you will want <tt>linux-restricted-modules-~*-nvidia-legacy</tt> and <tt>nvidia-glx-legacy</tt> packages instead. You might also want the <tt>nivdia-settings</tt> package which adds things like gamma correction to the control panel, or the <tt>nvclock</tt> package if you want to try overclocking your graphics card.
1 AristotlePagaltzis 4
5 !! Preparation
6
8 AristotlePagaltzis 7 Read the README file available from Nvidia. It has lots of detail on installation and troubleshooting.
1 AristotlePagaltzis 8
8 AristotlePagaltzis 9 To install the drivers, you will probably need the [Kernel] source files. The driver needs components customised for your particular kernel. Although the installer has some of these for common kernel versions, it usually needs to make one for your kernel, and for this it needs the kernel source. Unless you are short on disk space, it is probably a good idea to have the kernel source installed anyway, as it may be needed to build other software. Make sure the kernel source matches the kernel version you are using. You can check this using these commands (this example is from [Mandriva]).
1 AristotlePagaltzis 10
11 <verbatim>
8 AristotlePagaltzis 12 $ uname -r
1 AristotlePagaltzis 13 2.6.8.1-12mdk-i686-up-64GB
14 $ rpm -qa | grep kernel
15 kernel-2.6.8.1.12mdk-1-1mdk
16 kernel-source-2.6-2.6.8.1-12mdk
17 </verbatim>
18
19 !! Installation
20
8 AristotlePagaltzis 21 To install the drivers, you need to shut down the [XServer], run Nvidia's script, edit the X configuration file, and restart the [XServer]. Here it is again, in a bit more detail.
1 AristotlePagaltzis 22
8 AristotlePagaltzis 23 # Log out of X (via [KDE] or [GNOME] or whatever) and change to a Linux terminal (Ctrl-Alt-F1).
24 # Log in as [root | SuperUser].
3 PeterHewett 25 # Shut down the [XServer] by issuing <tt>init 3</tt>.
1 AristotlePagaltzis 26 # Run the installer: <tt>sh NVIDIA-Linux-x86-1.0-6629-pkg1.run</tt>. (Make sure you've changed to the right directory, obviously.)
27 # Accept the licence (if you agree), and follow the instructions. If this fails, read the README file again, carefully. Also check the installer log file, <tt>/var/log/nvidia-installer.log</tt>, for any error messages.
28 # Change the X configuration, usually <tt>/etc/X11/XF86Config</tt> or <tt>/etc/X11/xorg.conf</tt> according to instructions in the README. Typically you'll change <tt>Driver "nv"</tt> to <tt>Driver "nvidia"</tt>, add <tt>Load "glx"</tt> in the Modules section and remove <tt>Load "dri"</tt> and <tt>Load "GLcore"</tt> from it.
29 # Start the [XServer] back up: <tt>init 5</tt>
30
31 You can now run <tt>glxgears</tt> in a console to see if it worked.
32
33 !! Troubleshooting
34
35 If the [XServer] doesn't start, you typically get a black screen or drop back to the command line. Be sure to check the server messages, and if necessary, the log file (<tt>/var/log/XFree.0.log</tt> or <tt>/var/log/Xorg.0.log</tt>).
2 JohnMcPherson 36
8 AristotlePagaltzis 37 If you use a "vanilla" 2.6.9 LinuxKernel, you will probably need Nvidia driver version 1.0-6629 or later. 6111 and 5336 failed to compile against 2.6.9 for me (JohnMcPherson) due to a symbol that is no longer exported to modules by the kernel.
4 JohnMcPherson 38
39 !!Support for older cards
5 zcat(1) 40
8 AristotlePagaltzis 41 Sometime in the 0.7xxx series, Nvidia dropped support for TNT, TNT2 and older GeForce2 cards from their unified driver. If you have one of these cards you have to use a ["legacy" driver |http://www.nvidia.com/object/linux_display_ia32_1.0-7174.html].
42
43 !!! See also
44
45 * NvidiaTwinView
46 * SqueezeNotes
6 AristotlePagaltzis 47
48 ----
49 CategoryHowto

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach()