NSIGHT Compute error

Hi,

I am working on DRIVE AGX Xavier™ Developer Kit, with DRIVE Software 10.
My host machine is Ubuntu 18.04.
I have an issue running NSIGHT Compute 2020.1.2 on any application.

When running from host machine (launch and attach mode), the application is loaded on the target, but I am having the following error:

/home/nvidia/drive-t186ref-linux/samples/sample_camera_replay
Launching: /home/nvidia/drive-t186ref-linux/samples/sample_camera_replay (host: 172.23.8.45)
Process launched
Trying to connect to process…
Searching for attachable processes on 172.23.8.45:49152-49215…
ERROR: ld.so: object ‘/tmp/var/target/linux-desktop-glibc_2_11_3-x64/libcuda-injection.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

When running NSIGHT Compute 2020.1.2 directly on target machine (launch and attach mode), the application is loaded on the target, but I am having the following error:
“Profiling is not supported on device 0”

Regards,
Ron

Hi @ron.persky,

Please share the detailed steps of how to reproduce the problems. Thanks!

Hi,

I succeeded to progress.
The issue of LD_PRELOA was because on the remote connection “Deployment Directory” was pointing to a directory which I did not have write privilege.
I changed it to another directory - and now I can run NVIDIA Nsight Compute on my application.

I succeeded pausing and seeing my kernel function on the API stream view - but my issue now is that the detail is “Error: Profiling is not supported on this device”

My guess is related to the user privilege.
How can I remote SSH connect to the NVIDIA AGX with root user/privilege ?

Regards,
Ron

Does adding “sudo su” into /home/nvidia/.bashrc help on your case?

No, that did not helped.

Eventually I succeeded by starting my application from the target by:
“sudo nv-nsight-cu-cli --mode=launch”

And only attaching from the remote host.

Regrads,
Ron