NVIDIA SMI instruction reports an error: failed to initialize nvml: Driver solution
1. Check the kernel version
cat /proc/driver/nvidia/version
2. View the driver version
dpkg -l | grep nvidia
3. Inconsistent. Uninstall the driver and install the driver of the same version as the kernel
sudo apt-get --purge remove nvidia*
sudo apt autoremove
sudo apt-get remove --purge nvidia-\*
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-cache search nvidia
Check the recommend version and install it.
ubuntu-drivers devices
sudo apt-get install nvidia-415 nvidia-settings nvidia-prime
Similar Posts:
- [Solved] nvidia-smi Error: Failed to initialize NVML: Driver/library version mismatch
- [Solved] after installing Ubuntu 16.04, you cannot enter the graphical interface after restarting (error/dev/sda2: clean…)
- [Solved] Ubuntu Warning: The system is running in low-graphics mode
- Solutions to the phenomena of / dev / sda2 clean and / dev / sda2 recovering journal when starting Ubuntu
- [How to Solve] Driver/library version mismatch
- Solution to NVIDIA driver problem: failed to initialize nvml: Driver / library version mismatch
- [Solved] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- [Solved] docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
- [Solved] Ubuntu gnome 17.04 error: kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129
- InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runti…