前言:为什么要在本地电脑安装 CUDA,CUDA 是什么的,用来做什么?我想,点击标题进来的小伙伴,应该都清楚这些。不管你是用来做什么,或者跟我一样为了跑 Tensorflow 的 Object Detection (目标检测)。但是我为什么要用 CUDA9,这里版本要特别注意。
sudo apt-get install lightdm。于是在这种情况下,如果使用了 prime-select 把默认显卡设置成了独显,系统会因为找不到驱动而一直启动失败,此时会造成循环登陆 解决步骤。
需要注意的是,之前已经安装过显卡驱动程序,在提问是否安装显卡驱动时选择no。提示: Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x?