Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson Nano • DeepStream Version 5.1 • JetPack Version (valid for Jetson only) 4.5.1 • TensorRT Version 7.1.3-1+cuda10.2 • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs)
I want to run my deepstream-image-meta-test at the startup of my Jetson nano…i,e it must be able to Autorun once my system gets started. I tried it with Startup Applications tool in Jetson nano but it didn’t work.
(For a normal python script this was working fine)
After that i tried to insert the command in rc.local but that also didn’t work.
I am getting the error as:
Opening in BLOCKING MODE
Frame Number = 1 Number of objects = 0 Vehicle Count = 0 Person Count = 0
0:00:40.159035402 e[336m 5759e[00m 0x55abd094a0 e[33;01mWARN e[00m e[00m nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop:e[00m error: Internal data stream error.
0:00:40.159067433 e[336m 5759e[00m 0x55abd094a0 e[33;01mWARN e[00m e[00m nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop:e[00m error: streaming stopped, reason error (-5)
ERROR from element primary-nvinference-engine: Internal data stream error.
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(1984): gst_nvinfer_output_loop (): /GstPipeline:ds-image-meta-test-pipeline/GstNvInfer:primary-nvinference-engine:
streaming stopped, reason error (-5)
Returned, stopping playback
Deleting pipeline
So please help me with this issue and guide me the steps so that i can autorun my deepstream app with an ease.
Hi,
From the log it seems like you don’t execute $ export DISPLAY=:0(or 1) correctly. Please set it for a try. Or you can modify the sample to use nvoverlaysink plugin.
Hi @DaneLLL ,
Thanks for the reply can you please tell me where should i put this $ export DISPLAY=:0(or 1) in my deepstream-image-meta-test code or in rc.local?
But i am getting this as my log and program is not executing:
No protocol specified
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
Please help me out with this issue 🙏
I am facing a lot difficulties in moving to the next steps due to this issue
But what will be the command if i want to run with deepstream-image-meta test that i must put in rc.local
i have tried following commands in my bash file:
But none work for me…
The thing is i want to run my c code i.e deepstream_image_meta_test.c at the startup just like in a way your above solution works.
Please provide me what command should i compose so that i will be able to run my deepstream_image_meta_test.c
The config file ds_image_meta_pgie_config.txt can be set and run. For running deepstream-image-meta-test, you would need to modify the sample to have all paths be absolute paths, or it cannot find the config file while the command is executing.
Thanks for the reply.
I was able to play my video with the bash script provided by you.
But actually my requirement is to run the c code i.e. deepstream_image_meta_test.c
This deepstream_image_meta_test.c code clicks the snapshots of every frame and save the jpeg images corresponding to that this is actually i want to achieve and so i want to run this deepstream_image_meta_test.c at the startup.
It is running successfully by executing it from terminal.
My requirement is fulfilled by this c code and i have modified this c code as per my requirement. So my purpose will be only resolved when i will be able to run this c file at Autorun just like i am able to run this above provided bash script.
Looking for a Support from your side to help me run this application.
Hi,
Since the samples are open source, you should be able to check/build/run either sample and do further debugging. For this use-case, you can enter root user and run