ubuntu安裝nvidia驅(qū)動安裝方法
禁止nouveau驅(qū)動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ū)動
sudo apt-get remove --purge nvidia-*
按alt+ctrl+F1進(jìn)控制臺
關(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ū)動時關(guān)閉X服務(wù),
-no-nouveau 安裝驅(qū)動時禁用nouveau
-no-opengl-files 只安裝驅(qū)動,不安裝opengl文件。
如果報錯:the distribution-provided pre-install script failed! 不用理會,繼續(xù)allentownhummushouse.com安裝。
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
驗證是否安裝成功
$nvidia-smi
以上便是winwin7小編給大家分享介紹的ubuntu安裝nvidia驅(qū)動的詳細(xì)操作方法!