1

I've installed CUDA 6.5 on my system (I did not want to use 5.5 since there are some features after version 6 that I need).

My system is a Notebook with an NVIDIA GPU, namely

 lspci | grep -i  
 nvidia 03:00.0 3D controller: NVIDIA Corporation
 GM108M [GeForce 840M] (rev a2)

I assume, that I installed CUDA correctly since I did not get any errors during the installation, and this seems to be correct

 nvcc --version
 nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2014 NVIDIA
 Corporation Built on Thu_Jul_17_21:41:27_CDT_2014 Cuda compilation
 tools, release 6.5, V6.5.12

NSight is also there.

I am able to compile simple examples and run them, however, there is no GPU computation performed and also no device detected ( cudaGetDeviceCount=0 ). I'm using the example presented here at this website. But instead of printing "Hello World", I get "Hello Hello". This lets me assume, that the computation on the kernel simply does not happen.

I don't know if this is strange:

nvidia-smi
Sun Aug 24 13:00:55 2014       
+------------------------------------------------------+                       
| NVIDIA-SMI 340.32     Driver Version: 340.32         |                       
|-------------------------------+----------------------+----------------------+
| 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 840M        Off  | 0000:03:00.0     N/A |                  N/A |
| N/A   48C    P0    N/A /  N/A |    480MiB /  2047MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0            Not Supported                                               |
+-----------------------------------------------------------------------------+

Why does it say Not Supported for Compute processes?

I would like to know if I forgot to configure something for CUDA to work properly.

I REALLY want to avoid reinstalling NVIDIA drivers for my GPU since this has caused a lot of problems in the past. I'm afraid I could destroy something.

Here's an image of my NVIDIA settings.

enter image description here

and additionally

uname -a
Linux Zenbook 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

If you need further information, please let me know. Thank you very much!

1

1 Answer 1

2

For what is is worth:

nvidia-smi

prints the same for me, the diff being facts: I have a GTX 780 and nvidia-settings correctly tells I have version 340.17 of the drivers.

$ uname -a
Linux wkbox 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Why does it say Not Supported for Compute processes?
Maybe just a 'less obvious' way to tell there are no running processes?

Have you checked this:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/
... there seems to be some minute details on when to expect it to work or not.

5
  • $ apt-get install nvidia-cuda-doc - might contain details.
    – Hannu
    Aug 24, 2014 at 11:42
  • Please note, I'm providing additional details - I have not tried to use CUDA.
    – Hannu
    Aug 24, 2014 at 12:00
  • 1
    Thank you very much. The documentation lead me to a test that is in the SDK and can be performed after installation. And since the results where different I searched for errors.... Long story short: installing nvidia-340-uvm fixed the problem for me. I'm going to accept your answer, not because it fixed the problem but it was the starting point of further resarch. Thank you very much!
    – Thomas
    Aug 24, 2014 at 12:32
  • I'm glad to have helped :-)
    – Hannu
    Aug 24, 2014 at 13:06
  • One additional note that might help others and could have pointed in the right direction above - I have NONE of the packages for cuda, nvcc, SDK or anything else installed. A clue to the fact that the installation was missing something.
    – Hannu
    Aug 24, 2014 at 20:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .