Facing error while using nveglglessink for display

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - GPU
• DeepStream Version - Deepstream-6.2
• TensorRT Version 8.x
• NVIDIA GPU Driver Version (valid for GPU only) - 3 x L4
I’m trying to use nveglglessink for display the output in deepstream but go stream error.
Any solution to use display to this server.

Is there a physical monitor connected to your server’s Nvidia GPU card?

yes its connected.

Can you run “sudo lshw -C display” to check the display?

*-display
description: 3D controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list fb
configuration: depth=32 driver=nvidia latency=0 mode=1280x1024 visual=truecolor xres=1280 yres=1024
resources: iomemory:3680-367f iomemory:3800-37ff irq:161 memory:fc000000-fcffffff memory:36800000000-36fffffffff memory:38040000000-38041ffffff memory:fd000000-fd7fffff memory:37000000000-37fffffffff memory:38000000000-3803fffffff
*-display
description: 3D controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:41:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=nvidia latency=0
resources: iomemory:2680-267f iomemory:2800-27ff irq:160 memory:f2000000-f2ffffff memory:26800000000-26fffffffff memory:28040000000-28041ffffff memory:f3000000-f37fffff memory:27000000000-27fffffffff memory:28000000000-2803fffffff
*-display
description: 3D controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:81:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=nvidia latency=0
resources: iomemory:1e80-1e7f iomemory:2000-1fff irq:159 memory:f8000000-f8ffffff memory:1e800000000-1efffffffff memory:20040000000-20041ffffff memory:f9000000-f97fffff memory:1f000000000-1ffffffffff memory:20000000000-2003fffffff
*-display
description: VGA compatible controller
product: ASPEED Graphics Family
vendor: ASPEED Technology, Inc.
physical id: 0
bus info: pci@0000:c2:00.0
version: 52
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller cap_list rom
configuration: driver=ast latency=0
resources: irq:155 memory:b4000000-b7ffffff memory:b8000000-b803ffff ioport:f000(size=128) memory:c0000-dffff

What is the error? Can you provide the complete log?

I’m using deepstream-nvdsanalytics with nveglglessink and getting this error sample code is working with fakesink but not with nveglglessink.

Can you use “export GST_DEBUG=3” to enbale more log and get the error log here?

Here is the output of debug. Thanks in advance.
test.txt (15.5 KB)

In the log, the following error shows the driver does not support egl gles.

cuGraphicsGLRegisterBuffer failed with error(304) gst_eglglessink_cuda_init texture = 1

The 304 error indicates an OS call failed.

what could be possible solution?

Please check your GPU and find the correct driver.

I have installed 525.125.06 diver and in additional drivers I have 535 i tired using both but same issue happened.

Which GPU are you using?

L4, 3 cards

Can you switch to the GPUs which we listed in Quickstart Guide — DeepStream 6.3 Release documentation and Quickstart Guide — DeepStream 6.3 Release documentation?
Or you can raise topic in GPU driver forum to check whether the L4 GPU can support GLES or not. Latest driver topics in Linux - NVIDIA Developer Forums

Actually I want to use deepstream-6.2.
Anyways will raise new topic

This is the DeepStream 6.2 instruction. Quickstart Guide — DeepStream 6.2 Release documentation

I have installed 6.2 already

As per your suggestion I have raise another topic but there is no response here is topic link