centos7.0 mounted NVIDIA Graphics driver: method to disable the Nouveau kernel driver

Source: Internet
Author: User

Will drive from the NVIDIA official website download back to enter the text mode directly run the installation, found that prompted the following error:

Error:the Nouveau Kernel Driver is currently into use by your system. This

Driver is incompatible with the NVIDIA driver, and must being disabled

Before proceeding. Please consult the NVIDIA driver README and your

Linux distribution ' s documentation for details in how to correctly

Disable the Nouveau kernel driver.

The solution is as follows:

Also close nouveau:

1 The driver into the blacklist:/etc/modprobe.d/blacklist.conf in the back to add:

Blacklist nouveau

2 use Dracut to re-establish Initramfs image file:

* Back up the Initramfs file

$ sudo mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r). Img.bak

* Re-establish the Initramfs file

$ sudo dracut-v/boot/initramfs-$ (UNAME-R). IMG $ (UNAME-R)

3 reboot system to text mode, init 3 This can modify/etc/inittab file init 3 is text mode,

Init 5 is a graphical interface pattern. After the reboot, enter the text mode, you can find that the font becomes larger, that is, the driver is not loaded, successfully disabled Nouveau

4 Check Nouveau driver ensure that it is not loaded.

$ lsmod | grep nouveau

5) Run the installation file

$ sudo./nvidia-linux-x86_64-195.36.15-pkg2.run

SH nvidia-linux-x86-275.09.07.run



Summary: At first, direct Yum Uodate can directly display the resolution of 1366x768, but it is driver-driven but not nvidia-driven, so you must exit the graphics interface and turn the Nouveau kernel driver off before you can complete the installation.

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.