Please provide complete information as applicable to your setup.
• AWS p2.xl EC2 instance
• AMI: Deep Learning Base GPU AMI (Ubuntu 20.04) 20230911
• DeepStream 6.3 dGPU Debian
• CUDA 12.1
• GStreamer 1.16.3
• TensorRT 8.5.3.1
• NVIDIA driver 525.125.06
• questions
• Issue arises when running the command “deepstream-app -c /opt/nvidia/deepstream/deepstream-6.3/samples/configs/deepstream-app/source2_108deepstream-app” with the deployment given below
**• Issue reproducable by connecting to EC2 through SSH and running the following commands
Install Dependencies
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
Install CUDA Toolkit 12.1
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
sudo add-apt-repository “deb Index of /compute/cuda/repos/ubuntu2004/x86_64 /”
sudo apt-get update
sudo apt-get install cuda-toolkit-12-1
Install NVIDIA driver 525.125.06 (only for data center GPUs)
Download and install using NVIDIA driver 525.125.06 from NVIDIA Unix drivers page at: Data Center Driver for Linux x64 | 525.125.06 | CBL Mariner, Linux 64-bit | NVIDIA
Already downloaded and saved here: s3://…/NVIDIA-Linux-x86_64-525.125.06.run
aws s3 cp s3://…/NVIDIA-Linux-x86_64-525.125.06.run .
Run the following commands:
chmod 755 NVIDIA-Linux-x86_64-525.125.06.run
sudo ./NVIDIA-Linux-x86_64-525.125.06.run --no-cc-version-check
(driver install failed, current driver is 535, try to proceed)
Install cuda-compat-12-1 (only for data center GPUs)
sudo apt-get install -y cuda-compat-12-1
export LD_LIBRARY_PATH=/usr/local/cuda/compat:$LD_LIBRARY_PATH
Install TensorRT 8.5.3.1
sudo apt-get install libnvinfer8=8.5.3-1+cuda11.8 libnvinfer-plugin8=8.5.3-1+cuda11.8 libnvparsers8=8.5.3-1+cuda11.8 \
libnvonnxparsers8=8.5.3-1+cuda11.8 libnvinfer-bin=8.5.3-1+cuda11.8 libnvinfer-dev=8.5.3-1+cuda11.8 \
libnvinfer-plugin-dev=8.5.3-1+cuda11.8 libnvparsers-dev=8.5.3-1+cuda11.8 libnvonnxparsers-dev=8.5.3-1+cuda11.8 \
libnvinfer-samples=8.5.3-1+cuda11.8 libcudnn8=8.7.0.84-1+cuda11.8 libcudnn8-dev=8.7.0.84-1+cuda11.8 \
python3-libnvinfer=8.5.3-1+cuda11.8 python3-libnvinfer-dev=8.5.3-1+cuda11.8
Install librdkafka (to enable Kafka protocol adaptor for message broker)
git clone GitHub - confluentinc/librdkafka: The Apache Kafka C/C++ library
cd librdkafka
git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
./configure
make
sudo make install
(Make error, try to proceed)
sudo mkdir -p /opt/nvidia/deepstream/deepstream-6.3/lib
sudo cp -R /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-6.3/lib
Install the DeepStream SDK
Download the DeepStream 6.3 dGPU Debian package deepstream-6.3_6.3.0-1_amd64.deb
aws s3 cp s3://…/deepstream-6.3_6.3.0-1_amd64.deb .
sudo apt-get install ./deepstream-6.3_6.3.0-1_amd64.deb
Run the deepstream-app (the reference application)
deepstream-app -c <path_to_config_file>
You can find sample configuration files under /opt/nvidia/deepstream/deepstream-6.3/samples directory
**