[HOWTO]Get the NVIDIA drivers working


Recommended Posts

This process of getting NVIDIA drivers to work with the new 2.6.x kernels

was made on a debian system, but can be easily adapted to other systems aswell.

*The x on the kernel package you need to replace with yor kernel version.

-First you need to get some packages from yor update system (using apt here) :

apt-get install kernel-headers-2.6.x kernel-source-2.6.x gcc nvidia-glx

-After those packages are installed via yor update system you will go and compile

yor kernel from those sources you've just downloaded (go here for details on howto compile a kernel) and in the compilation of the kernel you must disable rivafb module otherwise it may conflict with the NVIDIA drivers.

-Boot up with yor new compiled and installed kernel.

-Get the latest NVIDIA driver from their page: http://www.nvidia.com/object/linux.html

When downloading of the drivers is complete open a terminal and (as root) type telinit 1

it will take you to into single user console mode.

-Run the NVIDIA installer ./NVIDIA-Linux-x86-1.0-6629-pkg1.run

-After the instalation process is finished it's time to edit yor /etc/X11/XF86Config-4

or /etc/X11/X.org file if you are using the X.org Xserver. nano /etc/X11/XF86Config-4 or nano /etc/X11/X.org

Comment or remove Load "GLcore" and Load "dri", also be sure to have Load "glx" on it.

Should look like this after editing:

Section "Module"

#	Load	"GLcore"
#	Load	"dri"
         Load     "glx"

Replace the "nv" driver with the "nvidia" driver on the Device section:

Section "Device"
	Identifier	"NVIDIA Corporation"
	Driver  "nvidia"

In this section you can also have twinview enabled, and a bunch of other options (read the README file from NVIDIA for more details).

Save the file (on nano you press Ctrl+X to save files).

-Edit the file /etc/udev/links.conf ( nano /etc/udev/links.conf ) and add the following lines:

M nvidia0 c 195 0
M nvidia1 c 195 1
M nvidiactl c 195 255

(this is done because the nvidia devs don't get created fast enough by udev at startup)

Save the file.

Start yor Xserver by typing startx and enjoy a full hardware accel Linux desktop.

*/suggestion: apt-get install tuxracer :) */

Link to comment
https://www.neowin.net/forum/topic/293937-howtoget-the-nvidia-drivers-working/
Share on other sites

  • 1 month later...
I run kernel 2.6.8, do I have to download the kernel I have or can I get the latest one?

585747214[/snapback]

Well, you already have the kernel binaries. To run the script from nVidia, I think it is likely you will need your kernel sources as well, so it can compile, if needed. The nVidia script is supposed to check for a pre-compiled source, but I don't think I have ever had it find one in the past for me...

An easier (much easier) method would be to use a tool such as apt-get, yum, or other package manager of your choice to install the appropriate binary module for you. What distro are you running?

  • 2 months later...
Uh, the file /etc/udev/links.conf is not included in FC4. Tried the normal steps to install the NVidia drivers and still no luck. Here's my log and config files to see if anybody could catch any immediate errors.

Here's a Red Hat page explaining the udev task: udev Red Hat

Don't think you need to go and do all of that work in Fedora.

You only need kernel-headers for the currently running kernel, gcc to

compile the nvidia driver, and the ususal tools that are used to make kernel

modules (i believe that the kernel sources are now called kernel-devel in Fedora).

Then just run the installer, no need to compile a different kernel here.

There are also available kernel modules from yum/apt.

  • 2 weeks later...

Never mind. Someone else gave me a link where I could get actual RPM files for this and it works without any extra configurations. Going to include it with my remastering project as well as the ATI drivers, but first I gotta make time for this project.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hello, Christian Maas' XVI32 is a nice (and very small) hex editor. Speaking of hex editors, many years ago a colleague and I who both worked at Tribal Voice managed to edit a copy of the company's PowWow instant messaging client to make it behave better now that all of its lookup servers and other server-side tech was gone.  The program didn't support NAT (RFC-3022 was introduced in January 2001, the same time Tribal Voice was shuttered), but it still worked okay if you manually set up port-forwarding on your router.  The server at http://powwow.jazy.net/ hosts a copy (usual warnings about downloading and running untrusted code from random internet servers apply). I occasionally use some tools like Funduc Software's Search and Replace and Application Mover when I need to make mass-edits to text-based files or move programs with a hard-coded installation directories, respectively.  When I need to figure out the exact LCD panel inside of a laptop, EnTech Taiwan's Monitor Asset Manager is my go-to tool for that purpose. JD Design's website (now hosted on github.io) has a number of interesting freeware and shareware utilities.  I used to use their TouchPro utility to set the file timestamps on software I was mastering to match its version number (e.g., version 3.00 of a program had all of its files dates set to 3:00AM, and so forth). Karenware has a number of interesting freeware utilities, too. Regards, Aryeh Goretsky  
    • I still use HexChat! Not really as ancient as the 1994 AutoCAD above my post, but I have never found anything better to replace it. Yes we still operate an IRC server https://www.neowin.net/irc/ 😛 
    • At work we still have a couple of people that use a version of AutoCAD LT purchased in 1994. This predates Windows 95 and works fine on versions of Windows up to XP. Its long since run in an locked down isolated XP VM, accessible via RDP. I did install LibreCAD for them, however they said it was just too different to get to grips with. In all fairness one of them is now 75 and the other is almost 60.
    • On my music making (non internet) PC Sony Acid Pro 7.0 Adobe Audition 2015 Korg Legacy Collection Windows 7 SP1
    • Anyway to download these versions without being on the Experimental builds?
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!