nvidia驱动官网:Download The Official NVIDIA Drivers | NVIDIA
选择自己显卡和体系版本,并选择符合驱动
目前最新保举安装驱动为Linux x64 (AMD64/EM64T) Display Driver 570.124.04 | Linux 64-bit
下载驱动,在终端中运行
sudo sh ./NVIDIA-Linux-x86_64-570.124.04.run
复制代码
之后根据提示举行选择
Multiple kernel module types are available for this system. Which would you like to use?
选择 NVIDIA Proprietary
Install NVIDIA's 32-bit compatibility libraries?
选择 No
这两个留意一下,其他要么Continue要么OK
安装完成后,重启电脑
- LD_LIBRARY_PATH includes /usr/local/cuda-11.8/lib64, or, add /usr/local/cuda-11.8/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-11.8/bin
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 520.00 is required for CUDA 11.8 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file: