Forums - DSP not available on snpe1.47

2 posts / 0 new
Last post
DSP not available on snpe1.47
3115179
Join Date: 4 Mar 21
Posts: 1
Posted: Wed, 2021-04-28 05:10
hi sir,
    I tried the SNPE1.47 on 820A platform, and i found the DSP can't work normally, please anyone can help me to fix the issue?
    
    below is my test steps:
    1.accroding to the documents of DSP Runtime Environment(https://developer.qualcomm.com/docs/snpe/dsp_runtime.html)
      I set the ADSP_LIBRARY_PATH like this:
      export ADSP_LIBRARY_PATH="/data/tmp/snpeexample/dsp/lib;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp"
      
    2.then i execute the demo process to check the capability of DSP:
      snpe-sample -r dsp -b ITENSOR -d ../dlc/bvlc_alexnet.dlc -i target_raw_list.txt -o output_sample_dsp
      
      but unfortunately i got below information, it shows the DSP enviroment not avaliable:
        SNPE Version: 1.47.0.2501
        Selected runtime not present. Falling back to CPU.
        Batch size for the container is 1
        Processing DNN Input: cropped/chairs.raw
        Processing DNN Input: cropped/plastic_cup.raw
        Processing DNN Input: cropped/notice_sign.raw
        Processing DNN Input: cropped/trash_bin.raw
        
     3.i had checked the related folder about the libraries:
       
        g6pa_ica2:/data/tmp/snpeexample/dsp/lib $ ls -al
        total 14792
        drwxrwxrwx 2 root root     4096 2021-03-26 11:30 .
        drwxrwx--x 3 root root     4096 2021-03-26 11:08 ..
        -rwxrwxrwx 1 root root    20828 2021-03-26 11:08 libcalculator_skel.so
        -rwxrwxrwx 1 root root  1627658 2021-03-26 11:08 libsnpe_dsp_v65_domains_v2_skel.so
        -rwxrwxrwx 1 root root  1627658 2021-03-26 11:08 libsnpe_dsp_v66_domains_v2_skel.so
        -rwxrwxrwx 1 root root 11853408 2021-03-26 11:08 libsnpe_dsp_v68_domains_v3_skel.so
        
        /system/lib/rfsa/adsp   not present.
        
        g6pa_ica2:/data/tmp/snpeexample/dsp/lib $ cd /system/lib/rfsa/adsp
        /system/bin/sh: cd: /system/lib/rfsa/adsp: No such file or directory
        
        
        g6pa_ica2:/system/vendor/lib/rfsa/adsp # ls -al
        total 1820
        drwxr-xr-x 2 root shell   4096 2009-01-01 00:00 .
        drwxr-xr-x 3 root shell   4096 2009-01-01 00:00 ..
        -rw-r--r-- 1 root root   70212 2009-01-01 00:00 capi_v2_bmt.so
        -rw-r--r-- 1 root root   70060 2009-01-01 00:00 capi_v2_fnb.so
        -rw-r--r-- 1 root root   66304 2009-01-01 00:00 capi_v2_loud.so
        -rw-r--r-- 1 root root   57728 2009-01-01 00:00 capi_v2_peq.so
        -rw-r--r-- 1 root root   61740 2009-01-01 00:00 capi_v2_sumx.so
        -rw-r--r-- 1 root root  430584 2009-01-01 00:00 icc_module.so.1.so
        -rw-r--r-- 1 root root   92264 2009-01-01 00:00 libexternal_dog_skel.so
        -rw-r--r-- 1 root root  123240 2009-01-01 00:00 libvpp_frc.so
        -rw-r--r-- 1 root root  352384 2009-01-01 00:00 libvpp_svc_skel.so
        -rw-r--r-- 1 root root  496136 2009-01-01 00:00 sec_module.so.1.so
        
        g6pa_ica2:/dsp # ls -al
        total 4136
        drwxr-xr-x  3 root root   4096 1970-01-01 08:00 .
        drwxr-xr-x 25 root root   4096 1970-01-01 08:00 ..
        -rw-r--r--  1 root root  28936 2019-05-09 19:27 AlacDecoderModule.so.1
        -rw-r--r--  1 root root  45208 2019-05-09 19:27 ApeDecoderModule.so.1
        -rw-r--r--  1 root root  72176 2019-05-09 19:27 AudioSphereModule.so.1
        -rw-r--r--  1 root root 674176 2019-05-09 19:27 DolbyMobileModule.so.1
        -rw-r--r--  1 root root 420376 2019-05-09 19:27 DolbySurroundModule.so.1
        -rw-r--r--  1 root root 199456 2019-05-09 19:27 EtsiAmrWbPlusDecModule.so.1
        -rw-r--r--  1 root root 210392 2019-05-09 19:27 EtsiEaacPlusEncAndCmnModule.so.1
        -rw-r--r--  1 root root  39280 2019-05-09 19:27 FlacDecoderModule.so.1
        -rw-r--r--  1 root root 297776 2019-05-09 19:27 HeaacDecoderModule.so.1
        -rw-r--r--  1 root root 100080 2019-05-09 19:27 SAPlusCmnModule.so.1
        -rw-r--r--  1 root root  86744 2019-05-09 19:27 VorbisDecoderModule.so.1
        -rw-r--r--  1 root root 373912 2019-05-09 19:27 WmaProDecoderModule.so.1
        -rw-r--r--  1 root root 127192 2019-05-09 19:27 WmaStdDecoderModule.so.1
        -rw-r--r--  1 root root 694772 2019-05-09 19:27 fastrpc_shell_0
        -rw-r--r--  1 root root 150800 2019-05-09 19:27 fluence_voiceplus_module.so.1
        -rw-r--r--  1 root root  78760 2019-05-09 19:27 libsysmon_skel.so
        drwx------  2 root root   4096 1970-01-01 08:00 lost+found
        -rw-r--r--  1 root root    670 2019-05-09 19:27 map_SHARED_LIBS_AAAAAAAAQ.txt
        -rw-r--r--  1 root root   1329 2019-05-09 19:27 map_avs_shared_libs.txt
        -rw-r--r--  1 root root 576632 2019-05-09 19:27 mmecns_module.so.1
    
    Now i dont have any ideas how to check this issues, please anyone can tell me the reason or how to fix the issue, thanks very much.
    
  • Up0
  • Down0
bkaraban
Join Date: 19 Feb 21
Posts: 8
Posted: Wed, 2021-05-05 00:59

Have you tried using older versions of the SDK (you can find them here: https://developer.qualcomm.com/software/qualcomm-neural-processing-sdk/t...)?

On my  S820am board, I can use the DSP runtime with version 1.41.0 of the SDK  but not with version 1.42.0 and any version after this one, you might be facing the same issue.

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