Fail to use the Docker Deepstream 7.1 Dev

I would like to setup a dev environment for X86 setup using the Deepstream 7.1 docker image
deepstream:7.1-gc-triton-devel
Server (no monitor)
Ubuntu 22.04 LTS
Cuda 12.6
Docker and nvidia container ok
VS code remote with SSH ok

I’m looking for a set of clear instructions in order to
1 - run example apps
2 - profile the example with NSIGHT

the documentation at Docker Containers — DeepStream documentation is incomplete

Thank you to in advance

Michel C.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

  1. Install GPU Driver and Nvidia container toolkit
    Installing the NVIDIA Container Toolkit — NVIDIA Container Toolkit 1.17.3 documentation
    2.Run the docker
docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.1 nvcr.io/nvidia/deepstream:7.1-gc-triton-devel

cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1

# If you don't have a monitor connected, change nveglglessink to fakesink and recompile
./deepstream-test1-app /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 

3.Refer this FAQ to how to profile application

That you for the quit answer.

I did recompile after changing the sink to fakesink.
Please fing the terminal output

Added elements to bin
Using file: /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Running...
^C

The test application does not finish or print anymore message.
I had to break it by ^C

nvtop shows that a process is active but using 0%GPU

Thanks you for the next step.

Michel C.

Are you running ./deepstream-test1-app /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 in the directory /opt/nvidia/deepstream/deepstream-7.1/sources/apps/sample_apps/deepstream-test1?

If you just run the deepstream-test1-app in the system directory, the modification will not take any effect. You need to run the modified binary

Thank you
Yes was running the wrong binary

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.