Fail run the deepstream-occupancy-analytics on Jetson nano

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson Nano
• DeepStream Version: 6.0.1
• JetPack Version (valid for Jetson only) :4.5.1-b17
• TensorRT Version:
• NVIDIA GPU Driver Version (valid for GPU only)
• 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)

I am getting the following error.

6.0/sources/apps/sample_apps/deepstream-occupancy-analytics$ ./deepstream- 
test5-analytics -c config/dstest_occupancy_analytics.txt 

(deepstream-test5-analytics:11129): GLib-CRITICAL **: 17:11:17.368: g_strchug: assertion 'string != NULL' failed

(deepstream-test5-analytics:11129): GLib-CRITICAL **: 17:11:17.368: g_strchomp: assertion 'string != NULL' failed
** WARN: <create_pipeline:1170>: Num of Tiles less than number of sources, readjusting to 2 rows, 1 columns
Warning: 'input-dims' parameter has been deprecated. Use 'infer-dims' instead.

Using winsys: x11 
gstnvtracker: Loading low-level lib at 
gstnvtracker: Failed to open low-level lib at 
dlopen error: /opt/nvidia/vpi1/lib64/ undefined symbol: 
gstnvtracker: Failed to initilaize low level lib.
** ERROR: <main:1088>: Failed to set pipeline to PAUSED
App run failed

Please help me. Thanks.

What is the output when you run ldd /opt/nvidia/vpi1/lib64/ ?

Is there any output from the following command line?

readelf -s -W /usr/lib/aarch64-linux-gnu/nvidia/|grep NvMediaLDCUpdateTNR2Params

@junshengy for your response.

anil@anil-desktop:~$ ldd /opt/nvidia/vpi1/lib64/ (0x0000007fa6e9f000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa391e000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa38b4000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa3871000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa3851000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa37c1000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa37a3000) => /usr/lib/aarch64-linux-gnu/ (0x0000007fa3782000) => /usr/lib/aarch64-linux-gnu/tegra-egl/ (0x0000007fa3657000) => /usr/local/cuda-10.2/lib64/ (0x0000007fa35cf000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007fa268c000) => /usr/local/cuda-10.2/lib64/ (0x0000007f965e4000) => /lib/aarch64-linux-gnu/ (0x0000007f965b8000) => /lib/aarch64-linux-gnu/ (0x0000007f965a3000) => /lib/aarch64-linux-gnu/ (0x0000007f964ea000) => /lib/aarch64-linux-gnu/ (0x0000007f964c6000) => /lib/aarch64-linux-gnu/ (0x0000007f9636d000)
/lib/ (0x0000007fa6e73000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f9634f000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f9633c000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f9631c000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f962e0000) => /lib/aarch64-linux-gnu/ (0x0000007f962c9000) => /usr/lib/aarch64-linux-gnu/ (0x0000007f9619d000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f960f0000) => /usr/lib/aarch64-linux-gnu/ (0x0000007f95f5c000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f95f18000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f95ea9000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f95e94000) => /usr/lib/aarch64-linux-gnu/tegra/ (0x0000007f95e51000)


anil@anil-desktop:~$ readelf -s -W /usr/lib/aarch64-linux- 
gnu/nvidia/|grep NvMediaLDCUpdateTNR2Params
readelf: Error: '/usr/lib/aarch64-linux-gnu/nvidia/': No such file

For your system, it should be /usr/lib/aarch64-linux-gnu/tegra/

It seems that Jetpack is not installed correctly. Since you are using Jetpack Nano, try the following link


Thanks for your response.

But I have a Jetson nano with third part carrier board, which has its own BSP.

anil@anil-desktop:~$ sudo apt-cache show nvidia-jetpack
[sudo] password for anil:
Package: nvidia-jetpack
Version: 4.5.1-b17
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-cuda (= 4.5.1-b17), nvidia-opencv (= 4.5.1-b17), nvidia-cudnn8 (= 4.5.1-b17), nvidia-tensorrt (= 4.5.1-b17), nvidia-visionworks (= 4.5.1-b17), nvidia-container (= 4.5.1-b17), nvidia-vpi (= 4.5.1-b17), nvidia-l4t-jetson-multimedia-api (>> 32.5-0), nvidia-l4t-jetson-multimedia-api (<< 32.6-0)
Homepage: Jetson - Embedded AI Computing Platform | NVIDIA Developer
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.5.1-b17_arm64.deb
Size: 29390
SHA256: 13c10e9a53ec51c261ce188d626966dfca27f26b2ed94ba700147c1ba3e35399
SHA1: 81047a7779241bbf16763dbd1c4c12cf8c9d0496
MD5sum: 54916439514f39af5234b3a43e329910
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8

DS-6.0 is compatible with Jetpack 4.6.1 GA

Here is the compatibility table.

You need to consult the supplier.


Jetpack 4.5.1 does not support deepstream version 6.0.1. I switch to Jetpack 4.6.2 and it works. Thanks.