总结一个极简易的安装方法
- 正常安装ubuntu 22.04
- 正常更新软件
bash
sudo apt update
sudo apt upgrade -y
- 参考ubuntu官方网站的说明https://ubuntu.com/server/docs/nvidia-drivers-installation#/
bash
# 首先检查系统支持驱动的版本号
sudo ubuntu-drivers list
我显示的内容如下:
nvidia-driver-535-server, (kernel modules provided by linux-modules-nvidia-535-server-generic-hwe-22.04)
nvidia-driver-545-open, (kernel modules provided by nvidia-dkms-545-open)
nvidia-driver-545, (kernel modules provided by nvidia-dkms-545)
nvidia-driver-535, (kernel modules provided by linux-modules-nvidia-535-generic-hwe-22.04)
nvidia-driver-535-server-open, (kernel modules provided by linux-modules-nvidia-535-server-open-generic-hwe-22.04)
nvidia-driver-535-open, (kernel modules provided by linux-modules-nvidia-535-open-generic-hwe-22.04)
像这种情况最好就是按最高的版本来安装就没错了
bash
sudo ubuntu-drivers install nvidia:545
安装完成后,会有个提示:开启Secure Boot安装Windows和Ubuntu双系统,我也遇到了这个提示,按照操作方法:Systemtap UEFI Secure Boot Support, 来处理就好了,节省空间,我就不截图了