Forums - DSP Runtime not available on Snapdragon 820 mini ADP.

8 posts / 0 new
Last post
DSP Runtime not available on Snapdragon 820 mini ADP.
kshamajayantvete
Join Date: 6 Sep 17
Posts: 9
Posted: Wed, 2017-12-20 21:01

Hi,

Greetings.

I am using snpe.1.8.0 SDK and trying to run inception_v3 model on s820 mini ADP Developement Board.

snpe-net-run is working with CPU and GPU Runtime, but not with the DSP.

Here is the error I am getting.

The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.
error_code=101; error_message=Invalid parameter in user config. Attempted to set a neural network configuration option DSP that is not supported on this platform.; error_component=System Configuration; line_no=106; thread_id=548064968680

 

Kindly help.

Regards,

Kshama Vete

  • Up0
  • Down0
jesliger
Join Date: 6 Aug 13
Posts: 75
Posted: Mon, 2018-01-08 07:50

Hi.  Can you double check that you are setting ADSP_LIBRARY_PATH correctly?

Also can you list out the contents of the following folders on your device:

  • /system/vendor/lib/rfsa/adsp
  • /system/lib/rfsa/adsp
  • /dsp

 

Also if possible, can you capture logcat when you run snpe-net-run with --use_dsp option?

 

 

 

  • Up0
  • Down0
kshamajayantvete
Join Date: 6 Sep 17
Posts: 9
Posted: Thu, 2018-01-18 20:52

Hi,

Thanks for your Reply.Please find details below.

Here is my ADSP_LIBRARY_PATH

export ADSP_LIBRARY_PATH="/data/local/tmp/snpeexample/dsp/lib;/system/lib/rfsa/adsp;/system/vendor/lib/;/system/vendor/lib/rfsa/adsp;/dsp"

And the contents of ,

/system/vendor/lib/rfsa/adsp:

icc_module.so.1.so
libdspCV_skel.so
libfastcvadsp.so
libfastcvadsp_skel.so
libobjectMattingApp_skel.so
libscveBlobDescriptor_skel.so
libscveCleverCapture_skel.so
libscveObjectSegmentation_skel.so
libscveT2T_skel.so
libscveTextReco_skel.so
libvpp_frc.so
libvpp_svc_skel.so
sec_module.so.1.so
us-syncproximity.so

 

  • /system/lib/rfsa/adsp directory is NOT present .

 

Contents of /dsp:

AlacDecoderModule.so.1
ApeDecoderModule.so.1
AudioSphereModule.so.1
DTS_HPX_MODULE.so.1
DolbyMobileModule.so.1
DolbySurroundModule.so.1
EtsiAmrWbPlusDecModule.so.1
EtsiEaacPlusEncAndCmnModule.so.1
FlacDecoderModule.so.1
HeaacDecoderModule.so.1
SAPlusCmnModule.so.1
VorbisDecoderModule.so.1
WmaProDecoderModule.so.1
WmaStdDecoderModule.so.1
fastrpc_shell_0
fluence_voiceplus_module.so.1
libsysmon_skel.so
lost+found
map_SHARED_LIBS_AAAAAAAAQ.txt
map_avs_shared_libs.txt
mmecns_module.so.1
 

  • Also I tried to capture the logcat ,
  • 01-01 00:18:39.041  3491  3491 E adsprpc : vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
    01-01 00:18:39.041  3491  3491 D adsprpc : vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:174: dlopen error: snpe_dsp cannot find file or invalid file descriptor: fd=:-1

     


 

  • Up0
  • Down0
wjw_8090711
Join Date: 30 Oct 17
Posts: 2
Posted: Wed, 2018-02-28 04:17

Hi everyone,

 

I meet same problem now, with same dev board (s820 mini ADP Developement Board) and same FastRPC error log.

Is there a solution now?

 

Thanks,

Jinwei

  • Up0
  • Down0
jesliger
Join Date: 6 Aug 13
Posts: 75
Posted: Wed, 2018-02-28 04:29

Hi. 

Can you provide a link to some information on the exact board you are using?  Maybe a link to exactly where you ordered it from.   Can you also provide the build details?  (adb shell cat /firmware/verinfo/ver_info.txt)

Thanks

  • Up0
  • Down0
wjw_8090711
Join Date: 30 Oct 17
Posts: 2
Posted: Wed, 2018-02-28 08:49

Hi,

Thanks for your reply.

Link to the Dev board: https://www.intrinsyc.com/vertical-development-platforms/s820am-v2-mini-...

Build details:

{
    "Image_Build_IDs": {
        "adsp": "ADSP.8996.2.7.2-00171-00440-1",
        "apps": "LA.HB.1.1.2-16110-8x96.0-1",
        "boot": "BOOT.XF.1.1-00131-M8996LZB-1",
        "btfm": "BTFM.RM.4.0-00122-QCABTFMSWPZ-1",
        "common": "MSM8996AU.LA.0.9-00013-STD.PROD-2",
        "cpev2": "CPE.TSF.1.0-00035-W9335AAAAAAAZQ-1",
        "glue": "GLUE.MSM8996_AUTO.1.1-00037-NOOP_TEST-1",
        "modem": "MPSS.TH.2.0.2-00223-M8996FAAAANAZM-1",
        "rpm": "RPM.BF.1.6.c4-00010-M8996AAAAANAZR-1",
        "slpi": "SLPI.HB.1.0-00275-M8996AZL-1",
        "tz": "TZ.BF.4.0.1-00313-M8996AAAAANAZT-1",
        "video": "VIDEO.VE.4.0-00109-PROD-1",
        "wgig": "WGIG.SPR.1.0-10011-WGIGSWZ-1",
        "wlan": "WLAN.RM.4.1-00151.1-QCARMSWPZ-1"
    },
    "Metabuild_Info": {
        "Meta_Build_ID": "MSM8996AU.LA.0.9-00013-STD.PROD-2",
        "Product_Flavor": "asic",
        "Time_Stamp": "2017-05-19 14:39:13"
    },
    "Version": "1.0"
}

 

Thanks,

Jinwei

  • Up0
  • Down0
sunitk
Join Date: 24 Dec 18
Posts: 3
Posted: Wed, 2019-01-02 03:52

Why is there not a final solution to this problem anywhere on this forum ? 

  • Up0
  • Down0
sunitk
Join Date: 24 Dec 18
Posts: 3
Posted: Wed, 2019-01-02 03:52

Why is there not a final solution to this problem anywhere on this forum ? 

  • 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.