Tesla T4 GPU - No display output when deepstream inferrence

• Issue Type( questions)

GPU : Tesla-T4 * 2
Deepstream : 5.1-21.02-devel
TensorRT version : 7.2.2-1 + cuda 11.1
NVIDIA GPU Driver : 470.86

I know Tesla T4 GPU is for computing unit , not for display

But in my project, I have to check the result of the inferrence in real-time.
so using fakesink cannot help me.

6 months ago, I found 5-a in the following link and solved the problem with this
(Deepstream/FAQ - eLinux.org)

Last week, my server got some trouble so I reinstall ubuntu 20.04 LTS, and NVIDIA driver, Deepstream Docker just like before.

But this time I cannot run my deepstream project like last time (Of course, I can use fakesink to run my project but this doesn’t solve my problem)

This is error message I got

cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1

If I modify xorg.conf for using GPU for display render(virtual display) and reboot, using GUI impossible (just blackscreen)

If I look at the command nvidia-smi in CLI, I can check No.1 GPU using memory for display (about 100MB)

What do I have to do??
Please give me some advice.

Below are the commands ,logs, and nvidia-bug-report.log
nvidia-bug-report.log.gz (1.2 MB)

sudo nvidia-xconfig --query-gpu-info
and result

Number of GPUs: 2

GPU #0:
  Name      : Tesla T4
  UUID      : GPU-37f78b2a-4ed1-2949-87b8-a48ba164b072
  PCI BusID : PCI:59:0:0

  Number of Display Devices: 0


GPU #1:
  Name      : Tesla T4
  UUID      : GPU-a6359d4f-b664-c1c9-ec85-2193a9d523af
  PCI BusID : PCI:134:0:0

  Number of Display Devices: 0

sudo nvidia-xconfig --busid=PCI:134:0:0 --allow-empty-initial-configuration

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Screen0".
New X configuration file written to '/etc/X11/xorg.conf'

Here is my xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.86

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:134:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Blackscreen mean no login interface?

yeah, I can use cli mode (ctrl alt f2) but cannot use display

Can you upload log /var/log/Xorg.0.log? and display manager service log, depends on used.
/var/log/lightdm/ or /var/log/gdm3/ or some other display manager you used.