主要步驟為關閉xserver-卸載原有驅動-新裝驅動-開啟xserver
前提條件,ubuntu系統(tǒng)是開啟的裹驰,能夠通過22端口ssh連接隧熙。
1.關閉xserver
sudo /etc/init.d/lightdm stop
2.卸載原有驅動,分為三步
①sudo apt-get remove --purge nvidia-*
②sudo apt-get autoremove
③進入原有驅動文件夾/home/pose? 找到NVIDIA_LINUX_xxxxxx.run的
文件幻林。輸入
./NVIDIA-LINUX-XXXX.run? --uninstall
3.重新安裝驅動贞盯,命令為
./NVIDIA-LINUX-XXXX.run? --no-opengl-files
接下來會出現(xiàn)兩個選項
①The distribution-provided pre-install script failed?
選擇 Continue installation
②Install 32-Bit compatibility libraries
選擇NO?
4.打開圖形化界面
sudo /etc/init.d/lightdm start
以上為集群二號機特斯拉K40顯卡的解決方式