Jetson deepstream 7.0 triton multiarch: JPEG parameter struct mismatch: library thinks size is 728, caller expects 720

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Orin AGX, 32G Devkit
• DeepStream Version: 7.0 docker container
• JetPack Version (valid for Jetson only) 6.0
• TensorRT Version: docker container (8.6.2)
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)

It looks like the triton container possibly has a broken nvjpegenc plugin for deepstream, based on the following docker command launch:
docker run --rm -it --runtime nvidia nvcr.io/nvidia/deepstream:7.0-triton-multiarch bash -c 'gst-inspect-1.0 nvjpegenc'

The final line of the result is:
JPEG parameter struct mismatch: library thinks size is 728, caller expects 720

which indicates some mismatch in the expected libjpeg interface…

The full result is listed here for reference:

=============================
== Triton Inference Server ==
=============================

NVIDIA Release 24.03 (build 86102636)
Triton Server Version 2.44.0

Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES.  All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES.  All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

/bin/bash: line 1: lsmod: command not found
/bin/bash: line 1: modprobe: command not found
(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:130): GStreamer-WARNING **: 21:51:17.233: 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

(gst-plugin-scanner:130): GStreamer-WARNING **: 21:51:17.303: 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:130): GStreamer-WARNING **: 21:51:17.377: 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:130): GStreamer-WARNING **: 21:51:17.386: 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:130): GStreamer-WARNING **: 21:51:17.585: 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:130): GStreamer-WARNING **: 21:51:17.826: 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
JPEG parameter struct mismatch: library thinks size is 728, caller expects 720

Do you still have similar problems when you run gst-inspect-1.0 nvjpegenc in the docker?

Ok, I noticed that this was from a not-quite-latest Jetpack; I saw 36.2 instead of 36.3 in /etc/apt/sources.list.d/nvidia-l4t-apt-source.list; after a full reflash of jetpack 6 rev 1, the problem is resolved.

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