3 ”Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up.
选择 no
执行完成,挂载Nvidia驱动:
modprobe nvidia
复制代码
reboot,大功告成
3 更新CUDA
不必要卸载已经安装的老CUDA版本。以上只是将驱动更改为支持新版本CUDA,对于旧版本CUDA依旧支持。
下载必要的版本 CUDA Toolkit Archive | NVIDIA Developer
sudo sh cuda_11.3.0_465.19.01_linux.run
复制代码
[@localhost software]$ sh cuda_11.8.0_520.61.05_linux.run
Log file not open.
cuda_11.8.0_520.61.05_linux.run: line 524: 2195323 Segmentation fault (core dumped) ./cuda-installer
┌─┐
│ End User License Agreement │
│ - │
│ │
│ NVIDIA Software License Agreement and CUDA Supplement to │
│ Software License Agreement. Last updated: October 8, 2021 │
│ │
│ The CUDA Toolkit End User License Agreement applies to the │
│ NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA │
│ Display Driver, NVIDIA Nsight tools (Visual Studio Edition), │
│ and the associated documentation on CUDA APIs, programming │
│ model and development tools. If you do not agree with the │
│ terms and conditions of the license agreement, then do not │
download or use the software.
Last updated: October 8, 2021.
Preface
-
─
Do you accept the above EULA? (accept/decline/quit):