Rate This Document
Findability
Accuracy
Completeness
Readability

Disabling the Nouveau Driver

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Check whether the Nouveau driver is disabled.
    lsmod |grep nouveau
    • If a command output is displayed, the Nouveau driver is not disabled. In this case, perform 3.
    • If no command output is displayed, the Nouveau driver is disabled. No further action is required.
  3. Disable the Nouveau driver.
    1. Create a disable-nouveau.conf file.
      vi /etc/modprobe.d/disable-nouveau.conf
    2. Press i to enter the insert mode and add the following content:
      blacklist nouveau
      options nouveau modeset=0
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Back up the initramfs file and create a new one.
    cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
    dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
  5. Restart the server.
    reboot