Jetpack 5.0.2 flash from SDK Manager doesn't fully install Deepstream

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson NX 16GB (0003)
• DeepStream Version
6.1.1
• JetPack Version (valid for Jetson only)
5.0.2 Rev 1
• Issue Type( questions, new requirements, bugs)
Installation issue
• 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)

Flash a Jetson NX 16GB to an NVME trhough USB using the SDK manager and all options selected.

Start the jetson and run the following from the command line: deepstream-app --version-all

It gives this error:

deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory

The last install I had the same issue and had to run:

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 \
libgstreamer-plugins-base1.0-dev \
libgstrtspserver-1.0-0 \
libjansson4 \
libyaml-cpp-dev

(from the quick start) in order to get deepstream-app to work… It seems like the SDK manager should make sure the dependencies are correct?

There seem to be other things not quite right in this stock load… I’m going to preserve it overnight in case there are things that I should capture from it. This is

In the morning, I will start the same steps that I did for the last installation.

(At some point that last build lost it’s ability to resolve host names so I had to start over… I am not asking about that yet because it could be my fault.)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Moved to NX forum for better support.

So… SDKManager definitely didn’t install libgstrtspserver nor did it install the newest versions of several other files…

Since the tool erases and reflashes the operating system before installing the jetpack, there’s really not a way for us to install the prerequisites in between the OS and Jetpack install…

ubuntu:~$ deepstream-app --version-all
deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory

ubuntu:~$ 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
libgstreamer-plugins-base1.0-dev
libgstrtspserver-1.0-0
libjansson4
libyaml-cpp-dev
[sudo] password for mic-710aix:
Reading package lists… Done
Building dependency tree
Reading state information… Done
libjansson4 is already the newest version (2.12-1build1).
libyaml-cpp-dev is already the newest version (0.6.2-4ubuntu1).
libyaml-cpp-dev set to manually installed.
gstreamer1.0-libav is already the newest version (1.16.2-2).
gstreamer1.0-plugins-ugly is already the newest version (1.16.2-2build1).
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libaec0
libarmadillo9 libarpack2 libavcodec-dev libavformat-dev libavresample-dev libavresample4 libavutil-dev libcfitsio8 libcharls2 libdap25 libdapclient6v5
libdc1394-22-dev libdebian-installer4 libepsilon1 libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5
libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libkmlbase1
libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2 libopencv-contrib4.2
libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2
libopencv-objdetect4.2 libopencv-photo4.2 libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2
libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libpng-dev libpq5 libproj15 libqhull7 libraw1394-dev libsocket++1
libspatialite7 libsuperlu5 libswresample-dev libswscale-dev libsz2 libtesseract4 libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1
libvtk6.3 libxerces-c3.2 odbcinst odbcinst1debian2 os-prober proj-data python3-icu python3-pam rdate tasksel tasksel-data
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 libgstreamer-gl1.0-0 libgstreamer-opencv1.0-0 libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer-plugins-good1.0-dev libgstreamer1.0-0-dbg
libgstreamer1.0-dev
Suggested packages:
frei0r-plugins libvisual-0.4-plugins gstreamer1.0-doc
Recommended packages:
debhelper
The following NEW packages will be installed:
libgstrtspserver-1.0-0
The following packages will be upgraded:
gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-tools
libgstreamer-gl1.0-0 libgstreamer-opencv1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-0
libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-0 libgstreamer-plugins-good1.0-dev libgstreamer1.0-0 libgstreamer1.0-0-dbg libgstreamer1.0-dev
libssl1.1
18 upgraded, 1 newly installed, 0 to remove and 94 not upgraded.
Need to get 11.0 MB of archives.
After this operation, 564 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /ubuntu-ports focal-updates/main arm64 libssl1.1 arm64 1.1.1f-1ubuntu2.16 [1,156 kB]
Get:2 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer1.0-0-dbg arm64 1.16.3-0ubuntu1.1 [3,360 kB]
Get:3 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer1.0-dev arm64 1.16.3-0ubuntu1.1 [484 kB]
Get:4 Index of /ubuntu-ports focal-updates/main arm64 gir1.2-gstreamer-1.0 arm64 1.16.3-0ubuntu1.1 [72.2 kB]
Get:5 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer1.0-0 arm64 1.16.3-0ubuntu1.1 [803 kB]
Get:6 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer-plugins-base1.0-dev arm64 1.16.3-0ubuntu1.1 [383 kB]
Get:7 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer-plugins-base1.0-0 arm64 1.16.3-0ubuntu1.1 [664 kB]
Get:8 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer-gl1.0-0 arm64 1.16.3-0ubuntu1.1 [146 kB]
Get:9 Index of /ubuntu-ports focal-updates/main arm64 gir1.2-gst-plugins-base-1.0 arm64 1.16.3-0ubuntu1.1 [85.6 kB]
Get:10 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer-plugins-good1.0-dev arm64 1.16.3-0ubuntu1.1 [17.5 kB]
Get:11 Index of /ubuntu-ports focal-updates/universe arm64 gstreamer1.0-plugins-bad arm64 1.16.3-0ubuntu1 [1,554 kB]
Get:12 Index of /ubuntu-ports focal-updates/main arm64 gstreamer1.0-plugins-good arm64 1.16.3-0ubuntu1.1 [1,536 kB]
Get:13 Index of /ubuntu-ports focal-updates/main arm64 libgstreamer-plugins-good1.0-0 arm64 1.16.3-0ubuntu1.1 [67.5 kB]
Get:14 Index of /ubuntu-ports focal-updates/universe arm64 libgstreamer-plugins-bad1.0-dev arm64 1.16.3-0ubuntu1 [114 kB]
Get:15 Index of /ubuntu-ports focal-updates/universe arm64 libgstreamer-opencv1.0-0 arm64 1.16.3-0ubuntu1 [61.2 kB]
Get:16 Index of /ubuntu-ports focal-updates/universe arm64 gir1.2-gst-plugins-bad-1.0 arm64 1.16.3-0ubuntu1 [35.0 kB]
Get:17 Index of /ubuntu-ports focal-updates/universe arm64 libgstreamer-plugins-bad1.0-0 arm64 1.16.3-0ubuntu1 [293 kB]
Get:18 Index of /ubuntu-ports focal-updates/main arm64 gstreamer1.0-tools arm64 1.16.3-0ubuntu1.1 [42.4 kB]
Get:19 Index of /ubuntu-ports focal/universe arm64 libgstrtspserver-1.0-0 arm64 1.16.2-3 [118 kB]
Fetched 11.0 MB in 5s (2,306 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database … 162007 files and directories currently installed.)
Preparing to unpack …/00-libssl1.1_1.1.1f-1ubuntu2.16_arm64.deb …
Unpacking libssl1.1:arm64 (1.1.1f-1ubuntu2.16) over (1.1.1f-1ubuntu2.13) …
Preparing to unpack …/01-libgstreamer1.0-0-dbg_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer1.0-0-dbg:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-2) …
Preparing to unpack …/02-libgstreamer1.0-dev_1.16.3-0ubuntu1.1_arm64.deb …
Leaving ‘diversion of /usr/bin/dh_gstscancodecs to /usr/bin/dh_gstscancodecs-gst0.10 by libgstreamer1.0-dev’
Leaving ‘diversion of /usr/share/man/man1/dh_gstscancodecs.1.gz to /usr/share/man/man1/dh_gstscancodecs.1.gz-gst0.10 by libgstreamer1.0-dev’
Unpacking libgstreamer1.0-dev:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-2) …
Preparing to unpack …/03-gir1.2-gstreamer-1.0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking gir1.2-gstreamer-1.0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-2) …
Preparing to unpack …/04-libgstreamer1.0-0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer1.0-0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-2) …
Preparing to unpack …/05-libgstreamer-plugins-base1.0-dev_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer-plugins-base1.0-dev:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-4ubuntu0.1) …
Preparing to unpack …/06-libgstreamer-plugins-base1.0-0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer-plugins-base1.0-0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-4ubuntu0.1) …
Preparing to unpack …/07-libgstreamer-gl1.0-0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer-gl1.0-0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-4ubuntu0.1) …
Preparing to unpack …/08-gir1.2-gst-plugins-base-1.0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking gir1.2-gst-plugins-base-1.0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-4ubuntu0.1) …
Preparing to unpack …/09-libgstreamer-plugins-good1.0-dev_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer-plugins-good1.0-dev (1.16.3-0ubuntu1.1) over (1.16.2-1ubuntu2.1) …
Preparing to unpack …/10-gstreamer1.0-plugins-bad_1.16.3-0ubuntu1_arm64.deb …
Unpacking gstreamer1.0-plugins-bad:arm64 (1.16.3-0ubuntu1) over (1.16.2-2.1ubuntu1) …
Preparing to unpack …/11-gstreamer1.0-plugins-good_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking gstreamer1.0-plugins-good:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-1ubuntu2.1) …
Preparing to unpack …/12-libgstreamer-plugins-good1.0-0_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking libgstreamer-plugins-good1.0-0:arm64 (1.16.3-0ubuntu1.1) over (1.16.2-1ubuntu2.1) …
Preparing to unpack …/13-libgstreamer-plugins-bad1.0-dev_1.16.3-0ubuntu1_arm64.deb …
Unpacking libgstreamer-plugins-bad1.0-dev:arm64 (1.16.3-0ubuntu1) over (1.16.2-2.1ubuntu1) …
Preparing to unpack …/14-libgstreamer-opencv1.0-0_1.16.3-0ubuntu1_arm64.deb …
Unpacking libgstreamer-opencv1.0-0:arm64 (1.16.3-0ubuntu1) over (1.16.2-2.1ubuntu1) …
Preparing to unpack …/15-gir1.2-gst-plugins-bad-1.0_1.16.3-0ubuntu1_arm64.deb …
Unpacking gir1.2-gst-plugins-bad-1.0:arm64 (1.16.3-0ubuntu1) over (1.16.2-2.1ubuntu1) …
Preparing to unpack …/16-libgstreamer-plugins-bad1.0-0_1.16.3-0ubuntu1_arm64.deb …
Unpacking libgstreamer-plugins-bad1.0-0:arm64 (1.16.3-0ubuntu1) over (1.16.2-2.1ubuntu1) …
Preparing to unpack …/17-gstreamer1.0-tools_1.16.3-0ubuntu1.1_arm64.deb …
Unpacking gstreamer1.0-tools (1.16.3-0ubuntu1.1) over (1.16.2-2) …
Selecting previously unselected package libgstrtspserver-1.0-0.
Preparing to unpack …/18-libgstrtspserver-1.0-0_1.16.2-3_arm64.deb …
Unpacking libgstrtspserver-1.0-0 (1.16.2-3) …
Setting up libssl1.1:arm64 (1.1.1f-1ubuntu2.16) …
Setting up libgstreamer1.0-0:arm64 (1.16.3-0ubuntu1.1) …
Setcap worked! gst-ptp-helper is not suid!
Setting up libgstreamer1.0-0-dbg:arm64 (1.16.3-0ubuntu1.1) …
Setting up gir1.2-gstreamer-1.0:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer1.0-dev:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-plugins-base1.0-0:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-plugins-bad1.0-0:arm64 (1.16.3-0ubuntu1) …
Setting up libgstreamer-plugins-good1.0-0:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-gl1.0-0:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-opencv1.0-0:arm64 (1.16.3-0ubuntu1) …
Setting up gstreamer1.0-plugins-bad:arm64 (1.16.3-0ubuntu1) …
Setting up gstreamer1.0-tools (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-plugins-good1.0-dev (1.16.3-0ubuntu1.1) …
Setting up gstreamer1.0-plugins-good:arm64 (1.16.3-0ubuntu1.1) …
Setting up gir1.2-gst-plugins-base-1.0:arm64 (1.16.3-0ubuntu1.1) …
Setting up libgstreamer-plugins-base1.0-dev:arm64 (1.16.3-0ubuntu1.1) …
Setting up gir1.2-gst-plugins-bad-1.0:arm64 (1.16.3-0ubuntu1) …
Setting up libgstreamer-plugins-bad1.0-dev:arm64 (1.16.3-0ubuntu1) …
Setting up libgstrtspserver-1.0-0 (1.16.2-3) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for libc-bin (2.31-0ubuntu9.9) …

ubuntu:~$ deepstream-app --version-all
deepstream-app version 6.1.1
DeepStreamSDK 6.1.1
CUDA Driver Version: 11.4
CUDA Runtime Version: 11.4
TensorRT Version: 8.4
cuDNN Version: 8.4
libNVWarp360 Version: 2.0.1d3

The following did not install anything new:

sudo apt install --reinstall nvidia-l4t-gstreamer
sudo apt install --reinstall nvidia-l4t-multimedia
sudo apt install --reinstall nvidia-l4t-core

Another anomaly… From a default install, getting a “Could not create GStreamer element ‘nvurisrcbin’” error…

similar to Graph composer - multiple warnings and errors - #8 by stefan.s_from_G

fixed this by running sudo ./install.sh from the deepstream directory… (as seen below)

Again, this was loaded from SDKManager, why the partial configuration?

ubuntu:~/nvidia$ /opt/nvidia/graph-composer/execute_graph.sh /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml -d /opt/nvidia/graph-composer/config/target_aarch64.yaml 
Graphs: deepstream-test1.yaml
Target: /opt/nvidia/graph-composer/config/target_aarch64.yaml
===================================================================
Running deepstream-test1.yaml
===================================================================
[INFO] Writing manifest to /tmp/ds.deepstream-test1/manifest.yaml 
2022-09-09 13:43:59,099 - Registry - INFO - Installing graph ...
2022-09-09 13:43:59,177 - Registry - INFO - Extension update found for extension: NvDsVisualizationExt
2022-09-09 13:43:59,177 - Registry - INFO - Old version: 1.0.0 New version: 1.0.1
2022-09-09 13:43:59,178 - Registry - INFO - Extension update found for extension: NvDsVisualizationExt
2022-09-09 13:43:59,178 - Registry - INFO - Old version: 1.0.0 New version: 1.0.2
2022-09-09 13:43:59,195 - Registry - INFO - 
Requested target configuration: 
  arch: aarch64 os: linux distribution: ubuntu_20.04 cuda: 11.4 cudnn: 8.4.1 tensorrt: 8.4.1 deepstream: 6.1.1 vpi: 2.1.5 

Selected extension variants: 
StandardExtension 
  Version: 2.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 cuda: 11.4 
MultimediaExtension 
  Version: 2.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 
NvDsInterfaceExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsBaseExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceUtilsExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSourceExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsMuxDemuxExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsOutputSinkExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSampleModelsExt 
  Version: 1.0.0 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsVisualizationExt 
  Version: 1.0.2 Variant: arch: aarch64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 

Graph installed to output directory
2022-09-09 13:46:15.802 INFO  gxf/gxe/gxe.cpp@230: Creating context
2022-09-09 13:46:15.873 INFO  gxf/gxe/gxe.cpp@107: Loading app: '/opt/nvidia/deepstream/deepstream-6.1/reference_graphs/deepstream-test1/deepstream-test1.yaml'
2022-09-09 13:46:15.873 INFO  gxf/std/yaml_file_loader.cpp@117: Loading GXF entities from YAML file '/opt/nvidia/deepstream/deepstream-6.1/reference_graphs/deepstream-test1/deepstream-test1.yaml'...
2022-09-09 13:46:15.886 INFO  gxf/gxe/gxe.cpp@291: Initializing...
2022-09-09 13:46:15.939 INFO  extensions/nvdsbase/nvds_scheduler.cpp@265: This program is linked against GStreamer 1.16.3 

2022-09-09 13:46:15.940 INFO  extensions/nvdssource/nvurisrcbin.hpp@24: initialize: nvurisrcbin nv_ds_single_src_input3..c518

2022-09-09 13:46:15.941 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@27: initialize: nvstreammux nv_ds_stream_mux6..db00

2022-09-09 13:46:15.942 INFO  extensions/nvdsinference/nvinferbin.hpp@24: initialize: nvinferbin nv_ds_infer10..2748

2022-09-09 13:46:15.943 INFO  extensions/nvdsvisualization/nvosdbin.hpp@24: initialize: nvosdbin nv_ds_osd14..5978

2022-09-09 13:46:15.944 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@24: initialize: nvvideorenderersinkbin nv_ds_video_renderer18..d2b0

2022-09-09 13:46:15.946 INFO  gxf/gxe/gxe.cpp@298: Running...
2022-09-09 13:46:15.946 INFO  extensions/nvdsbase/nvds_scheduler.cpp@116: Scheduling 5 elements and 1 components
2022-09-09 13:46:15.946 INFO  extensions/nvdssource/nvurisrcbin.hpp@32: create_element: nvurisrcbin nv_ds_single_src_input3..c518

2022-09-09 13:46:15.946 ERROR extensions/nvdssource/nvurisrcbin.hpp@36: Could not create GStreamer element 'nvurisrcbin'
2022-09-09 13:46:15.946 ERROR gxf/std/program.cpp@337: Couldn't run async. Deactivating...
2022-09-09 13:46:15.949 ERROR gxf/core/runtime.cpp@1166: Graph run failed with error: GXF_FAILURE
2022-09-09 13:46:15.949 ERROR gxf/gxe/gxe.cpp@301: GxfGraphRunAsync Error: GXF_FAILURE
*******************************************************************
End deepstream-test1.yaml
*******************************************************************
[INFO] Graph installation directory /tmp/ds.deepstream-test1 and manifest /tmp/ds.deepstream-test1/manifest.yaml retained 

ubuntu:/opt/nvidia/deepstream/deepstream$ sudo ./install.sh
ubuntu:~/nvidia$ /opt/nvidia/graph-composer/execute_graph.sh /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml -d /opt/nvidia/graph-composer/config/target_aarch64.yaml 
Graphs: deepstream-test1.yaml
Target: /opt/nvidia/graph-composer/config/target_aarch64.yaml
===================================================================
Running deepstream-test1.yaml
===================================================================
[INFO] Writing manifest to /tmp/ds.deepstream-test1/manifest.yaml 
2022-09-09 14:01:04.911 INFO  gxf/gxe/gxe.cpp@230: Creating context
2022-09-09 14:01:04.980 INFO  gxf/gxe/gxe.cpp@107: Loading app: '/opt/nvidia/deepstream/deepstream-6.1/reference_graphs/deepstream-test1/deepstream-test1.yaml'
2022-09-09 14:01:04.980 INFO  gxf/std/yaml_file_loader.cpp@117: Loading GXF entities from YAML file '/opt/nvidia/deepstream/deepstream-6.1/reference_graphs/deepstream-test1/deepstream-test1.yaml'...
2022-09-09 14:01:04.992 INFO  gxf/gxe/gxe.cpp@291: Initializing...
2022-09-09 14:01:05.040 INFO  extensions/nvdsbase/nvds_scheduler.cpp@265: This program is linked against GStreamer 1.16.3 

2022-09-09 14:01:05.042 INFO  extensions/nvdssource/nvurisrcbin.hpp@24: initialize: nvurisrcbin nv_ds_single_src_input3..c518

2022-09-09 14:01:05.043 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@27: initialize: nvstreammux nv_ds_stream_mux6..db00

2022-09-09 14:01:05.044 INFO  extensions/nvdsinference/nvinferbin.hpp@24: initialize: nvinferbin nv_ds_infer10..2748

2022-09-09 14:01:05.045 INFO  extensions/nvdsvisualization/nvosdbin.hpp@24: initialize: nvosdbin nv_ds_osd14..5978

2022-09-09 14:01:05.045 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@24: initialize: nvvideorenderersinkbin nv_ds_video_renderer18..d2b0

2022-09-09 14:01:05.047 INFO  gxf/gxe/gxe.cpp@298: Running...
2022-09-09 14:01:05.048 INFO  extensions/nvdsbase/nvds_scheduler.cpp@116: Scheduling 5 elements and 1 components
2022-09-09 14:01:05.048 INFO  extensions/nvdssource/nvurisrcbin.hpp@32: create_element: nvurisrcbin nv_ds_single_src_input3..c518

2022-09-09 14:01:05.269 INFO  extensions/nvdssource/nvurisrcbin.hpp@56: bin_add: nvurisrcbin nv_ds_single_src_input3..c518

2022-09-09 14:01:05.270 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@37: create_element: nvstreammux nv_ds_stream_mux6..db00

2022-09-09 14:01:05.273 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@61: bin_add: nvstreammux nv_ds_stream_mux6..db00

2022-09-09 14:01:05.273 INFO  extensions/nvdsinference/nvinferbin.hpp@32: create_element: nvinferbin nv_ds_infer10..2748

2022-09-09 14:01:05.278 INFO  extensions/nvdsinference/nvinferbin.hpp@56: bin_add: nvinferbin nv_ds_infer10..2748

2022-09-09 14:01:05.280 INFO  extensions/nvdsvisualization/nvosdbin.hpp@32: create_element: nvosdbin nv_ds_osd14..5978

2022-09-09 14:01:05.290 INFO  extensions/nvdsvisualization/nvosdbin.hpp@56: bin_add: nvosdbin nv_ds_osd14..5978

2022-09-09 14:01:05.293 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@32: create_element: nvvideorenderersinkbin nv_ds_video_renderer18..d2b0

2022-09-09 14:01:05.293 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@54: bin_add: nvvideorenderersinkbin nv_ds_video_renderer18..d2b0


Using winsys: x11 
0:00:03.940322600  4232 0xffff383b8f30 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/tmp/ds.deepstream-test1/gxf/sample_models/primary.resnet10.caffemodel_b1_gpu0_int8.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:03.998007013  4232 0xffff383b8f30 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /tmp/ds.deepstream-test1/gxf/sample_models/primary.resnet10.caffemodel_b1_gpu0_int8.engine
0:00:04.010303576  4232 0xffff383b8f30 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<nvinfer_bin_nvinfer> [UID 1]: Load new model:/tmp/ds.deepstream-test1/gxf/sample_models/config_infer_primary.txt sucessfully
Running...
****** NvDsScheduler Runtime Keyboard controls:
p: Pause pipeline
r: Resume pipeline
q: Quit pipeline
2022-09-09 14:01:09.011 INFO  extensions/nvdsbase/nvds_scheduler.cpp@393: NvDsScheduler Pipeline ready

Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
2022-09-09 14:01:09.327 INFO  extensions/nvdsbase/nvds_scheduler.cpp@378: NvDsScheduler Pipeline running

Source 0: Frame Number = 0 Total objects = 8 [ Car:4 Person:4 ]
Source 0: Frame Number = 1 Total objects = 8 [ Car:4 Person:4 ]

......

Source 0: Frame Number = 1442 Total objects = 0 [ Bicycle:0 Car:0 Person:0 Roadsign:0 ]
End of stream
Returned, stopping playback
Deleting pipeline
2022-09-09 14:01:58.011 INFO  gxf/gxe/gxe.cpp@320: Deinitializing...
2022-09-09 14:01:58.015 INFO  gxf/gxe/gxe.cpp@327: Destroying context
2022-09-09 14:01:58.019 INFO  gxf/gxe/gxe.cpp@333: Context destroyed.
*******************************************************************
End deepstream-test1.yaml
*******************************************************************
[INFO] Graph installation directory /tmp/ds.deepstream-test1 and manifest /tmp/ds.deepstream-test1/manifest.yaml retained

Hi,
Doe it work after you manually install this package?

$ sudo apt-get install libgstrtspserver-1.0-0

I know that I need some of
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
libgstreamer-plugins-base1.0-dev
libgstrtspserver-1.0-0
libjansson4
libyaml-cpp-dev

AND

sudo ./install.sh from the deepstream directory

Next time that I do a reflash, I can try the individual installation.

But, the bigger question is why are these missing from the list and what else is missing?

I am working my way towards a working system, but this is pretty painful for a system that advertises a complete development platform.

The --version-all does work after that manual install… You should be able to duplicate this there, can’t you? And after installing the graph composer I still had to run “sudo /opt/nvidia/deepstream/deepstream/install.sh” which again should have been handled by the SDKManager?

ubuntu:~$ deepstream-app --version-all
deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory
ubuntu:~$ sudo apt-get install libgstrtspserver-1.0-0
[sudo] password: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libaec0
  libarmadillo9 libarpack2 libavcodec-dev libavformat-dev libavresample-dev libavresample4 libavutil-dev libcfitsio8 libcharls2 libdap25 libdapclient6v5
  libdc1394-22-dev libdebian-installer4 libepsilon1 libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5
  libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libkmlbase1
  libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2 libopencv-contrib4.2
  libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2
  libopencv-objdetect4.2 libopencv-photo4.2 libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2
  libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libpng-dev libpq5 libproj15 libqhull7 libraw1394-dev libsocket++1
  libspatialite7 libsuperlu5 libswresample-dev libswscale-dev libsz2 libtesseract4 libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1
  libvtk6.3 libxerces-c3.2 odbcinst odbcinst1debian2 os-prober proj-data python3-icu python3-pam rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libgstrtspserver-1.0-0
0 upgraded, 1 newly installed, 0 to remove and 115 not upgraded.
Need to get 118 kB of archives.
After this operation, 440 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libgstrtspserver-1.0-0 arm64 1.16.2-3 [118 kB]
Fetched 118 kB in 1s (201 kB/s)                  
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libgstrtspserver-1.0-0.
(Reading database ... 162007 files and directories currently installed.)
Preparing to unpack .../libgstrtspserver-1.0-0_1.16.2-3_arm64.deb ...
Unpacking libgstrtspserver-1.0-0 (1.16.2-3) ...
Setting up libgstrtspserver-1.0-0 (1.16.2-3) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
ubuntu:~$ deepstream-app --version-all
deepstream-app version 6.1.1
DeepStreamSDK 6.1.1
CUDA Driver Version: 11.4
CUDA Runtime Version: 11.4
TensorRT Version: 8.4
cuDNN Version: 8.4
libNVWarp360 Version: 2.0.1d3

Hi,
Please clean the cache and run the command:

/opt/nvidia/deepstream/deepstream-6.1/samples/configs/deepstream-app$ rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
/opt/nvidia/deepstream/deepstream-6.1/samples/configs/deepstream-app$ deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt

We don’t hit any issue. Please give it a try.

Ok, so try from a Raw Sdkmanager load?

Our final use case is a graph composer based solution, but I can definitely try a demo app to see how it works.

Hi,
We will check this. For now please manually install libgstrtspserver-1.0-0

Okay, we have added post imaging scripts that run the missing commands…

My bigger concern is that if these items are missing other items that may be less obvious may also be missing.

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