Correct Version for Using Nsight Systems with Jetson AGX Orin

I am attempting to profile my Nvidia Jetson AGX Orin 32 GB With Nsight Systems. When I establish my the SSH connection to the device, I am met with a message reading “Target is not supported”, and under “more info” it reads:

NVIDIA Nsight Systems
2023.3.1.92-233133147223v0 Windows-x64

- seatex@10.65.90.246:

[Error] Target is not supported.
This version of Nsight Systems does not support profiling on the selected target.

Missing directory with target binaries:
C:\Program Files\NVIDIA Corporation\Nsight Systems 2023.3.1\target-linux-tegra-armv8

Furthermore, under “more info” it reads:

DirectoryNotFoundError (150) {
    OriginalExceptionClass: struct boost::wrapexcept<class QuadDCommon::DirectoryNotFoundException>
    OriginalFile: C:\dvs\p4\build\sw\devtools\Agora\Rel\QuadD_Main\QuadD\Host\Analysis\PosixDeviceValidator.cpp
    OriginalLine: 26
    OriginalFunction: bool __cdecl QuadDAnalysis::PosixDeviceValidator::CheckHostSupport(const class boost::intrusive_ptr<class QuadDAnalysis::IDevice> &)
    Filename: C:\Program Files\NVIDIA Corporation\Nsight Systems 2023.3.1\target-linux-tegra-armv8
    ErrorText: Deploy directory does not exist
}

I’ve tried with multiple versions of Nsight Systems on my Windows 11 host machine, but every single version complains about lacking the target-linux-tegra-armv8 file on the host machine.

Running nsys –version on the target Jetson device returns

NVIDIA Nsight Systems version 2023.3.1.92-233133147223v0

That is, matching the version of the host Windows (see first code block above). I’ve tried many different versions of Nsight on both Windows and WSL, and always there is the same complaint about the same missing file on my host machine. On WSL using Nsight 2023.4.1, it is the same message, complaining about the host missing /opt/nvidia/nsight-systems/2023.4.1/target-linux-tegra-armv8, and clicking “more info” it shows

DirectoryNotFoundError (150) {
    OriginalExceptionClass: N5boost10wrapexceptIN11QuadDCommon26DirectoryNotFoundExceptionEEE
    OriginalFile: /dvs/p4/build/sw/devtools/Agora/Rel/QuadD_Main/QuadD/Host/Analysis/PosixDeviceValidator.cpp
    OriginalLine: 24
    OriginalFunction: bool QuadDAnalysis::PosixDeviceValidator::CheckHostSupport(const DevicePtr&)
    Filename: /opt/nvidia/nsight-systems/2023.4.1/target-linux-tegra-armv8
    ErrorText: Deploy directory does not exist
}

I manage to run Nsight Systems through the CLI on the Jetson device, and later transferring over the files to inspect on my host machine, but I would really appreciate if I could utilize SSH and the interface of Nsight to do the profiling directly. Is there even a way of achieving this for my setup? Would it be easier through a host machine running Ubuntu natively?

@abuszta can you address this?

In older versions of Nsight Systems we always need to upload target files to the remote device in order to proceed with profiling. Based on the error message you have provided, those required files (“target-linux-tegra-armv8” directory) do not exist in the variant (Windows-x64) you are trying to use. This variant is our Windows website release (intended to profile desktop devices) instead of release dedicated to profiling embedded devices.

To profile Jetson remotely, you have to use Nsight Systems that is bundled as part of the Jetson development suite in the NVIDIA Jetpack™ SDK (JetPack Software Stack for NVIDIA Jetson | NVIDIA Developer). Unfortunately, Windows is not a supported host - check the compatibility matrix (SDK Manager | NVIDIA Developer). For NVIDIA Jetson AGX Orin you have to use Ubuntu 20.04 or 22.04 for host development.

In the latest website version of Nsight Systems, we have introduced enhancements for remote profiling (allowing seamless connections between host and target applications with matching release versions). However, this feature is not yet available for the Orin platform, and unfortunately, I do not have a timeline for its release at this time.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.