Ubuntu 19.04 server版本安装RTX 2070显卡驱动错误:The Nouveau kernel driver is currently in use by your system.
参考:https://tutorials.technology/tutorials/85-How-to-remove-Nouveau-kernel-driver-Nvidia-install-error.html
1 删除一切nvida驱动
sudo apt-get remove nvidia* && sudo apt autoremove
2安装依赖
sudo apt-get install dkms build-essential linux-headers-generic
3将开源驱动加入黑名单,在blacklist.conf的末尾添加
sudo vim /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
4 禁用nouveau驱动
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
5 更新并重启
sudo update-initramfs -u
reboot
sudo ./NVIDIA-Linux-x86_64-440.36.run