After my [previous post], I’m getting requests to make article on how to get started with NVIDIA DeepStream.

NVIDIA DeepStream Released 5.0 version with new exciting features support for both DGPU and JETSON devices. You can find more information on NVIDIA DeepStream SDK on [https://developer.nvidia.com/deepstream-sdk]
In this article I will be sharing detailed steps on how to install NVIDIA DeepStream on DGPU based devices.

You must install the following components:

Ubuntu 18.04

GStreamer 1.14.1

NVIDIA driver 440+

CUDA 10.2

TensorRT 7.0 or later


1. Remove the previous DeepStream Installation

If it is the first time DeepStream Installation you can skip this section

Uninstall DeepStream 3.0

To uninstall any previously installed DeepStream 3.0 libraries, run the following command.

sudo rm -rf /usr/local/deepstream /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libnvdsgst_* \
            /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnv* \
            /usr/bin/deepstream*

Uninstall DeepStream 4.0

To uninstall any previously installed DeepStream 4.0 libraries, use uninstall.sh script.

1. Open the uninstall.sh file which will be present in /opt/nvidia/deepstream/deepstream/

2. Set PREV_DS_VER as 4.0

3. Run the script as sudo ./uninstall.sh

Note that this will run only for DeepStreamSDK versions equal to or above 4.0.

Remove NVIDIA drivers & CUDA

To remove any previously installed NVIDIA drivers and CUDA libraries, to avoid version conflict

sudo apt purge *nvidia*
sudo apt autoremove
sudo apt autoremove --purge 'cuda*'

2. Install Gstreamer packages

Run the following command in your terminal

sudo apt install build-essential git

sudo apt install \
libssl1.0.0 \
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

#computer-vision #deep-learning #ai #nvidia #deep learning

Getting Started with NVIDIA DeepStream-5.0
34.15 GEEK