![NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信](https://linux22.com/image/1591632/NVIDIA-SMI%20%E5%A4%B1%E8%B4%A5%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%AE%83%E6%97%A0%E6%B3%95%E4%B8%8E%20NVIDIA%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E9%80%9A%E4%BF%A1.png)
当我运行nvidia-smi
它时失败并引发错误:
“NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信”
当我运行 时dpkg -l | grep nvidia
,它给出以下输出。我做错了什么?如何修复?
390.116-0ubuntu0.18.04.1 i386 NVIDIA libcompute package
ii libnvidia-compute-418:amd64 418.67-0ubuntu1 amd64 NVIDIA libcompute package
ii libnvidia-container-tools 1.0.2-1 amd64 NVIDIA container runtime library (command-line tools)
ii libnvidia-container1:amd64 1.0.2-1 amd64 NVIDIA container runtime library
ii libnvidia-decode-418:amd64 418.67-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-418:amd64 418.67-0ubuntu1 amd64 NVENC Video Encoding runtime library
ii libnvidia-fbc1-418:amd64 418.67-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-418:amd64 418.67-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-418:amd64 418.67-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-418 418.67-0ubuntu1 amd64 NVIDIA compute utilities
iU nvidia-container-runtime 2.0.0+docker18.09.6-3 amd64 NVIDIA container runtime
iU nvidia-container-runtime-hook 1.4.0-1 amd64 NVIDIA container runtime hook
ii nvidia-dkms-418 418.67-0ubuntu1 amd64 NVIDIA DKMS package
ii nvidia-driver-418 418.67-0ubuntu1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-418 418.67-0ubuntu1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-418 418.67-0ubuntu1 amd64 NVIDIA kernel source package
ii nvidia-modprobe 418.67-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 418.67-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-418 418.67-0ubuntu1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-418 418.67-0ubuntu1 amd64 NVIDIA binary Xorg driver## Heading ##