# Run deepstream-app samples error

**URL:** <https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302>\
**Category:** DeepStream SDK\
**Created:** [April 15, 2021, 8:03am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302 "2021-04-15T08:03:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 15, 2021, 8:03am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/1 "2021-04-15T08:03:07Z")

</div>

**• Hardware Platform (Jetson / GPU)**  
Docker Desktop with WSL 2 backend  
**• DeepStream Version**  
5.0.0  
**• JetPack Version (valid for Jetson only)**  
**• TensorRT Version**  
7.0.0-1+cuda10.2  
**• NVIDIA GPU Driver Version (valid for GPU only)**  
470.14  
**• Issue Type( questions, new requirements, bugs)**  
Bug, Unable to successfully run samples provided in README using eglsink.  
**• 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)**

**Step 1:** Install “Docker Desktop with WSL 2 backend” and “X server (VcXsrv)” on Window 10 (with Insider Programme).  
**Step 2:** Run ` docker run --gpus all -it -e DISPLAY=192.168.1.100:0.0 -v ~/directory_name/deep_stream:/home/deepstream nvcr.io/nvidia/deepstream:5.0-20.07-samples /bin/bash` on elevated PowerShell7.  
**Step 3:** Run `deepstream-app -c configs/deepstream-app/source4_1080p_dec_infer_resnet_tracker_sgie_tiled_display_int8.txt` inside docker container.  
**Step 4:** Bug happened where the **“XLaunch is blackscreen”** and ERROR message: **“ERROR from secondary\_gie\_bin\_queue: Internal data stream error.”** appeared.

**•Debugging Process which had been carried out**

**Process:** Run `apt-get install nano` and `nano configs/deepstream-app/source4_1080p_dec_infer_resnet_tracker_sgie_tiled_display_int8.txt` to modify type of [sink0] from Type=2 (EglSink) to Type=1 (FakeSink).  
**Result:** The `deepstream-app -c configs/deepstream-app/source4_1080p_dec_infer_resnet_tracker_sgie_tiled_display_int8.txt` run without any error or bugs.

**Process:** Run `docker run --rm -it -e DISPLAY=192.168.1.100:0.0 aliustaoglu/firefox ` on elevated PowerShell7.  
**Result:** The Firefox installed in the docker run without any error. Desktop display is set into the Docker container.

**• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)**

---

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 15, 2021, 9:46am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/3 "2021-04-15T09:46:18Z")

</div>

**• Debugging Process which had been carried out**

**Process:**

1. Run `docker run --gpus all -it -e DISPLAY=192.168.1.100:0.0 -v ~/directory_name/deep_stream:/home/deepstream nvcr.io/nvidia/deepstream:5.0-20.07-samples /bin/bash` on elevated PowerShell7.
2. Then, run `apt-get install x11-apps`
3. Next, run `xeyes`

**Result:**

 ![WatchingYou](https://global.discourse-cdn.com/nvidia/original/3X/e/f/efa9b10ce8607aaf7933768e8b4fa511cf65fb97.png)

Display is successfully import to Docker container loaded with deepstream5.0 image.

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [April 16, 2021, 1:24am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/4 "2021-04-16T01:24:25Z")

</div>

Hi,  
Which GPU you are using?

---

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 16, 2021, 1:28am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/5 "2021-04-16T01:28:13Z")

</div>

Hi,

I am using **Docker Desktop on Windows 10** with WSL 2 as backends to run DS5.0. For my Windows 10, I am using **NVIDIA GeForce GTX 1660 Ti version 470.14** as my GPU.

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [April 16, 2021, 2:23am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/6 "2021-04-16T02:23:56Z")

</div>

> [@justin44](#):
>
> **Step 4:** Bug happened where the **“XLaunch is blackscreen”** and ERROR message: **“ERROR from secondary\_gie\_bin\_queue: Internal data stream error.”** appeared.

Can you get the whole error log here?

---

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 16, 2021, 2:36am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/7 "2021-04-16T02:36:58Z")

</div>

Sure. By the way, I would like to show my appreciation for your help by saying Thank you.  
This is the error log files with debug level set to 1 by using `--gst-debug-level=1`.

> Runtime commands:
> 
> ```
> h: Print this help
> q: Quit
> 
> p: Pause
> r: Resume
> 
> ```
> 
> NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.  
> To go back to the tiled display, right-click anywhere on the window.
> 
> \*\* INFO: \<bus\_callback:181\>: Pipeline ready
> 
> cuGraphicsGLRegisterBuffer failed with error(304) gst\_eglglessink\_cuda\_init texture = 1  
> 0:00:01.039525700 1690 0x563b302c7230 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2784:gst\_eglglessink\_configure\_caps:\<sink\_sub\_bin\_sink1\> Cuda Init failed  
> 0:00:01.039555500 1690 0x563b302c7230 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2795:gst\_eglglessink\_configure\_caps:\<sink\_sub\_bin\_sink1\> Configuring caps failed  
> 0:00:01.039597800 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.039688400 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> \*\* INFO: \<bus\_callback:167\>: Pipeline running
> 
> 0:00:01.046448500 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046497800 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046537800 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046548500 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046585300 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046700200 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046750200 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046793800 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046830400 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.046864200 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> 0:00:01.060380500 1690 0x563b302c6d40 **ERROR** nveglglessink ext/eglgles/gsteglglessink.c:2840:gst\_eglglessink\_setcaps:\<sink\_sub\_bin\_sink1\> Failed to configure caps  
> ERROR from qtdemux2: Internal data stream error.  
> Debug info: qtdemux.c(6073): gst\_qtdemux\_loop (): /GstPipeline:pipeline/GstBin:multi\_src\_bin/GstBin:src\_sub\_bin2/GstURIDecodeBin:src\_elem/GstDecodeBin:decodebin2/GstQTDemux:qtdemux2:  
> streaming stopped, reason not-negotiated (-4)  
> Quitting  
> ERROR from sink\_bin\_queue: Internal data stream error.  
> Debug info: gstqueue.c(988): gst\_queue\_handle\_sink\_event (): /GstPipeline:pipeline/GstBin:processing\_bin\_0/GstBin:sink\_bin/GstQueue:sink\_bin\_queue:  
> streaming stopped, reason not-negotiated (-4)  
> ERROR from qtdemux3: Internal data stream error.  
> Debug info: qtdemux.c(6073): gst\_qtdemux\_loop (): /GstPipeline:pipeline/GstBin:multi\_src\_bin/GstBin:src\_sub\_bin3/GstURIDecodeBin:src\_elem/GstDecodeBin:decodebin3/GstQTDemux:qtdemux3:  
> streaming stopped, reason not-negotiated (-4)  
> ERROR from qtdemux0: Internal data stream error.  
> Debug info: qtdemux.c(6073): gst\_qtdemux\_loop (): /GstPipeline:pipeline/GstBin:multi\_src\_bin/GstBin:src\_sub\_bin0/GstURIDecodeBin:src\_elem/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:  
> streaming stopped, reason not-negotiated (-4)  
> ERROR from qtdemux1: Internal data stream error.  
> Debug info: qtdemux.c(6073): gst\_qtdemux\_loop (): /GstPipeline:pipeline/GstBin:multi\_src\_bin/GstBin:src\_sub\_bin1/GstURIDecodeBin:src\_elem/GstDecodeBin:decodebin1/GstQTDemux:qtdemux1:  
> streaming stopped, reason not-negotiated (-4)  
> App run failed

This is the complete error log that appeared on the screen.

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [April 16, 2021, 7:25am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/8 "2021-04-16T07:25:21Z")

</div>

cuGraphicsGLRegisterBuffer failed with error(304) gst\_eglglessink\_cuda\_init texture = 1  
0:00:01.039525700 1690 0x563b302c7230 **ERROR** nveglglessink

CUDA\_ERROR\_OPERATING\_SYSTEM = 304

This indicates that an OS call failed.

Can you specify how you install display driver?

---

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 16, 2021, 7:32am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/9 "2021-04-16T07:32:02Z")

</div>

> [@Amycao](#):
>
> Can you specify how you install display driver?

Hi,

I install the display driver **NVIDIA GeForce GTX 1660 Ti version 470.14** by using CUDA Driver provided from [https://developer.nvidia.com/cuda/wsl/download](https://developer.nvidia.com/cuda/wsl/download) and following the instruction given in [1. NVIDIA GPU Accelerated Computing on WSL 2 — CUDA on WSL 12.3 documentation](https://docs.nvidia.com/cuda/wsl-user-guide/index.html#installing-nvidia-drivers) .

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [April 16, 2021, 8:48am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/10 "2021-04-16T08:48:37Z")

</div>

Display driver required for nveglglessink to work.  
you can use 4=RTSPStreaming or 3=File for the output.

---

<div class="post-metadata">

**Author:** ![justin44](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@justin44](https://forums.developer.nvidia.com/u/justin44)\
**Post date:** [April 16, 2021, 9:39am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/11 "2021-04-16T09:39:06Z")

</div>

Thank you.

However, as attached,

 ![Display Driver.PNG](https://global.discourse-cdn.com/nvidia/original/3X/2/1/21b8a2b0a943ce3fb269b33103e6e423b51efaba.jpeg)  
it is clear that the display driver **NVIDIA GeForce GTX 1660 Ti version 470.14** is correctly installed into my Windows 10.

> [@Amycao](#):
>
> Display driver required for nveglglessink to work.

However, the error persists. Any suggestions to resolve this?

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [April 19, 2021, 5:17am UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/12 "2021-04-19T05:17:11Z")

</div>

You are using windows, linux process can not access and communicate to windows binary.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:14pm UTC](https://forums.developer.nvidia.com/t/run-deepstream-app-samples-error/175302/14 "2021-10-12T16:14:29Z")

</div>

Closed on October 12, 2021, 4:14pm UTC


