How to install and use nsight compute with jetpack 5.0?

HI Nvidia forum,

I am on Orin developer kit and jetpack 5.0. I have finished the setup process and finished install jetpack, but there is no nsight compute come with jetpack

in /opt/nvidia, here is what I have:

chengzhexu@chengzhexu-desktop:/opt/nvidia$ ll
total 40
drwxr-xr-x 10 root root 4096 Aug 20 11:25 ./
drwxr-xr-x  5 root root 4096 Aug 20 11:27 ../
drwxr-xr-x  2 root root 4096 Jan 25  2023 camera/
drwxr-xr-x  6 root root 4096 Jan 25  2023 jetson-io/
drwxr-xr-x  2 root root 4096 Jan 25  2023 l4t-bootloader-config/
drwxr-xr-x  3 root root 4096 Jan 25  2023 l4t-gputools/
drwxr-xr-x  2 root root 4096 Jan 25  2023 l4t-rootfs-validation-config/
drwxr-xr-x  2 root root 4096 Sep  8  2022 l4t-usb-device-mode/
drwxrwxr-x  3 root root 4096 Aug 20 11:25 nsight-systems/
drwxr-xr-x  9 root root 4096 Aug 20 11:27 vpi2/
chengzhexu@chengzhexu-desktop:/opt/nvidia$ 
chengzhexu@chengzhexu-desktop:/opt/nvidia$ tree | grep ncu
│       │   ├── libQt6Concurrent.so.6
chengzhexu@chengzhexu-desktop:/opt/nvidia$ tree | grep nsight-compute
chengzhexu@chengzhexu-desktop:/opt/nvidia$ tree | grep compute
chengzhexu@chengzhexu-desktop:/opt/nvidia$ 
chengzhexu@chengzhexu-desktop:/opt/nvidia$ 

Could you please help me install the correct version of ncu? Thank you!

Best,

Are you asking for Orin or Orin NX?
Could you move to the last test JetPAck 5.1.2 SW?

Hi,

Please try the following command:

$ sudo apt install nsight-compute-2022.2.1

Thanks

Hi Kayccc,

sorry for the delayed reply, I believe it should be orin, and do you know how to double check my current jetpack version?

$ cat /etc/nv_tegra_release
# R35 (release), REVISION: 2.1, GCID: 32413640, BOARD: t186ref, EABI: aarch64, DATE: Tue Jan 24 23:38:33 UTC 2023

Hi AastaLLL,

I tried this before on another jetson module, but seems not working… anyway I will try it on orin

Thanks,
Chengzhe

I found the ticket when I tried this before lol No kernel to profile when using nsight compute - #8 by czxu

Is this still an issue to support? Any result can be shared? Thanks

Hi kayccc,

I found the ncu and ncu-ui exe file via your answer in another post (thank you!) and tried to profile a kernel

the strange thing is that I got a ncu-rep file, but seems that ncu-ui can only open ncu-proj file and does not allow me to select the ncu-rep file… do you know how I could correctly read the ncu-rep?

Thank you so much!

Best,
Chengzhe

hmmmm I remember that I came across the same issue before when working on a normal linux station (x86), and the solution at that time is to use a newer version of nsight compute, I am wondering do we have some newer version for jetson platform?

Hi,

Please note that only cli profiler can work on the Jetson.
Did you try to open the file on an x86 desktop?

The Nsight Compute Profiler file can be opened as following:

File → open File → *.ncu-rep

Thanks.

hmmm on my mac it only allows *.nsight-cuproj, *.nci-proj… Do you know which version of the nsight compute should I install?
Thank you!
Chengzhe

Hi,

We use 2022.2 on the Ubuntu desktop.
The tool is installed through the SDK manager.

Thanks.

Thank you AastaLLL,
Sorry for the delayed reply (I am kinda occupied those days…) I will try the 2022.2 version!
Best,
Chengzhe

Is this still an issue to support? Any result can be shared? Thanks

Yes! Your suggestion worked well for me. Thank you kayccc! (and sorry that I didn’t update the post in time…)