[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

nVidia Video Cards


The information from this page is outdated. A better approach is to use the binary drivers packaged and provided by the ELRepo repository

The ELRepo packages are:

1. Hardware

Latest cards list go to http://www.nvidia.com/object/IO_18897.html.

Legacy card list go to http://www.nvidia.com/object/IO_32667.html.

2. Problem

Nvidia 3D Acceleration

3. In-Depth explanation


4. Output of `lspci -v`

Example output (I only have a GeForce3 card, which is well supported):

01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3] (rev a3) (prog-if 00 [VGA])
        Subsystem: ASUSTeK Computer Inc. AGP-V8200 DDR
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Memory at ddc80000 (32-bit, prefetchable) [size=512K]
        Expansion ROM at dfef0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0

5. Solution

Go to Nvidia Unix Drivers Homepage for Linux.

Select your Architecture and your graphics card. Non-legacy or Legacy

Download the "Nvidia Installer".

Login as root or use sudo for the following.

Edit /etc/inittab.

Find the line that reads




If you have the first version, change the "5" to a "3" before rebooting.

After that you should reboot your system.

Login as root or use sudo for the following.

yum install kernel-devel gcc

Change to the directory where you downloaded the Nvidia installer and make it executable with chmod +x filename

Run the installer.

After it has completed, you can verify this with running startx. If X doesn't start, please look at the output it spews at you.

If X does run, you can change the line in /etc/inittab to


Then X will be started automatically at bootup.

6. Workaround

Is there a workaround for that hardware, like using CentOS 3 instead of CentOS 4?

7. Notes

This place intentionally left blank. But you might have something to fill this space with. Please don't get offensive here, or only if you absolutely have to.

2023-09-11 07:19