1.UEFI禁用secure boot(個人系統是win10主系統,引導ubuntu,安裝驅動前電腦存在win10 uefi引導問題)ubuntu
- Make sure the "OS Type" is "Windows UEFI"
- Enter "Key Management"
- Select "Clear Secure Boot keys" (You will have the option "Install default Secure Boot keys" to restore the default keys after you cleared the Secure Boot
After you cleared the Secure Boot Keys, Secure Boot will be automatically disabled. You can set the OS Type to Other OS now.網絡
(第一點能夠忽略。。)spa
2.進入root權限並sudo add-apt-repository ppa:graphics-drivers/ppa.net
3.出現Error:retrieving gpg key timed out.rest
4.根據https://www.jianshu.com/p/e2a15336f174教程,進入https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa手動添加ppablog
在ppa源文件末尾添加相關內容後點擊保存出現如下警告教程
在sudo apt-get upgrade時出現「E:dpkg被中斷,您必須手工運行 ‘sudo dpkg --configure -a’解決此問題」,輸入sudo rm /var/lib/dpkg/updates/*,再輸入sudo apt-get update,以及sudo apt-get upgradeget
5.輸入ubuntu-drivers devices //查看可安裝的驅動列表(選擇recommended那項進行安裝)it
6.sudo apt install nvidia-driver-430io
期間出現「不能鏈接到cn.archive.ubuntu.com:http:[IP:91.189.91.26 80]」
E:有幾個軟件包沒法下載,要不運行……試試?
7.到了次日換了一個網絡再次輸入sudo apt install nvidia-driver-430
8.輸入sudo reboot 重啓,重啓後感覺到桌面分辨率明顯變化,輸入nvidia-smi,nvidia-settings均有效。