Nsight compute

Hi, i am using a Jetson Orion 64gb developer kit. Running conda with a simple .py script developed in jupyter lab.

  1. I installed the jupyter lab plugin - after running jupyter lab in sudo mode (not adviced) I manage to run the analysis, but there is an error that i cannot find the ncu-rep file. I try to located it, but no where to be found
  2. I then run conda from command line under sudo. I manage to run the command:

/usr/local/cuda-12.6/bin/ncu -o profile python testCuda.py

then running the command

/usr/local/cuda-12.6/bin/ncu-ui profile.ncu-rep

QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Could not get current OpenGL version!
Warning: OpenGL Version check failed. Falling back to Mesa software rendering.
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
free(): invalid pointer
2025-03-15 21:01:34: stackwalker_arm64.cc:219: ERROR: Unable to read caller_fp from last_fp: 0x2

Moved from NVML to Nsight Compute.

This should be a known issue, it was also discussed here for example. As a workaround, inspect the file using the ncu command line (-i) or open it from a separate Linux/Windows system running ncu-ui.