I have a gtx 1070 with Ubuntu 18.04 and I’d like to use tensorflow, which requires CUDA 9.0 which requires NVIDIA driver 384. I’ve had quite a bit of trouble installing drivers in the past, so I prefer to use the drivers GUI for updating my drivers. Ubuntu gives me the options of using 390, 396, or Nouveau drivers. I’m currently using 390, but since it’s incompatible with my cuda version I need to downgrade. I tried installing nvidia-384 from the ppa, but my system is still using 390 as the driver. I could apt remove purge the drivers but then I’m worried it’ll go back to Nouveau which is a headache to override. Is there a simple way to force Ubuntu to use version 384?
1 Answer
Actually, the compatibility is >=384 which includes 390: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html For me the combination of Ubuntu 18.04, TensorFlow 1.11, Nvidia driver 390 and CUDA 9 works. But there was a problem I had to overcome first: By creating an Anaconda environment there was an incompatible cuDNN version (7.1.2) installed, which I had to overwrite manually with the system's version (7.3.1) I had previously installed.
btw: I was not able to install any other driver version than 390 on my system, although I removed this version before trying to install another one. But in the end it was not necessary.
sudo apt remove nvidia-*
before trying to installnvidia-384