Graph composer doesn't launch, can't find plugins

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GeForce GTX 1660 Ti
• DeepStream Version 6.0.1
• JetPack Version (valid for Jetson only) NA
• TensorRT Version 8.0.1-1
• NVIDIA GPU Driver Version (valid for GPU only) 512.15
• Issue Type( questions, new requirements, bugs) Can’t launch graph composer in nvidia-docker2, running on Ubuntu18-04 in WSL.
• 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 new to DeepStream development (and WSL), don’t know where I am going wrong. I saw this great webinar Deep Dive Into Jetson and DeepStream | NVIDIA On-Demand and want to setup an environment like this to dev on my host, but later also setup SSH and deploy to Jetson Nano devices.

On my host I am running:

  • Windows 11 (Version 21H2 Build 22000.613)
  • GPU Driver 512.15
  • GeForce GTX 1660 Ti GPU (not sure if it is supported in compatibility mode?)

WSL 2 with Ubuntu 18.04 on which I have installed:

  • docker version: 20.10.14
  • cuda-toolkit-11-6
  • nvidia-docker2

I run the Deepstream devel container as follows:
xhost +
sudo docker run --gpus all -it --network=host -v /tmp/.X11-unix:/tmp/.X11-unix -v /var/run/docker.sock:/var/run/docker.sock -e DISPLAY=$DISPLAY --privileged=true -w /opt/nvidia/deepstream/deepstream-6.0 nvcr.io/nvidia/deepstream:6.0.1-devel

Inside the container I can see the following:

  • Cuda compilation tools, release 11.4, V11.4.120
  • TensorRT 8.0.1-1+cuda11.3 (results from “dpkg -l | grep nvinfer”)

The container runs, but when I want to open graph composer I get the following problems:

/opt/nvidia/deepstream/deepstream-6.0# composer
Preparing files...
Done.
./kit/kit ./composer/composer-standalone.kit --ext-path ./composer/omni.exp.graph.composer/  --/plugins/carb.scripting-python.plugin/pythonPath=./registry/ --allow-root
[Info] [carb] Logging to file: /root/.nvidia-omniverse/logs/Kit/composer-standalone/1.0/kit_20220418_101622.log
root@LAPTOP-RDI8SFMD:/opt/nvidia/deepstream/deepstream-6.0# [0.267s] [ext: omni.kit.pipapi-0.0.0] startup
[0.291s] [ext: omni.kit.pip_archive-0.0.0] startup
[0.329s] [ext: omni.usd.config-1.0.0] startup
[0.332s] [ext: omni.usd.libs-1.0.0] startup
[0.506s] [ext: omni.stats-0.0.0] startup
[0.510s] [ext: omni.gpu_foundation-0.0.0] startup
2022-04-18 10:16:22 [471ms] [Warning] [omni.ext.plugin] [ext: omni.gpu_foundation-0.0.0] Failed to load plugins, folder doesn't exist: '/tmp/.tmpNvXgRaphComposer/run/kit/plugins/rtx'.
2022-04-18 10:16:22 [471ms] [Warning] [omni.ext.plugin] [ext: omni.gpu_foundation-0.0.0] '/tmp/.tmpNvXgRaphComposer/run/kit/plugins/rtx/rtx.xrtools.plugin' in '[[native.plugin]]' was not found.
[0.518s] [ext: omni.kit.async_engine-0.0.0] startup
[0.539s] [ext: omni.kit.loop-default-0.1.0] startup
[0.539s] [ext: omni.assets.plugins-0.0.0] startup
[0.542s] [ext: omni.appwindow-1.0.0] startup
[0.573s] [ext: omni.client-0.1.0] startup
[0.586s] [ext: omni.kit.renderer.core-0.0.0] startup
2022-04-18 10:16:22 [548ms] [Warning] [omni.ext.plugin] [ext: omni.kit.renderer.core-0.0.0] Failed to load plugins, folder doesn't exist: '/tmp/.tmpNvXgRaphComposer/run/kit/plugins/rtx'.
2022-04-18 10:16:22 [548ms] [Warning] [omni.ext.plugin] [ext: omni.kit.renderer.core-0.0.0] '/tmp/.tmpNvXgRaphComposer/run/kit/plugins/rtx/rtx.xrtools.plugin' in '[[native.plugin]]' was not found.
2022-04-18 10:16:22 [554ms] [Error] [carb.graphics-vulkan.plugin] VkResult: ERROR_EXTENSION_NOT_PRESENT
2022-04-18 10:16:22 [554ms] [Error] [carb.graphics-vulkan.plugin] vkCreateInstance failed. Vulkan 1.1 is not supported, or your driver requires an update.
2022-04-18 10:16:22 [554ms] [Error] [gpu.foundation.plugin] carb::graphics::createInstance failed.
2022-04-18 10:16:22 [556ms] [Error] [carb.graphics-vulkan.plugin] VkResult: ERROR_EXTENSION_NOT_PRESENT
2022-04-18 10:16:22 [556ms] [Error] [carb.graphics-vulkan.plugin] vkCreateInstance failed. Vulkan 1.1 is not supported, or your driver requires an update.
2022-04-18 10:16:22 [556ms] [Error] [gpu.foundation.plugin] carb::graphics::createInstance failed.
2022-04-18 10:16:22 [556ms] [Warning] [omni.gpu_foundation_factory.plugin] RT-capable GPU not found, switching to compatibility mode
2022-04-18 10:16:22 [556ms] [Error] [omni.gpu_foundation_factory.plugin] Failed to create GPU foundation!
2022-04-18 10:16:22 [556ms] [Error] [omni.kit.renderer.plugin] GPU Foundation is not initialized!
2022-04-18 10:16:22 [556ms] [Error] [omni.kit.imgui_renderer.plugin] Invalid device attached to the default window!
[0.604s] [ext: omni.kit.test-0.0.0] startup
[0.832s] [ext: omni.ui-2.5.0] startup
[0.864s] [ext: omni.kit.mainwindow-0.0.0] startup
[0.869s] [ext: omni.kit.uiapp-0.0.0] startup
[0.870s] [ext: omni.usd.schema.physics-1.0.0] startup
[0.881s] [ext: omni.usd.schema.anim-0.0.0] startup
[0.899s] [ext: omni.usd.schema.semantics-0.0.0] startup
[0.905s] [ext: omni.usd.schema.audio-0.0.0] startup
[0.910s] [ext: carb.audio-0.1.0] startup
[0.912s] [ext: omni.timeline-1.0.2] startup
[0.915s] [ext: omni.kit.commands-0.0.0] startup
[0.925s] [ext: omni.hydra.scene_delegate-0.1.0] startup
[0.934s] [ext: omni.services.facilities.base-1.0.0] startup
[0.938s] [ext: omni.usd-1.4.5] startup
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
2022-04-18 10:16:23 [955ms] [Warning] [carb.audio.output] failed to retrieve the capabilities for device 0 {result = eInvalidParameter (8)}
2022-04-18 10:16:23 [955ms] [Warning] [carb.audio.context] failed to set the requested output during context creation.  Using a null streamer instead {result = eInvalidParameter (8)}
[1.001s] [ext: omni.services.core-1.1.1] startup
[1.216s] [ext: omni.kit.menu.utils-1.0.2] startup
[1.231s] [ext: omni.kit.widget.graph-1.1.4] startup
[1.263s] [ext: omni.kit.window.property-1.6.2] startup
[1.271s] [ext: omni.services.transport.server.base-1.0.0] startup
[1.276s] [ext: omni.services.transport.client.base-1.1.0] startup
[1.281s] [ext: omni.services.transport.server.http-1.0.0] startup
[1.400s] [ext: omni.services.client-0.2.2] startup
[1.419s] [ext: omni.kit.widget.path_field-2.0.3] startup
[1.443s] [ext: omni.kit.search_core-1.0.0] startup
[1.450s] [ext: omni.kit.agent-0.1.0] startup
[1.454s] [ext: omni.services.transport.client.http_async-1.0.0] startup
[1.660s] [ext: omni.kit.widget.browser_bar-2.0.2] startup
[1.667s] [ext: omni.kit.widget.filebrowser-2.2.14] startup
[1.699s] [ext: omni.kit.notification_manager-1.0.0] startup
[1.708s] [ext: omni.kit.thumbnails.images-0.1.0] startup
[1.717s] [ext: omni.kit.window.popup_dialog-2.0.3] startup
[1.729s] [ext: omni.kit.widget.versioning-1.3.4] startup
[1.743s] [ext: omni.kit.window.console-0.1.0] startup
[1.745s] [ext: omni.kit.window.filepicker-2.4.8] startup
[1.809s] [ext: omni.kit.window.title-1.1.0] startup
[1.816s] [ext: omni.exp.graph.composer-1.0.0] startup
Collecting packaging==20.9
  Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 3.9 MB/s
Collecting pyparsing>=2.0.2
  Downloading pyparsing-3.0.8-py3-none-any.whl (98 kB)
     |████████████████████████████████| 98 kB 4.4 MB/s
Installing collected packages: pyparsing, packaging
Successfully installed packaging-20.9 pyparsing-3.0.8
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
Collecting pyyaml==5.3.1
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
     |████████████████████████████████| 269 kB 8.1 MB/s
Using legacy setup.py install for pyyaml, since package 'wheel' is not installed.
Installing collected packages: pyyaml
    Running setup.py install for pyyaml ... done
Successfully installed pyyaml-5.3.1
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
Collecting result==0.5.0
  Downloading result-0.5.0-py3-none-any.whl (7.3 kB)
Installing collected packages: result
Successfully installed result-0.5.0
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
Collecting requests==2.18.4
  Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
     |████████████████████████████████| 88 kB 4.1 MB/s
Collecting idna<2.7,>=2.5
  Downloading idna-2.6-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 5.2 MB/s
Collecting chardet<3.1.0,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 19.4 MB/s
Collecting urllib3<1.23,>=1.21.1
  Downloading urllib3-1.22-py2.py3-none-any.whl (132 kB)
     |████████████████████████████████| 132 kB 17.6 MB/s
Collecting certifi>=2017.4.17
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
     |████████████████████████████████| 149 kB 23.5 MB/s
Installing collected packages: idna, chardet, urllib3, certifi, requests
Successfully installed certifi-2021.10.8 chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22
WARNING: Target directory /root/.local/share/ov/data/Kit/composer-standalone/1.0/pip3-envs/default/bin already exists. Specify --upgrade to force replacement.
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
Collecting toml==0.10.2
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Installing collected packages: toml
Successfully installed toml-0.10.2
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
Collecting pexpect
  Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
     |████████████████████████████████| 59 kB 4.4 MB/s
Collecting ptyprocess>=0.5
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Installing collected packages: ptyprocess, pexpect
Successfully installed pexpect-4.8.0 ptyprocess-0.7.0
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/.tmpNvXgRaphComposer/run/kit/python/bin/python3 -m pip install --upgrade pip' command.
2022-04-18 10:16:31 [9,308ms] [Error] [carb.python] [py stderr]: /root/.local/share/ov/data/Kit/composer-standalone/1.0/pip3-envs/default/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

/root/.local/share/ov/data/Kit/composer-standalone/1.0/pip3-envs/default/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
[10.061s] [ext: composer-standalone-1.0.0] startup
[10.061s] app started
[10.118s] [ext: composer-standalone-1.0.0] shutdown
[10.118s] [ext: omni.exp.graph.composer-1.0.0] shutdown
2022-04-18 10:16:32 [10,084ms] [Error] [carb.python] omni.exp.graph.composer-1.0.0 -> <class 'omni.exp.graph.composer.graph_composer.GraphComposerExtension'>: extension object is still alive, something holds a reference on it. References: ["[0]:type: <class 'cell'>, id: 140323695495568", "[1]:type: <class 'frame'>, id: 140323529799760"]
[10.132s] [ext: omni.kit.window.console-0.1.0] shutdown
[10.133s] [ext: omni.kit.window.property-1.6.2] shutdown
[10.139s] [ext: omni.kit.window.title-1.1.0] shutdown
[10.146s] [ext: omni.usd-1.4.5] shutdown
[10.154s] [ext: omni.usd.schema.physics-1.0.0] shutdown
[10.160s] [ext: omni.kit.window.filepicker-2.4.8] shutdown
[10.165s] [ext: omni.kit.notification_manager-1.0.0] shutdown
[10.171s] [ext: omni.kit.widget.filebrowser-2.2.14] shutdown
[10.176s] [ext: omni.kit.search_core-1.0.0] shutdown
[10.181s] [ext: omni.kit.thumbnails.images-0.1.0] shutdown
[10.186s] [ext: omni.kit.widget.browser_bar-2.0.2] shutdown
[10.191s] [ext: omni.kit.widget.graph-1.1.4] shutdown
[10.197s] [ext: omni.kit.widget.path_field-2.0.3] shutdown
[10.202s] [ext: omni.kit.widget.versioning-1.3.4] shutdown
[10.209s] [ext: omni.kit.window.popup_dialog-2.0.3] shutdown
[10.214s] [ext: omni.services.transport.server.http-1.0.0] shutdown
[10.219s] [ext: omni.services.transport.server.base-1.0.0] shutdown
[10.227s] [ext: carb.audio-0.1.0] shutdown
[10.227s] [ext: omni.kit.uiapp-0.0.0] shutdown
[10.227s] [ext: omni.kit.mainwindow-0.0.0] shutdown
[10.232s] [ext: omni.kit.menu.utils-1.0.2] shutdown
2022-04-18 10:16:32 [10,195ms] [Error] [carb.python] omni.kit.menu.utils-1.0.2 -> <class 'omni.kit.menu.utils.scripts.utils.MenuUtilsExtension'>: extension object is still alive, something holds a reference on it. References: ["[0]:type: <class 'frame'>, id: 140325738494464", "[1]:type: <class 'frame'>, id: 140323536552480"]
[10.242s] [ext: omni.ui-2.5.0] shutdown
[10.247s] [ext: omni.kit.renderer.core-0.0.0] shutdown
2022-04-18 10:16:32 [10,210ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.svg-nanosvg.plugin.so.
[10.252s] [ext: omni.appwindow-1.0.0] shutdown
[10.257s] [ext: omni.client-0.1.0] shutdown
[10.262s] [ext: omni.assets.plugins-0.0.0] shutdown
[10.262s] [ext: omni.gpu_foundation-0.0.0] shutdown
2022-04-18 10:16:32 [10,225ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.shadercompiler-slang.plugin.so.
2022-04-18 10:16:32 [10,225ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.blockcompression.plugin.so.
2022-04-18 10:16:32 [10,225ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.cudainterop.plugin.so.
2022-04-18 10:16:32 [10,225ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.glinterop.plugin.so.
2022-04-18 10:16:32 [10,225ms] [Warning] [carb] unloadPlugin: Failed to find a plugin at: /tmp/.tmpNvXgRaphComposer/run/kit/plugins/carb_gfx/libcarb.xr.plugin.so.
[10.267s] [ext: omni.hydra.scene_delegate-0.1.0] shutdown
[10.267s] [ext: omni.kit.agent-0.1.0] shutdown
[10.273s] [ext: omni.services.transport.client.http_async-1.0.0] shutdown
[10.277s] [ext: omni.services.client-0.2.2] shutdown
[10.282s] [ext: omni.services.core-1.1.1] shutdown
[10.287s] [ext: omni.kit.test-0.0.0] shutdown
[10.291s] [ext: omni.kit.async_engine-0.0.0] shutdown
[10.296s] [ext: omni.kit.commands-0.0.0] shutdown
[10.301s] [ext: omni.kit.loop-default-0.1.0] shutdown
[10.301s] [ext: omni.kit.pip_archive-0.0.0] shutdown
[10.308s] [ext: omni.kit.pipapi-0.0.0] shutdown
[10.311s] [ext: omni.services.facilities.base-1.0.0] shutdown
[10.313s] [ext: omni.services.transport.client.base-1.1.0] shutdown
[10.316s] [ext: omni.stats-0.0.0] shutdown
[10.319s] [ext: omni.timeline-1.0.2] shutdown
[10.322s] [ext: omni.usd.schema.anim-0.0.0] shutdown
[10.324s] [ext: omni.usd.schema.semantics-0.0.0] shutdown
[10.327s] [ext: omni.usd.schema.audio-0.0.0] shutdown
[10.329s] [ext: omni.usd.libs-1.0.0] shutdown
[10.333s] [ext: omni.usd.config-1.0.0] shutdown

I don’t know how to fix this, any help will be greatly appreciated.

Based on other threads here I have tried installing vulkan-utils and below is the output of “nvidia-smi”

/opt/nvidia/deepstream/deepstream-6.0# nvidia-smi
Mon Apr 18 10:15:32 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02    Driver Version: 512.15       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| 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:01:00.0  On |                  N/A |
| N/A   40C    P8     7W /  N/A |    729MiB /  6144MiB |      5%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A     19637      G   /Xwayland                       N/A      |
+-----------------------------------------------------------------------------+

Thanks in advance, and please let me know if you require any other information.

Edit: I’ve also uninstalled nvidia-docker2 and installed nvidia-container-toolkit instead, but I get the same errors and warnings.

What is the cuda version in your host(it should be ubuntu 18.04)?

Please follow the instruction System Requirements — DeepStream 6.0.1 Release documentation

Hi, thanks for the response. Do you mean my host should be Ubuntu 18.04? Because my host is Windows 11. Can I run graph composer with the deepstream container with a GeForce GTX 1660 Ti GPU via WSL2 on Windows 11 that is running Ubuntu 18.04?

I did install cuda 11.4 on my Windows host
image

And I already installed it on Ubuntu 18.04(WSL2)

But it seems like WSL2 is seeing version 9.1, I don’t know what I’m doing wrong.
image
But also, nvidia-smi shows version 11.6, so I’m a bit confused.

I did not yet follow the rest of the steps in your link, because CUDA on WSL :: CUDA Toolkit Documentation explicitly says not to install a Linux display driver.


Should I still follow the steps you adviced at System Requirements — DeepStream 6.0.1 Release documentation to install a Linux driver as well?

Thank you for your time and guidance, I appreciate it.

We never test such case, nobody can guarantee.

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