VMware vSphere Deployment Guide
VMware vSphere Deployment Guide (0.1.0)

Disable Nouveau

Run the below command to verify if Nouveau is loaded:

Copy
Copied!
            

lsmod | grep nouveau

Output:

Copy
Copied!
            

nouveau 1949696 0 mxm_wmi 16384 1 nouveau video 49152 1 nouveau i2c_algo_bit 16384 2 mgag200,nouveau ttm 106496 2 drm_vram_helper,nouveau drm_kms_helper 184320 4 mgag200,nouveau drm 491520 6 drm_kms_helper,drm_vram_helper,mgag200,ttm,nouveau wmi 32768 5 wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau

If you see the above output, follow the below steps to disable Nouveau:

Copy
Copied!
            

cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf blacklist nouveau options nouveau modeset=0 EOF

Regenerate the kernel initramfs:

Copy
Copied!
            

sudo update-initramfs -u

And reboot your system:

Copy
Copied!
            

sudo reboot

Run the below command to verify if Nouveau is loaded:

Copy
Copied!
            

sudo nano /etc/default/grub

Output:

Copy
Copied!
            

GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet modprobe.blacklist=nouveau" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true

If you see the above output, follow the below steps to disable Nouveau:

Copy
Copied!
            

echo "blacklist nouveau" > /etc/modprobe.d/denylist.conf echo "options nouveau modeset=0" >> /etc/modprobe.d/denylist.conf

Regenerate the grub config file and add a boot menu entry for EFI firmware configuration.

Copy
Copied!
            

sudo dracut --force grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

Reboot your system:

Copy
Copied!
            

sudo systemctl reboot

After the reboot has completed, check to ensure that the nouveau driver has been disabled:

Copy
Copied!
            

lsmod | grep nouveau

Previous Overview
Next Running with Kubernetes
© Copyright © 2021-2024, NVIDIA Corporation. Last updated on Sep 17, 2024.