Install CUDA 8.0 in Linux Mint 18 for GTX-970M

Hi,

I install the driver nvidia-370 for GTX-970M via ppa, and everything works fine.

But when installing cuda 8.0 via apt-get, the package manager removed nvidia-370 and forced to install nvidia-367.

When boot from nvidia-367, The screen became black and everything was stuck after log in.

This seems Linux mint 18 with GTX-970M does not work with nvidia-367.

After removing nvidia-367 and installing nvidia-370 again, the cuda will not work and show ‘CUDA driver version is insufficient for CUDA runtime version’

How can I force CUDA to use nvidia-370?

Thank you.

Here is nvidia-smi when working with nvidia-370

±----------------------------------------------------------------------------+
| NVIDIA-SMI 370.28 Driver Version: 370.28 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 970M Off | 0000:01:00.0 Off | N/A |
| N/A 48C P0 25W / N/A | 472MiB / 6077MiB | 3% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1490 G /usr/lib/xorg/Xorg 263MiB |
| 0 2062 G cinnamon 75MiB |
| 0 2750 G …uator<DisallowFetchForDocWrittenScriptsIn 131MiB |
±----------------------------------------------------------------------------+

Packages will have their dependencies.

You may want to read the cuda installation guide, it lists a runfile installer method in addition to the package manager method for installing CUDA.