Gst-dsexample error

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
**• DeepStream Version6.0
• JetPack Version (4.6)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type(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)
When I running gst-dsexample, therie is error in log, as following.

2022-10-19 18:26:44,406  H264: Profile = 66, Level = 0  
2022-10-19 18:26:44,434  NVMEDIA_ENC: bBlitMode is set to TRUE  
2022-10-19 18:26:44,436  NvMapMemCacheMaint Bad parameter 
2022-10-19 18:26:44,436  ERROR from nvosd0: Unable to draw rectangles 
2022-10-19 18:26:44,437  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(519): gst_nvds_osd_transform_ip (): /GstPipeline:pipeline/GstBin:processing_bin_1/GstBin:osd_bin/GstNvDsOsd:nvosd0 
2022-10-19 18:26:44,437  Opening in BLOCKING MODE  
2022-10-19 18:26:44,438  Opening in BLOCKING MODE  
2022-10-19 18:26:44,438  Opening in BLOCKING MODE  
2022-10-19 18:26:44,439  Opening in BLOCKING MODE  
2022-10-19 18:26:44,439  nvbusurface: NvBufSurfaceSyncForCpu: Error(4) in sync 
2022-10-19 18:26:44,439  libnvosd (127):(ERROR) : Cache sync failed  
2022-10-19 18:26:44,439  libnvosd (321):(ERROR) : Error in nvll_osd_draw_rectangles_cpuQuitting 
2022-10-19 18:26:44,538  ERROR from osd_conv_queue: Internal data stream error. 
2022-10-19 18:26:44,539  Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:processing_bin_1/GstBin:osd_bin/GstQueue:osd_conv_queue: 
2022-10-19 18:26:44,541  streaming stopped, reason error (-5) 
2022-10-19 18:26:44,548  H264: Profile = 66, Level = 0  
2022-10-19 18:26:44,558  NVMEDIA_ENC: bBlitMode is set to TRUE  
2022-10-19 18:26:44,828  [NvMultiObjectTracker] De-initialized 

I pull four rtsp streams, the gst-dsexample config is:

[ds-example]
enable = 1
processing-width = 1920
processing-height = 1080
full-frame = 0
blur-objects = 1
unique-id = 15

How can I solved it, thank you.

Could anyone give me some advice?
Thank you very much.

which sample are you testing? did you do any code modification or configuration modification? could you share the whole logs?

I test it on deepstream-app bin. the whole log is:

2022-10-20 12:00:16,728 deamon: ***ds app start*** 
2022-10-20 12:00:16,730 deamon: /opt/nvidia/deepstream/ds-app/ds-engine/vehicle.engine already exist------ 
2022-10-20 12:00:17,091  ** WARN: <parse_dsexample:845>: Unknown key 'batch-size' for group [ds-example] 
2022-10-20 12:00:17,153  ** INFO: <create_rtmpsink_bin:904>: cap_str_buf is video/x-raw(memory:NVMM), format=I420, width=1920, height=1080 
2022-10-20 12:00:17,190  ** INFO: <create_jpegsink_bin:741>: cap_str_buf is video/x-raw, format=I420, width=1920, height=1080 
2022-10-20 12:00:17,228  ** INFO: <create_rtmpsink_bin:904>: cap_str_buf is video/x-raw(memory:NVMM), format=I420, width=1920, height=1080 
2022-10-20 12:00:17,234  ** INFO: <create_jpegsink_bin:741>: cap_str_buf is video/x-raw, format=I420, width=1920, height=1080 
2022-10-20 12:00:17,242  ** INFO: <create_rtmpsink_bin:904>: cap_str_buf is video/x-raw(memory:NVMM), format=I420, width=1920, height=1080 
2022-10-20 12:00:17,248  ** INFO: <create_jpegsink_bin:741>: cap_str_buf is video/x-raw, format=I420, width=1920, height=1080 
2022-10-20 12:00:17,256  ** INFO: <create_rtmpsink_bin:904>: cap_str_buf is video/x-raw(memory:NVMM), format=I420, width=1920, height=1080 
2022-10-20 12:00:17,262  ** INFO: <create_jpegsink_bin:741>: cap_str_buf is video/x-raw, format=I420, width=1920, height=1080 
2022-10-20 12:00:18,049  Opening in BLOCKING MODE  
2022-10-20 12:00:18,050  Opening in BLOCKING MODE  
2022-10-20 12:00:18,050  Opening in BLOCKING MODE  
2022-10-20 12:00:18,051  Opening in BLOCKING MODE  
2022-10-20 12:00:18,051  Opening in BLOCKING MODE  
2022-10-20 12:00:18,052  Opening in BLOCKING MODE  
2022-10-20 12:00:18,052  Opening in BLOCKING MODE  
2022-10-20 12:00:18,053  Opening in BLOCKING MODE  
2022-10-20 12:00:18,053  gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_nvmultiobjecttracker.so 
2022-10-20 12:00:18,054  gstnvtracker: Batch processing is ON 
2022-10-20 12:00:18,054  gstnvtracker: Past frame output is ON 
2022-10-20 12:00:18,054  [NvMultiObjectTracker] Initialized 
2022-10-20 12:00:18,054  0:00:01.030365582 25139   0x55cba97c00 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1163> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5 
2022-10-20 12:00:23,515  0:00:06.495871919 25139   0x55cba97c00 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1904> [UID = 1]: deserialized trt engine from :/home/lcfc/david/code/qf-ecu-jpack4.6/ds-app/ds-engine/vehicle.engine 
2022-10-20 12:00:23,516  0:00:06.496170867 25139   0x55cba97c00 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2008> [UID = 1]: Use deserialized engine model: /home/lcfc/david/code/qf-ecu-jpack4.6/ds-app/ds-engine/vehicle.engine 
2022-10-20 12:00:23,525  0:00:06.505592319 25139   0x55cba97c00 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/home/lcfc/david/code/qf-ecu-jpack4.6/ds-app/ds-cfg/pgie_yolo_cfg.txt sucessfully 
2022-10-20 12:00:23,537  INFO: [Implicit Engine Info]: layers num: 2 
2022-10-20 12:00:23,537  0   INPUT  kFLOAT data            3x640x640        
2022-10-20 12:00:23,538  1   OUTPUT kFLOAT prob            7001x1x1         
2022-10-20 12:00:23,538  Runtime commands: 
2022-10-20 12:00:23,538         h: Print this help 
2022-10-20 12:00:23,539         q: Quit 
2022-10-20 12:00:23,540         p: Pause 
2022-10-20 12:00:23,540         r: Resume 
2022-10-20 12:00:23,542  2022-10-20 12:00:23: 
2022-10-20 12:00:23,543  **PERF:  FPS 0 (Avg)   FPS 1 (Avg)     FPS 2 (Avg)     FPS 3 (Avg)      
2022-10-20 12:00:23,544  **PERF:  0.00 (0.00)   0.00 (0.00)     0.00 (0.00)     0.00 (0.00)      
2022-10-20 12:00:23,580  ** INFO: <bus_callback:194>: Pipeline ready 
2022-10-20 12:00:23,814  NvMMLiteOpen : Block : BlockType = 261  
2022-10-20 12:00:23,816  NvMMLiteOpen : Block : BlockType = 261  
2022-10-20 12:00:23,817  NvMMLiteOpen : Block : BlockType = 261  
2022-10-20 12:00:23,819  NvMMLiteOpen : Block : BlockType = 261  
2022-10-20 12:00:23,824  NVMEDIA: Reading vendor.tegra.display-size : status: 6  
2022-10-20 12:00:23,825  NVMEDIA: Reading vendor.tegra.display-size : status: 6  
2022-10-20 12:00:23,825  NVMEDIA: Reading vendor.tegra.display-size : status: 6  
2022-10-20 12:00:23,826  NVMEDIA: Reading vendor.tegra.display-size : status: 6  
2022-10-20 12:00:23,832  NvMMLiteBlockCreate : Block : BlockType = 261  
2022-10-20 12:00:23,832  NvMMLiteBlockCreate : Block : BlockType = 261  
2022-10-20 12:00:23,832  NvMMLiteBlockCreate : Block : BlockType = 261  
2022-10-20 12:00:23,833  NvMMLiteBlockCreate : Block : BlockType = 261  
2022-10-20 12:00:24,003  NvMMLiteOpen : Block : BlockType = 4  
2022-10-20 12:00:24,004  ===== NVMEDIA: NVENC ===== 
2022-10-20 12:00:24,011  NvMMLiteOpen : Block : BlockType = 4  
2022-10-20 12:00:24,011  ===== NVMEDIA: NVENC ===== 
2022-10-20 12:00:24,015  NvMMLiteBlockCreate : Block : BlockType = 4  
2022-10-20 12:00:24,018  NvMMLiteOpen : Block : BlockType = 4  
2022-10-20 12:00:24,020  ===== NVMEDIA: NVENC ===== 
2022-10-20 12:00:24,021  NvMMLiteBlockCreate : Block : BlockType = 4  
2022-10-20 12:00:24,023  NvMMLiteOpen : Block : BlockType = 4  
2022-10-20 12:00:24,024  ===== NVMEDIA: NVENC ===== 
2022-10-20 12:00:24,024  NvMMLiteBlockCreate : Block : BlockType = 4  
2022-10-20 12:00:24,025  NvMMLiteBlockCreate : Block : BlockType = 4  
2022-10-20 12:00:24,083  WARNING from src_bin_muxer: Either host or Source 0 seems to be out of NTP sync          SYS TIME = 2022-10-20T04:00:24.081Z CALCULATED NTP TIME = 1970-01-01T00:00:00.000Z 
2022-10-20 12:00:24,083  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream2/gstnvstreammux_ntp.cpp(97): check_if_sys_rtcp_time_is_ntp_sync (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer 
2022-10-20 12:00:24,205  WARNING from src_bin_muxer: Either host or Source 1 seems to be out of NTP sync          SYS TIME = 2022-10-20T04:00:24.204Z CALCULATED NTP TIME = 1970-01-01T00:00:00.000Z 
2022-10-20 12:00:24,206  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream2/gstnvstreammux_ntp.cpp(97): check_if_sys_rtcp_time_is_ntp_sync (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer 
2022-10-20 12:00:24,207  WARNING from src_bin_muxer: Either host or Source 2 seems to be out of NTP sync          SYS TIME = 2022-10-20T04:00:24.204Z CALCULATED NTP TIME = 1970-01-01T00:00:00.000Z 
2022-10-20 12:00:24,208  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream2/gstnvstreammux_ntp.cpp(97): check_if_sys_rtcp_time_is_ntp_sync (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer 
2022-10-20 12:00:24,232  WARNING from src_bin_muxer: Either host or Source 3 seems to be out of NTP sync          SYS TIME = 2022-10-20T04:00:24.231Z CALCULATED NTP TIME = 1970-01-01T00:00:00.000Z 
2022-10-20 12:00:24,233  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream2/gstnvstreammux_ntp.cpp(97): check_if_sys_rtcp_time_is_ntp_sync (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer 
2022-10-20 12:00:28,538  Opening in BLOCKING MODE  
2022-10-20 12:00:28,542  Opening in BLOCKING MODE  
2022-10-20 12:00:28,542  Opening in BLOCKING MODE  
2022-10-20 12:00:28,543  Opening in BLOCKING MODE  
2022-10-20 12:00:28,543  **PERF:  50.29 (8.46)  0.00 (0.00)     0.00 (0.00)     0.00 (0.00)      
2022-10-20 12:00:28,545  NvMapMemCacheMaint Bad parameter 
2022-10-20 12:00:28,547  ERROR from nvosd0: Unable to draw rectangles 
2022-10-20 12:00:28,548  Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(519): gst_nvds_osd_transform_ip (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:osd_bin/GstNvDsOsd:nvosd0 
2022-10-20 12:00:28,552  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,552  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,553  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,553  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,553  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,554  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,554  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,554  ** Message: 12:00:28.551: Not enabled, skip the parsing of source id. 
2022-10-20 12:00:28,578  nvbusurface: NvBufSurfaceSyncForCpu: Error(4) in sync 
2022-10-20 12:00:28,578  libnvosd (127):(ERROR) : Cache sync failed  
2022-10-20 12:00:28,579  libnvosd (321):(ERROR) : Error in nvll_osd_draw_rectangles_cpuQuitting 
2022-10-20 12:00:28,579  H264: Profile = 66, Level = 0  
2022-10-20 12:00:28,672  NVMEDIA_ENC: bBlitMode is set to TRUE  
2022-10-20 12:00:28,679  ERROR from osd_conv_queue: Internal data stream error. 
2022-10-20 12:00:28,680  Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:osd_bin/GstQueue:osd_conv_queue: 
2022-10-20 12:00:28,680  streaming stopped, reason error (-5) 
2022-10-20 12:00:28,743  H264: Profile = 66, Level = 0  
2022-10-20 12:00:28,760  H264: Profile = 66, Level = 0  
2022-10-20 12:00:28,784  NVMEDIA_ENC: bBlitMode is set to TRUE  
2022-10-20 12:00:28,800  NVMEDIA_ENC: bBlitMode is set to TRUE  
2022-10-20 12:00:29,053  [NvMultiObjectTracker] De-initialized 
2022-10-20 12:00:29,603  App run failed 
2022-10-20 12:00:30,285 deamon: ***ds app exit*** return :255 
2022-10-20 12:00:31,731 deamon: ***ds app start*** 

When I reboot deepstream-app multiple or I only pull two streams,it may run success.
but the out is in disorder, such as:


The two stream’s bbox is in disorder.

Hi huihui308,
reproduce on ds6.1 with this plugin, worked,please test on 6.1

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

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