Disabling the Nouveau Driver
Procedure
- Use PuTTY to log in to the server as the root user.
- 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.
- Disable the Nouveau driver.
- Create a disable-nouveau.conf file.
vi /etc/modprobe.d/disable-nouveau.conf
- Press i to enter the insert mode and add the following content:
blacklist nouveau options nouveau modeset=0
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Create a disable-nouveau.conf file.
- 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)
- Restart the server.
reboot
Parent topic: Configuring the Compilation Environment