I’m trying to run a sample app to understand how deepstream works. I run into “** ERROR: main:651: Failed to set pipeline to PAUSED” Error. I’m not sure if I’ve missed any steps.
Allow external applications to connect to the host’s X display:
xhost +
Run the docker container using the nvidia-docker command
nvidia-docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /root nvcr.io/nvidia/deepstream:4.0-19.07
Current Working Directory:
/root/deepstream_sdk_v4.0_x86_64/samples/configs/deepstream-app
Thanks for the suggestion of ‘–gst-debug’. I was able to find some similar errors in the forum and was able to update certain things. After trial and error, I updated the docker run command as I was still getting errors with command in the documentation.
If you do not have a local display attached to your server (i.e headless) then you won’t be able to use EGL sink, and hence you’ll see this error.
Can you post the full [sink] config block you have used for this option ?
Fakesink doesn’t have a display output by default. But as you can see from the logs, pipeline has been running successfully.
If you are running this on a headless server, i would suggest using type=4 which is RTSP streaming output. The related config block sample looks like this -
[sink2]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
sync=0
bitrate=4000000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
gpu-id=1
You can also find more information regarding config options for sink group over here - DeepStream Development Guide
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
X11 connection rejected because of wrong authentication.
0:00:00.428063294 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:sink> Unable to try format: Unknown error -1
0:00:00.428083924 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:sink> Could not probe minimum capture size for pixelformat YM12
0:00:00.428091359 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:sink> Unable to try format: Unknown error -1
0:00:00.428097475 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:sink> Could not probe maximum capture size for pixelformat YM12
0:00:00.428104797 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x55a5e2d49110 Failed to determine interlace mode
0:00:00.428130359 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:src> Unable to try format: Unknown error -1
0:00:00.428136687 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:src> Could not probe minimum capture size for pixelformat H264
0:00:00.428141049 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:src> Unable to try format: Unknown error -1
0:00:00.428145633 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:src> Could not probe maximum capture size for pixelformat H264
Creating LL OSD context new
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so
gstnvtracker: Optional NvMOT_RemoveStreams not implemented
gstnvtracker: Batch processing is OFF
0:00:02.581583413 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.581852143 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.582448231 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.582612825 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.583005111 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.583208048 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.586076425 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.586242045 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
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:163>: Pipeline ready
0:00:02.586883947 447 0x55a5e2c2cc00 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.586897157 447 0x7f2458003990 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.587002978 447 0x7f2458003990 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.587006738 447 0x55a5e2c2cc00 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.587096542 447 0x7f2458003990 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.587099136 447 0x55a5e2c2cc00 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.588665653 447 0x7f24340046d0 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.588758714 447 0x7f24340046d0 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.588830528 447 0x7f24340046d0 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.589610490 447 0x55a5e2c38850 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.590086806 447 0x55a5e2c38850 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.590516460 447 0x55a5e2c38850 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.629068696 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629082515 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.629088402 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629093906 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.629106469 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629113127 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H265
0:00:02.629117747 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629125391 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H265
0:00:02.629138195 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629144078 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H264
0:00:02.629148203 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629153321 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H264
0:00:02.629175700 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.629181382 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat NM12
0:00:02.629185777 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.629190975 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat NM12
0:00:02.629199710 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f2414017be0 Failed to determine interlace mode
0:00:02.629414628 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629426865 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.629434961 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629441851 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.629455002 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629473225 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat H265
0:00:02.629479765 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629485193 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat H265
0:00:02.629495718 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629501211 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat H264
0:00:02.629507051 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629513836 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat H264
0:00:02.629540063 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:src Unable to try format: Unknown error -1
0:00:02.629545678 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:src Could not probe minimum capture size for pixelformat NM12
0:00:02.629580626 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:src Unable to try format: Unknown error -1
0:00:02.629586453 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:src Could not probe maximum capture size for pixelformat NM12
0:00:02.629597296 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f243001b6b0 Failed to determine interlace mode
0:00:02.630201641 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630213163 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.630218736 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630225430 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.630237094 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630243919 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat H265
0:00:02.630249815 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630255238 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat H265
0:00:02.630265492 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630269891 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat H264
0:00:02.630275575 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630283019 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat H264
0:00:02.630300152 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:src Unable to try format: Unknown error -1
0:00:02.630305472 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:src Could not probe minimum capture size for pixelformat NM12
0:00:02.630311264 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:src Unable to try format: Unknown error -1
0:00:02.630316323 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:src Could not probe maximum capture size for pixelformat NM12
0:00:02.630322948 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f240801efd0 Failed to determine interlace mode
0:00:02.635027207 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635039216 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.635044583 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635051140 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.635062694 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635067505 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat H265
0:00:02.635075993 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635084252 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat H265
0:00:02.635094573 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635099707 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat H264
0:00:02.635105253 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635112248 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat H264
0:00:02.635128859 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:src Unable to try format: Unknown error -1
0:00:02.635134834 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:src Could not probe minimum capture size for pixelformat NM12
0:00:02.635139784 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:src Unable to try format: Unknown error -1
0:00:02.635144067 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:src Could not probe maximum capture size for pixelformat NM12
0:00:02.635150318 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f242001ac20 Failed to determine interlace mode
0:00:02.735061939 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735076158 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735095986 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735100538 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735115820 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735121217 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735137903 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735142065 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735155366 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.735160900 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.736427805 447 0x55a5e2c2cf20 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.736603034 447 0x55a5e2c2cf20 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder0:pool:src Uncertain or not enough buffers, enabling copy threshold
Creating LL OSD context new
0:00:02.738427577 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.738442329 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738487603 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738584709 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.738590545 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738617622 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
0:00:02.738629725 447 0x55a5e2dd15e0 WARN GST_PADS gstpad.c:4226:gst_pad_peer_query:<sink_sub_bin_cap_filter1:src> could not send sticky events
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738796869 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738809298 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738826328 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738832430 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738853211 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738857493 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738880955 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738885901 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738898423 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.738903843 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.739334255 447 0x55a5e2c2ca80 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.739498567 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.739507381 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.739514203 447 0x55a5e2c2ca80 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder1:pool:src Uncertain or not enough buffers, enabling copy threshold
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.739542631 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.740517703 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740529808 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740546659 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740551143 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740565581 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740571399 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740585805 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740590056 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740603837 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.740610233 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761125054 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761141649 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761146620 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761164379 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761168900 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761181848 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761186372 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761202294 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761206926 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from Making sure you're not a bot!
0:00:02.761623516 447 0x55a5e2c2c850 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.761794377 447 0x55a5e2c2c850 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder3:pool:src Uncertain or not enough buffers, enabling copy threshold
0:00:02.803814987 447 0x7f241c0032d0 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder0:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.805047569 447 0x7f2430001990 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder1:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.806510284 447 0x7f24080039e0 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder2:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.808747539 447 0x7f2420002720 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder3:pool:src Driver should never set v4l2_buffer.field to ANY
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.900166265 447 0x7f2430001990 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.904847333 447 0x7f2420002720 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.909200859 447 0x7f24080039e0 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.913544616 447 0x7f241c0032d0 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
App run failed
Are you sure that you havent left the EGL sink option enabled when you ran this ? Because the error message says - “X11 connection rejected because of wrong authentication.”
Please disable all other sink blocks and leave just the RTSP sink enabled.
It finally ran after I pulled a different container (deepstream:4.0.1-19.09-devel). I enabled the RTSP as you had suggested. But I’m still unable to view the GUI. Am I supposed to set anything else?
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
Creating LL OSD context new
0:00:00.910840667 19 0x55e5cdb96630 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:useEngineFile(): Failed to read from model engine file
0:00:00.910877953 19 0x55e5cdb96630 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:11.577739030 19 0x55e5cdb96630 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /root/deepstream_sdk_v4.0.1_x86_64/samples/models/Primary_Detector/resnet10.caffemodel_b30_int8.engine
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.