Error while running tappas multistream_multidevice module

hi community , I am Prateek. hope you guys are doing well. from past 1 week , I was working on setting up hailort v8 module to my ubuntu system which I have completed , now I am able to aceese the hailo env and use tappas repository though I can use basic detection modules but while working with the multistream_multidevice modul I am facing errors . now for using rtsp.sh the error is
“Running Pipeline…
[HailoRT] [error] CHECK failed - Failed to create vdevice. there are not enough free devices. requested: 1, found: 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
CHECK_EXPECTED_AS_STATUS failed with status=74
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (open) Opening Stream
Progress: (open) Opening Stream
Progress: (open) Opening Stream
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp:///?h264x=4
Progress: (connect) Connecting to rtsp:///?h264x=4
Progress: (connect) Connecting to rtsp:///?h264x=4
Progress: (open) Opening Stream
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:source_7: Could not open resource for reading and writing.
Additional debug info:
…/gst/rtsp/gstrtspsrc.c(7900): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:source_7:
Failed to connect. (Generic error)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …”
and
for multi_video.sh the error is
“Running Pipeline…
[HailoRT] [error] CHECK failed - Failed to create vdevice. there are not enough free devices. requested: 1, found: 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
CHECK_EXPECTED_AS_STATUS failed with status=74
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin7/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
…/gst/isomp4/qtdemux.c(6619): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin7/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …”
I would request you to please provide appropriate solution to these errors.

Hey @prateek.s ,

This error means that Hailo8 is still running something in the background or the last run was interrupted mid run and was not cleared .

can you please restart the pc and hailo8 , and then re run them ?
if there is still an error please provide it.

hope this fixes the issue,
Regards

receiving the same error after restarting the device and hailo8

further using GST_DEBUG=3 along with .sh file we get :

“CHECK_EXPECTED_AS_STATUS failed with status=74
Setting pipeline to PAUSED …
0:00:00.319045570 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319171442 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319277728 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319371222 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319453414 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319824972 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.319959968 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
0:00:00.320176980 800 0x55930135fad0 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete: pad not activated yet
Pipeline is PREROLLING …
0:00:00.326322147 800 0x7f77ec0750c0 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.326385067 800 0x7f77ec0750c0 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.328602837 800 0x559301365360 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.331550953 800 0x559301365360 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.332269301 800 0x7f77fc020060 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.332359169 800 0x7f77fc020060 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.332361863 800 0x7f7814009b00 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.332414388 800 0x7f7814009b00 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.333500390 800 0x7f781001a580 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.333220525 800 0x7f7804013800 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.335168809 800 0x7f7800018920 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.335599160 800 0x7f7800018920 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.337444111 800 0x7f781001a580 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.338549364 800 0x7f780801af00 WARN qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.341502507 800 0x7f780801af00 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:00.338636518 800 0x7f7804013800 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex: failed to find fragment defaults for stream 1
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
0:00:00.695474315 800 0x7f77ec0750c0 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.695498765 800 0x7f77ec0750c0 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin6/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
…/gst/isomp4/qtdemux.c(6619): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin6/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
0:00:00.702455120 800 0x7f7814009b00 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.702515214 800 0x7f7814009b00 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.705530902 800 0x7f780801af00 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.705842010 800 0x7f780801af00 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.711891766 800 0x7f7800018920 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.711921386 800 0x7f7800018920 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.715258942 800 0x7f781001a580 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.715612012 800 0x7f781001a580 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.719000502 800 0x7f7804013800 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.719178319 800 0x7f7804013800 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.725308281 800 0x559301365360 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.725922994 800 0x559301365360 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.726256969 800 0x559301365360 WARN multiqueue gstmultiqueue.c:2357:gst_multi_queue_sink_event: error: Internal data stream error.
0:00:00.726550343 800 0x559301365360 WARN multiqueue gstmultiqueue.c:2357:gst_multi_queue_sink_event: error: streaming stopped, reason not-negotiated (-4)
0:00:00.728675749 800 0x7f77fc020060 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: Internal data stream error.
0:00:00.729215889 800 0x7f77fc020060 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.733076465 800 0x7f77fc020060 WARN multiqueue gstmultiqueue.c:2357:gst_multi_queue_sink_event: error: Internal data stream error.
0:00:00.733468983 800 0x7f77fc020060 WARN multiqueue gstmultiqueue.c:2357:gst_multi_queue_sink_event: error: streaming stopped, reason not-negotiated (-4)
Freeing pipeline …”

Hi,
Note that this is a Multi Device demo.
You need 2 Hailo devices to run this demo.

thank you
for the reply and assistance provided by the @giladn

1 Like