Having difficulty getting any of the Vulkan android samples to run, they all crash when attempting
to load the .so; typical logs e.g.
<pre class="brush:java">E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.qualcomm.vulkan.deferred, PID: 10407
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.qualcomm.vulkan.deferred/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to load native library: /data/app/com.qualcomm.vulkan.deferred-1/lib/arm/libvulkan-deferred.so</pre>
Any ideas appreciated, thank you everyone
What hardware are you using, and what Android build/date does it have?
Same problem on MDP-820 using 8096_Open-Q_820_Android_BSP-M-1.1.zip from Intrinsyc
I managed to get MDP-820 to work past the loading of libvulkan-compute.so
You have to push libvulkan.so to /system/lib and it continues until it fails at
uint32_t instanceExtensionCount = 0;
with ret == VK_ERROR_INITIALIZATION_FAILED
logcat shows
failed to load vulkan hal: No such file or directory (-2)
I have a similar issue with examples. It would be nice if the SDK and examples worked with latest version of Android Studio (2.0).
just to let you know, we've updated the Adreno SDK for Vulkan with support for Android Studio 2.0
https://developer.qualcomm.com/software/adreno-gpu-sdk