Ubuntu下nvidia驱动安装方式

转载自:https://blog.csdn.net/Willen_/article/details/103393910

 

1.卸载驱动并重启电脑:

sudo apt-get remove --purge nvidia-*
sudo apt-get autoremove #特别重要
sudo apt-get install -f #特别重要
sudo reboot

2.如果没有添加显卡驱动源,先添加NVIDIA的源


sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

3.选择驱动版本并安装

ubuntu-drivers devices

4.显示可用的驱动版本,例如:


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

5.安装列表里的版本,用推荐的吧!

sudo apt install nvidia-430
 
sudo reboot

 

你可能感兴趣的:(安装教程)