Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): GeForce RXT 3090
• DeepStream Version: 6.1.1
• TensorRT Version: 8.4.1.5
• NVIDIA GPU Driver Version (valid for GPU only): 515.65.01
• Issue Type( questions, new requirements, bugs): question
I followed this guide to install Deepstream 6.1.1 on Ubuntu 20.04. When I tried to install CUDA Toolkit 11.7.1 (CUDA 11.7 Update 1) and NVIDIA driver 515.65.01 using these following commands from the official instructions:
wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda-repo-debian11-11-7-local_11.7.1-515.65.01-1_amd64.deb
sudo dpkg -i cuda-repo-debian11-11-7-local_11.7.1-515.65.01-1_amd64.deb
sudo rm /etc/apt/sources.list.d/*cuda*
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 -y install cuda
I noticed that instead of the required versions (CUDA Toolkit 11.7.1, NVIDIA driver 515.65.01), newer versions are chosen:
The following additional packages will be installed:
ca-certificates-java cuda-11-8 cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8
cuda-cuxxfilt-11-8 cuda-demo-suite-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 cuda-drivers cuda-drivers-520 cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8
cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8
cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-runtime-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common cuda-toolkit-config-common
cuda-tools-11-8 cuda-visual-tools-11-8 default-jre default-jre-headless fonts-dejavu-extra gds-tools-11-8 java-common libatk-wrapper-java libatk-wrapper-java-jni libcublas-11-8 libcublas-dev-11-8
libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libegl-mesa0:i386
libegl1:i386 libgbm1:i386 libgles2:i386 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-520 libnvidia-common-520 libnvidia-compute-520 libnvidia-compute-520:i386 libnvidia-decode-520
libnvidia-decode-520:i386 libnvidia-encode-520 libnvidia-encode-520:i386 libnvidia-extra-520 libnvidia-fbc1-520 libnvidia-fbc1-520:i386 libnvidia-gl-520 libnvidia-gl-520:i386 libnvjpeg-11-8
libnvjpeg-dev-11-8 libopengl0:i386 libtinfo5 libwayland-server0:i386 libxcb-xinerama0 libxcb-xinput0 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-520 nvidia-dkms-520
nvidia-driver-520 nvidia-kernel-common-520 nvidia-kernel-source-520 nvidia-modprobe nvidia-settings nvidia-utils-520 openjdk-11-jre openjdk-11-jre-headless xserver-xorg-video-nvidia-520
Suggested packages:
fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei
The following packages will be REMOVED:
libnvidia-cfg1-515 libnvidia-common-515 libnvidia-compute-515 libnvidia-compute-515:i386 libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-encode-515 libnvidia-encode-515:i386
libnvidia-extra-515 libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 nvidia-compute-utils-515 nvidia-dkms-515 nvidia-driver-515 nvidia-kernel-common-515
nvidia-kernel-source-515 nvidia-utils-515 xserver-xorg-video-nvidia-515
The following NEW packages will be installed:
ca-certificates-java cuda cuda-11-8 cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8
cuda-cuxxfilt-11-8 cuda-demo-suite-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 cuda-drivers cuda-drivers-520 cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8
cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8
cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-runtime-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common cuda-toolkit-config-common
cuda-tools-11-8 cuda-visual-tools-11-8 default-jre default-jre-headless fonts-dejavu-extra gds-tools-11-8 java-common libatk-wrapper-java libatk-wrapper-java-jni libcublas-11-8 libcublas-dev-11-8
libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libegl-mesa0:i386
libegl1:i386 libgbm1:i386 libgles2:i386 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-520 libnvidia-common-520 libnvidia-compute-520 libnvidia-compute-520:i386 libnvidia-decode-520
libnvidia-decode-520:i386 libnvidia-encode-520 libnvidia-encode-520:i386 libnvidia-extra-520 libnvidia-fbc1-520 libnvidia-fbc1-520:i386 libnvidia-gl-520 libnvidia-gl-520:i386 libnvjpeg-11-8
libnvjpeg-dev-11-8 libopengl0:i386 libtinfo5 libwayland-server0:i386 libxcb-xinerama0 libxcb-xinput0 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-520 nvidia-dkms-520
nvidia-driver-520 nvidia-kernel-common-520 nvidia-kernel-source-520 nvidia-modprobe nvidia-utils-520 openjdk-11-jre openjdk-11-jre-headless xserver-xorg-video-nvidia-520
The following packages will be upgraded:
nvidia-settings
So cuda-11-8
and nvidia-driver-520
is installed instead of 11.7 and 515.
Output of nvidia-smi
:
Thu Nov 3 17:33:50 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.61.05 Driver Version: 520.61.05 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:68:00.0 On | N/A |
| 30% 40C P8 31W / 350W | 274MiB / 24576MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1038 G /usr/lib/xorg/Xorg 59MiB |
| 0 N/A N/A 1561 G /usr/lib/xorg/Xorg 86MiB |
| 0 N/A N/A 1688 G /usr/bin/gnome-shell 110MiB |
+-----------------------------------------------------------------------------+
I have already tried runfile and/or tar bar file alternatives but they don’t work in 6.1.1 without having to use LD_LIBRARY_PATH
which should be use in testing/development only. In previous versions (5.1 and 6.1), I use either run file or tar bar file to ensure reproducibility of the installation process, but starting in version 6.1.1, I must use .deb files instead due to this problem with TensorRT 8.4 that forced the use of LD_LIBRARY_PATH
.
So how to I install CUDA Toolkit 11.7.1, NVIDIA driver 515.65.01 using .deb file approach?