Vpi Samples

I installed Jetpack 4.3 for Xavier Nx Device. I checked Cuda/OpenCV/TensorRT and they are working fine.

I took a look at Vpi docs in Nvidia official website. As far as I understand, Vpi is installed automatically with Jetpack. It is currently installed under /opt/nvidia/vpi-0.3. However, the folder structure as such in my system:

lib targets

./targets:
aarch64-l4t

./targets/aarch64-l4t:
lib

./targets/aarch64-l4t/lib:
libnvvpi.so.0 libnvvpi.so.0.3.7

I do not have samples/ and includes/ folders under /opt/nvidia/vpi-0.3. What should I do to check samples and to check the Vpi is working fine ?

One more note: I tried to run this simple tutorial : https://docs.nvidia.com/vpi/tutorial.html

However I am getting this error after running “cmake .” : CMake Error at CMakeLists.txt:7 (find_package):
By not providing “Findvpi.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “vpi”, but
CMake did not find one.

Could not find a package configuration file provided by “vpi” with any of
the following names:

vpiConfig.cmake
vpi-config.cmake

Add the installation prefix of “vpi” to CMAKE_PREFIX_PATH or set “vpi_DIR”
to a directory containing one of the above files. If “vpi” provides a
separate development package or SDK, be sure it has been installed.

Hi,

JetPack4.3 doesn’t support NX.
You will need to use JetPack4.4 for the Xavier NX support.

Suppose you are using JetPack4.4, would you mind to help us confirm it first?

Thanks.

When I run this command “cat /etc/nv_tegra_release”, I get this output:

R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun 26 04:34:27 UTC 2020

I could not find any version support restriction on Xavier Nx and Made this setup installation 1.5 months ago. Was there any restriction even those dates? Even though it is not supported, everything was working fine in my end except VPI.

Should I re-install Jetpack again?

Hi,

Based on the log, your image is r32.4.3 which indicates the environment is JetPack4.4.
The sample for VPI should be located at /opt/nvidia/vpi-0.3/samples/

$ ll /opt/nvidia/vpi-0.3/samples/
total 60
drwxr-xr-x 15 root root 4096 八 6 12:01 ./
drwxr-xr-x 5 root root 4096 八 6 12:01 …/
drwxr-xr-x 2 root root 4096 八 6 12:01 01-convolve_2d/
drwxr-xr-x 2 root root 4096 八 6 12:01 02-stereo_disparity/
drwxr-xr-x 3 root root 4096 八 7 16:18 03-harris_keypoints/
drwxr-xr-x 2 root root 4096 八 6 12:01 04-resample/
drwxr-xr-x 2 root root 4096 八 6 12:01 05-timing/
drwxr-xr-x 2 root root 4096 八 6 12:01 06-klt_tracker/
drwxr-xr-x 2 root root 4096 八 6 12:01 07-image_fft/
drwxr-xr-x 2 root root 4096 八 6 12:01 08-cross_aarch64_l4t/
drwxr-xr-x 2 root root 4096 八 6 12:01 09-tnr/
drwxr-xr-x 2 root root 4096 八 6 12:01 10-perspwarp/
drwxr-xr-x 2 root root 4096 八 6 12:01 11-fisheye/
drwxr-xr-x 3 root root 4096 八 6 12:01 assets/
drwxr-xr-x 2 root root 4096 八 6 12:01 tutorial_blur/

It may some issue when installing the VPI sample.
Would you mind to reflash the NX and install all the package again?

Please also let us know the result.
Thanks.