NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

Graphic Card
NVIDIA Corporation TU106 [GeForce RTX 2060 SUPER]

Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
Kernel Version: 5.15.0-53-generic
[nvidia-bug-report.log.gz attachment](upload://fKq5ZUbPKi3VP7EH8vtOovp7vVX.gz) (15.3 MB)

Command - dkms status
Output - nvidia, 515.86.01, 5.15.0-53-generic, x86_64: installed

Command - dpkg -l | grep nvidia
Output -
ii libnvidia-cfg1-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-515 515.86.01-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-515:i386 515.86.01-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
rc libnvidia-compute-525:amd64 525.60.11-0ubuntu0.20.04.2 amd64 NVIDIA libcompute package
ii libnvidia-decode-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-515:i386 515.86.01-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-515:i386 515.86.01-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-515:i386 515.86.01-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-515:amd64 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-515:i386 515.86.01-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-515 515.86.01-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-modprobe 515.65.01-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-prime 0.8.16~0.20.04.2 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 515.65.01-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-515 515.86.01-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

nvidia-bug-report.log.gz (15.3 MB)
@generix Hi, please have a look.

You have bound the nvidia gpu to vfio for passthrough.

@generix How can I undo that and fix the problem? Also, I don’t fully understand what you mentioned - Could you please explain?

??? This is not something that can accidentally happen. You set
vfio-pci.ids=10de:1f06,10de:10f9,10de:1ada,10de:1adb
on kernel cmdline to pass it though to a vm. Please remove.

@generix How can I do that via the terminal?

https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

Thanks. I will give it a try and update the result here.

@generix The issue is now resolved. Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.