if Cuda and Nvidia drivers mismatch, the nvidia-smi command mismatches with Nvidia NVML Driver/library version mismatch, and needs to check the version of the Nvidia Driver to see if it matches.
enter the command as follows:
ubuntu-drivers devices
will show:
driver: nvidia-driver-418-server-distro non-free
driver: nvidia-driver-440-server-distro non-free:
driver: nvidia-driver-435-distro non-free
driver: nvidia-driver-440-distro non-free
Distro free builtin
driver: xserver-xorg-video-nouveau-distro free builtin
directly install all, command as follows:
sudo ubuntu-drivers autoinstall
then reboot p>
sudo reboot
use nvidia-smi command, found that you can see the graphics card information, and CUDA model 10.2, Driver version 440, successful match.
Tue Aug 4 21:05:21 2020
+—————————————————————————–+
Driver Version: 440.95.01 CUDA Version: 10.2 |
|——————————-+———————-+———————-+
| GPU Name Persistence-M| bb-id disp.a | Volatile uncorr.ecc |
| Fan Temp Perf Pwr:Usage/Cap| memory-usage | gpu-util Compute m. |
|===============================+======================+======================|
| 0 GeForce RTX 208… Off | 00000000:7 p.m. Off | 0 N/A | p>
23 c | 41% P8 2 12 mib/11019 w/260 w | mib | 0% Default | p>
+——————————-+———————-+———————-+
Read More:
- Failed to initialize nvml driver / library version mismatch due to automatic update of NVIDIA driver
- The nvidia-smi has failed because it could’t communicate with the NVIDIA driver
- [Solved] NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- How to Fix NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- Nvidia-smi has failed because it could’t communicate with the NVIDIA driver
- NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
- “The CC version check failed” is reported when Ubuntu installs NVIDIA graphics card driver
- Solution to x service error when installing NVIDIA graphics driver under Ubuntu
- Error: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
- Use NVIDIA to solve NVIDIA’s
- nvidia-settings: ERROR: nvidia-settings could not find the registry key file
- NVIDIA SMI caused by updating BIOS has failed because it could’t communicate with the NVIDIA
- Development of rxtx version mismatch with springboot serial port
- Error reporting using NVIDIA SMI
- Andorid: Installation failed due to invalid APK file due to version mismatch
- Module in linux driver_ platform_ Learning driver macro
- NVIDIA docker failed to start normally
- This version of chromedriver only supports chrome version 92 crawler simulates the problem of Google plug-in version when the browser clicks and reports an error
- ubuntu17.10 starts the cycle report: started nvidia persistence daemon[ok] stopped nvidia persistence daemon[ok]
- Some problems in installing wsl2 and NVIDIA docker in win10