Remote Desktop running deepsteram6.1 test1failed on Ubunut x86

deepstream-app version 6.1.0
DeepStreamSDK 6.1.0
CUDA Driver Version: 11.6
CUDA Runtime Version: 11.6
TensorRT Version: 8.4
cuDNN Version: 8.4
libNVWarp360 Version: 2.0.1d3

Failed to run the program remotely, unable to open the display, how do I configure:
cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1

I have made the following settings according to the forum, but it still doesn’t work
sudo nvidia-xconfig --query-gpu-info
sudo nvidia-xconfig --busid=PCI:1:0:0 --allow-empty-initial-configuration

At this time, the nvidia drive information is as follows:
nvidia-smi
Wed Oct 12 09:00:00 2022
±----------------------------------------------------------------------------+
| NVIDIA-SMI 510.85.02 Driver Version: 510.85.02 CUDA Version: 11.6 |
|-------------------------------±---------------------±---------------------+
| 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 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| 31% 43C P2 29W / 120W | 100MiB / 6144MiB | 2% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 3498 C /usr/NX/bin/nxnode.bin 97MiB |
±----------------------------------------------------------------------------+

The nvidia drive information of the connected display is as follows
nvidia-smi
Wed Oct 12 08:52:27 2022
±----------------------------------------------------------------------------+
| NVIDIA-SMI 510.85.02 Driver Version: 510.85.02 CUDA Version: 11.6 |
|-------------------------------±---------------------±---------------------+
| 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 NVIDIA GeForce … Off | 00000000:01:00.0 On | N/A |
| 31% 40C P2 29W / 120W | 326MiB / 6144MiB | 2% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 940 G /usr/lib/xorg/Xorg 98MiB |
| 0 N/A N/A 1370 G /usr/bin/gnome-shell 19MiB |
| 0 N/A N/A 1863 C /usr/NX/bin/nxnode.bin 97MiB |
±----------------------------------------------------------------------------+

Do this, prime-select nvidia and try again.

I’ve tried this before, but it still doesn’t work

root@x86:/home/dixn# prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Done

Did you run the deepstream app from remotely? if yes, did you
export DISPLAY=:0 //xrandr to check if display environments exported or not

export DISPLAY=:0

It can run, but this is not what I want. I need to display it to debug

You can not run the app even from desktop?

For multiple gpu servers, which gpu should the display be connected to? Or should it be connected to the motherboard to use the core graphics card

When the display is directly connected to the gpu graphics card, the program can be run directly and displayed, but an error is reported when running with the nomachine remote desktop

Did the GPU connected with display or not?

Connected, but still reported an error

Connected to integrated gpu card, or nvidia gpu card? when the error is reported when running with the nomachine remote desktop

All reported errors

Please make sure the display is connected to Nvidia GPU. What kind of error it is reported?

I have posted on the top about error:
Failed to run the program remotely, unable to open the display, how do I configure:
cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1

I want to confirm whether it is feasible to use the nomachine remote. If not, I will not do so. It is possible to directly connect the GPU. So many GPUs can be configured randomly about which display to use. It is better to use the GPU with serial number 0

  1. please hook up a physical monitor because deepstream will initialize failed if no physical monitor.
  2. if having physical monitor, you can use nomachine to see the output display, we have verified.

OK, I tried it on the third server recently, and it really works. I’m not sure why those two servers don’t work, but I don’t want to study this anymore. Thank you very much

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