Nsight Systems

Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.6.0.8170
1.5.1.7815
1.5.0.7774
other

Host Machine Version
native Ubuntu 18.04
other

/opt/nvidia/nsightsystems/nsightsystems-2019.3.4/Host-x86_64/nsight-sys

Does this support profiling localhost on host system?

I tried connecting to 127.0.0.1. It seems to connect after entering the correct password, but there’s a Communication error immediately afterwards.

Looking at More info shows this:

NotFoundError (127) {
    OriginalExceptionClass: N5boost16exception_detail10clone_implIN11QuadDCommon17NotFoundExceptionEEE
    OriginalFile: /build/agent/work/20a3cfcd1c25021d/QuadD/Host/Analysis/BaseDevice.cpp
    OriginalLine: 775
    OriginalFunction: boost::filesystem::path QuadDAnalysis::BaseDevice::GetSpecialFilepath(const boost::filesystem::path&)
    Filename: nsys
    ErrorText: Installing special file failed.
}

Hi @gpu_power,

x86_64 isn’t listed in “Supported Platforms” section in System Requirements.
Please try with other version. Thanks.

@VickNV so you are saying that this version of Nsight Systems does not support x86_64, even though the path to the executable contains x86_64, is that really true?:

/opt/nvidia/nsightsystems/nsightsystems-2019.3.4/Host-x86_64/nsight-sys

There is another nsight executable under this path:

/usr/local/cuda/NsightSystems-2019.2/Host-x86_64/nsight-sys

This one has the option of a direct Localhost connection in addition to SSH.

However, when I configure it to profile target application /usr/local/driveworks-2.2/bin/sample_autodrivingbeam, it does not start the application.

pid_xxxxx_stdout.log:

WindowGLFW: Failed initialize GLFW 

pid_xxxxx_stderr.log:

ERROR: ld.so: object '"/opt/nvidia/nsight_systems/libToolsInjection64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/opt/nvidia/nsight_systems/libToolsInjectionProxy64.so"' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
No protocol specified
terminate called after throwing an instance of 'std::exception'
  what():  std::exception

It is used for remote profiling.

Please make sure you can directly run the application without the error first.

Application runs directly with no error

This error looks not related to nsight-sys but window initialization error.

Solution:

Use this executable instead:

/usr/local/cuda/NsightSystems-2019.2/Host-x86_64/nsight-sys

To fix GLFW error, make sure DISPLAY environment variable is set correctly.

1 Like