We are trying to run .dlc on RB5 with DSP. The GPU works fine but not DSP.
Here is the error message with the command of "snpe-platform-validator --runtime dsp --coreVersion --libVersion":
---------------------
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck
PF_VALIDATOR: DEBUG: Setting up QnnBackend
/prj/qct/webtech_hyd/pcgbait/projects/zsnpe_waipio/avante-tools/prebuilt/dsp/hexagon-sdk-4.1.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc
DspTransport.openSession qnn_open failed, 0x80000406
IDspTransport: Unknown rpc status 0x80000406
DspTransport failed,cannot open session, error 0xffffffff
DspTransport.openSession qnn_open failed, 0x80000406
IDspTransport: Unknown rpc status 0x80000406
DspTransport failed,cannot open session, error 0xffffffff
PF_VALIDATOR: ERROR: Snpe-QNN backend initialization failed
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.
Error opening session with unsigned PD
PF_VALIDATOR: ERROR: -2 . Error while executing the sum function.
PF_VALIDATOR: ERROR: Please use testsig if using unsigned images.
PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels.
Unit Test on the runtime DSP: Failed.
SNPE is NOT supported for runtime DSP on the device.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.
Error opening session with unsigned PD
PF_VALIDATOR: ERROR: -2 . Error while executing the sum function.
PF_VALIDATOR: ERROR: Please use testsig if using unsigned images.
PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels.
Runtime DSP Prerequisites: Absent.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->GetLibVersion
PF_VALIDATOR: ERROR: The fastRPC library version is not implemented yet.
Library version of the runtime DSP: Not Found.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->GetCoreVersion
Core Version of the runtime DSP: Hexagon Architecture V66
---------------------------
We use snpe/2.13.0.230730 and the lib and bin file is used from ./aarch64-ubuntu-gcc7.5/*
It seens like the dsp lib is loaded from /usr/lib/rfsa/adsp/libhexagon_nn_skel.so, therefore the result showed with a version of Hexagon Architecture V66.
We setup the enviorment according to https://github.com/quic/sample-apps-for-robotics-platforms/ and the deep learning network is working fine with the output through HDMI to the monitor using GPU device.
However, we cannot use DSP device. Please help.