I am connecting to the JetBot from a Windows terminal using PowerShell via SSH. I am attempting to perform video recognition using a TensorRT-optimized YOLOv7-tiny
model with the following command:
deepstream-app -c deepstream_app_config.txt
However, I encountered the following error:
No EGL Display
nvbufsurftransform: Could not get EGL display connection
I have successfully used applications like Leafpad, indicating that the Xserver connection is functioning correctly.
Here is my environment:
Jetson Nano 2GB
Waveshare JetBot
Jetpack 4.5
DeepStream 5.1
CUDA 10.2
TensorRT 7.1.2
Python 3.6.9
I appreciate your assistance in resolving this issue.
Without setting the Display and with ForwardX11=no, it resulted in the following:
Using winsys: x11
0:00:11.213588884 1127 0x7f3c002270 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/sources/parser/yolov7-tiny.engine
INFO: [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT data 3x416x416
1 OUTPUT kFLOAT prob 6001x1x1
0:00:11.213852017 1127 0x7f3c002270 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/sources/parser/yolov7-tiny.engine
0:00:11.425767556 1127 0x7f3c002270 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-5.1/sources/parser/config_infer_primary.txt successfully
** ERROR: main:675: Could not open X Display
Quitting
App run failed
Following the situation presented in the provided link, I made the following changes to the deepstream_app_config.txt file:
[sink0]
enable=1
type=4
Additionally, I connected via SSH using the command ssh -o ForwardX11=no user@ip and unset DISPLAY. After that, when I executed deepstream-app -c deepstream_app_config.txt, the following error occurred:
I don’t know if this is related to this issue, but I thought I would share it with you.
When I checked to see if the CUDA sample code worked, I ran the make command and got the following error
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
I’m not sure if you have fully installed Jetpack, are you able to run deepstream-test1-app normally?
You can try the solution of this topic
If it does not work, it is recommended to reinstall and burn Jetpack and reinstall DeepStream.