Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.3-triton-multiarch docker container
• JetPack Version (valid for Jetson only) 5.1.1 [L4T 35.3.1]
Hi Everyone,
I will use VPI in a deepstream project however I cannot compile the project with VPI. I cannot even compile the VPI sample.
I’m getting this error:
/usr/bin/ld: /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3: undefined reference to `PvaProgramSetDMADescriptorsV2'
/usr/bin/ld: /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3: undefined reference to `PvaProgramSetPointerValueEx'
root@4cfcfa9b1efd:/opt/nvidia/vpi2/samples/01-convolve_2d# readelf -s -W /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3|grep PvaProgramSetDMADescriptorsV2
43: 0000000000000000 0 FUNC GLOBAL DEFAULT UND PvaProgramSetDMADescriptorsV2
root@4cfcfa9b1efd:/opt/nvidia/vpi2/samples/01-convolve_2d# readelf -s -W /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3|grep PvaProgramSetPointerValueEx
117: 0000000000000000 0 FUNC GLOBAL DEFAULT UND PvaProgramSetPointerValueEx
root@4cfcfa9b1efd:/opt/nvidia/vpi2/samples/01-convolve_2d#
cupva version in the docker container is 2.3 while cupva version in the host machine is 2.0. So there is a version mismatch but I don’t know if it is the reason for the issue.
This doesn’t fix my issue:
export LD_PRELOAD=/opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3
Steps to reproduce:
docker run --rm -it --runtime nvidia nvcr.io/nvidia/deepstream:6.3-triton-multiarch bash
apt update && apt install -y vpi2-samples libopencv-dev
cd /opt/nvidia/vpi2/samples/01-convolve_2d/
cmake .
make