显卡驱动突然崩了
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
重新安装驱动
sudo apt-get remove nvidia-* sudo apt-get autoremove
sudo apt-get autoremove
sudo nvidia-uninstall
sudo ./NVIDIA-Linux-x86_64-381.22.run -no-x-check -no-nouveau-check -no-opengl-files
切换nvidia显卡/inter
sudo apt install nvidia-prime
sudo prime-select nvidia
其他错误
ERROR: Unable to load the 'nvidia-drm' kernel module
https://onlycaptain.github.io/2018/08/18/Ubuntu%E4%B8%8BNvidia%E9%A9%B1%E5%8A%A8%E5%AE%89%E8%A3%85/