Hardware Platform (Jetson / GPU) NX
• DeepStream Version 6.11
• JetPack Version (valid for Jetson only) 5.02
• TensorRT Version 8.4
I am using preprocess plug-in, by adding my own function to calculate the rect-params of roi. It seemd working, but when testing with a video, I found the inferce box is located a little more right than should be. And when running --gst-debug=3, I got the following:
Using winsys: x11
0:00:03.729875264 2190201 0xaaab05eac010 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.1/samples/configs/myconfigs/…/…/models/Primary_Detector/gh_fp16.trt
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: [Implicit Engine Info]: layers num: 5
0 INPUT kFLOAT images 3x640x640
1 OUTPUT kFLOAT onnx::Sigmoid_477 3x80x80x6
2 OUTPUT kFLOAT onnx::Sigmoid_529 3x40x40x6
3 OUTPUT kFLOAT onnx::Sigmoid_581 3x20x20x6
4 OUTPUT kFLOAT output 25200x6
0:00:03.783599968 2190201 0xaaab05eac010 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.1/samples/configs/myconfigs/…/…/models/Primary_Detector/gh_fp16.trt
0:00:03.790726336 2190201 0xaaab05eac010 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.1/samples/configs/myconfigs/…/myconfigs/gh_config_infer_primary.txt sucessfully
Warning: converting ROIs to RGBA for VIC mode…I add it
0:00:03.806897344 2190201 0xaaab05eac010 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete:
0:00:03.808235968 2190201 0xaaab05eac010 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete:
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
** INFO: <bus_callback:194>: Pipeline ready
0:00:03.823347232 2190201 0xaaab05f6c5e0 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:03.823496800 2190201 0xaaab05f6c5e0 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sgpd
0:00:03.823541792 2190201 0xaaab05f6c5e0 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sbgp
0:00:03.823676832 2190201 0xaaab05f6c5e0 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:03.824049536 2190201 0xaaab05f6c5e0 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 2
Opening in BLOCKING MODE
0:00:03.941957472 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:nvv4l2decoder0:src Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:03.942063200 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
0:00:03.942158272 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
0:00:03.942234208 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
0:00:03.951510912 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffeec0b67e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.052036064 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:nvv4l2decoder0:src Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:04.053013472 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
0:00:04.053551904 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
0:00:04.053621856 2190201 0xfffefc053300 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xfffee4013d00 Failed to determine interlace mode
** INFO: <bus_callback:180>: Pipeline running
0:00:04.074474336 2190201 0xfffefc053300 WARN v4l2videodec gstv4l2videodec.c:1847:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:04.076066784 2190201 0xfffefc053300 WARN v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:nvv4l2decoder0:pool:src Uncertain or not enough buffers, enabling copy threshold
0:00:04.085152256 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffee40bb120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.086453056 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffeec0b6d80 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.086639520 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffee40bb5a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.094346304 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffee40bb240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.100234080 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffeec0c45a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:04.102245632 2190201 0xfffefc053300 WARN bufferpool gstbufferpool.c:1235:default_reset_buffer:nvv4l2decoder0:pool:sink Buffer 0xfffee40bbb40 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Please help me to fix it. Thank you.