Containers missing ldconfig before release

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) dGPU GTX1080i
• DeepStream Version deepstream-6.0_6.0.0-1_amd64.deb
• TensorRT Version nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626_1-1_amd64.deb
• NVIDIA GPU Driver Version (valid for GPU only) 510.39.01
• Issue Type( questions, new requirements, bugs) BUG
**• How to reproduce the issue ? **

Load the Samples docker (Or the development docker):

docker run --gpus all -it --rm -w /opt/nvidia/deepstream/deepstream/samples nvcr.io/nvidia/deepstream:6.0-samples

Then run the deepstream-app with a sample config:

deepstream-app -c configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt

Results in several missing libraries errors:

(gst-plugin-scanner:13): GStreamer-WARNING **: 21:39:35.489: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:13): GStreamer-WARNING **: 21:39:35.537: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so’: librivermax.so.0: cannot open shared object file: No such file or directory

After running ldconfig (repeat twice) from within the container, the errors disappear!!

deepstream-app -c configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt

> 0:00:00.853381057   488 0x55568e018470 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine
> INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
> 0   INPUT  kFLOAT input_1         3x368x640       
> 1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
> 2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         
> 
> 0:00:00.853455990   488 0x55568e018470 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/samples/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine
> 0:00:00.855641721   488 0x55568e018470 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/config_infer_primary.txt sucessfully
> ** ERROR: <main:675>: Could not open X Display
> Quitting
> App run failed

I posted the X Display error as a separate issue

Cheers!

nvinferserver and nvdsudpsrc only work on special platform. Please read the document carefully.

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