Deepstream-image-meta-test failed with ds6.2 on jetpack 5.1.1

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1.1
• TensorRT Version 8502
• Issue Type( questions, new requirements, bugs) bugs
**• How to reproduce the issue ?
running deepstream-image-meta-test under deepstream apps.

**• Requirement details:
using nvds_obj_encode.h with ds6.2 and jetpack5.1.1 on jetson xaiver nx will cause jpeg encode error.

This issues happens also in jetpack 5.1.2

  1. did you modify the code? if yes, please share the diff.
  2. could you use gdb to get the crash stack? Thanks!

I change file ‘deepstream_image_meta_test.c’ at line 527:

/* Finally render the osd output */
if (prop.integrated) {
sink = gst_element_factory_make (“fakesink”, “nvvideo-renderer”);
} else {
sink = gst_element_factory_make (“nveglglessink”, “nvvideo-renderer”);
}

and below is crash stack:

#0 0x0000ffff9e706448 in () at /lib/aarch64-linux-gnu/libc.so.6
#1 0x0000ffff9e70660c in () at /lib/aarch64-linux-gnu/libc.so.6
#2 0x0000ffff4bc7103c in () at /usr/lib/aarch64-linux-gnu/tegra/libnvjpeg.so
#3 0x0000ffff4bc4c1c0 in jpeg_CreateCompress () at /usr/lib/aarch64-linux-gnu/tegra/libnvjpeg.so
#4 0x0000ffff9e9b452c in () at /opt/nvidia/deepstream/deepstream-6.2/lib/libnvds_batch_jpegenc.so
#5 0x0000ffff9eb1ce18 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#6 0x0000ffff9eb1c47c in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#7 0x0000ffff9e692624 in start_thread () at /lib/aarch64-linux-gnu/libpthread.so.0
#8 0x0000ffff9e7a149c in () at /lib/aarch64-linux-gnu/libc.so.6

the error is “JPEG parameter struct mismatch: library thinks size is 720, caller expects 728”. it is a known issue. please refer to JPEG parameter struct mismatch Error in deepstream-transfer-learning-app DS V6.2.

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