Linux-GTX 980 - Cuda 6.5 GPU undetected

Hi all, i’try to make cuda works on my linux mint.
I install the lastest NVDrivers 346.35 and cuda-repo-ubuntu1404-6-5-prod_6.5-19_amd64.deb.
I do an ap-get install cuda
I edit my basrc to add good path
Then i compile all the exemples and i try to launch lot of them xith always the same message :

cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Result = FAIL

Any idea?

try installing use the runfile installer method.

Be sure to use the runfile installers from here:

Ok so i’ve remove every nvidia files with apt-get-remove.
Then i run the .run. it says that my hardware is not supported, so i overide this warning and install drivers and cuda from the .run and it works!