Configuring a nVidia graphics chip for Linux

Author(s)

Bill Giannikos

Introduction

This guide will help you configure the proprietary nvidia module for Linux. We will not be covering open source nv module included with Xorg because it's configuration is normally handled automatically by most Linux distributions.

Important Notes

Licensing Issues

NVIDIA provide their own license for their driver. You will need to read and accept this license before proceeding. You can read this license here.

Installing the NVIDIA driver

CentOS/Red Hat Enterprise Linux 5.0

The nvidia driver is not included with CentOS/Red Hat Enterprise Linux 5.0 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.

If you are not currently using the ATrpms repository then, as root, add the following lines to the bottom of your /etc/yum.conf file:

[atrpms]
name=CentOS $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

Then execute the following command (this will install the 9755 driver, the version number will change with new releases):

yum install nvidia-graphics9755-kmdl-`uname -r`nvidia-graphics9755

You can now configure Xorg to use the nvidia driver by following the instructions below.

Debian GNU/Linux 4.0 (Etch)

Debian include parts of the nvidia driver in both the 'contrib' and 'non-free' repositories. You will need to enable both of these to install this driver.

Then, as root, execute the following command:

apt-get install build-essential nvidia-glx module-assistant nvidia-kernel-common
m-a update
m-a prepare
m-a a-i nvidia

You can now configure Xorg to use the nvidia driver by following the instructions below.

Fedora Core 6

The nvidia driver is not included with Fedora Core 6 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.

If you are not currently using the ATrpms repository then, as root, add the following lines to the bottom of your /etc/yum.conf file:

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

Then execute the following command (this will install the 9755 driver, the version number will change with new releases):

yum install nvidia-graphics9755-kmdl-`uname -r`nvidia-graphics9755

You can now configure Xorg to use the nvidia driver by following the instructions below.

Fedora 7

The nvidia driver is not included with Fedora 7 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.

If you are not currently using the ATrpms repository then, as root, add the following lines to the bottom of your /etc/yum.conf file:

[atrpms]
name=Fedora $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

Then execute the following command (this will install the 9755 driver, the version number will change with new releases):

yum install nvidia-graphics9755-kmdl-`uname -r`nvidia-graphics9755

You can now configure Xorg to use the nvidia driver by following the instructions below.


Discussion

Andreas K, 2008/11/13 09:32

Installing Nvidia on Fedora 9 32 bit

Download the latest drivers from NVidia
first install kernel-devel and binutils:
yum install -y kernel-devel binutils
then to go tty1
press Ctrl+Alt+F1
logging as root
stop X : init 3
Then in the same directory that just ou download the drivers run them with:
sh NVIDIA…………………………………
follow the instructions and your done.

Jared, 2008/08/22 16:00

Inspiron 1520 Kunbuntu Video problem

I recently installed Kubuntu 2.6.29-24-generic kernel on my Inspiron 1520 and I am having an issue installing the video drivers. The driver from Nvidia returned an error and the nv default driver is less operational than I would like. I am assuming that it is equipped with the 8400M GS card but dont know how to find out since I am very new to linux. Any help at all with this would be greatly appreciated. Thank you very much.

vss, 2007/10/11 11:04

Installed linux driver from nvidia

Installer downloaded from http://www.nvidia.com/object/linux_display_ia32_100.14.09.html
Requires gcc and kernel-devel

yum install gcc kernel-devel

and then followed instruction.

Fedora Core 7

vss, 2007/10/11 08:00

Tried atrpm.repo to install nvidia drivers however it does not work

I installed the Fedora Core 7 on Dell Latitude D630 using ftp installation.

1. The installation did not detect the DVD drive.
2. The X could not detect the video driver.
3. Sound card does not seem to work.

Following the instruction on this page to install nvidia driver from atrpms did not for me. The /etc/X11/xorg.conf file did not contain the “Module” section. When I added it and rebooted the X windows did not come up. When I did a startx, the system crashed and on reboot the system displayed a message that the “system overheated” .

lspci shows:
nVidea unknown card 042d

appreciate any pointers.
vss

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
configuring_a_nvidia_graphics_chip_for_linux.txt · Last modified: 2009/02/12 03:48 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 Linlap.com and other authors