Hello everyone
I try to upgrade snpe version from 1.68 to 2.X as same way(change snpe lib, dsp so file)
snpe-platform-validator --runtime dsp is not working using snpe 2.x but snpe 1.68 is fine
there is two error cases using snpe 2.X
----------------------------------------------------------------------------------------------------------
1st case: using snpe aarch64-ubuntu-gcc7.5 libs
aarch64-ubuntu-gcc7.5/snpe-platform-validator --runtime dsp
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck
PF_VALIDATOR: DEBUG: Setting up QnnBackend
terminate called after throwing an instance of 'DlSystem::RuntimeException'
what(): QnnBackned_Create failed: 1006
Aborted (core dumped)
------------------------------------------------------------------------------------------------
2nd case: using snpe aarch64-oe-linux-gcc8.2 libs
./aarch64-ubuntu-gcc7.5/snpe-platform-validator --runtime dsp
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
terminate called after throwing an instance of 'DlSystem::RuntimeException'
what(): QnnBackned_Create failed: 4000
Aborted (core dumped)
----------------------------------------------------------------------------------------------
* The environment
the QCS610 is supported until snpe 2.12, but i dont know what happend
QCS610 BSP Version is BSP : LE 1.0 - 168.1 (QCS610.LE.1.0-00168-STD.PROD-1)
# gcc --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
#uname -a
Linux qcs610-odk-64 4.14.206 #1 SMP PREEMPT Tue Apr 18 10:09:11 UTC 2023 aarch64 GNU/Linux
----------------------------------------------------------------------------------------------
Please Let me know what's wrong.
Thank you