I've been trying to update my device from SNPE 1.38 to 1.47 but when using SNPE 1.47, the DSP runtime isn't available (neither snpe-net-run not ). CPU and GPU runtimes work fine. I get the following error:
error_code=500; error_message=Target runtime is not available. error_code=500; error_message=Target runtime is not available. No viable runtimes available.; error_component=Host Runtime; line_no=423; thread_id=548346384656; error_component=Host Runtime; line_no=263; thread_id=548497207312
I'm using a S820Am board running AGL 4.99 (Linux 4.4.140-perf on aarch64) and the following script to setup SNPE paths, commenting/uncommenting the first line to select the version:
export SNPE_ROOT=~/snpe-1.38.0#export SNPE_ROOT=~/snpe-1.47.0export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${SNPE_ROOT}/lib/aarch64-linux-gcc4.9/export PATH=$PATH:${SNPE_ROOT}/bin/aarch64-linux-gcc4.9/export ADSP_LIBRARY_PATH="${SNPE_ROOT}/lib/dsp/;/usr/lib/rfsa/adsp;/dsp"
AlacDecoderModule.so.1 DolbySurroundModule.so.1 HeaacDecoderModule.so.1 WmaStdDecoderModule.so.1 lost+foundApeDecoderModule.so.1 EtsiAmrWbPlusDecModule.so.1 SAPlusCmnModule.so.1 fastrpc_shell_0 map_SHARED_LIBS_AAAAAAAAQ.txtAudioSphereModule.so.1 EtsiEaacPlusEncAndCmnModule.so.1 VorbisDecoderModule.so.1 fluence_voiceplus_module.so.1 map_avs_shared_libs.txtDolbyMobileModule.so.1 FlacDecoderModule.so.1 WmaProDecoderModule.so.1 libsysmon_skel.so mmecns_module.so.1
capi_v2_bmt.so capi_v2_loud.so capi_v2_sumx.so libapps_mem_heap.so libfastcvadsp.so sec_module.so.1capi_v2_fnb.so capi_v2_peq.so icc_module.so.1 libdspCV_skel.so libfastcvadsp_skel.so
libcalculator_domains_skel.so libcalculator_skel.so libsnpe_dsp_domains_skel.so libsnpe_dsp_skel.so libsnpe_dsp_v65_domains_v2_skel.so libsnpe_dsp_v66_domains_v2_skel.so
libcalculator_skel.so libsnpe_dsp_v65_domains_v2_skel.so libsnpe_dsp_v66_domains_v2_skel.so libsnpe_dsp_v68_domains_v3_skel.so
I've tested several SDK versions and they work up to 1.41.0 included. I can't use the DSP runtime starting with 1.42.0. Looking at the revision history, I see "Removed V60 DSP libs from SNPE SDK." listed under version 1.42.0.
The S820Am board I'm using includes an Hexagon 680 DSP which I think support the V60 instruction set so I guess this is by design?
Hi, did your snpe-platform-validator --runtime dsp check passed? I also met this issue.
My environment is blow:
qualcomm 865;
ubuntu1804 qrb5165-rb5;
snpe 1.55.0
I did platform checking and it showed error bellow:
Dear customer,
Please try to below commands list and retry again.
1. make sure ADSP_LIBRARY_PATH is set
2. test with snpe-platform-validator, make sure DSP is OK
Command usage like this snpe-platform-validator --runtime DSP
Notice: Above confirmation command should be executed on devices merely, not any host or client instead.
3. Try with quantized model
4. add command line optioin: --platform_options unsignedPD:ON
To avoid signedPD effect, customer can integrate unsinged process to handle SNPE thread.
BR.
Wei