LINUX GPU 驱动安装简易步骤

By | 1月 19, 2021

lsmod | grep nouveau    #disable nouveau

vi /etc/modprobe.d/blacklist-nouveau.conf

blacklist nouveau options nouveau

modeset=0

alias nouveau off

update-initramfs -u (Ubuntu)

dracut -f (rhel/centos)

reboot

sudo apt-get install build-essential

sudo systemctl stop lightdm or gdm

sudo ./NVIDIA-Linux-x86_64-410.71-grid.run –no-opengl-files

modprobe nvidia

nvidia-smi