Ubuntu显卡驱动安装

NVIDIA官网下载Ubuntu版本的显卡驱动

禁止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

sudo chmod a+x NVIDIA-Linux-x86_64-XXX.run

sudo ./NVIDIA-Linux-x86_64-XXX.run -no-x-check -no-nouveau-check -no-opengl-files

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

你可能感兴趣的:(Ubuntu显卡驱动安装)