-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Halide on the Hexagon on a Snapdragon 835 : blur app aborts #3608
Comments
I'm using Hexagon SDK version 3.0 and Hexagon Tools 8.2.04. |
What do you see if you do |
I'm going to close this, if you are still seeing the issue and can get back to us with the output of adb, feel free to reopen. |
I am using Intrinsyc Open-Q 835 Snapdragon Dev platform with Android Nougat (7.1.2), I get the same error (App Aborts) when trying to launch blur App. Output of
Could you please help? |
What do you see if you do Also, Android N is 3-4 years old, and I remember some extra challenges in using FastRPC around that time. Is it possible to update to a newer version of Android? |
I generated the testsig signature using the testsig.py script (provided with Hexagon SDK) and pushed it to android device. I still get the same error. Output of
|
If you are still seeing the signature verification error, you may simply need to reboot the device after installing the testsig. If that doesn't fix the issue, I think you'll need some support from Qualcomm to resolve this. @pranavb-ca @dpalermo |
Updated to Android Oreo, still getting same error. Running the
Note: I have made change to Makefile to target arm-64-android-hvx_128 instead of arm-64-android.
It runs with target arm-64-android, but HVX scheduler does not run. I changed it to arm-64-android-hvx_128 to be able to profile Hexagon HVX. Am I doing anything wrong? |
Need help to resolve the issue. I get similar errors as above with Hexagon SDK calculator example with CDSP_FLAG=1, however I am able to run Hexagon SDK example with ADSP_FLAG=1. I tried doing something similar with Halide Example by setting CDSP_FLAG=0 Tried running in debug mode and capturing log message using
|
@dgajaria-ADI hi ! did you manage to resolve this issue? i have quite similar situation right there |
No I was not able to resolve this issue, please let me know if you have any success |
Depending on the device you are using you might need to install a testsig on your device. See Tools_Signing.html in the SDK documentation. |
I did not run test example from repository, but my own Mk file, however i eventually made it work. |
Thanks @pranavb-ca and @degot88 . I will try again. I had tried on two different dev boards Intrinsyc 835 and Inforce 820 and was getting same abort error. I was generating and pushing the testsig as per Qualcomm Hexagon SDK document, but was not successful in running Halide Hexagon DSP code. I was able to run Qualcomm SDK calculator example with ADSP flag as 1. Could you please give me details about the dev board you are using with Halide. |
d
Hi @dgajaria-ADI - Can you please give me more information
|
Hi @pranavb-ca, The above error message was on Intrinsyc 835 Dev board. I get the above error with both, Halide from github repo and also Halide library included with Hexagon SDK. |
Can you run this example on the CDSP? In the past we had problems where the CDSP was not turned on by default, maybe this is happening here? |
I compile and run it as
Is this correct, if i don't do the above change to makefile, it compiles for arm-64-android and runs the CPU scheduler, does not run DSP scheduler. Hence I changed target to be HL_TARGET |
Hello, I'm trying to run the blur example on a hexagon DSP on a Snapdragon 835. Compilation went okay, but the halide_blur() call dies somewhere and the test app aborts. All I see is a message "Aborted". mini-dm didn't provide any information either. (I have testsig setup correctly too, other Hexagon SDK samples work)
The text was updated successfully, but these errors were encountered: