Centos7.0 how to disable TheNouveaukerneldriver

Source: Internet
Author: User
Install Nvidia graphics driver in centos7.0: disable TheNouveaukerneldriver

Download the driver from the Nvidia website and go to the text mode to directly run the installation. the following error is displayed:

ERROR: The Nouveau kernel driver is currently in use by your system. This

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

Before proceeding. Please consult the NVIDIA driver README and your

Linux distribution's documentation for details on how to correctly

Disable the Nouveau kernel driver.

The solution is as follows:

Disable Nouveau:

1) add the driver to the blacklist:/etc/modprobe. d/blacklist. conf. add the following:

Blacklist nouveau

2) use dracut to recreate the initramfs image file:

* Back up the initramfs file

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

* Recreate the initramfs file

$ Sudo dracut-v/boot/initramfs-$ (uname-r). img $ (uname-r)

3) restart the system to the text mode. init 3 can modify the/etc/inittab file init 3 to the text mode,

Init 5 is in graphic interface mode. after restart, the text mode is displayed. In fact, the font size is increased, that is, the driver is not loaded, and Nouveau is disabled successfully.

4) Check nouveau driver to ensure 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 The beginning, yum uodate can directly display The resolution of 1366X768, and The driver is installed, but not The nvidia driver. Therefore, you must exit The graphic interface and disable The Nouveau kernel driver, to 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.