Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson AGX Orin development kit
• DeepStream Version 6.4
• JetPack Version (valid for Jetson only) 6.0DP
• TensorRT Version8.6.2.3
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Questions
• 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)
Looking for help running demo application on docker image nvcr.io/nvidia/deepstream:6.4-samples-multiarch.
I am running this headless.
Launch with sudo docker run -it --rm --runtime=nvidia --privileged -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix nvcr.io/nvidia/deepstream:6.4-samples-multiarch
gst-inspect-1.0 -b
gives
(gst-plugin-scanner:40): GStreamer-WARNING **: 11:41:57.480: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:40): GStreamer-WARNING **: 11:41:57.525: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:40): GStreamer-WARNING **: 11:41:57.632: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory
(gst-plugin-scanner:40): GStreamer-WARNING **: 11:41:57.637: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:40): GStreamer-WARNING **: 11:41:57.695: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
Also tried sudo docker run -it --rm --runtime=nvidia --privileged -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /usr/lib/aarch64-linux-gnu/:/usr/lib/aarch64-linux-gnu/ nvcr.io/nvidia/deepstream:6.4-samples-multiarch
I did install outside of the container.
sudo apt install \
libssl3 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstreamer-plugins-base1.0-dev \
libgstrtspserver-1.0-0 \
libjansson4 \
libyaml-cpp-dev
# gst-inspect-1.0 -b
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.664: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.704: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.796: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.801: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.853: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
nvbufsurftransform: Could not get EGL display connection
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.988: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:39): GStreamer-WARNING **: 11:44:18.994: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
Blacklisted files:
libcustom2d_preprocess.so
libgstchromaprint.so
libgstmpeg2dec.so
libgstmpeg2enc.so
libgstmpg123.so
libgstopenmpt.so
libnvdsgst_inferserver.so
libnvdsgst_udp.so
Total count: 8 blacklisted files
Also tried using install scripts.
root@ad3fae1ddbb9:/opt/nvidia/deepstream/deepstream-6.4# ./install.sh
root@ad3fae1ddbb9:/opt/nvidia/deepstream/deepstream-6.4# ./user_additional_install.sh
Install goes fine. New gst-inspect-1.0 -b results
root@ad3fae1ddbb9:/opt/nvidia/deepstream/deepstream-6.4# gst-inspect-1.0 -b
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
nvbufsurftransform: Could not get EGL display connection
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
(gst-plugin-scanner:622): GStreamer-WARNING **: 11:45:53.491: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:622): GStreamer-WARNING **: 11:45:53.497: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
Blacklisted files:
libcustom2d_preprocess.so
libnvdsgst_inferserver.so
libnvdsgst_udp.so
Total count: 3 blacklisted files
Try running sample app in this manner
root@ad3fae1ddbb9:/opt/nvidia/deepstream/deepstream-6.4/samples# deepstream-app -c configs/deepstream-app/source2_1080p_dec_infer-resnet_demux_int8.txt
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
nvbufsurftransform: Could not get EGL display connection
(deepstream-app:636): GLib-GObject-WARNING **: 11:46:25.251: g_object_set_is_valid_property: object class 'nvv4l2h264enc' has no property named 'gpu-id'
(deepstream-app:636): GLib-GObject-WARNING **: 11:46:25.271: g_object_set_is_valid_property: object class 'nvv4l2h264enc' has no property named 'gpu-id'
Authorization required, but no authorization protocol specified
Opening in BLOCKING MODE
Opening in BLOCKING MODE
WARNING: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.4/samples/configs/deepstream-app/../../models/Primary_Detector/resnet18_trafficcamnet.etlt_b2_gpu0_int8.engine open error
0:00:06.467978928 636 0xaaaaeaf7c430 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2080> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.4/samples/configs/deepstream-app/../../models/Primary_Detector/resnet18_trafficcamnet.etlt_b2_gpu0_int8.engine failed
0:00:06.827435616 636 0xaaaaeaf7c430 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2185> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.4/samples/configs/deepstream-app/../../models/Primary_Detector/resnet18_trafficcamnet.etlt_b2_gpu0_int8.engine failed, try rebuild
...............................
0:02:31.716192248 636 0xaaaaeaf7c430 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2138> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-6.4/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b2_gpu0_int8.engine successfully
INFO: [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x544x960
1 OUTPUT kFLOAT output_bbox/BiasAdd 16x34x60
2 OUTPUT kFLOAT output_cov/Sigmoid 4x34x60
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
nvbufsurface: Could not get EGL display connection
nvbufsurface: Can't get EGL display
0:02:32.109741508 636 0xaaaaeaf7c430 WARN nvinfer gstnvinfer.cpp:994:gst_nvinfer_start:<primary_gie> error: Failed to set buffer pool to active
** ERROR: <main:716>: Failed to set pipeline to PAUSED
Quitting
ERROR from primary_gie: Failed to set buffer pool to active
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(994): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie
App run failed
I see that in the config files we can change sink to be 1=FakeSink, 2=EglSink, 3=File.
Very novice in gstreamer but I understand the concept of pipeline, source and sink. Been trying many different things.
Please provide some guidance to get to something working headless with docker image? Thank you