Plugin Loading Failure - libgstmsdk.so Reported Loaded Then Errored and Blacklisted

Details of Setup

  • Hardware Platform (Jetson / GPU): GPU
  • DeepStream Version: 7.1.0
  • TensorRT Version: 10.7.0.23-1+cuda12.6 amd64
  • NVIDIA GPU Driver Version (valid for GPU only): 560.35.03 (CUDA Version: 12.6)

Issue Type: Bug

Description of Issue:

During the startup of DeepStream, an error is observed in the loading of the libgstmsdk.so plugin located at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/. The logs initially indicate that the plugin has been loaded successfully, but soon after, there are errors related to file descriptor (fd) operations and the plugin is subsequently blacklisted.

Detailed Logs:

ds-tracker-1   | 0:00:00.002804292   165 0x55a558cc5050 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmsdk.so" loaded  
ds-tracker-1   | 0:00:00.002811921   165 0x55a558cc5050 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:1161:exchange_packets: write fd 0 errored  
ds-tracker-1   | 0:00:00.732719644    21 0x55d918b6db20 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:279:plugin_loader_replay_pending: Plugin file /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmsdk.so failed to load. Blacklisting

Have you installed the Intel Media SDK? If you don’t install the Intel Media SDK, the plugin will not work properly.

In addition, this problem is not related to DeepStream. You can get more support in the Gstreamer community.

Essentially, the problem was the wrong order of plugin and library paths. It loaded a plugin from a wrong location instead of from DeepStream.

These settings worked for me:

ENV DEBIAN_FRONTEND=noninteractive
NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES},video
NVIDIA_VISIBLE_DEVICES=all
USE_NEW_NVSTREAMMUX=yes
GST_PLUGIN_PATH=/opt/nvidia/deepstream/deepstream-7.1/lib/gst-plugins:/opt/nvidia/deepstream/deepstream/lib/gst-plugins:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/:/usr/lib/x86_64-linux-gnu/gstreamer1.0/
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/opt/nvidia/deepstream/deepstream-7.1/lib:/opt/tritonserver/lib:/usr/lib/x86_64-linux-gnu:/usr/local/cuda/lib64:/opt/nvidia/deepstream/deepstream/lib:/usr/lib
PATH=“/usr/local/cuda/bin:${PATH}”

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