ubuntu安装nvidia驱动安装方法
禁止nouveau驱动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
卸载原驱动
sudo apt-get remove --purge nvidia-*
按alt+ctrl+F1进控制台
关闭图形界面,$sudo service lightdm stop
cd指令进入到.run文件目录,
给.run文件赋予执行权限, $sudo chmod a+x NVIDIA-Linux-x86_64-410.93.run
进行安装,$sudo ./NVIDIA-Linux-x86_64-410.93.run -no-x-check -no-nouveau -no-opengl-files
-no-x-check 安装驱动时关闭X服务,
-no-nouveau 安装驱动时禁用nouveau
-no-opengl-files 只安装驱动,不安装opengl文件。
如果报错:the distribution-provided pre-install script failed! 不用理会,继续windows.gly188.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驱动的详细操作方法!