dusty-nv / jetson-utils

C++/CUDA/Python multimedia utilities for NVIDIA Jetson
MIT License
715 stars 283 forks source link

Deprecated Nvbuf_utils is removed from JetPack 5.1.2 #169

Open atinfinity opened 1 year ago

atinfinity commented 1 year ago

I build jetson-utils on JetPack 5.1.2. As a result, CMake could not find nvbuf_utils.

-- distro ID:       Ubuntu
-- distro version:  20.04
-- distro codename: focal
-- nvbuf_utils:  NVBUF_UTILS-NOTFOUND
-- NVMM zero-copy memory:  ENABLE_NVMM=OFF

I found the following information in https://docs.nvidia.com/jetson/archives/jetpack-archived/jetpack-512/release-notes/index.html.

Deprecated Nvbuf_utils is removed. Refer to migration guide to migrate from Nvbuf_utils to NvUtils.

dusty-nv commented 1 year ago

@atinfinity yes, that is to be expected, did it continue building without error?

atinfinity commented 1 year ago

@dusty-nv Yes. I was able to build it without error.

poett1 commented 6 months ago

@dusty-nv wouldn't this decrease the performance with nvarguscamerasrc on Jetpack >= 5.0? It seems like gstBufferManager.cpp already has the changes needed for Jetpack 5, is the only missing step an update of CMakeLists.txt according to Nvbuf_utils to NvUtils Migration guide?

dusty-nv commented 6 months ago

@poett1 I believe there are API changes, it wasn't just the name of the header. I haven't really dug into it, but if you wanted to investigate it further and make a working PR that would be much appreciated 👍

poett1 commented 5 months ago

@dusty-nv i just created a PR. Feel free to check this out @atinfinity.