Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) t4 • DeepStream Version 6.1 • JetPack Version (valid for Jetson only) • TensorRT Version 8.1 • NVIDIA GPU Driver Version (valid for GPU only) 11 • 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)
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
sorry its RTX ,
and i get below error
Now playing…
1 : /dev/video0
Starting pipeline
WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
Deserialize yoloLayer plugin: yolo_140
Deserialize yoloLayer plugin: yolo_151
Deserialize yoloLayer plugin: yolo_162
0:00:02.076224102 245 0x209db50 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/app/model/Primary_Detector_Crowd/weights/model_b1_gpu0_fp16.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 4
0 INPUT kFLOAT data 3x608x608
1 OUTPUT kFLOAT yolo_140 255x76x76
2 OUTPUT kFLOAT yolo_151 255x38x38
3 OUTPUT kFLOAT yolo_162 255x19x19
0:00:02.090504691 245 0x209db50 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2003> [UID = 1]: Use deserialized engine model: /app/model/Primary_Detector_Crowd/weights/model_b1_gpu0_fp16.engine
0:00:02.264575143 245 0x209db50 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus: [UID 1]: Load new model:config/Crowd/Primary_pgie_crowd_yolo.txt sucessfully
0:00:02.700958592 245 0x204e060 WARN nvinfer gstnvinfer.cpp:2299:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:02.700982054 245 0x204e060 WARN nvinfer gstnvinfer.cpp:2299:gst_nvinfer_output_loop: error: streaming stopped, reason not-negotiated (-4)
Error: gst-stream-error-quark: Internal data stream error. (1): gstnvinfer.cpp(2299): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason not-negotiated (-4)
Exiting app
The sample is operating on a USB camera, can you see your camera device /dev/video0 on your host? Can you add GST_DEBUG=3 before your deepstream command? It will have more debug information.
WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
Deserialize yoloLayer plugin: yolo_140
Deserialize yoloLayer plugin: yolo_151
Deserialize yoloLayer plugin: yolo_162
0:00:02.216479272 467 0x3b3e350 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/app/model/Primary_Detector_Crowd/weights/model_b1_gpu0_fp16.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 4
0 INPUT kFLOAT data 3x608x608
1 OUTPUT kFLOAT yolo_140 255x76x76
2 OUTPUT kFLOAT yolo_151 255x38x38
3 OUTPUT kFLOAT yolo_162 255x19x19
0:00:02.231556874 467 0x3b3e350 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2003> [UID = 1]: Use deserialized engine model: /app/model/Primary_Detector_Crowd/weights/model_b1_gpu0_fp16.engine
0:00:02.428136063 467 0x3b3e350 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus: [UID 1]: Load new model:config/Crowd/Primary_pgie_crowd_yolo.txt sucessfully
0:00:02.428794771 467 0x3b3e350 WARN v4l2src gstv4l2src.c:695:gst_v4l2src_query: Can’t give latency since framerate isn’t fixated !
0:00:02.462919482 467 0x3aef000 ERROR egladaption ext/eglgles/gstegladaptation.c:669:gst_egl_adaptation_choose_config: Could not find matching framebuffer config
0:00:02.462955400 467 0x3aef000 ERROR egladaption ext/eglgles/gstegladaptation.c:683:gst_egl_adaptation_choose_config: Couldn’t choose an usable config
0:00:02.462966559 467 0x3aef000 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2802:gst_eglglessink_configure_caps: Couldn’t choose EGL config
0:00:02.462975548 467 0x3aef000 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2862:gst_eglglessink_configure_caps: Configuring caps failed
0:00:02.462999704 467 0x3aef120 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.463044408 467 0x3aef120 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.463055566 467 0x3aef120 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:onscreendisplay:src could not send sticky events
0:00:02.463576491 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.779217181 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.779252700 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.779278189 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.786539091 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.786556434 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.786564889 467 0x1c0d21e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.826119693 467 0x3aef060 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2907:gst_eglglessink_setcaps: Failed to configure caps
0:00:02.826148487 467 0x3aef060 WARN nvinfer gstnvinfer.cpp:2299:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:02.826155333 467 0x3aef060 WARN nvinfer gstnvinfer.cpp:2299:gst_nvinfer_output_loop: error: streaming stopped, reason not-negotiated (-4)
Error: gst-stream-error-quark: Internal data stream error. (1): gstnvinfer.cpp(2299): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason not-negotiated (-4)
Exiting app
is it because i dont have the libnvdsgst_eglglessink.so file ?
root@b28e37303e3b:/app# ls /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libnvdsgst_eglglessink.so
ls: cannot access ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libnvdsgst_eglglessink.so’: No such file or directory
root@b28e37303e3b:/app#
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
With dGPU T4, the plugin lib is installed by the DeepStreamSDK. You can find it in /opt/nvidia/deepstream/deepstream/lib/gst-plugins/
The error is not caused by the plugin but the driver. Please refer to the previous post.