Cannot run deepstream6.1 usbcam example on jetson xavier

Hi. I am trying to set up development environment using deepstream-l4t image.

I am using jetson xavier.

On my xavier, I down load ‘’.

And I install python binding. (

After I succeed install python bindings, I ran ‘python’, a sample app.

Then I got below error:

Creating Pipeline 
Creating Source 
Creating Video Converter 

 Unable to create pgie 
 Unable to create nvosd 
Creating EGLSink 

Playing cam /dev/video0 
Traceback (most recent call last):
  File "", line 283, in <module>
  File "", line 214, in main
    pgie.set_property('config-file-path', "dstest1_pgie_config.txt")
AttributeError: 'NoneType' object has no attribute 'set_property'

Can you help me?

Two more questions.

  1. Can I use deepstream 6.1 on ubuntu 18.04?
    because some example like this link make me confuse like deepstream6.1 is only available on ubuntu 20.04.

  2. Can you let me know nvidia container runtime-deepstream version compatibility?


xavier host os version( Linux nvidia-desktop 4.9.253-tegra):
VERSION=“18.04.5 LTS (Bionic Beaver)”
PRETTY_NAME=“Ubuntu 18.04.5 LTS”

Unable to create pgie
Unable to create nvosd
Can you find these plugins?
You can not run deepstream 6.1 on ubuntu 18.04. you can use docker to escape this dependency.

I cannot find those plugins. This is the curious part because I down load ‘’ image. Isn’t this image supposed to have the forementioned plugins?

If not, how to install those plugins?

From deepstream6.1 document I found below. should I install it on host? (because I still have same problem I mentioned above after I installed dependecies and kafka in docker container)

1. Install Dependencies

Enter the following commands to install the prerequisite packages:

$ sudo apt install \
libssl1.1 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstrtspserver-1.0-0 \
libjansson4 \

2. install kafka

How about result gst-inspect-1.0 nvinfer

I solved my issue by downloading deepstream6.0 docker image and installing missing gstreamer libraries.

It seems I must setup my jetson using Jetpack 5.0.1 DP.
So deepstream6.1 docker image is not compatible with Jetson OS that is installed by previous Jetpack version.

Please use compatible Jetpack and Deepstream version.

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