我之前使用 Nvidia 的“deb(网络)”安装在 Ubuntu 14.04 上安装了 CUDA 7.5。它已经工作了几个月,直到我sudo apt-get upgrade今天跑了。这样做之后,我遇到了以下情况
$ nvidia-smi
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='nvidia_352'
modprobe: ERROR: could not insert 'nvidia_352': Function not implemented
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Run Code Online (Sandbox Code Playgroud)
跑步sudo nvidia-smi也不例外。我无法在 GUI 模式下登录(在我输入密码后它会返回登录屏幕),但我可以访问终端。
我已经能够恢复图形功能,但是在那之后我很难重新安装 CUDA。你能帮我么?
我发现我可以通过这样做让图形再次工作
$ sudo apt-get remove --purge nvidia*
$ sudo apt-get autoremove
Run Code Online (Sandbox Code Playgroud)
然后编辑/etc/apt/sources.list.d/cuda.list以删除所有行,然后执行
$ sudo …Run Code Online (Sandbox Code Playgroud)