Forums - Vulkan SDK: android samples crash on .so load

6 posts / 0 new
Last post
Vulkan SDK: android samples crash on .so load
lostart
Join Date: 16 May 12
Posts: 4
Posted: Tue, 2016-03-15 14:57

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

  • Up0
  • Down0
mhfeldma Moderator
Join Date: 29 Nov 12
Posts: 310
Posted: Mon, 2016-03-21 08:18

What hardware are you using, and what Android build/date does it have?

  • Up0
  • Down0
Rex
Join Date: 8 Aug 15
Posts: 45
Posted: Tue, 2016-04-19 10:12

Same problem on MDP-820 using 8096_Open-Q_820_Android_BSP-M-1.1.zip from Intrinsyc

  • Up0
  • Down0
Rex
Join Date: 8 Aug 15
Posts: 45
Posted: Tue, 2016-04-19 15:17

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;

ret = vkEnumerateInstanceExtensionProperties(nullptr, &instanceExtensionCount, nullptr);
VK_CHECK(!ret);

with ret == VK_ERROR_INITIALIZATION_FAILED

logcat shows

failed to load vulkan hal: No such file or directory (-2)

  • Up0
  • Down0
KingCobra
Join Date: 19 Feb 13
Posts: 11
Posted: Tue, 2016-04-26 09:46

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

 

  • Up0
  • Down0
mhfeldma Moderator
Join Date: 29 Nov 12
Posts: 310
Posted: Thu, 2016-05-12 10:35

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

 

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