Please provide complete information as applicable to your setup.
**• Hardware Platform GPU
**• DeepStream Version 6.0
**• TensorRT Version 8.2
Hi I wanted to test the ObjectDetection_fasterRCNN and followed all the readme instructions. I used this command to start the deepstream app:
$ deepstream-app -c deepstream_app_config_fasterRCNN.txt
0:00:02.582413182 130 0x560a49f4a030 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.0/sources/objectDetector_FasterRCNN/VGG16_faster_rcnn_final.caffemodel_b1_gpu0_fp32.engine
0:00:02.589208112 130 0x560a49f4a030 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.0/sources/objectDetector_FasterRCNN/config_infer_primary_fasterRCNN.txt sucessfully
** ERROR: main:675: Could not open X Display
Quitting
App run failed
in another discussion it is said that not to use sudo, well I am not using sudo to run deepstream app. How to fix this? any help?
You can run from desktop directly, or you can run from remote terminal by exporting display,
export DISPLAY=:0 or 1 // xrandr to check display environment exported or not.
root@0ec7d6ae51a9:/opt/nvidia/deepstream/deepstream-6.0/sources/project/deepstre
am_fasterRCNN# export DISPLAY=:1
root@0ec7d6ae51a9:/opt/nvidia/deepstream/deepstream-6.0/sources/project/deepstre
am_fasterRCNN# deepstream-app -c deepstream_app_config_fasterRCNN.txt
Warn: ‘threshold’ parameter has been deprecated. Use ‘pre-cluster-threshold’ instead.
** ERROR: main:658: Failed to set pipeline to PAUSED
Quitting
App run failed
cleaned the cache as you mentioned but the problem still occurs, could not open x display. I tried to launch with gstream
gst-launch-1.0 filesrc location=…/…/samples/streams/sample_1080p_h264.mp4 !
decodebin ! m.sink_0 nvstreammux name=m batch-size=1 width=1920
height=1080 ! nvinfer config-file-path= config_infer_primary_fasterRCNN.txt !
nvvideoconvert ! nvdsosd ! nveglglessink sync=0
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