I’m trying to profile a kernel on a Jetson AGX Xavier from Ubuntu 20.04, however, when I launch the profiler I get the following error :
==PROF== Connected to process 6723 (/home/user/Documents/backup_jetson/project/bin/main)
==ERROR== An error was reported by the counter measurement library:
==ERROR== Failed to initialize the profiler: LibraryNotLoaded. Check that a compatible driver library is loaded.
==ERROR== An error was reported by the counter measurement library:
==ERROR== Failed to initialize the profiler: LibraryNotLoaded. Check that a compatible driver library is loaded.
==PROF== Trying to shutdown target application
==PROF== Trying to shutdown target application
==ERROR== The application returned an error code (9).
For flashing my Jetson I used the latest available version of the SDK and followed the official instructions. I flashed Jetpack 5.1 and installed nsight-compute at the same time through the SDK. You will find the “about” informations for my nsight compute below :