NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信。请确保已安装并运行最新的 NVIDIA 驱动程序

NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信。请确保已安装并运行最新的 NVIDIA 驱动程序

我重新安装了 cuda_10.0.130_410.48_linux(之前可以运行)。但我似乎找不到带有 nvidia-smi 的驱动程序。我头疼极了。我也重新启动了。提前谢谢大家,任何建议都会有帮助。

然后我安装了 nvidia-460。

sudo ubuntu-drivers devices
== /sys/devices/pci0000:1sd0.0/0000:19:08.0/0000:1a:00.0 ==
modalias : pci:v00sdsv00001458sd0000403Bbc03sc00i00
vendor   : NVIDIA Corporation
manual_install: True
driver   : nvidia-driver-460 - third-party free
driver   : nvidia-driver-460-server - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

串行通信

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
03:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41) (prog-if 00 [VGA controller])~$

软件包

dpkg -l | grep nvidia
ii  libnvidia-cfg1-460:amd64                  460.39-0lambda0~18.04.1                         amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-460                      460.39-0lambda0~18.04.1                         all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-460:amd64               460.39-0lambda0~18.04.1                         amd64        NVIDIA libcompute package
ii  libnvidia-compute-460:i386                460.39-0lambda0~18.04.1                         i386         NVIDIA libcompute package
ii  libnvidia-container-tools                 1.3.1+ds-0lambda1                               amd64        Package for configuring containers with NVIDIA hardware (CLI tool)
ii  libnvidia-container1:amd64                1.3.1+ds-0lambda1                               amd64        Package for configuring containers with NVIDIA hardware (shared library)
ii  libnvidia-decode-460:amd64                460.39-0lambda0~18.04.1                         amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-460:i386                 460.39-0lambda0~18.04.1                         i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-460:amd64                460.39-0lambda0~18.04.1                         amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-460:i386                 460.39-0lambda0~18.04.1                         i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-460:amd64                 460.39-0lambda0~18.04.1                         amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-extra-460:i386                  460.39-0lambda0~18.04.1                         i386         Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-460:amd64                  460.39-0lambda0~18.04.1                         amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-460:i386                   460.39-0lambda0~18.04.1                         i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-460:amd64                    460.39-0lambda0~18.04.1                         amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-460:i386                     460.39-0lambda0~18.04.1                         i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-460:amd64                  460.39-0lambda0~18.04.1                         amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-460:i386                   460.39-0lambda0~18.04.1                         i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  xserver-xorg-video-nvidia-460             460.39-0lambda0~18.04.1                         amd64        NVIDIA binary Xorg driver

Nvidia 设置

nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

nvidia.com-smi-失败nvidia-smi 失败了没有帮助。

相关内容