GXE run parameters for entities with spaces in their names

When running a graph with GXE I’m wondering how I can pass parameters in entities that have spaces in their names (-- which is the default behavior of Composer to put spaces in entities names).

I’m reading the guide at this address Graph Execution Engine — DeepStream documentation but the names never have spaces. Suppose, instead, this example:

application:
  name: myapp1
---
dependencies:
  - extension: NvDsSourceExt
    uuid: a632d022-3425-4848-9074-e6483ef74366
    version: 1.6.0
  - extension: NvDsBaseExt
    uuid: 56d7e3ec-62c6-4652-bcc8-4f1c3b00df03
    version: 1.6.0
  - extension: NvDsInferenceExt
    uuid: 0b02963e-c24e-4c13-ace0-c4cdf36c7c71
    version: 1.6.0
  - extension: NvDsMuxDemuxExt
    uuid: 89b8398c-5820-4051-835c-a91f2d49766b
    version: 1.6.0
  - extension: NvDsCloudMsgExt
    uuid: d16b1366-dba2-47f6-95fc-b09b39f885de
    version: 1.6.0
---
components:
  - name: Multi Source Input0
    parameters:
      audio-%u-out: Multiple Data Output2
      source-id-list: 1
      uri-list: rtsp://localhost:8554/test
      video-%u-out: Multiple Data Output1
    type: nvidia::deepstream::NvDsMultiSrcInput
  - name: Multiple Data Output1
    type: nvidia::deepstream::NvDsMultiOutput
  - name: Multiple Data Output2
    type: nvidia::deepstream::NvDsMultiOutput
name: Multi Source Input
ui_property:
  position:
    x: 150.00660705566406
    y: 230.0
---
[...]

How would you pass, for example, the parameter uri-list? What I tried is

/usr/bin/gxe -app myapp1.yaml [...] -severity 5 --param="Multi Source Input0/nvidia::deepstream::NvDsMultiSrcInput/uri-list=rtsp://localhost:8554" --param="Multi Source Input0/nvidia::deepstream::NvDsMultiSrcInput/source-id-list=0"

But i get this error in red

2025-02-20 08:49:13.646 ERROR gxf/std/yaml_file_loader.cpp@117: Override parameter string is incorrect:"Multi

I’m using GXE runtime 4.1.0.

Thanks for all your help

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 7.1
• JetPack Version (valid for Jetson only): N/A
• TensorRT Version: N/A
• NVIDIA GPU Driver Version (valid for GPU only): N/A
• Issue Type( questions, new requirements, bugs): questions
• 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): N/A
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description): N/A

We have provided the /opt/nvidia/graph-composer/execute_graph.sh tool to run the DeepStream graph with parameters. Reference graphs — DeepStream documentation

If you have the composer installed, you can modify the parameter directly with composer.
Or you need to save the changed parameters you want to change as a separated parameter YAML file. Then you can use /opt/nvidia/graph-composer/execute_graph.sh to run graph with parameters.

Thanks @Fiona.Chen for your answer I was trying to use the script that you suggest but I get two different errors on x86 and on aarch64. I created a simple graph from the sample deepstream-test1 and removed the real-time rendering for running only the inference. I am using the Docker image nvcr.io/nvidia/deepstream:7.1-triton-multiarch where I installed the composer runtime and the reference graphs.

I created a repo for this purpose at this address Gabriele Proietti Mattia / deepstream-graph-test · GitLab, you can use the sc_run_* scripts for running the graph.

On x86 the graph runs successfully but on Jetson AGX Orin I get:

2025-03-21 13:48:34.529 INFO  extensions/nvdsbase/nvds_scheduler.cpp@116: Scheduling 3 elements and 0 components
2025-03-21 13:48:34.529 INFO  extensions/nvdssource/nvurisrcbin.hpp@32: create_element: nvurisrcbin single_source_input
2025-03-21 13:48:34.535 ERROR extensions/nvdsmuxdemux/nvstreammux.hpp@41: Could not create GStreamer element 'nvstreammux'
2025-03-21 13:48:34.535 ERROR gxf/std/program.cpp@543: Couldn't run async. Deactivating...
2025-03-21 13:48:34.535 INFO  extensions/nvdssource/nvurisrcbin.hpp@56: bin_add: nvurisrcbin single_source_input
2025-03-21 13:48:34.535 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@37: create_element: nvstreammux streammux
2025-03-21 13:48:34.535 ERROR gxf/core/runtime.cpp@1633: Graph run failed with error: GXF_FAILURE
2025-03-21 13:48:34.535 ERROR gxf/gxe/gxe.cpp@282: GxfGraphRunAsync Error: GXF_FAILURE

Which step am I missing?

Thanks for your support

EDIT:

I also get this warning in Jetson AGX Orin

ERROR: This container was built for NVIDIA Driver Release 560.28 or later, but
       version 540.4.0 was detected and compatibility mode is UNAVAILABLE.

And this is the jetpack version

jetson@agxorin-2 ~/testing [SIGINT]> cat /etc/nv_tegra_release
# R36 (release), REVISION: 4.3, GCID: 38968081, BOARD: generic, EABI: aarch64, DATE: Wed Jan  8 01:49:37 UTC 2025
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia

but from here Installation — DeepStream documentation it should be compatible with DS7.1

EDIT2:

The error on the graph was solved by installing jetpack with

sudo apt install nvidia-jetpack -y

Since the docker image already contains jetpack it is not automatic that jetpack must be completely installed in the host.

Have you run the original deepstream-test1 graph successfully in your environment before you modified anything?
This log shows that DeepStream SDk does not work in your environment.

You can refer to Installation — DeepStream documentation for how to install DeepStream SDK in Jetson.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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