CentOS NVIDIA Graphics driver installation

Source: Internet
Author: User

If the system CPU is not i3, i5, i7, use the following methods to install the driver normally. Otherwise, the Nivida video card will not be enabled after entering the system, and the system is enabled by default for Intel integrated graphics. At present, the Linux system such as CentOS does not support this dual graphics mode very well, can be set to disable integrated graphics in the BIOS:

Thinkpad settings, only with the explicit not set

BIOS---Config---Display inside the two options need to change the following settings

Graphics Device [Discrete grap]

OS Detection for NVIDIA Optimus [Disabled]

Another master borrowed Bumblebee can solve the problem of dual graphics driver, can refer to:
https://www.centos.org/forums/viewtopic.php?t=7303
http://bumblebee-project.org


1, according to the specific model of NVIDIA graphics card, download the driver from the official website. Download the driver to a directory other than Chinese characters.

2, installation and compilation environment: GCC, Kernel-devel, kernel-headers

[Email protected] ~]# yum-y install gcc kernel-devel kernel-headers

3. Modify the/etc/modprobe.d/blacklist.conf file to prevent the Nouveau module from loading

Method: Add blacklist nouveau, comment out blacklist NVIDIAFB

[Email protected] ~]# vim/etc/modprobe.d/blacklist.conf

...

# blacklist NVIDIAFB

...

Blacklist nouveau

...

4, modify the/etc/inittab, the system boot into the init 3 text mode:

Change the last line "Id:5:initdefault:" to "Id:3:initdefault:" (without quotation marks)

Note: 5 represents the default entry to the X-window graphical interface when the system starts, and 3 indicates the default entry to terminal mode.

[Email protected] ~]# Vim/etc/init

5. Restart

[email protected] ~]# reboot

6. Enter the directory where the driver is located and start the installation

[Email protected] ~]#./nvidia-linux-x86-331.20.run

During installation, follow the prompts to select Accept,yes or OK to complete the installation:

If you are prompted for an older driver, ask whether to delete the old driver and select Yes;

If the hint is missing such a module (modules), ask whether to download the Internet, select No;

If prompted to compile the module, ask whether to compile, choose OK;

If you are prompted to modify xorg.conf, ask whether to allow, choose Yes;

The next step is to wait for the installation to complete.

7, modify the/etc/inittab, make the system boot into the init 5 graphical interface mode

Change the last line "Id:3:initdefault:" to "Id:5:initdefault:"

8. Restart

[[Email protected] ~] #reboot

This article is from the "Technology and Life" blog, please be sure to keep this source http://lytzl.blog.51cto.com/7786989/1637919

CentOS NVIDIA Graphics driver installation

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.