Deepstream 6.2 running with blank screens (dgpu)

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)

glueck@glueck-WHITLEY:~$ nvidia-smi
Tue Jan 2 17:09:03 2024
| NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0 |
| 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 Tesla T4 Off | 00000000:98:00.0 Off | 0 |
| N/A 44C P8 16W / 70W | 11MiB / 15360MiB | 0% Default |
| | | N/A |

| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
| 0 N/A N/A 1518 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 2403 G /usr/lib/xorg/Xorg 4MiB |
glueck@glueck-WHITLEY:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt (5.7 KB)

glueck@glueck-WHITLEY:~$ sudo deepstream-app -c /opt/nvidia/deepstream/deepstream-6.2/samples/configs/deepstream-app/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is ON
[NvMultiObjectTracker] Initialized
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See CUDA_MODULE_LOADING in CUDA C++ Programming Guide
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See CUDA_MODULE_LOADING in CUDA C++ Programming Guide
0:00:03.502333797 31945 0x558ff8949870 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.2/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40

0:00:03.560627738 31945 0x558ff8949870 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.2/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine
0:00:03.564646577 31945 0x558ff8949870 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.2/samples/configs/deepstream-app/config_infer_primary.txt sucessfully

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:239>: Pipeline ready

cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1
** INFO: <bus_callback:225>: Pipeline running

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 245.81 (244.95) 245.81 (244.95) 245.81 (244.95) 245.81 (244.95)
**PERF: 287.48 (283.10) 287.48 (283.10) 287.48 (283.10) 287.48 (283.10)
**PERF: 286.12 (284.45) 286.12 (284.45) 286.12 (284.45) 286.12 (284.45)
**PERF: 285.14 (284.56) 285.14 (284.56) 285.14 (284.56) 285.14 (284.56)
**PERF: 284.26 (284.61) 284.26 (284.61) 284.26 (284.61) 284.26 (284.61)
**PERF: 283.30 (284.32) 283.30 (284.32) 283.30 (284.32) 283.30 (284.32)
**PERF: 282.44 (284.03) 282.44 (284.03) 282.44 (284.03) 282.44 (284.03)
**PERF: 283.17 (283.88) 283.17 (283.88) 283.17 (283.88) 283.17 (283.88)
PERF: 280.63 (283.50) 280.63 (283.50) 280.63 (283.50) 280.63 (283.50)
ERROR: <_intr_handler:140>: User Interrupted…

nvstreammux: Successfully handled EOS for source_id=0
nvstreammux: Successfully handled EOS for source_id=1
nvstreammux: Successfully handled EOS for source_id=2
nvstreammux: Successfully handled EOS for source_id=3
ERROR from tiled_display_queue: Internal data stream error.
Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:tiled_display_bin/GstQueue:tiled_display_queue:
streaming stopped, reason not-negotiated (-4)
[NvMultiObjectTracker] De-initialized
App run successful

its running with blank screen can i get a solution

T4 is not a display GPU. Is there a physical monitor connected with your T4 server? Have you set the Nvidia GPU to be the display GPU?

yes, how to check that i have set it as display gpu

Please run
lspci | grep -i vga
sudo lshw -C display

glueck@glueck-WHITLEY:~$ lspci | grep -i vga
03:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
glueck@glueck-WHITLEY:~$ sudo lshw -C display
[sudo] password for glueck:
description: VGA compatible controller
product: ASPEED Graphics Family
vendor: ASPEED Technology, Inc.
physical id: 0
bus info: pci@0000:03:00.0
version: 41
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller cap_list rom
configuration: driver=ast latency=0
resources: irq:19 memory:94000000-97ffffff memory:98000000-9801ffff ioport:3000(size=128) memory:c0000-dffff
description: 3D controller
product: TU104GL [Tesla T4]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:98:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=nvidia latency=0
resources: iomemory:206f0-206ef iomemory:206f0-206ef irq:18 memory:da000000-daffffff memory:206fc0000000-206fcfffffff memory:206ff0000000-206ff1ffffff memory:db000000-db3fffff memory:206ec0000000-206fbfffffff memory:206fd0000000-206fefffffff

T4 is not display card. It can’t be set as display device. Please switch to other sinks(fakesink, filesink, rtsp out,…)

other sinks are working, eglsink is the only thing not working, is there a way to make it work?

You don’t have Nvidia display card, it does not work.

we are running this in advantech server, we only have t4 card in it

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

You may consider to use RTSP sink to output the streams for display in other devices.

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