Install the NVIDIA graphics card driver in centos 5.3

Source: Internet
Author: User


1. My video card model is NVIDIA geforce 6100.
The downloaded driver is NVIDIA-Linux-x86-195.36.15-pkg1.run, placed under the/usr/softwarw directory, the type of the driver and the downloaded directory can be based on your own specific circumstances.

2. The installation must be carried out in text mode. Open the terminal and run the init 3 command. The installation will go to text mode and log on again.

3. Run CD/usr/software to enter the directory where the driver is located.

4. Execute Sh./NVIDIA-Linux-x86_64-1.0.9746-pkg2.run-

5. The installation process is very simple. Always OK or yes.

6. manually modify the/etc/X11/Xorg. conf file.

Set section "device"
Identifier "device0"
Driver "NVIDIA"
Vendorname "NVIDIA Corporation"
Endsection

Replace driver "NV" or driver "VESA" or driver "fbdev" with driver "NVIDIA"

Set section "module"
Load "DBE"
Load "extmod"
Load "type1"
Load "FreeType"
Load "Glx"
Endsection
Replace load "dri" or load "glcore" with load "Glx"

Find the modes option and manually add resolution based on the size of your display, such as "1024x768" "1280x800" "1280x768 ".

7. Restart Linux.


[Note]

Possible Errors During installation:

Error: unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
Kernel and that they are properly configured; on Red Hat Linux systems, cant. t
For example, be sure you have the 'kernel-source' RPM installed. If you
Know the correct kernel source files are installed, you may specify
Kernel source path with the '-kernel-source-path' command line option.


This indicates that the wrong kernel source is referenced. You can add parameters after the installation command.

# Sh./NVIDIA-Linux-x86-1.0-9755-pkg1.run -- kernel-source-Path =/usr/src/kernels/2.6.18-164.15.1.el5-i686/

NVIDIA
By default, the installer will go to/lib/modules/2.6.18-164.15.1.el5-i686/build to find the core source code, and this link points to/usr/src
/Kernels/2.6.18-164.15.1.el5-i686. The correct format is/usr/src/kernels/2.6.18-164.15.1.el5-i686.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.