Cannot connect to Linux target from MacOS M3 ARM

Add an SSH target, input passsword, try to connect and get

DpsQueryCapabilitiesError (2104) {
    OriginalExceptionClass: N5boost10wrapexceptIN13QuadDAnalysis32QueryDeviceCapabilitiesExceptionEEE
    OriginalFile: /dvs/p4/build/sw/devtools/Agora/Rel/QuadD_Main/QuadD/Host/Analysis/SshDevice.cpp
    OriginalLine: 986
    OriginalFunction: virtual QuadDAnalysis::DevProps QuadDAnalysis::SshLinuxSpecificClient::UpdateDeviceSpecificPropsInternal(QuadDAnalysis::SshDevicePtr)
    ErrorText: Failed to detect user mode bitness on the target. These files are absent on the target: /lib/ld-linux-armhf.so.3, /lib/ld-linux-aarch64.so.1. An appropriate package must be installed.
}
}

Looks like the code is expecting an arm shared library, but the Linux target is x86_64/amd64, so it can’t find it. Can you add a fallback or way to properly detect the instruction arch of the target?

Also note that Nsight Systems - Get Started | NVIDIA Developer and Developer Tools Download Center | NVIDIA Developer have different versions of Nsight Systems (2024.7.1 and 2024.4.2). This bug happens on both versions.

Hi, the version of Nsys that ships from the web directly (first link) is always going to be the most up to date version available. Because of the complex testing of the CUDA Toolkit package, the version shipping in the package is always going to be a little behind. (If you scroll down on that second page you will see that later on the page there is also a link to the 2024.7 version. We shipped 2024.7 last month, so you are up to date there.

@mpopov the user should be able to launch a remote profiling session for a Linux target on either arm or x86 from the Mac host. Are we not including the proper bits?

Hi!

Could you provide more details about your Linux target system? Specifically, which operating system and version are installed?

Ubuntu 22.04.5 LTS, kernel 5.15.0-125-generic, GPU GeForce RTX 2060 SUPER, Driver Version: 550.120