Forums - snpe-release.aar run in 8155p

5 posts / 0 new
Last post
snpe-release.aar run in 8155p
ccjerry
Join Date: 23 Feb 22
Posts: 1
Posted: Wed, 2022-05-18 00:49

when i use snpe-release.aar to run dlc model  in 8155p DSP runtime; there some error.

snpe version=1.58.0.3160

1.when use "NativeNetwork.isRuntimeAvailable"  to check runtime infomation. some error log :

vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1214: Error 0x80000406: remote_handle_open_domain: dynamic loading failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (dlerror _rtld_map_object_ex: cannot open libsnpe_dsp_v66_domains_v

vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1255: Error 0x80000406: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp (errno Success)
 
2.when use "SNPE.NeuralNetworkBuilder(this).setDebugEnabled(true).setRuntimeCheckOption(NeuralNetwork.RuntimeCheckOption.BASIC_CHECK).setRuntimeOrder(DSP.setModel(inputStream, size).build()" to build NeuralNetwork. the error log is:
Unable to create network! Cause: error_code=908; error_message=DSP runtime communication error. Missing SNPE DSP dependent libraries: libcdsprpc_system.so.; error_component=DSP Runtime; line_no=1088; thread_id=513083139320
    com.qualcomm.qti.snpe.SnpeError$NativeException: Unable to create network! Cause: error_code=908; error_message=DSP runtime communication error. Missing SNPE DSP dependent libraries: libcdsprpc_system.so.; error_component=DSP Runtime; line_no=1088; thread_id=513083139320
 
so, how to fix it? or how to use snpe-release.aar to run dlc model  in 8155p DSP runtime?  
  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sun, 2022-06-12 04:59

Dear customer,

Did your platform support CDSP signature as DSP only works on signedPD SNPE?

Please check the CDSP error qxdm or mini-dm logs.

BR.

Wei

  • Up0
  • Down0
mingwang
Join Date: 22 Dec 20
Posts: 2
Posted: Fri, 2022-06-17 02:26

In the official SNPE demo, unsignedPD is false, but it works fine on my device's dsp.

When integrating snpe-release.aar into my own APP, it cannot run on my device's dsp, no matter if unsignedpd is false or true.

 

  • Up0
  • Down0
mingwang
Join Date: 22 Dec 20
Posts: 2
Posted: Fri, 2022-06-17 02:27

In the official SNPE demo, unsignedPD is false, but it works fine on my device's dsp.

When integrating snpe-release.aar into my own APP, it cannot run on my device's dsp, no matter if unsignedpd is false or true.

 

  • Up0
  • Down0
ruzhongl
Join Date: 7 Jun 21
Posts: 42
Posted: Thu, 2022-06-23 07:48

8155P should be used in AUTO project. Do you have logcat logs or slog2info logs?

It may related with selinux, you can check logcat first. If related with selinux, you can try to set selinux to permissive as experiment. 

#setEnforce 0

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.