企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 安装nvida驱动 ### 添加 nvidia repository ``` $ sudo add-apt-repository ppa:graphics-drivers/ppa $ sudo apt update ``` ### 选择驱动版本并安装 ``` $ ubuntu-drivers devices ``` 显示可用的驱动版本,例如: ``` driver : nvidia-410 - third-party free driver : nvidia-415 - third-party free driver : nvidia-418 - third-party free driver : nvidia-384 - distro non-free driver : nvidia-430 - third-party free recommended driver : xserver-xorg-video-nouveau - distro free builtin ``` ### 如果要安装 410 版本,就用如下命令 ``` $ sudo apt install nvidia-410 ``` 也可以选择 415, 418 等其他驱动版本。 上边显示的驱动可能会有变化,例如这样(中间多了 "driver" 字样) ``` driver : nvidia-driver-410 - third-party free driver : nvidia-driver-415 - third-party free driver : nvidia-driver-440 - third-party free recommended driver : nvidia-driver-430 - third-party free driver : nvidia-driver-390 - third-party free driver : nvidia-driver-435 - third-party free driver : xserver-xorg-video-nouveau - distro free builtin ``` 依然安装对应的驱动,例如 ``` $ sudo apt install nvidia-driver-410 ``` ### 重启 **重启**,然后看看系统设置中的附加驱动中是否添加了 nvidia 的驱动,如下