Can not run: deepstream-test5 while deepstream-test1/test2/test3/test4 all run OK

  1. Per README file, after make, I issued commands to run the test5 example:

./deepstream-test5-app -c configs/test5_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt -p 0
or
./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 1

But I got following erros:

** ERROR: main:1451: Failed to set pipeline to PAUSED
Quitting
ERROR from sink_sub_bin_sink2: Could not configure supporting library.
Debug info: gstnvmsgbroker.c(388): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2:
unable to connect to broker library
ERROR from sink_sub_bin_sink2: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Debug info: gstbasesink.c(5265): gst_base_sink_change_state (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2:
Failed to start
App run failed

Can you please advise how to fix the problem?

• Hardware Platform (Jetson / GPU) - RTX2080 dGPU
• DeepStream Version - 5.0
• JetPack Version (valid for Jetson only) N/A
• TensorRT Version - 7.0
• NVIDIA GPU Driver Version (valid for GPU only): 450.80
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Can you attach your config file?

@amycao,

I just uploaded the config file: test5_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt.

After I have looked into that file more, I have found the problem may be related to:

  1. #Provide your msg-broker-conn-str here : missing the important information for topic/host/port
    msg-broker-conn-str=;;

  2. missing the video: uri=rtsp://foo.com/stream1.mp4 and uri=rtsp://foo.com/stream2.mp4

I think that #1 is the main problem.

Hope that you can give me some suggestions.
Thanks

test5_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt (7.8 KB)

1 Like

you need to config kafka server ip and toppic or set enabled = 0 at sink1 group

for your reference

msg-broker-conn-str=ip;9092 // ip for broker running on host
topic=dstest //topic created

For how to setup kafka broker on your machine & create topic(s)

@armcao, thanks. Here is what I have done which can get the test5 to run:

in in the config files: test5_config_file_src_infer.txt and test5_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt, I have added the information:

msg-broker-conn-str=localhost;9092;quickstart-events
#msg-broker-conn-str=;;

  1. downloaded the kafka_2.13-2.7.0 and opened the three shells and do:

bin/zookeeper-server-start.sh config/zookeeper.properties

bin/kafka-server-start.sh config/server.properties

bin/kafka-topics.sh --create --topic quickstart-events --bootstrap-server localhost:9092

  1. then run the test5

./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 1 and
bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092

change to
msg-broker-conn-str=localhost;9092
topic=quickstart-events