mint 20 install NVIDIA driver for 3080 via run

3080 太新 在mint里还没有驱动。只能自己手动下载run文件

 安装过程参考 https://blog.csdn.net/qq_30468723/article/details/107531062

1下载run文件

https://www.nvidia.cn/Download/index.aspx?lang=cn

设置成可执行 

sudo chmod a+x NVIDIA-Linux-x86_64-455.23.04.run

 复制到/home根目录

2 前置条件

sudo apt-get -y install build-essential
sudo apt-get install dkms

3 禁用nouveau

sudo xed /etc/modprobe.d/blacklist.conf

添加

blacklist nouveau

options nouveau modeset=0

sudo update-initramfs -u

重启

sudo reboot

检查

lsmod | grep nouveau

无内容 说明禁用成功

4 安装

进入命令行

ctrl+alt+F1

删除其他版本

sudo apt-get remove nvidia-*

安装

sudo ./
NVIDIA-Linux-x86_64-455.23.04.run -no-x-check -no-nouveau-check -no-opengl-files

选项,一定要慢一点,不要按太快,而且不简单是默认选项

第一个选继续安装

第2个dkms我选择了yes,默认是No

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?

第3个选择yes,默认是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.
选择 Yes 继续

5 安装完毕

modprobe nvidia

检查

nvidia-smi

重启

sudo reboot
原文地址:https://www.cnblogs.com/xuanmanstein/p/13891014.html