当前位置:网站首页>NVIDIA SMI error

NVIDIA SMI error

2022-06-26 14:49:00 G fruit

background

It was originally mine 【nvidia Driver. 】、【cuda】、【cudnn】 It all worked , And it can also work normally
But one day after I restarted, I found nvidia-smi The command doesn't work

Report errors

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

Check for problems

  1. nvcc -V According to the normal , explain nvidia The graphics card driver has been installed
  2. Install the downloaded again 【nvidia Driver. 】 Show that has been installed , Finally, the installation failed , A kernel mismatch error occurred
  3. I set up ubuntu All the check updates are never, Eliminate the possibility of automatically updating the kernel version

resolvent ( Close test effectively )

  1. shielding nouveau drive
    Ubuntu The system integrated graphics card driver is nouveau, It is a third party for NVIDIA Open source driver for development , We need to shield it before we can install NVIDIA The official driver . So we have to add the driver to the blacklist first blacklist.conf in , We need to modify the properties of the file before editing .
    After joining the blacklist ,nvidia-smi It will display normally , No need to reinstall the graphics card driver

Reference article :ubuntu install nvidia drive

原网站

版权声明
本文为[G fruit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261403476207.html