How to get my app to work with Deepstream 5.1?

I have just updated a Jetson Nano to Deepstream 5.1 and now my app won’t run. Lots of errors from the nvdsinfer component: cudaLuanchFailure; input queue errors; preprocessor transform errors and so on.
Plus lots of OpenCV errors and VisionWorksAPI errors.

What are the steps required to make an app that works perfectly with 5.01 work with 5.1 ?

ps. The way I updated was via apt using the dev guide instructions:

$ sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
Change url to deb https://repo.download.nvidia.com/jetson/common r32.5 main

$ sudo apt update
$ sudo apt install deepstream-5.1

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Nano and NX
• DeepStream Version 5.01 → 5.1
• Issue Type( questions, new requirements, bugs) Questions
**• How to reproduce the issue ? Just use an app that works with 5.01 and update using apt as per above.

DS5.1 is based on JP4.5.1. Quickstart Guide — DeepStream 5.1 Release documentation

Thanks @Fiona.Chen - is there no way to update all the relevant jetpack components via apt as well? I was under the impression from reading the documentation that this was possible as of a previous jetpack release?
Thinking from the perspective of building a real product how would we be able to update it in the field if it requires a manual jetpack installation, etc.

“apt install” is OK. But the version is wrong. r32.5.1 for JP4.5.1. The first line in the link has identified the correct version.

Or you can refer to the table for the version: Quickstart Guide — DeepStream 5.1 Release documentation (nvidia.com)

I don’t quite understand what you mean here @Fiona.Chen. Are you saying this is wrong:

$ sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
Change url to deb https://repo.download.nvidia.com/jetson/common r32.5 main

$ sudo apt update
$ sudo apt install deepstream-5.1

and it should be:

$ sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
Change url to deb https://repo.download.nvidia.com/jetson/common r32.5.1 main

$ sudo apt update
$ sudo apt install deepstream-5.1

and that would ensure that ALL of deep streams dependencies are updated ?appropriately.

Yes.

Thankyou - let me try…

@Fiona.Chen if I try with the source list set to :

deb https://repo.download.nvidia.com/jetson/common r32.5.1 main

It fails with lots of these errors when doing the sudo apt update:

Err:25 https://repo.download.nvidia.com/jetson/common r32.5.1 Release 404  Not Found [IP: 121.79.127.74 443]
E: The repository 'https://repo.download.nvidia.com/jetson/common r32.5.1 Release' does not have a Release file.

So you need SDKmanager to help the installation.

Earlier you said “yes” that you can get this to work with the apt install. IF you need SDK manager that’s a definite “no” then!
So there is no way to update these “in the field” you have to either use SDK manager plugged into a host PC or flash a new sd card.

SDKmanager can download all needed packages only. And you can use these packages to flash the board.

Yes I understand now. It is impossible to upgrade a deepstream release “in the field” when it requires a newer JetPack version