Nvbuf_utils deprecation path


are nvbuf_utils fully deprecated on Jetpack 5.0? For context, I need to support jetpack 4.x (still on the field), and I would like to start supporting Jetpack 5.0 with the same application if possible.
I see on the Orin and Jetpack 5.0 Developer Preview that nvbuf_utils.h is included, and most of the code we have that uses that header and dmabuf still work, except jpeg_encoding (where we have a crash deep into the encoder). The call stack is:

STACK Stack trace (most recent call first):
 #0 0xffff95cf8d20 ?? in ??:0
    from object /usr/lib/aarch64-linux-gnu/tegra/libnvjpeg.so
 #1 0xffff95cc1907 ?? in ??:0
    from object /usr/lib/aarch64-linux-gnu/tegra/libnvjpeg.so
 #2 0xffff95f1baaf int NvJPEGEncoder::encodeFromFd(int fd, J_COLOR_SPACE color_space, unsigned char **out_buf, long unsigned int &out_buf_size, int quality) in /NvJpegEncoder.cpp:105

Any ideas if we can use nvbuf_utils for some time until we can deprecate it?

Thank you,

Hi @lawrence8pqxb

This forum is for DRIVE. I assume you’re working on Jetson.
Please create your topic in a corresponding subcategory under Jetson & Embedded Systems - NVIDIA Developer Forums.


Thank you, I have created the post there.