Graph Composer[Errno 13] Permission denied: '/tmp/nvgraph_registry.log'

Please provide complete information as applicable to your setup.

• Hardware Platform Hardware ( NVIDIA GeForce RTX 3060 Laptop GPU)
• DeepStream Version - 6.1.0
• Cuda Version - 11.6
• NVIDIA GPU Driver Version - 510.85.02
• Issue Type - Whenever I’m trying to run the graph the output doesn’t show and the code is stuck –

$ /opt/nvidia/graph-composer/execute_graph.sh /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/parameters.yaml -d /opt/nvidia/deepstream/deepstream/reference_graphs/common/target_x86_64.yaml

Output -

Graphs: deepstream-test1.yaml,parameters.yaml
Target: /opt/nvidia/deepstream/deepstream/reference_graphs/common/target_x86_64.yaml
===================================================================
Running deepstream-test1.yaml
===================================================================
[INFO] Writing manifest to /tmp/ds.deepstream-test1/manifest.yaml 
2022-11-16 13:34:05,815 - Registry - INFO - Installing graph ...
2022-11-16 13:34:05,833 - Registry - INFO - Extension update found for extension: NvDsVisualizationExt
2022-11-16 13:34:05,833 - Registry - INFO - Old version: 1.0.0 New version: 1.0.1
2022-11-16 13:34:05,833 - Registry - INFO - Extension update found for extension: NvDsVisualizationExt
2022-11-16 13:34:05,833 - Registry - INFO - Old version: 1.0.0 New version: 1.0.2
2022-11-16 13:34:05,836 - Registry - INFO - 
Requested target configuration: 
  arch: x86_64 os: linux distribution: ubuntu_20.04 cuda: 11.7 cudnn: 8.4.1 tensorrt: 8.4.1 deepstream: 6.1.1 vpi: 2.0.10 

Selected extension variants: 
NvDsInterfaceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
StandardExtension 
  Version: 2.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 cuda: 11.7 
MultimediaExtension 
  Version: 2.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 
NvDsBaseExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceUtilsExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSourceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsMuxDemuxExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsOutputSinkExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSampleModelsExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsVisualizationExt 
  Version: 1.0.2 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1

The log of /tmp/nvgraph_composer.log

Requested target configuration: 
  arch: x86_64 os: linux distribution: ubuntu_20.04 cuda: 11.7 cudnn: 8.4.1 tensorrt: 8.4.1 deepstream: 6.1.1 vpi: 2.0.10 

Selected extension variants: 
NvDsInterfaceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
StandardExtension 
  Version: 2.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 cuda: 11.7 
MultimediaExtension 
  Version: 2.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 
NvDsBaseExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsInferenceUtilsExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSourceExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsMuxDemuxExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsOutputSinkExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsSampleModelsExt 
  Version: 1.0.0 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 
NvDsVisualizationExt 
  Version: 1.0.2 Variant: arch: x86_64 os: linux distribution: ubuntu_20.04 deepstream: 6.1.1 

2022-11-16 13:34:05,836 - Registry - DEBUG - Importing ext libs from ngc repo for NvDsInterfaceExt
2022-11-16 13:34:05,837 - Registry - DEBUG - Using cached variant /home/divya/.cache/nvgraph_registry/ngc-public/f787f50d-9004-4e85-88b9-1ed1894257f2/1.0.0/linux/x86_64/ubuntu_20.04-ds-6.1.1/f787f50d-9004-4e85-88b9-1ed1894257f2.tar.gz
2022-11-16 13:34:06,187 - Registry - DEBUG - Importing ext libs from ngc repo for StandardExtension
2022-11-16 13:34:06,187 - Registry - DEBUG - Using cached variant /home/divya/.cache/nvgraph_registry/ngc-public/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e/2.0.0/linux/x86_64/ubuntu_20.04-cuda-11.7/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e.tar.gz
2022-11-16 13:34:06,292 - Registry - DEBUG - Corrupt cache file /home/divya/.cache/nvgraph_registry/ngc-public/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e/2.0.0/linux/x86_64/ubuntu_20.04-cuda-11.7/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e.tar.gz
2022-11-16 13:34:11,301 - Registry - DEBUG - Downloading text file /home/divya/.cache/nvgraph_registry/ngc-public/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e/2.0.0/linux/x86_64/ubuntu_20.04-cuda-11.7/8ec2d5d6-b5df-48bf-8dee-0252606fdd7e.tar.gz

The log of /tmp/nvgraph_composer.log

2022-11-16 12:42:18,538 - Composer - INFO - Loading model: /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml
2022-11-16 12:42:18,544 - Composer - DEBUG - Component.init: name= nv_ds_single_src_input3..c518
2022-11-16 12:42:18,544 - Composer - DEBUG - Component.init: name= nv_ds_dynamic_output4..c7b8
2022-11-16 12:42:18,545 - Composer - DEBUG - Component.init: name= nv_ds_dynamic_output5..cb70
2022-11-16 12:42:18,545 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_single_src_input3..c518, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be2bd0>
2022-11-16 12:42:18,545 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_dynamic_output4..c7b8, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1ad4410>
2022-11-16 12:42:18,545 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_dynamic_output5..cb70, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1ad4250>
2022-11-16 12:42:18,547 - Composer - DEBUG - Component.init: name= nv_ds_stream_mux6..db00
2022-11-16 12:42:18,547 - Composer - DEBUG - Component.init: name= nv_ds_on_request_input7..d9e8
2022-11-16 12:42:18,547 - Composer - DEBUG - Component.init: name= nv_ds_static_output8..da90
2022-11-16 12:42:18,547 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_stream_mux6..db00, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be2690>
2022-11-16 12:42:18,547 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_on_request_input7..d9e8, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1b91550>
2022-11-16 12:42:18,547 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_output8..da90, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1b91f10>
2022-11-16 12:42:18,548 - Composer - DEBUG - Component.init: name= nv_ds_connection9..7978
2022-11-16 12:42:18,548 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_connection9..7978, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1b91990>
2022-11-16 12:42:18,550 - Composer - DEBUG - Component.init: name= nv_ds_infer10..2748
2022-11-16 12:42:18,551 - Composer - DEBUG - Component.init: name= nv_ds_static_input11..5a90
2022-11-16 12:42:18,551 - Composer - DEBUG - Component.init: name= nv_ds_static_output12..5b38
2022-11-16 12:42:18,551 - Composer - DEBUG - Component.init: name= resnet10_4_class_detector3..b278
2022-11-16 12:42:18,551 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_infer10..2748, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be9810>
2022-11-16 12:42:18,551 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_input11..5a90, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be9090>
2022-11-16 12:42:18,551 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_output12..5b38, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be9f50>
2022-11-16 12:42:18,551 - Composer - DEBUG - Entity.add_component: comp name: resnet10_4_class_detector3..b278, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1be9950>
2022-11-16 12:42:18,552 - Composer - DEBUG - Component.init: name= nv_ds_connection13..5e10
2022-11-16 12:42:18,552 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_connection13..5e10, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2adab50>
2022-11-16 12:42:18,554 - Composer - DEBUG - Component.init: name= nv_ds_osd14..5978
2022-11-16 12:42:18,554 - Composer - DEBUG - Component.init: name= nv_ds_static_input15..7b00
2022-11-16 12:42:18,554 - Composer - DEBUG - Component.init: name= nv_ds_static_output16..7b70
2022-11-16 12:42:18,554 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_osd14..5978, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca29af850>
2022-11-16 12:42:18,554 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_input15..7b00, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2cb8cd0>
2022-11-16 12:42:18,554 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_output16..7b70, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2cb8ed0>
2022-11-16 12:42:18,555 - Composer - DEBUG - Component.init: name= nv_ds_connection17..ac88
2022-11-16 12:42:18,555 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_connection17..ac88, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2b96d50>
2022-11-16 12:42:18,557 - Composer - DEBUG - Component.init: name= nv_ds_video_renderer18..d2b0
2022-11-16 12:42:18,557 - Composer - DEBUG - Component.init: name= nv_ds_static_input19..fda0
2022-11-16 12:42:18,557 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_video_renderer18..d2b0, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca29fd810>
2022-11-16 12:42:18,557 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_static_input19..fda0, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2cb49d0>
2022-11-16 12:42:18,558 - Composer - DEBUG - Component.init: name= nv_ds_connection20..5160
2022-11-16 12:42:18,558 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_connection20..5160, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2cf38d0>
2022-11-16 12:42:18,560 - Composer - DEBUG - Component.init: name= per_class_object_counting21..ff28
2022-11-16 12:42:18,560 - Composer - DEBUG - Component.init: name= nv_ds_probe_connector0..2b00
2022-11-16 12:42:18,560 - Composer - DEBUG - Entity.add_component: comp name: per_class_object_counting21..ff28, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2b96990>
2022-11-16 12:42:18,560 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_probe_connector0..2b00, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1c438d0>
2022-11-16 12:42:18,561 - Composer - DEBUG - Component.init: name= nv_ds_probe1..5be0
2022-11-16 12:42:18,561 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_probe1..5be0, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca2cb4990>
2022-11-16 12:42:18,562 - Composer - DEBUG - Component.init: name= nv_ds_scheduler2..4a58
2022-11-16 12:42:18,562 - Composer - DEBUG - Entity.add_component: comp name: nv_ds_scheduler2..4a58, <omni.exp.graph.composer.backend.component.Component object at 0x7fdca1ba0310>
2022-11-16 12:42:18,562 - Composer - DEBUG - Linking nv_ds_dynamic_output5..cb70 to video-out-%u...
2022-11-16 12:42:18,562 - Composer - DEBUG - Linking video-out-%u to nv_ds_dynamic_output5..cb70...
2022-11-16 12:42:18,562 - Composer - DEBUG - Linking nv_ds_dynamic_output4..c7b8 to audio-out-%u...
2022-11-16 12:42:18,562 - Composer - DEBUG - Linking audio-out-%u to nv_ds_dynamic_output4..c7b8...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_on_request_input7..d9e8 to video-in-%u...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking video-in-%u to nv_ds_on_request_input7..d9e8...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_static_output8..da90 to video-out...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking video-out to nv_ds_static_output8..da90...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_dynamic_output5..cb70 to source...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking source to nv_ds_dynamic_output5..cb70...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_on_request_input7..d9e8 to target...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking target to nv_ds_on_request_input7..d9e8...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking resnet10_4_class_detector3..b278 to infer-model-config...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking infer-model-config to resnet10_4_class_detector3..b278...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_static_output12..5b38 to video-out...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking video-out to nv_ds_static_output12..5b38...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_static_input11..5a90 to video-in...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking video-in to nv_ds_static_input11..5a90...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_static_output8..da90 to source...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking source to nv_ds_static_output8..da90...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking nv_ds_static_input11..5a90 to target...
2022-11-16 12:42:18,563 - Composer - DEBUG - Linking target to nv_ds_static_input11..5a90...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_output16..7b70 to video-out...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking video-out to nv_ds_static_output16..7b70...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_input15..7b00 to video-in...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking video-in to nv_ds_static_input15..7b00...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_output12..5b38 to source...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking source to nv_ds_static_output12..5b38...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_input15..7b00 to target...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking target to nv_ds_static_input15..7b00...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_input19..fda0 to video-in...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking video-in to nv_ds_static_input19..fda0...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_output16..7b70 to source...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking source to nv_ds_static_output16..7b70...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_input19..fda0 to target...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking target to nv_ds_static_input19..fda0...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_probe_connector0..2b00 to probe-connector...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking probe-connector to nv_ds_probe_connector0..2b00...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking nv_ds_static_output12..5b38 to io...
2022-11-16 12:42:18,564 - Composer - DEBUG - Linking io to nv_ds_static_output12..5b38...
2022-11-16 12:42:18,565 - Composer - DEBUG - Linking nv_ds_probe_connector0..2b00 to probe-connector...
2022-11-16 12:42:18,565 - Composer - DEBUG - Linking probe-connector to nv_ds_probe_connector0..2b00...
2022-11-16 12:42:21,483 - Composer - DEBUG - Current selection: {
2022-11-16 12:42:21,484 - Composer - DEBUG - NvDsInferVideo..5080,
2022-11-16 12:42:21,484 - Composer - DEBUG - }
2022-11-16 12:42:21,485 - Composer - DEBUG - Current selection: {
2022-11-16 12:42:21,486 - Composer - DEBUG - nv_ds_static_input11..5a90,
2022-11-16 12:42:21,486 - Composer - DEBUG - }
2022-11-16 12:42:22,477 - Composer - DEBUG - Current selection: {
2022-11-16 12:42:22,478 - Composer - DEBUG - NvDsPerClassObjectCounting..b710,
2022-11-16 12:42:22,478 - Composer - DEBUG - }
2022-11-16 12:42:22,981 - Composer - DEBUG - Current selection: {
2022-11-16 12:42:22,981 - Composer - DEBUG - NvDsOSD..c668,
2022-11-16 12:42:22,981 - Composer - DEBUG - }
2022-11-16 12:42:22,983 - Composer - DEBUG - Current selection: {
2022-11-16 12:42:22,983 - Composer - DEBUG - nv_ds_static_input15..7b00,
2022-11-16 12:42:22,983 - Composer - DEBUG - }
2022-11-16 12:44:46,238 - Composer - INFO - Parameters loaded successfully from file /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/parameters.yaml
2022-11-16 12:46:02,678 - Composer - INFO - Running graph /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml
2022-11-16 12:46:02,680 - Composer - DEBUG - Graph does not have any external resources. Select parameters to export as resources from the property window
2022-11-16 12:46:02,680 - Composer - INFO - Validating the graph...
2022-11-16 12:46:02,682 - Composer - INFO - Saving model: /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml
2022-11-16 12:46:02,683 - Composer - ERROR - Do not have permissions to save the graph /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml
2022-11-16 12:46:02,684 - Composer - ERROR - Saving Graph /opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/deepstream-test1.yaml failed! Error in saving graph, please check the log

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

Please run with root privilege.

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