ubuntu安裝nvidia驅(qū)動(dòng)安裝方法
禁止nouveau驅(qū)動(dòng)sudo chmod 666 /etc/modprobe.d/blacklist.conf
sudo gedit /etc/modprobe.d/blacklist.conf
增加
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist rivatv
blacklist nvidiafb
卸載原驅(qū)動(dòng)
sudo apt-get remove --purge nvidia-*
按alt+ctrl+F1進(jìn)控制臺(tái)
關(guān)閉圖形界面,$sudo service lightdm stop
cd指令進(jìn)入到.run文件目錄,
給.run文件賦予執(zhí)行權(quán)限, $sudo chmod a+x NVIDIA-Linux-x86_64-410.93.run
進(jìn)行安裝,$sudo ./NVIDIA-Linux-x86_64-410.93.run -no-x-check -no-nouveau -no-opengl-files
-no-x-check 安裝驅(qū)動(dòng)時(shí)關(guān)閉X服務(wù),
-no-nouveau 安裝驅(qū)動(dòng)時(shí)禁用nouveau
-no-opengl-files 只安裝驅(qū)動(dòng),不安裝opengl文件。
如果報(bào)錯(cuò):the distribution-provided pre-install script failed! 不用理會(huì),繼續(xù)m.onuomy.cn安裝。
Are you sure you want to continue? 選Yes
Would you like to register the kernel module sources with DKMS?選No
NVIDIA's 32-bit compatibility? 選No
NVIDIA x driver? 選Yes
重啟圖形
$sudo service lightdm start
驗(yàn)證是否安裝成功
$nvidia-smi
以上便是winwin7小編給大家分享介紹的ubuntu安裝nvidia驅(qū)動(dòng)的詳細(xì)操作方法!