> This page is for NVIDIA AI Enterprise: VMware Deployment Guide.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/ai-enterprise/deployment/llms.txt.

## Ubuntu

Run the below command to verify if Nouveau is loaded:

```bash
lsmod | grep nouveau
```

Output:

```bash
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:

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

Regenerate the kernel initramfs:

```bash
sudo update-initramfs -u
```

And reboot your system:

```bash
sudo reboot
```

## RHEL

Run the below command to verify if Nouveau is loaded:

```bash
sudo nano /etc/default/grub
```

Output:

```bash
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:

```bash
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.

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

Reboot your system:

```bash
sudo systemctl reboot
```

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

```bash
lsmod | grep nouveau
```