How to solve centos7 nouveau error problem

藏色散人
Release: 2022-01-17 10:47:17
Original
4394 people have browsed it

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.
Copy after login

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

lsmod | grep nouveau
Copy after login
Copy after login

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
Copy after login

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*
Copy after login

Continue execution:

sudo vim /etc/modprobe.d/blacklist-nouveau.conf
Copy after login

Add the following statement:

 blacklist nouveau
 options nouveau modeset=0
Copy after login

Then back up Execute the original initramfs nouveau image after

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

:

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

Then restart the machine

sudo reboot
Copy after login

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

lsmod | grep nouveau
Copy after login
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!