Error running deepstream app

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU) - Jetson AGX Xavier
**• DeepStream Version - 5.1
**• JetPack Version (valid for Jetson only) -4.5
**• TensorRT Version - 7.1
Hello, i am trying to run my application but it gives me this error:
Request sink_0 pad from streammux
Request sink_1 pad from streammux
Warn: ‘threshold’ parameter has been deprecated. Use ‘pre-cluster-threshold’ instead.
Warn: ‘threshold’ parameter has been deprecated. Use ‘pre-cluster-threshold’ instead.
Warn: ‘threshold’ parameter has been deprecated. Use ‘pre-cluster-threshold’ instead.
Warning: ‘input-dims’ parameter has been deprecated. Use ‘infer-dims’ instead.
Now playing: 1
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
0:00:05.617845856 9199 0x7f340022f0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 3]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 3]: deserialized trt engine from :/home/forest/deepstream_lpr_app/model_b16.engine
INFO: [FullDims Engine Info]: layers num: 3
0 INPUT kFLOAT motion_input:0 3x72x72 min: 1x3x72x72 opt: 1x3x72x72 Max: 2x3x72x72
1 INPUT kFLOAT appearance_input:0 3x72x72 min: 1x3x72x72 opt: 1x3x72x72 Max: 2x3x72x72
2 OUTPUT kFLOAT lambda_1/Squeeze:0 0 min: 0 opt: 0 Max: 0

0:00:05.618078176 9199 0x7f340022f0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 3]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 3]: Use deserialized engine model: /home/forest/deepstream_lpr_app/model_b16.engine
0:00:05.621847904 9199 0x7f340022f0 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 3]: Error in NvDsInferContextImpl::allocateBuffers() <nvdsinfer_context_impl.cpp:1320> [UID = 3]: Failed to allocate cuda output buffer during context initialization
0:00:05.621894336 9199 0x7f340022f0 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 3]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1170> [UID = 3]: Failed to allocate buffers
0:00:05.625440864 9199 0x7f340022f0 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:05.625506464 9199 0x7f340022f0 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Config file path: /home/forest/deepstream_lpr_app/deepstream-lpr-app/HR_primary_config.txt, NvDsInfer Error: NVDSINFER_CUDA_ERROR
Running…
ERROR from element secondary-infer-engine2: Failed to create NvDsInferContext instance
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(812): gst_nvinfer_start (): /GstPipeline:pipeline/GstNvInfer:secondary-infer-engine2:
Config file path: /home/forest/deepstream_lpr_app/deepstream-lpr-app/HR_primary_config.txt, NvDsInfer Error: NVDSINFER_CUDA_ERROR
Returned, stopping playback
Average fps 0.000233
Deleting pipeline

Thanks

Hi,
Please check if you can run deepstream-app:

/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app$ export DISPLAY=:0
/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app$ deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt

No i can’t run it. Gives me this:
** ERROR: <parse_config_file:532>: parse_config_file failed
** ERROR: main:627: Failed to parse config file ‘source30_1080p_dec_infer-resnet_tiled_display_int8.txt’
Quitting
App run failed

Hi,
Looks like you don’t run in correct path. Please go to this path:

/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/

Yes. It is running

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