Home>Article>Operation and Maintenance> How to solve centos7 nouveau error problem

How to solve centos7 nouveau error problem

藏色散人
藏色散人 Original
2022-01-17 10:47:17 4252browse

centos7 nouveau error solution: 1. Check whether there is a corresponding installation of nouveau in the yum source; 2. Execute "sudo dracut -v /boot/initramfs-$(uname -r).img $(uname -r)".

How to solve centos7 nouveau error problem


The operating environment of this article: centos7 system, cuda10.2, Dell G3 computer.

How to solve the centos7 nouveau error problem?

The pitfalls of installing cuda10.2 on Centos7, how to disable nouveau

I believe many people are tortured by the cuda driver installation
Although the system will report logs.
If you install the graphical interface of centos7,
then 80% of the drivers installed by default in your system will conflict with the cuda you downloaded from the official website.
An error message will be prompted:

cuda Install of driver component failed.

At this time we need to disable nouveau.
First let's look at nouveau before using it.

lsmod | grep nouveau

If the following information is displayed:

nouveau 1622010 0 video 24520 1 nouveau mxm_wmi 13021 1 nouveau i2c_algo_bit 13413 2 mgag200,nouveau drm_kms_helper 159169 2 mgag200,nouveau ttm 99345 2 mgag200,nouveau drm 370825 5 ttm,drm_kms_helper,mgag200,nouveau i2c_core 40756 7 drm,i2c_i801,ipmi_ssif,drm_kms_helper,mgag200,i2c_algo_bit,nouveau wmi 19070 2 mxm_wmi,nouveau

Then nouveau needs to be disabled.
The first step, let us see if there is a corresponding installation in the yum source

sudo yum remove xorg-x11-driver-nouveau*

Continue execution:

sudo vim /etc/modprobe.d/blacklist-nouveau.conf

Add the following statement:

blacklist nouveau options nouveau modeset=0

Then back up Execute the original initramfs nouveau image after

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

:

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

Then restart the machine

sudo reboot

After restarting, check nouveau to see if it is successfully disabled:

lsmod | grep nouveau

Recommended Tutorial: "centos tutorial"

The above is the detailed content of How to solve centos7 nouveau error problem. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn