环境:deepin系统20.8
硬件信息:CPU:E5 2686 V4 (两颗)
GPU:NVIDIA Tesla P100(两块)
内存:64GB
一、安装显卡驱动
确定是否安装NVIDIA驱动:
shuchengyang@shuchengyang-PC:~/开发/VTK/html$ nvidia-smi bash: nvidia-smi:未找到命令
说明此时未安装显卡驱动。
确定显卡类型:
shuchengyang@shuchengyang-PC:~/开发/VTK/html$ lspci | grep NVIDIA 02:00.0 3D controller: NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] (rev a1) 83:00.0 3D controller: NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] (rev a1)
去官网下载相应显卡驱动:
https://www.nvidia.cn/geforce/drivers/
https://www.nvidia.cn/Download/index.aspx?lang=cn
下载驱动。。。。。。。。。。。。。。。。。。
安装驱动:
运行.run文件,修改权限,支持可执行权限
sudo chmod a+x NVIDIA-Linux-x86_64xxx.run
注:此处安装驱动,必须以管理员身份安装!!!!!!!!!!
注意:不能使用远程安装驱动,需退出X server
sudo ./NVIDIA-Linux-x86_64xxx.run
shuchengyang@shuchengyang-PC:~/Downloads$ sudo ./NVIDIA-Linux-x86_64-525.85.12.run Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 525.85.12......................................................................................................................................................................................................................................................................................................................................................................................................................................................................'ang-PC:~/Downloads$ sudo ./NVIDIA-Linux-x86_64-525.85.12.run Verifying archive integrity... OK '.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
出现
Verifying archive integrity... OK
说明安装成功!
验证驱动安装:
shuchengyang@shuchengyang-PC:~$ nvidia-smi Thu Feb 23 01:21:22 2023 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 525.85.12 Driver Version: 525.85.12 CUDA Version: 12.0 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla P100-PCIE... Off | 00000000:02:00.0 Off | 0 | | N/A 18C P0 25W / 250W | 0MiB / 16384MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ | 1 Tesla P100-PCIE... Off | 00000000:83:00.0 Off | 0 | | N/A 18C P0 25W / 250W | 0MiB / 16384MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ shuchengyang@shuchengyang-PC:~$
还没有评论,来说两句吧...