I am an ubuntu system. I downloaded the graphics card driver from the official website of Nvidia and performed the installation operation. After entering nvidia-smi, “Failed to initialize NVML: Driver/library version mismatch” appeared. I also read some posts, but it still has not been resolved problem, can you help me?
You should not mix the .run file installation with the distro installation.
In general it’s better to use the distro packages, or use the graphics-drivers ppa. Proprietary GPU Drivers : “Graphics Drivers” team, than the .run file installer.
First run the .run file installer with the --uninstall flag again.
Then do
thank goodness, there is finally a reply, the driver of the specified version cannot be found through the command ‘sudo apt install nvidia-driver-515.65.01’, my code needs ‘515.65.01’ driver, and the same ubuntu (20.04.1) system , with the same kernel (5.13.0-32-generic), I installed the 515.65.01 graphics card driver through the .run file. I successfully executed it on one machine, but a problem occurred when I changed a machine with the same configuration. This one point confuses me
ii libnvidia-cfg1-515:amd64 515.105.01-0ubuntu1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-515 515.105.01-0ubuntu1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-515:amd64 515.105.01-0ubuntu1 amd64 NVIDIA libcompute package
ii libnvidia-compute-515:i386 515.105.01-0ubuntu1 i386 NVIDIA libcompute package
ii libnvidia-decode-515:amd64 515.105.01-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-515:i386 515.105.01-0ubuntu1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-515:amd64 515.105.01-0ubuntu1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-515:i386 515.105.01-0ubuntu1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-515:amd64 515.105.01-0ubuntu1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-515:amd64 515.105.01-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-515:i386 515.105.01-0ubuntu1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-515:amd64 515.105.01-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-515:i386 515.105.01-0ubuntu1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-515 515.105.01-0ubuntu1 amd64 NVIDIA compute utilities
ii nvidia-dkms-515 515.105.01-0ubuntu1 amd64 NVIDIA DKMS package
ii nvidia-driver-515 515.105.01-0ubuntu1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-515 515.105.01-0ubuntu1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-515 515.105.01-0ubuntu1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 530.30.02-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-515 515.105.01-0ubuntu1 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.105.01-0ubuntu1 amd64 NVIDIA binary Xorg driver
i re-downloaded the ‘515.86.01’ driver and executed the following command, but the error is still reported: ‘Failed to initialize NVML: Driver/library version mismatch’, what should i do now?