Jetpack 4.6 and Deepstream 5.1 install issues

After updating to jetpack 4.6 i am attempting to install deepstream 5.1 on Xavier NX
getting this error

tsudo apt-get install ./deepstream-5.1_5.1.0-1_arm64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'deepstream-5.1' instead of './deepstream-5.1_5.1.0-1_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 deepstream-5.1 : Depends: libnvinfer7 (>= 7.1.0) but it is not installable
                  Depends: libnvparsers7 (>= 7.1.0) but it is not installable
                  Depends: libnvonnxparsers7 (>= 7.1.0) but it is not installable
                  Depends: libnvinfer-plugin7 (>= 7.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

1 Like

You can edit /etc/apt/sources.list.d/nvidia-l4t-apt-source.list and replace .6 with .5:

deb https://repo.download.nvidia.com/jetson/common r32.5 main
#deb https://repo.download.nvidia.com/jetson/common r32.6 main
deb https://repo.download.nvidia.com/jetson/t194 r32.5 main
#deb https://repo.download.nvidia.com/jetson/t194 r32.6 main

Then type sudo apt update and try again to install DeepStream 5.1.

1 Like

Made the edit and deepstream installed
The issue now is the python app dosnet seem to have there pybinds
I have reinsalled the pybinds. and still get this

File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 60, in osd_sink_pad_buffer_probe
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
AttributeError: module ‘pyds’ has no attribute ‘gst_buffer_get_nvds_batch_meta’
Traceback (most recent call last):

this fixed latest error
$pip3 install pyds-ext

Deepstream 5.1 only supports JetPack4.5.1. It can not work with JetPack 4.6.

Was able to get Deepstream 5.1 running with Jetpack 4.6 by following @kirushyk instructions.
Also was able to get Python deepstream apps running by executing

$pip3 install pyds-ext

By the why thanks for the 20W 6 Core feature in jetpack 4.6
I needed that.