Jetson Orin NX (JetPack 6.2 / DeepStream 7.1): GStreamer Plugin Errors Causing Pipeline to Hang

Setup:
• Hardware Platform:Jetson Orin NX Super
• DeepStream Version: 7.1
• JetPack Version: 6.2
• TensorRT Version: 10.3.030
• Issue Type( questions)

Good afternoon, colleagues! I am trying to run a gstreamer pipeline that calls a custom smoke segmentation model on an image. Everything worked fine with Jetpack 6.0, but now I see the following message and the pipeline hangs

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:06.423: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:06.434: Failed to load plugin '/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:62871): GStreamer-WARNING **: 19:15:06.772: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/nvidia/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:06.777: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': /lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so: undefined symbol: jpeg_read_raw_data

(gst-plugin-scanner:62871): GLib-GObject-WARNING **: 19:15:07.038: cannot register existing type 'GstRtpSrc'

(gst-plugin-scanner:62871): GLib-GObject-CRITICAL **: 19:15:07.038: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:62871): GLib-CRITICAL **: 19:15:07.038: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:62871): GStreamer-CRITICAL **: 19:15:07.038: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:62871): GLib-GObject-WARNING **: 19:15:07.038: cannot register existing type 'GstRtpSink'

(gst-plugin-scanner:62871): GLib-GObject-CRITICAL **: 19:15:07.038: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:62871): GLib-CRITICAL **: 19:15:07.038: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:62871): GStreamer-CRITICAL **: 19:15:07.038: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:07.123: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:07.127: Failed to load plugin '/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:62871): GStreamer-WARNING **: 19:15:07.143: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/nvidia/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults

(gst-plugin-scanner:62871): GStreamer-WARNING **: 19:15:07.145: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': /lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so: undefined symbol: jpeg_read_raw_data

What does your pipeline look like? These error logs suggest there’s a problem with the GStreamer package. You might consider reflashing with JP-6.2 and DS-7.1.

The current pipeline

export GST_PLUGIN_SYSTEM_PATH_1_0="$PWD/install/lib/gstreamer-1.0:/lib/aarch64-linux-gnu/gstreamer-1.0"
export GST_PLUGIN_PATH="$PWD/install/lib/gstreamer-1.0:/lib/aarch64-linux-gnu/gstreamer-1.0"

gst-launch-1.0 \
  filesrc location='tests/videos/DJI_0183_1.MP4' ! \
  decodebin ! nvvidconv ! 'video/x-raw(memory:NVMM), format=NV12' ! \
  m.sink_0 nvstreammux name=m batch-size=1 width=1024 height=1024 ! \
  nvinfer config-file-path='tests/configs/config_infer_segmentation_1024.txt' ! \
  nvsegvisual \
    batch-size=1 \
    width=1024 \
    height=1024 \
    alpha=0.5 \
    original-background=1 \
    class-id=0 \
    gpu-on=1 \
    qos=0 \
    operate-on-seg-meta-id=1 !\
  nvvideoconvert ! \
  'video/x-raw(memory:NVMM)' ! \
  nvegltransform ! nveglglessink sync=false

Your pipeline looks fine, but these logs seem to indicate that some necessary libraries are missing. As I mentioned above, this might be due to a problem during the upgrade. Try reflashing the device.

If it still doesn’t work, please share the application logs or sample code.

I re-flashed the device (JetPack 6.2.2). All is OK!