使用
nvidia-detect -v
获取显卡驱动信息,例如是410,则去官网查询显卡驱动:https://www.nvidia.com/Download/index.aspx?lang=en-us
使用wget命令下载:
wget xxx
下载好后赋予权限
chmod 777 NVIDIA-Linux-x86_64-410.93.run
然后运行
./NVIDIA-Linux-x86_64-410.93.run
运行报错:
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is
incompatible with the NVIDIA driver, and must be disabled before proceeding.
Please consult the NVIDIA driver README and your Linux distribution's
documentation for details on how to correctly disable the Nouveau kernel driver.
WARNING: One or more modprobe configuration files to disable Nouveau are
already present at:
/usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf,
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf. Please be
sure you have rebooted your system since these files were written.
If you have rebooted, then Nouveau may be enabled for other
reasons, such as being included in the system initial ramdisk or in
your X configuration file. Please consult the NVIDIA driver README
and your Linux distribution's documentation for details on how to
correctly disable the Nouveau kernel driver.
这是因为没有关闭Nouveau