Display video problem deepstream xavier arch x64

Hi,
I want to display video on a Xavier board, but I’m encountering the following problem.
How can I resolve it?
I’m using Ubuntu 20.04 and DeepStream 6.3.
(This is an urgent task.)
0:00:20.145791759 17336 0x3bc2a5e0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:20.145884691 17336 0x3bc2a5e0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: streaming stopped, reason error (-5)
Error: gst-resource-error-quark: Unable to draw rectangles (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(559): gst_nvds_osd_transform_ip (): /GstPipeline:pipeline0/GstNvDsOsd:nvdsosd-0

Thank you for your response.

Hi @amine.ghamgui.anavid,

I’ve moved this to the DeepStream forum where the team there should be the best to help you.

Best,

Sophie

Hi @amine.ghamgui.anavid , could you add the GST_DEBUG=3 in the front of your command to open more log info?

Here is the output when I use GST_DEBUG=3

nvbufsurface: NvBufSurfaceSyncForDevice: wrong memType(-1)
0:00:12.270563865 6170 0x2e97e580 WARN nvdsosd gstnvdsosd.c:559:gst_nvds_osd_transform_ip: error: Unable to draw rectangles
Error: gst-resource-error-quark: Unable to draw rectangles (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(559): gst_nvds_osd_transform_ip (): /GstPipeline:pipeline0/GstNvDsOsd:nvdsosd-0
ID 0: Not enough time elapsed. Waiting to collect more frames.
ID 1: Not enough time elapsed. Waiting to collect more frames.
ID 2: Not enough time elapsed. Waiting to collect more frames.
alllllllllllreadyyyyyyyyyyyyyyy senttttttttttttt
0:00:12.330394263 6170 0x2e97e5e0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:12.330516282 6170 0x2e97e5e0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: streaming stopped, reason error (-5)
0:00:12.344499694 6170 0x2e97e6a0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:12.344572848 6170 0x2e97e6a0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: streaming stopped, reason error (-5)
2025-04-08 09:07:23.551359
2025-04-08 09:07:23.577483
[NvMultiObjectTracker] De-initialized
0:00:12.474352757 6170 0xfffe880356a0 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:03.500000000 < 0:00:04.500000000)

and this is the output when i display RTSP

nvbufsurface: NvBufSurfaceSyncForDevice: wrong memType(604970672)
0:00:18.833469453 7958 0x2f9bcd80 WARN nvdsosd gstnvdsosd.c:559:gst_nvds_osd_transform_ip: error: Unable to draw rectangles
ID 0: Not enough time elapsed. Waiting to collect more frames.
Error: gst-resource-error-quark: Unable to draw rectangles (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(559): gst_nvds_osd_transform_ip (): /GstPipeline:pipeline0/GstNvDsOsd:nvdsosd-0
2025-04-08 09:26:43.373559
alllllllllllreadyyyyyyyyyyyyyyy senttttttttttttt
0:00:18.876726005 7958 0x2f9bcde0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:18.876821177 7958 0x2f9bcde0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: streaming stopped, reason error (-5)
2025-04-08 09:26:43.443573
0:00:18.926894449 7958 0x2f9bcea0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:18.927083737 7958 0x2f9bcea0 WARN nvinfer gstnvinfer.cpp:2397:gst_nvinfer_output_loop: error: streaming stopped, reason error (-5)
ID 0: Not enough time elapsed. Waiting to collect more frames.
alllllllllllreadyyyyyyyyyyyyyyy senttttttttttttt
2025-04-08 09:26:43.513149
[NvMultiObjectTracker] De-initialized
0:00:19.060135427 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.533206321 < 0:00:09.973206321)
0:00:19.156483176 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.573206321 < 0:00:10.133206321)
0:00:19.192718359 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.653206321 < 0:00:10.153206321)
0:00:19.193764742 7958 0x2f9bc800 WARN rtspsrc gstrtspsrc.c:6585:gst_rtspsrc_send: error: Unhandled error
0:00:19.193819400 7958 0x2f9bc800 WARN rtspsrc gstrtspsrc.c:6585:gst_rtspsrc_send: error: Method Not Valid in This State (455)
0:00:19.193998704 7958 0x2f9bc800 WARN rtspsrc gstrtspsrc.c:8669:gst_rtspsrc_pause: error: Could not send message. (Generic error)
0:00:19.431179514 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.654206321 < 0:00:10.253206321)
0:00:19.446168566 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.753206321 < 0:00:10.253206321)
0:00:19.458580255 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.773206321 < 0:00:10.333206321)
0:00:19.486399927 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.853206321 < 0:00:10.373206321)
0:00:19.610461452 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.933206321 < 0:00:10.473206321)
0:00:19.622943223 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:08.973206321 < 0:00:10.533206321)
0:00:19.648646384 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.053206321 < 0:00:10.573206321)
0:00:19.681218875 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.133206321 < 0:00:10.653206321)
0:00:19.728281866 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.173206321 < 0:00:10.733206321)
0:00:19.756288714 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.253206321 < 0:00:10.853206321)
0:00:19.790177775 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.333206321 < 0:00:10.933206321)
0:00:19.798759533 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.373206321 < 0:00:10.973206321)
0:00:19.818231184 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.453206321 < 0:00:11.053206321)
0:00:19.833125959 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.454206321 < 0:00:11.054206321)
0:00:19.898052339 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.533206321 < 0:00:11.133206321)
0:00:19.937623061 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.573206321 < 0:00:11.173206321)
0:00:20.018635661 7958 0xfffe5401ab00 WARN videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:09.653206321 < 0:00:11.253206321)

Please provide complete information as applicable to your setup. Thanks
Hardware Platform (Jetson / GPU)
DeepStream Version
JetPack Version (valid for Jetson only)
TensorRT Version
NVIDIA GPU Driver Version (valid for GPU only)
Issue Type( questions, new requirements, bugs)
How to reproduce the issue ? (your whole pipeline or specific reference samples)

Hardware Platform Jetson
DeepStream Version 6.3
Ubuntu 20

Could you attach your whole pipeline and the version of Jetpack?
From the log, it is a memory processing problem, which may be your settings for the plugin have a problem.