Deployment of custom pipeline on jetson AGX Xavier with Deep stream

Hi Team,

  • We are testing Person Zone tracking pipeline with Deep stream on jetson AGX Xavier with jetpack 5.1, CUDA 11.4 which is mounted on Aver media carrier board AG411.
  • Installed deep stream 6.2.0 on jetson AGX Xavier with 28GB memory size and 62GB RAM.
  • Verified the Deep Stream installation by running the default sample applications 1 and 2, but it’s not work, and I received the following error:
    One element could not be created. Exiting.
  • We tried to remove the blacked list using the command: rm -rf ~/.cache/gstreamer-1.0/
    But its not removed, i have installed the correct deep stream version for the jetpack 5.1 based on the below link: JetPack SDK | NVIDIA Developer, Installation — DeepStream documentation

Can you please help us to resolve this issue

Regards
Karthiga N

Please add some log in the samples you have already run to find out which element caused problem.
You can modify the source code like below.
source code

  if (!source || !h264parser || !decoder || !pgie
      || !nvvidconv || !nvosd || !sink) {
    g_printerr ("One element could not be created. Exiting.\n");
    return -1;
  }

Modified code:

if (!source) {
    g_printerr ("Source could not be created. Exiting.\n");
    return -1;
  }

 if (!h264parser) {
    g_printerr ("H264parser could not be created. Exiting.\n");
    return -1;
  }
...

Hi @yuweiw , thanks for the reply

I tried the above solution which you suggested and came to know it was falling at this point of the below source code:

streammux = gst_element_factory_make (“nvstreammux”, “stream-muxer”);

if (!pipeline || !streammux) {
g_printerr (“One element could not be created . Exiting.\n”);
return -1;
}

Its giving the same error : One element could not be created .
I checked for the blacklisted plugins, it showing below 14 blacklisted files:
Blacklisted files:
libcustom2d_preprocess.so
libnvdsgst_tracker.so
libnvdsgst_ofvisual.so
libnvdsgst_inferserver.so
libnvdsgst_dsexample.so
libnvdsgst_multistream.so
libnvdsgst_udp.so
libnvdsgst_dewarper.so
libgstnvvideoconvert.so
libnvdsgst_preprocess.so
libnvdsgst_infer.so
libnvdsgst_multistreamtiler.so
libnvdsgst_deepstream_bins.so
libnvdsgst_segvisual.so

Total count: 14 blacklisted files
Tried this command : sudo rm -rf ~/.cache/gstreamer-1.0/ to delete the blacklisted files, but its not deleting.
I have tried to reinstall the deep stream but still facing same issue.

Could you please help me to resolve this issue.

Regards,
Karthiga N

Could you check if there is /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so in your env? If there is, you can run the command below to check if there are any missing libraries.

ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so

Hi @yuweiw , thanks for the reply

I tried the above solution which you suggested, two libraries are missing

  • libnvdsbufferpool.so.1.0.0
  • libnvbufsurftransform.so.1.0.0

Attaching Screenshot for reference

I have tried to reinstall the deep stream but still facing same issue.

Could you please help me to resolve this issue.

Regards,
Karthiga N

These two libraries are not the libs of DeepStream. So even you reinstalled the deepstream but still facing same issue. It might be that there are some issues with your system installation. You need to reinstall the system using sdkmanager.

Hi @yuweiw, thanks for your quick response.

We have jetson AGX Xavier which is mounted on Aver media carrier board AG411 with jetpack 5.1, CUDA 11.4

Is it possible to update the jetpack or reinstall the system using sdkmanager of Nvidia?

Could you consult your vendor on how to flash the device correctly in this scenario?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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