Nvidia 驱动程序 384 在 Ubuntu 17.04 和 17.10 上运行良好。我切换到 Ubuntu 18.04(全新安装)并按照这个很好的答案安装了 nvidia-driver-396
然后我使用 .run 文件安装了 cuda toolkit 9.2。无论是否选择安装 nvidia 驱动程序,它都无法安装。重新启动并再次尝试,然后成功安装了cuda。但是 nvidia 没有运行。
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 …Run Code Online (Sandbox Code Playgroud) 我检查了ls -al我的主目录,但在我的主目录中没有看到 .bashrc 文件。Ubuntu 18.04 发行说明没有提及这方面的任何内容。我在删除 .bash_、.local、.gnome 等文件后没有格式化以前的 /home 分区就安装了它。我可以像平常一样使用电脑,但是 bashrc 文件现在在哪里?不是应该自动重新创建吗?