Cuda gdb on jetson nano


Does the cuda-gdb really work on the jetson nano ?

When I try to run, I get the following error:

(cuda-gdb) b 67
Breakpoint 1 at 0x91b0: file, line 67.
(cuda-gdb) r
Starting program: /home/rreddy78/projects/test/matrixMulTiled8
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/aarch64-linux-gnu/”.
fatal: The CUDA driver initialization failed. (error code = CUDBG_ERROR_INITIALIZATION_FAILURE(0x14)

I have followed the manual and

Single-GPU Debugging with the Desktop Manager Running

and have set


Hi Ravishankar,
Thank you for your report! Could you share additional information to help us identify the issue:

  • cuda-gdb version you are using (output of cuda-gdb --version command).
  • nvidia-smi command output
  • deviceQuery sample output

It was quite some time ago with an older version of JetPack and if I remember correctly I somehow solved it. I will try to check with the latest JetPack I installed just now and update if the problem still exists…

Thank you for the quick reply, please let us know if you still experiencing this issue on the latest JetPack.