Forums - Halide example can't run on the Galaxy S10 Plus

1 post / 0 new
Halide example can't run on the Galaxy S10 Plus
soietre
Join Date: 27 Mar 19
Posts: 1
Posted: Thu, 2019-04-04 03:24

Hi:

 on Samsung Galaxy S10 Plus, I  use the Hexagon SDK 3,4.3 , and run the Halide_Tools 2.2 examples, in the  directory Hexagon_SDK\3.4.3\tools\HALIDE_Tools\2.2\Halide\Examples\blur  I run the file test-Blur-app-android to generate bin file with test, test-hvx64. test-hvx128 excute file. I push the  Hexagon_SDK\3.4.3\tools\HALIDE_Tools\2.2\Halide\lib\arm-64-android\libhalide_hexagon_host.so and  Hexagon_SDK\3.4.3\tools\HALIDE_Tools\2.2\Halide\lib\v60\libhalide_hexagon_remote_skel.so those two original files to the phone dir  /data/local/tmp,  i run test successfully but run test-hvx-128 fail, and set LD_LIBRARY_PATH to this path.

below is the logcat result

04-04 17:36:35.868   675   675 E audit   : type=1701 audit(1554370595.852:103969): auid=4294967295 uid=2000 gid=2000 ses=4294967295 subj=u:r:shell:s0 pid=16362 comm="test-hvx128" exe="/data/local/tmp/test-hvx128" sig=6 res=1
04-04 17:36:36.168  2589  2589 D io_stats: !@   8,0 r 53167 4656396 w 136261 2038112 d 17266 486830124 f 35628 56887 iot 241990 139962 th 102400 0 0 pt 0 inp 0 0 173764.777
04-04 17:36:36.366 16375 16375 I halide  : Error: Required Hexagon runtime symbol 'halide_hexagon_remote_load_library' not found.
04-04 17:36:36.366 16375 16375 F libc    : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16375 (test-hvx128), pid 16375 (test-hvx128)
04-04 17:36:36.400 16385 16385 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
04-04 17:36:36.400  1070  1070 I /system/bin/tombstoned: received crash request for pid 16375
04-04 17:36:36.401 16385 16385 I crash_dump64: performing dump of process 16375 (target tid = 16375)
04-04 17:36:36.403 16385 16385 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-04 17:36:36.403 16385 16385 F DEBUG   : Build fingerprint: 'samsung/beyond2qltezc/beyond2q:9/PPR1.180610.011/G9750ZCU1ASAT:user/release-keys'
04-04 17:36:36.403 16385 16385 F DEBUG   : Revision: '17'
04-04 17:36:36.403 16385 16385 F DEBUG   : ABI: 'arm64'
04-04 17:36:36.403 16385 16385 F DEBUG   : pid: 16375, tid: 16375, name: test-hvx128  >>> ./test-hvx128 <<<
04-04 17:36:36.403 16385 16385 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-04 17:36:36.403 16385 16385 F DEBUG   :     x0  0000000000000000  x1  0000000000003ff7  x2  0000000000000006  x3  0000000000000008
 
04-04 17:36:36.404 16385 16385 I unwind  : Malformed section header found, ignoring...
04-04 17:36:36.404 16385 16385 F DEBUG   : 
04-04 17:36:36.404 16385 16385 F DEBUG   : backtrace:
 
04-04 17:36:36.424  1317  1859 W NativeCrashListener: Couldn't find ProcessRecord for pid 16375
04-04 17:36:36.425  1070  1070 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
 
i followed the userguide in the HalideTools dir, why the system say this runtime symbol 'halide_hexagon_remote_load_library'  can't found.
what's the reason of above failture? anyone can help?
 
 i find the phone use SM8150 chipset which should  be V66 Hexagon dsp, if so, but  the exampler used the HALIDE_Tools\2.2\Halide\lib\v60\libhalide_hexagon_remote_skel.so .  is the example in v60 version compatible running successfully on the platform V66 855chipset phone?
  • Up0
  • Down0

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.