Faced an error running "deepstream_python_apps/apps/runtime_source_add_delete"

I’ve been facing an error running deepstream_python_apps/apps/runtime_source_add_delete. I run it without modifying anything, I get the following error:

Error: gst-core-error-quark: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. (4): gstbasesink.c(5367): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstNv3dSink:nv3d-sink:
Failed to start

• Hardware Platform (Jetson / GPU) Jetson Xavier NX
• DeepStream Version: 6.2
• JetPack Version (valid for Jetson only): 5.1
• 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):

  • Command line:
    $ python3 deepstream_rt_src_add_del.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4

I’ve attached the run-time log.
Thank you for your confirmation.


debug-log-20230519.txt (5.9 MB)

0:00:01.385307079 2226126      0x401a300 DEBUG         nvvideodisplay display_x11.c:63:gst_nv_video_display_x11_init:<GstNvVideoDisplayX11@0x4d0c5d0> init done
0:00:01.385393832 2226126      0x401a300 ERROR         nvvideodisplay display_x11.c:77:gst_nv_video_display_x11_new: failed to open X11 display connection
0:00:01.385426216 2226126      0x401a300 DEBUG         nvvideodisplay display_x11.c:31:gst_nv_video_display_x11_finalize: closing X11 display connection, handle=(nil)
0:00:01.385453480 2226126      0x401a300 DEBUG         nvvideodisplay display_x11.c:37:gst_nv_video_display_x11_finalize: closed X11 display connection
0:00:01.385487817 2226126      0x401a300 ERROR         nvvideodisplay display.c:105:gst_nv_video_display_new: couldn't create display. GST_NV_VIDEO_WINSYS = (null)
0:00:01.385512713 2226126      0x401a300 ERROR               nv3dsink gstnv3dsink.c:247:gst_nv3dsink_start:<nv3d-sink> failed to create new display

Do you have a monitor ? No display may meet error.

If the monitor is plugged, try export DISPLAY=:0.0


Thank you for your reply.

No display may meet error.
If the monitor is plugged, try export DISPLAY=:0.0

I’ll check that.

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