既采用离线安装方式:
-
开机进入bios中,将bios中将boot里将secureboot 设置成disable ,F10保存 (安全启动或是安全引导关闭)
-
执行命令: sudo apt-get remove --purge nvidia-* (卸载nvidia显卡驱动)
-
执行命令: sudo vim /etc/modprobe.d/blacklist.conf 打开配置文件,在文件的末尾添加以下字段:blacklist nouveau (将不加载nouveau驱动)
-
执行命令更新黑名单: sudo update-initramfs -u
-
执行命令:lspci|grep -i vga 查看型号
-
查到的型号
1e04
,根据型号查找驱动软件版本这里(此是链接可跳转)转换为具体的型号 -
-
点击jump后
-
-
查到NVIDIA 型号为
RTX 2080 Ti
,再到英伟达官网下载页面下载 -
-
-
sudo NVIDIA-***.run --no-x-check --no-nouveau-check --no-opengl-libs 执行
-
执行安装过程中的一些选项如下:
The distribution-provided pre-install script failed! Are you sure you want to continue? 选择 yes 继续
Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later? 选择 No 继续
Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up. 选择 NO 继续
安装过程中会询问是否安装32位的,选择 NO 继续
reboot