/deepstream-python

DeepStream pipeline with python

Primary LanguageC++MIT LicenseMIT

deepstream-python

DeepStream pipeline with python

Deepstream Jetson Archived

https://developer.nvidia.com/embedded/deepstream-on-jetson-downloads-archived

Deepstream Server and Workstations Archived

https://developer.nvidia.com/deepstream-sdk-download-tesla-archived

Install Deepstream 6.2 on Workstation

sudo apt update
sudo apt upgrade
sudo apt install \
libssl1.1 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstreamer-plugins-base1.0-dev \
libgstrtspserver-1.0-0 \
libjansson4 \
libyaml-cpp-dev \
libjsoncpp-dev \
protobuf-compiler \
gcc \
make \
git \
python3

# CUDA 11-8
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
sudo sh cuda_11.8.0_520.61.05_linux.run
# Install CUDA Toolkit 11.8
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt-get update
sudo apt-get install cuda-toolkit-11-8

# Install NVIDIA driver 525.60.13
# Link: https://www.nvidia.com/Download/driverResults.aspx/196881/en-us/
openssl req -new -x509 -newkey rsa:2048 -keyout /home/$USER/Nvidia.key -outform DER -out /home/$USER/Nvidia.der -nodes -days 36500 -subj "/CN=Graphics Drivers"

sudo mokutil --import /home/$USER/Nvidia.der
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf; sudo update-initramfs -u
################ Reboot ###################

sudo sh ./NVIDIA-Linux-x86_64-525.60.13.run -s --module-signing-secret-key=/home/$USER/Nvidia.key --module-signing-public-key=/home/$USER/Nvidia.der

# Install TensorRT 8.5.1.7
sudo apt-get install libnvinfer8=8.5.1-1+cuda11.8 libnvinfer-plugin8=8.5.1-1+cuda11.8 libnvparsers8=8.5.1-1+cuda11.8 \
libnvonnxparsers8=8.5.1-1+cuda11.8 libnvinfer-bin=8.5.1-1+cuda11.8 libnvinfer-dev=8.5.1-1+cuda11.8 \
libnvinfer-plugin-dev=8.5.1-1+cuda11.8 libnvparsers-dev=8.5.1-1+cuda11.8 libnvonnxparsers-dev=8.5.1-1+cuda11.8 \
libnvinfer-samples=8.5.1-1+cuda11.8 libcudnn8=8.6.0.163-1+cuda11.8 libcudnn8-dev=8.6.0.163-1+cuda11.8 \
python3-libnvinfer=8.5.1-1+cuda11.8 python3-libnvinfer-dev=8.5.1-1+cuda11.8

# Install the DeepStream SDK
sudo apt-get install ./deepstream-6.2_6.2.0-1_amd64.deb