1. 程式人生 > >伺服器顯示卡驅動安裝NVIDIA-1080Ti

伺服器顯示卡驅動安裝NVIDIA-1080Ti

伺服器顯示卡驅動安裝

主要參考的安裝方式:以下操作在主機中,並非使用遠端登入方式,未驗證遠端登入方式是否可行

需要:

顯示卡驅動的 *.run 檔案

As the error states, you are still running an X server. This error occurs when you try to install the Nvidia .run files while logged in.

Make sure you are logged out.Kill X server

  • Hit

    Ctrl+Alt+F1


and login using your credentials.
* kill your current X server session by typing

sudo service lightdm stop

or

sudo lightdm stop

  • Enter runlevel 3 by typing

sudo init 3

Install your *.run file.

you change to the directory where you have downloaded the file by typing for instance cd Downloads. If it is in another directory, go there. Check if you see the file when you type ls NVIDIA*
Make the file executable with chmod +x ./your-nvidia-file.run
Execute the file with

sudo ./your-nvidia-file.run

You might be required to reboot when the installation finishes. If not, run sudo service lightdm start or sudo start lightdm to start your X server again

The distribution-provided pre-install script failed! Continue installation anyway

  • 由於已經殺了X-server ,還是不行的話,出現上述報錯,這時候使用第二種方法,這種方法使用前需要先將以前的NVIDIA相關驅動刪除

sudo apt-get purge nvidia*

  • 對系統進行升級,並找到最新的NVIDIA驅動,通過:

sudo apt-get update

apt-cache search nvidia binary

  • 依照版本,選擇最新的驅動,依情況而定,並安裝:

sudo apt-get install nvidia-375

  • 最後,重啟即可:

sudo reboot