no such element factory "nvstreammux"! /Failed to create element 'src_bin_muxer'

DeepStream SDK 4.0
Ubuntu 16.04
Server with T4 and P4 GPU’s

hi all, I am running deepstream-app from local host and getting these errors:

user@localhost:~/deepstream_sdk_v4.0_x86_64/sources/apps/sample_apps/deepstream-app$ sudo GST_DEBUG=4 deepstream-app -c /home/deepstream_sdk_v4.0_x86_64/samples/configs/deepstream-app/source30resnet_tiled_display_int8.txt

0:00:00.000052489 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:511:init_pre: Initializing GStreamer Core Library version 1.8.3
0:00:00.000115918 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:512:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000132018 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:523:init_pre: Linux r7425-p4 4.4.0-133-generic #159-Ubuntu SMP Fri Aug 10 07:31:43 UTC 2018 x86_64
0:00:00.000401284 79935 0x55b7a32e2c00 INFO                GST_INIT gstmessage.c:119:_priv_gst_message_initialize: init messages
0:00:00.000786668 79935 0x55b7a32e2c00 INFO                GST_INIT gstcontext.c:83:_priv_gst_context_initialize: init contexts
0:00:00.000929697 79935 0x55b7a32e2c00 INFO      GST_PLUGIN_LOADING gstplugin.c:316:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.001006401 79935 0x55b7a32e2c00 INFO      GST_PLUGIN_LOADING gstplugin.c:224:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.001016900 79935 0x55b7a32e2c00 INFO      GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.001039202 79935 0x55b7a32e2c00 INFO            GST_REGISTRY gstregistry.c:1723:ensure_current_registry: reading registry cache: /home/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.013302227 79935 0x55b7a32e2c00 INFO            GST_REGISTRY gstregistrybinary.c:619:priv_gst_registry_binary_read_cache: loaded /home/.cache/gstreamer-1.0/registry.x86_64.bin in 0.012
0:00:00.013347613 79935 0x55b7a32e2c00 INFO            GST_REGISTRY gstregistry.c:1579:scan_and_update_registry: Validating plugins from registry cache: /home/.cache/gstreamer-1.0/registry.x8
0:00:00.014508313 79935 0x55b7a32e2c00 INFO            GST_REGISTRY gstregistry.c:1681:scan_and_update_registry: Registry cache has not changed
0:00:00.014519344 79935 0x55b7a32e2c00 INFO            GST_REGISTRY gstregistry.c:1758:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.014527178 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:724:init_post: GLib runtime version: 2.48.2
0:00:00.014535324 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:726:init_post: GLib headers version: 2.48.1
0:00:00.014542467 79935 0x55b7a32e2c00 INFO                GST_INIT gst.c:727:init_post: initialized GStreamer successfully
0:00:00.014824136 79935 0x55b7a32e2c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "pipeline" named "pipeline"
0:00:00.014913364 79935 0x55b7a32e2c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "bin" named "multi_src_bin"
0:00:00.014934784 79935 0x55b7a32e2c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:457:gst_element_factory_make: no such element factory "nvstreammux"!
** ERROR: <create_multi_source_bin:653>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:715>: create_multi_source_bin failed
** ERROR: <create_pipeline:967>: create_pipeline failed
** ERROR: <main:632>: Failed to create pipeline
Quitting

I’m seeing exactly the same issue now on one system that updated a number of Nvidia libraries from the repo in the last day or so. On my other systems that have not been updated yet are not seeing this issue.

All systems running the same code, same version of CUDA, same version of TensorRT, same version of gstreamer, etc.

The only thing that was changed was that an update was run.

I haven’t found a solution yet. We might need a fix from Nvidia.

Setup pre-requisites:

  • Ubuntu 18.04
  • Gstreamer 1.14.1
  • NVIDIA driver 418+
  • CUDA 10.1
  • TensorRT 5.1+

Hi ChrisDing,

I decided to revisit this issue on the system experiencing the problem. I was hoping that there may have been an update from Nvidia that solved the issue. Unfortunately I’m still seeing the issue after updating all packages.

And to be clear, my system is Ubuntu 18.04.

Did you remove $HOME/.cache/gstreamer-1.0/registry.x86_64.bin
What’s your platform?

Hi cbstryker,

Is this still an issue at your side?
Have you removed $HOME/.cache/gstreamer-1.0/registry.x86_64.bin?

Thanks

@ChrisDing @kayccc

Thanks for checking up. That was the solution, thank you.