When i use snpebuilder->build(), I got error "USER_ERROR:DNN_RUNTIME: Error from rpc for backend initialization, exits with 4000, fail to initialize". and returned nullptr.
device: vivo iqoo neo5
cpu: 870
snpe version: 2.10.0.4541
console log:
SNPE-DebugLog I 15:00:39.970704 [USER_INFO:SNPE] Logging initializedSNPE-DebugLog I 15:00:39.971642 [USER_INFO:SNPE] SNPE isRuntimeAvailable runtime - 2, option - 2SNPE-DebugLog I 15:00:39.976281 [USER_INFO:DNN_RUNTIME] <I> Qnn log initializedSNPE-DebugLog I 15:00:39.976432 [USER_INFO:DNN_RUNTIME] <I> QnnBackend_getApiVersion exits with 0SNPE-DebugLog I 15:00:39.976562 [USER_INFO:DNN_RUNTIME] <I> BackendLifecycle: Add client, clientCnt = 1, callCnt = 0SNPE-DebugLog I 15:00:39.976622 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.976656 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.976690 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.977126 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.977167 [USER_INFO:DNN_RUNTIME] <I> exit with 0SNPE-DebugLog I 15:00:39.977197 [USER_INFO:DNN_RUNTIME] <I> exit with 0SNPE-DebugLog I 15:00:39.977225 [USER_INFO:DNN_RUNTIME] <I> exit with 0SNPE-DebugLog I 15:00:39.977252 [USER_INFO:DNN_RUNTIME] <I> exit with 0SNPE-DebugLog I 15:00:39.977279 [USER_INFO:DNN_RUNTIME] <I> exit with 0SNPE-DebugLog I 15:00:39.977307 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.977362 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.977397 [USER_INFO:DNN_RUNTIME] <I> exit with 0com.at...PETest D /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 libxdsprpcSNPE-DebugLog I 15:00:39.977455 [USER_INFO:DNN_RUNTIME] <I> exits with 2, successfully initialized rpc memorySNPE-DebugLog I 15:00:39.977491 [USER_INFO:DNN_RUNTIME] <I> exits with 0DefaultDispatch W type=1400 audit(0.0:10070): avc: denied { read } for name="adsprpc-smd-secure" dev="tmpfs" ino=14696 scontext=u:r:untrusted_app:s0:c176,c256,c512,c768 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0 app=com.xxx.SNPETestSNPE-DebugLog I 15:00:39.980132 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog E 15:00:39.980202 [USER_ERROR:DNN_RUNTIME] <E> Error from rpc for backend initializationSNPE-DebugLog I 15:00:39.980239 [USER_INFO:DNN_RUNTIME] <I> qnnBackendInit exits with 4000SNPE-DebugLog E 15:00:39.980269 [USER_ERROR:DNN_RUNTIME] <E> exits with 4000, fail to initializeSNPE-DebugLog I 15:00:39.980301 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.980331 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog I 15:00:39.980366 [USER_INFO:DNN_RUNTIME] <I> Qnn log set default levelSNPE-DebugLog I 15:00:39.980397 [USER_INFO:DNN_RUNTIME] <I> exits with 0DefaultDispatch W type=1400 audit(0.0:10071): avc: denied { read } for name="adsprpc-smd-secure" dev="tmpfs" ino=14696 scontext=u:r:untrusted_app:s0:c176,c256,c512,c768 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0 app=com.xxx.SNPETestSNPE-DebugLog I 15:00:39.981409 [USER_INFO:DNN_RUNTIME] <I> exits with 0SNPE-DebugLog E 15:00:39.981477 [USER_ERROR:DNN_RUNTIME] <E> Error from rpc transportSNPE-DebugLog E 15:00:39.981514 [USER_ERROR:DNN_RUNTIME] <E> Qnn log level setting failedSNPE-DebugLog I 15:00:39.981550 [USER_INFO:DNN_RUNTIME] <I> backendInitializeInternal exits with 4000SNPE-DebugLog I 15:00:39.981582 [USER_INFO:DNN_RUNTIME] <I> exits with 0
Dear developer,
You mean your target platform was 870? Can you use some latest Qualcomm device like as 8Gen2 to check it on SNPE/QNN again?
BR.
Wei