Hi, using SNPE 2.13.0.230730 on the QCS610 (thundercomm C610/C410 Open Kit) I am having issues getting the dsp runtime to work.
More context:
- uname output: `Linux qcs610-odk-64 5.4.210-perf #1 SMP PREEMPT Thu Jun 15 00:15:26 CST 2023 aarch64 GNU/Linux`
- snpe-platform-validator --runtime dsp
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntimePF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheckPF_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 libxdsprpcDspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xffffffffDspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xffffffffPF_VALIDATOR: ERROR: Snpe-QNN backend initialization failedPF_VALIDATOR: DEBUG: CPU side validation passed.PF_VALIDATOR: DEBUG: starting calculator testPF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.soPF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.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->IsRuntimeAvailablePF_VALIDATOR: DEBUG: CPU side validation passed.PF_VALIDATOR: DEBUG: starting calculator testPF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.soPF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.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.
- An ls of the /data/local/tmp/snpeexample/$SNPE_TARGET_ARCH/lib
libPlatformValidatorShared.so libSnpeHtpV68Stub.solibSNPE.so libSnpeHtpV73Stub.solibSnpeDspV65Stub.so libcalculator.solibSnpeDspV66Stub.so libcalculator_htp.solibSnpeHta.so libhta_hexagon_runtime_snpe.so
/data/local/tmp/vgg # snpe-net-run --input_list raw_list.txt --container vgg16.dlc --output_dir ./output/ --use_dsp/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 libxdsprpcDspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xffffffffDspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xffffffffThe selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.error_code=1200; error_message=libstd error. QnnBackend_Create failed: 4000; error_component=Dependent library; line_no=1754; thread_id=547904000016DspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xffffffffDspTransport.openSession qnn_open failed, 0x80000453IDspTransport: Unknown rpc status 0x80000453DspTransport failed,cannot open session, error 0xfffffffferror_code=1002; error_message=Layer parameter value is invalid. error_code=1002; error_message=Layer parameter value is invalid. No backend could validate Op=vgg0_conv0_fwd Type=Conv2d error code=3110; error_component=Model Validation; line_no=767; thread_id=547901577808; error_component=Model Validation; line_no=273; thread_id=547904000016
Dear developer,
You can remount the device and run as root and then test again.
BR.
Yunxiang
There are many genres that you have played, but you might have overlooked one. Let's test it out right away! trap the cat