Howto Install NVidia drivers In Debian or Ubuntu -aka- Getting 3D in Debian or Ubuntu with NVidia Installing the proprietary NVidia drivers in Debian (or Ubuntu, a Debian spin-off) is surprisingly easy. Not as easy as they'd be if they were open-source, but I digress... STOP! This thread is outdated and is here for historical purposes only. Please read the bottom of this post under the heading "EDIT". Requirements: Your kernel headers must matched your installed kernel. If you roll your own kernels, this is already handled. Otherwise, use the command: Code: uname -a ...to identify your running kernel, and use your package manager to install the corresponding kernel header package. Make sure the build-essential meta package is installed, which allows the drivers to compile in the first place. Code: apt-get install build-essential If you do build your own kernels, leave out the Riva FB drivers, and do build the appropriate AGPart module if you have an AGP architecture. Steps to install: Download NVidia's Linux drivers and save them someplace where you'll remember them later. Save anything you're working on and log out of your desktop session. Go to a virtual terminal (ALT+CTRL+F1) Login as root Note: In Ubuntu, you are already root... sort of. Yes, I know, this is dumb. To get full root in Ubuntu, run the following command: Code: sudo su - Terminate your graphical user environment. There are a few ways to do this; the easiest is to Code: /etc/init.d/kdm stop if you're using the KDE display manager, Code: /etc/init.d/gdm stop if you're running the Gnome display manager, or if you're using the X display manager: Code: /etc/init.d/xdm stop Navigate to the directory where you downloaded your drivers earlier. Note: If you don't know how to do this part, you need to first go over the absolute basics: Absolute basics ...you can always post here if you need help with something specific, but please at least read that first if you're having trouble navigating in a non-graphical environment. Install the NVidia drivers with the following command: Code: sh NVIDIA-Linux-x86-1.0-9629-pkg1.run --x-module-path=/usr/lib/xorg/modules/ -aqNX ...where "NVIDIA-Linux-x86-1.0-9629-pkg1.run" should be the actual name of the NVidia driver you're trying to install. Tip: You can start typing the name of the file, then hit the TAB key and your system will automatically complete the filename for you. That makes it a lot easier to type long filenames without making typos. Once you've got the new drivers installed, just start your display manager back up and logout of your virtual terminal. Here are the commands to do so with KDM, GDM and XDM respectively: Code: /etc/init.d/kdm start && exit Code: /etc/init.d/gdm start && exit Code: /etc/init.d/xdm start && exit To test your new 3D Drivers, log back in to a desktop session and run the following command in a terminal: Code: glxinfo | grep render Note: the "|" is a pipe symbol, not an "i" or an "L". You should see something similar to the following: Code: direct rendering: [B]Yes[/B] OpenGL renderer string: GeForce 6800 GT/AGP/SSE/3DNOW! GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, ...If "Direct Rendering" reads as "yes", congratulations! If not, feel free to post here, and we'll see what we can do to help you out. *EDIT* OK, this thread is completely obsolete! For Debian users, I recommend avoiding my silly little script and instead using the excellent sgfxi, which will automatically download and install the ideal graphics drivers for your NVidia or ATI video card. To install it, simply do the following as root: Code: cd /usr/local/bin;wget -Nc smxi.org/sgfxi;chmod +x sgfxi To execute the script, simply drop to a VT and run the command 'sgfxi' as root. Or if you prefer to be able to install the drivers with a normal user account, you could do something like this: Code: :~# visudo ...and add a line like this: Code: %video ALL=/usr/local/bin/sgfxi Then you'd be able to install the drivers by dropping to a VT, then running Code: sudo sgfxi NOTE: This script is for real Debian distros only, *not* for Ubuntu. If Ubuntu users don't like their distro's way of packaging drivers, I've heard good things about the Envy script.