Deepstream failed to create ‘sink_sub_bin_sink1’

Base on the topic here, we are facing the same problem

But, it did not post the solution in the link that listed
May i ask how to solve gstreamer1.0-plugins-nvvideosinks problem? I meet the difficult, I need your help. Thx.
my version is deepstream5.0.1

The follwoing is my setting.
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2

If I use fakesink, it haven’t the problem , but I can’t see display.

./deepstream-app -c deepstream_app_config.txt

(deepstream-app:18495): GLib-GObject-CRITICAL **: 17:05:36.348: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed

(deepstream-app:18495): GLib-GObject-CRITICAL **: 17:05:36.354: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed
** ERROR: <create_render_bin:95>: Failed to create ‘sink_sub_bin_sink1’
** ERROR: <create_render_bin:172>: create_render_bin failed
** ERROR: <create_sink_bin:732>: create_sink_bin failed
** ERROR: <create_processing_instance:802>: create_processing_instance failed
** ERROR: <create_pipeline:1296>: create_pipeline failed
** ERROR: main:678: Failed to create pipeline
Quitting
App run failed

my version is deepstream5.0.1

The follwoing is my setting.
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2

If I use fakesink, it haven’t the problem , but I can’t see display.

./deepstream-app -c deepstream_app_config.txt

(deepstream-app:18495): GLib-GObject-CRITICAL **: 17:05:36.348: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed

(deepstream-app:18495): GLib-GObject-CRITICAL **: 17:05:36.354: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed
** ERROR: <create_render_bin:95>: Failed to create ‘sink_sub_bin_sink1’
** ERROR: <create_render_bin:172>: create_render_bin failed
** ERROR: <create_sink_bin:732>: create_sink_bin failed
** ERROR: <create_processing_instance:802>: create_processing_instance failed
** ERROR: <create_pipeline:1296>: create_pipeline failed
** ERROR: main:678: Failed to create pipeline
Quitting
App run failed

Please provide complete information as applicable to your setup.

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

• Hardware Platform (Jetson / GPU) Jetson Nano production version
• DeepStream Version 5.0.1
• JetPack Version (valid for Jetson only) Jetpack 4.5
• TensorRT Version * TensorRT 7.1.3
• NVIDIA GPU Driver Version (valid for GPU only) Cuda? * CUDA 10.2
• Issue Type( questions, new requirements, bugs) Deepstream
• 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)
The log are as above
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
The log are as above

Seems nveglglessink element is not created correctly. Please check your platform. Is your monitor connected correctly? Dose you run deepstream in docker?

I am original problem author.

  1. I don’t run at docker.
  2. I have connected correctly monitor.

Seems nveglglessink element is not created correctly.
=> Therefore, how to solve that? I already query key-word, but I don’t understand how to solve that.

You may reinstall JetPack and deepstream SDK.

I had tried to reinstall deepstream SDK, it’s not helpful.

Maybe I used the autoremove command, causing to remove the plugin…
Havn’t other method to fix that except reinstall jetpack?

What is the result of running “gst-launch-1.0 nveglglessink” command?

minggatsby@minggatsby-desktop:~$ gst-launch-1.0 nveglglessink
錯誤:無法建立pipeline:“nveglglessink” element不存在。

By the way, I used the command on my amd64 deepstream5.1.
My amd64 can display windows, but its output also is the same.
I mean correctly deepstream and not correctly deepstream always output the same.

No. There is no “nveglglessink” element. Deepstream SDK is not installed correctly.

Why did you say “my amd64” while you are working on Jetson Nano? Jetson Nano is embedded device, it is ARM device.

If there is no “nveglglessink” element, you can not display with “nveglglessink”. Are you sure there is no “nveglglessink” in your amd64 device while the deepstream pipeline can display with “nveglglessink”?

In the morning, I use amd64 to test the problem, because I don’t know amd64 deepstream is different of arm64.

Then, I use Xavier NX to test in the afternoon.
Yes, Xavier NX use the command , then that has output.

Therefore, my nano hasn’t nveglglessink, how should I solve that?

=======================================================================
This is ubuntu18.04 amd64 deepstream.

This is ubuntu18.04 arm64 deepstream.

Please follow the guide in the document for installation. Quickstart Guide — DeepStream 5.1 Release documentation

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