结果展示:
禁用nouveau
首先确保禁用显卡自带驱动。
sudo gedit /etc/modprobe.d/blacklist.conf
在文件中添加
blacklist nouveau
options nouveau modeset=0
wq关闭保存,然后执行
sudo update-initramfs -u
重启
sudo reboot
重启,执行下面语句,如没有反馈信息则禁用完成。
lsmod | grep nouveau
查看显卡型号
lshw -numeric -C display
安装驱动,去官网下载想要安装的版本https://www.geforce.cn/drivers ,要确保之前显卡未安装驱动,安装