Installation
NVIDIA ® DeepStream Software Development Kit (SDK) is an accelerated AI framework to build intelligent video analytics (IVA) pipelines. DeepStream runs on NVIDIA ® T4, NVIDIA® Hopper, NVIDIA ® Blackwell, NVIDIA ® Ampere, NVIDIA ® ADA, NVIDIA® DGX Spark, and platforms such as NVIDIA ® Jetson AGX Thor, NVIDIA ® Jetson Orin and NVIDIA ® IGX Thor. For dGPU platforms Enterprise GPUs are highly recommended for deployments that are expected to run 24x7. Gaming GPUs are not designed to perform in such type of environments.
Jetson Setup
This section explains how to prepare a Jetson device before installing the DeepStream SDK.
Steps to install DeepStream SDK locally, assume that ~/.local/bin/ has been added to the ~/.bashrc or ~/.profile
Install Jetson SDK components
Download NVIDIA SDK Manager from https://developer.nvidia.com/embedded/jetpack. You will use this to install JetPack 7.2.1 GA (corresponding to L4T 39.2 release)
- NVIDIA SDK Manager is a graphical application which flashes and installs the JetPack packages.
- The flashing procedure takes approximately 10-30 minutes, depending on the host system.
Install Dependencies
Install prerequisite packages
Enter the following commands to install the prerequisite packages:
Sometimes with RTSP streams the application gets stuck on reaching EOS. This is because of an issue in rtpjitterbuffer component.
To fix this issue,
On baremetal, run a script “update_rtpmanager.sh” at /opt/nvidia/deepstream/deepstream/. The script should be executed once user installs packages mentioned under “Install Dependencies” section of Quickstart Guide.
On docker, users need to run user_additional_install.sh script to use the prebuilt binaries.
Install OpenTelemetry
Enter the following commands to install OpenTelemetry:
For more information, refer to the OpenTelemetry C++ installation guide: https://github.com/open-telemetry/opentelemetry-cpp/blob/v1.23.0/INSTALL.md
Install librdkafka (to enable Kafka protocol adaptor for message broker)
- Install confluent-platform:
- Install librdkafka:
Install latest NVIDIA BSP packages
Installation of JetPack 7.2.1 GA will ensure that latest NVIDIA BSP packages are installed.
Install the DeepStream SDK
Recommended for new users: use Method 4 (Docker container) for the quickest, dependency-free setup. For native installs, the Debian (Method 3) and tar (Method 2) packages are published as GitHub release assets at https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0.
-
Method 1: Using SDK Manager
Select
DeepStreamSDKfrom theAdditional SDKssection along with JP 7.2.1 GA software components for installation. -
Method 2: Using the DeepStream tar package: https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0
-
Download the DeepStream 9.2 Jetson tar package
deepstream_sdk_v9.2.0_jetson.tbz2to the Jetson device. -
Enter the following commands to extract and install the DeepStream SDK:
-
-
Method 3: Using the DeepStream Debian package: https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0
Download the DeepStream 9.2 Jetson Debian package
deepstream-9.2_9.2.0-1_arm64.debto the Jetson device. Enter the following command:
-
Method 4: Use Docker containers
DeepStream Docker container images are distributed through ghcr.io/nvidia/deepstream. See the Docker Containers section to learn about developing and deploying DeepStream using docker containers.
For scripted or headless downloads of the release assets using curl or wget, see FAQ for DeepStream GitHub Mono-repo.
Verification: Once DeepStream SDK installation is successful, refer to Expected output (deepstream-app) for the expected output.
dGPU Setup for Ubuntu
This section explains how to prepare an Ubuntu x86_64 system with NVIDIA dGPU devices before installing the DeepStream SDK.
Steps to install DeepStream SDK locally, assume that ~/.local/bin/ has been added to the ~/.bashrc or ~/.profile
This document uses the term dGPU (“discrete GPU”) to refer to NVIDIA GPU expansion card products such as NVIDIA Tesla ® T4, NVIDIA ® Hopper, NVIDIA ® Blackwell, NVIDIA ® Ampere, NVIDIA ® ADA, NVIDIA GeForce ® RTX 2080, NVIDIA GeForce ® RTX 3080, NVIDIA GeForce ® RTX 4080, NVIDIA GeForce ® RTX pro 4500 and GeForce ®/NVIDIA RTX/QUADRO. This version of DeepStream SDK runs on GPUs supported by NVIDIA driver 595.58.03 and NVIDIA TensorRT™ 10.16.0.72 and later versions.
Prerequisites
You must install the following components:
- Ubuntu 24.04
- GStreamer 1.24.2
- NVIDIA driver 595.58.03
- CUDA 13.2
- TensorRT 10.16.0.72
Remove all previous DeepStream installations
Enter the following commands to remove all previous DeepStream 3.0 or prior installations:
To remove DeepStream 4.0 or later installations:
- Open the
uninstall.shfile in/opt/nvidia/deepstream/deepstream/ - Run the following script as
sudo ./uninstall.sh
Install Dependencies
Install prerequisite packages
Enter the following commands to install the necessary packages before installing the DeepStream SDK:
Sometimes with RTSP streams the application gets stuck on reaching EOS. This is because of an issue in rtpjitterbuffer component.
To fix this issue,
On baremetal, run a script “update_rtpmanager.sh” at /opt/nvidia/deepstream/deepstream/. The script should be executed once user installs packages mentioned under “Install Dependencies” section of Quickstart Guide.
On docker, users need to run user_additional_install.sh script to use the prebuilt binaries.
For OpenTelemetry installation, follow the steps in Install OpenTelemetry under Jetson Setup.
Install CUDA Toolkit 13.2
Run the following commands (reference, https://developer.nvidia.com/cuda-downloads):
If you observe following errors while CUDA installation, refer to https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/.
Install NVIDIA driver 595.58.03
-
Download and install using NVIDIA driver 595.58.03 from NVIDIA Unix drivers page at: https://www.nvidia.com/en-us/drivers/details/266021/
-
Run the following commands:
Ensure gdm, lightdm or Xorg service is stopped while installing nvidia driver
Use command : sudo service gdm stop sudo service lightdm stop sudo pkill -9 Xorg
Install TensorRT 10.16.0.72
Run the following command to install TensorRT 10.16.0.72:
- It is assumed, “deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/” has been added, as mentioned in CUDA Toolkit 13.2 installation step.
- libnvparsers are deprecated since TRT 8.0.
Install librdkafka (to enable Kafka protocol adaptor for message broker)
- Install confluent-platform:
- Install librdkafka:
Install the DeepStream SDK
Recommended for new users: use Method 3 (Docker container) for the quickest, dependency-free setup. For native installs, the Debian (Method 1) and tar (Method 2) packages are published as GitHub release assets at https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0.
-
Method 1: Using the DeepStream Debian package
Download the DeepStream 9.2 dGPU Debian package
deepstream-9.2_9.2.0-1_amd64.deb: https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0Enter the command:
-
Method 2: Download the DeepStream tar package: https://github.com/NVIDIA/DeepStream/releases/tag/v9.2.0
Navigate to the location of the downloaded DeepStream package to extract and install the DeepStream SDK:
-
Method 3: Use Docker containers
DeepStream Docker container images are distributed through ghcr.io/nvidia/deepstream. See the Docker Containers section to learn about developing and deploying DeepStream using docker containers.
For scripted or headless downloads of the release assets using curl or wget, see FAQ for DeepStream GitHub Mono-repo.
Verification: Once DeepStream SDK installation is successful, refer to Expected output (deepstream-app) for the expected output.
dGPU on ARM Setup for Ubuntu
This section explains how to prepare an Ubuntu aarch64 system with NVIDIA dGPU devices before installing the DeepStream SDK.
You must install the following components:
- NVIDIA driver 595.58.03
- Docker
- Nvidia Container Toolkit
Install NVIDIA driver 595.58.03
-
Download and install using NVIDIA driver 595.58.03 from NVIDIA Unix drivers page at: https://www.nvidia.com/en-us/drivers/details/266021/
-
Run the following commands:
Ensure gdm, lightdm or Xorg service is stopped while installing Nvidia driver
Use command : sudo service gdm stop sudo service lightdm stop sudo pkill -9 Xorg
Run dGPU on ARM Docker (SBSA)
NVIDIA driver 580.159.03 is required for SBSA. The driver is bundled with the Docker image and does not need to be installed separately.
- Pull the DeepStream Triton Inference Server docker
- Start the docker
--privileged is omitted above; add it only if the container needs access to all host devices or low-level driver operations. It grants near-root host access, so on shared or production systems prefer --device / --cap-add instead.
DGX Spark Setup for Ubuntu
This section explains how to prepare a NVIDIA DGX Spark system before installing DeepStream SDK. DGX Spark is an aarch64-based desktop AI system running Ubuntu with an integrated NVIDIA Grace Blackwell GPU.
Native DeepStream SDK installation on DGX Spark is not supported. Use the Docker container method described below.
NVIDIA driver 580.159.03 is required for DGX Spark. The driver is bundled with the Docker image and does not need to be installed separately.
Refer NVIDIA DGX Spark Release Notes for stack details.
Run DGX Spark Docker
- Pull the DeepStream Triton Inference Server docker
- Start the docker
--privilegedis omitted above; add it only if the container needs access to all host devices or low-level driver operations. It grants near-root host access, so on shared or production systems prefer--device/--cap-addinstead.- The triton docker for DGX Spark is based on the SBSA Tritonserver image and has Ubuntu 24.04.
- When the triton docker is launched for the first time, it might take a few minutes to start since it has to generate compute cache.
- DGX Spark docker currently supports only nv3dsink for video display. nveglglessink is not supported.
- VIC is not supported on DGX Spark. Set tiler
compute-hw=1(GPU) in your application config.
dGPU Setup for RedHat Enterprise Linux (RHEL)
DeepStream for RHEL is not supported in this release.
Platform and OS Compatibility
The following table provides information about platform and operating system compatibility in the current and earlier versions of DeepStream.
Jetson model Platform and OS Compatibility
dGPU model Platform and OS Compatibility
By default, OpenCV has been deprecated. However, OpenCV can be enabled in plugins such as nvinfer (nvdsinfer) and dsexample (gst-dsexample) by setting WITH_OPENCV=1 in the Makefile of these components. Please refer component README for more instructions.
NA: “Not Applicable”
DeepStream 9.2 support is currently enabled by SBSA triton docker. SBSA category currently supports GH200, GB200, and DGX Spark.