Error trying to run graph-composer sample on Jetson 'Could not create GStreamer element 'nvinferbin''

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 7.1
• JetPack Version (valid for Jetson only) 6.1
• TensorRT Version -
• NVIDIA GPU Driver Version (valid for GPU only) NVIDIA-SMI 550.120 Driver Version: 550.120 CUDA Version: 12.4
• Issue Type( questions, new requirements, bugs) question
• 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)

Hi, i am running a docker container in my host machine and trying to run the graph composer sample deestream-test1 on a Jetson Orin Agx, but i get the errors:

ERROR extensions/nvdsinference/nvinferbin.hpp@36: Could not create GStreamer element ‘nvinferbin’
ERROR gxf/std/program.cpp@543: Couldn’t run async. Deactivating…
ERROR gxf/core/runtime.cpp@1633: Graph run failed with error: GXF_FAILURE
ERROR gxf/gxe/gxe.cpp@282: GxfGraphRunAsync Error: GXF_FAILURE

$ export DISPLAY=:0
$ xhost +
$ docker run -it --rm --net=host --gpus all -e DISPLAY=$DISPLAY --device /dev/snd -v /tmp/.X11-unix/:/tmp/.X11-unix --privileged --ipc=host -v /var/run/docker.sock:/var/run/docker.sock -v /usr/share/vulkan/:/usr/share/vulkan -v /etc/vulkan/:/etc/vulkan nvcr.io/nvidia/deepstream:7.1-gc-triton-devel

then I setup ssh keys between the container and my jetson orin agx

and the error happens when I run

$/opt/nvidia/graph-composer/execute_graph.sh /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml -d /opt/nvidia/graph-composer/config/target_aarch64.yaml -t jetson@ --target-env-vars “DISPLAY=:0”

[INFO] Trying to access target 'jetson@<jetson-ip>' over ssh 
[INFO] Target access successful 
Graphs: deepstream-test1.yaml
Target: /opt/nvidia/graph-composer/config/target_aarch64.yaml
===================================================================
Running deepstream-test1.yaml
===================================================================
[INFO] Writing manifest to /tmp/ds.deepstream-test1/manifest.yaml 
2025-01-15 20:40:30.052 INFO  gxf/gxe/gxe.cpp@183: Creating context
2025-01-15 20:40:30.156 INFO  gxf/gxe/gxe.cpp@108: Loading app: '/tmp/ds.deepstream-test1/deepstream-test1.yaml'
2025-01-15 20:40:30.157 INFO  gxf/std/yaml_file_loader.cpp@174: Loading GXF entities from YAML file '/tmp/ds.deepstream-test1/deepstream-test1.yaml'...
2025-01-15 20:40:30.160 INFO  gxf/gxe/gxe.cpp@272: Initializing...
2025-01-15 20:40:30.179 INFO  extensions/nvdsbase/nvds_scheduler.cpp@268: This program is linked against GStreamer 1.20.3 

2025-01-15 20:40:30.179 INFO  extensions/nvdssource/nvurisrcbin.hpp@24: initialize: nvurisrcbin single_source_input

2025-01-15 20:40:30.179 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@27: initialize: nvstreammux streammux

2025-01-15 20:40:30.179 INFO  extensions/nvdsinference/nvinferbin.hpp@24: initialize: nvinferbin object_detector

2025-01-15 20:40:30.179 INFO  extensions/nvdsvisualization/nvosdbin.hpp@24: initialize: nvosdbin onscreen_display

2025-01-15 20:40:30.179 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@24: initialize: nvvideorenderersinkbin video_renderer

2025-01-15 20:40:30.180 INFO  gxf/gxe/gxe.cpp@279: Running...
2025-01-15 20:40:30.180 INFO  extensions/nvdsbase/nvds_scheduler.cpp@116: Scheduling 5 elements and 1 components
2025-01-15 20:40:30.180 INFO  extensions/nvdssource/nvurisrcbin.hpp@32: create_element: nvurisrcbin single_source_input

2025-01-15 20:40:30.181 INFO  extensions/nvdssource/nvurisrcbin.hpp@56: bin_add: nvurisrcbin single_source_input

2025-01-15 20:40:30.181 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@37: create_element: nvstreammux streammux

nvbufsurftransform: Could not get EGL display connection
2025-01-15 20:40:30.193 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@61: bin_add: nvstreammux streammux

2025-01-15 20:40:30.193 INFO  extensions/nvdsinference/nvinferbin.hpp@32: create_element: nvinferbin object_detector

2025-01-15 20:40:30.193 ERROR extensions/nvdsinference/nvinferbin.hpp@36: Could not create GStreamer element 'nvinferbin'
2025-01-15 20:40:30.193 ERROR gxf/std/program.cpp@543: Couldn't run async. Deactivating...
2025-01-15 20:40:30.193 ERROR gxf/core/runtime.cpp@1633: Graph run failed with error: GXF_FAILURE
2025-01-15 20:40:30.193 ERROR gxf/gxe/gxe.cpp@282: GxfGraphRunAsync Error: GXF_FAILURE
Connection to <jetson-ip> closed.
*******************************************************************
End deepstream-test1.yaml
*******************************************************************

I have a monitor connected to the jetson and ran the gfx_server through a ssh session

Thanks for the help :)

Can you check whether the “nvinferbin” exists in your Jetson Orin AGX?

gst-inspect-1.0 nvinferbin

It does not exist, which is strange as I used the SDK to flash the Jetson

jetson@ubuntu:~$ gst-inspect-1.0 nvinferbin
No such element or plugin 'nvinferbin'

Please make sure the DeepStream SDK is installed corerctly in your Jetson Orin board. Installation — DeepStream documentation