Nsys profile on deepstream for jetson device

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version:6.0
• JetPack Version (valid for Jetson only):4.6
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
It work success when I run deepstream-app, the command and logs are following.

$ deepstream-app -c ds_app_config.txt
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.0/lib/libObjectTracker.so
Track NvMOT_Query success
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
-----------------------------
frame_rate:30
track_buffer:20
track_thresh:0.500000
high_thresh:0.600000
match_thresh:0.950000
class_count:11
-----------------------------

Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

** INFO: <bus_callback:194>: Pipeline ready

Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
** INFO: <bus_callback:180>: Pipeline running

track_thresh:0.500000   high_thresh:0.600000    match_thresh:0.950000
frame_rate:30   track_buffer:20
track_thresh:0.500000   high_thresh:0.600000    match_thresh:0.950000
frame_rate:30   track_buffer:20
track_thresh:0.500000   high_thresh:0.600000    match_thresh:0.950000
frame_rate:30   track_buffer:20
track_thresh:0.500000   high_thresh:0.600000    match_thresh:0.950000
frame_rate:30   track_buffer:20

2023-10-09 11:04:12:
**PERF:  FPS 0 (Avg)    FPS 1 (Avg)     FPS 2 (Avg)     FPS 3 (Avg)
**PERF:  9.00 (8.88)    9.00 (8.88)     9.00 (8.88)     9.00 (8.88)
**PERF:  8.35 (8.52)    8.35 (8.52)     8.35 (8.52)     8.35 (8.52)
^C** ERROR: <_intr_handler:143>: User Interrupted.. 

Quitting
App run successful

But I cannot pull video stream when I use nsys profile, the command and logs are as following.

$ nsys profile --wait all --gpu-metrics-set --trace=cuda,cudnn,nvtx,osrt,opengl --delay=10 --duration=2 deepstream-app -c ds_app_config.txt
WARNING: CPU sampling requires root privileges, disabling.
WARNING: Backtraces will not be collected because sampling is disabled.
WARNING: 'timer' backtrace collection trigger will not be used because sampling is disabled.
WARNING: 'sched' backtrace collection trigger will not be used because sampling is disabled.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.0/lib/libObjectTracker.so
Track NvMOT_Query success
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
-----------------------------
frame_rate:30
track_buffer:20
track_thresh:0.500000
high_thresh:0.600000
match_thresh:0.950000
class_count:11
-----------------------------

Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

** INFO: <bus_callback:194>: Pipeline ready


2023-10-09 11:05:44:
**PERF:  FPS 0 (Avg)    FPS 1 (Avg)     FPS 2 (Avg)     FPS 3 (Avg)
**PERF:  0.00 (0.00)    0.00 (0.00)     0.00 (0.00)     0.00 (0.00)
Collecting data...
**PERF:  0.00 (0.00)    0.00 (0.00)     0.00 (0.00)     0.00 (0.00)
Processing events...
** WARN: <watch_source_status:737>: No data from source 0 since last 10 sec. Trying reconnection
Saving temporary "/tmp/nsys-report-e9c0-e679-2a26-cd86.qdstrm" file to disk...


Sent signal 15 (Terminated) to target application's process group ID = 25509.
Use the kill option to modify this behavior.
Creating final output files...

The target application terminated with signal 15 (SIGTERM)
Processing [==============================================================100%]
Saved report file to "/tmp/nsys-report-e9c0-e679-2a26-cd86.qdrep"
Report file moved to "/home/lcfc/david/code/qf-ecu-jpack4.6/ds-app/ds-cfg/report5.qdrep"

How can I solve this issue?
Could you give me some advices?
Thank you.

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

Could you attach the ds_app_config.txt file?

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