Forums - Vulkan Support on Android 6?

15 posts / 0 new
Last post
Vulkan Support on Android 6?
ChristianL
Join Date: 8 Jun 16
Posts: 1
Posted: Mon, 2016-07-25 06:11

My university has handed over a LG-H850 (LG G5) with a Adreno 530 GPU to me. This GPU should support Vulkan. I've tried out the newest Vulkan SDK ("adrenosdkvulkanv1.02.zip"), but it seems the examples do not work. I'm not completly sure, but it seems there's also no possibility to upgrade to Android N Preview. It also seems, that the "libvulkan.so" doesn't get automatically included into the APK. The LG G5 device runs Android 6.0.1 on it.

My Questions:

Is there any solution to run Vulkan applications on this device?

Do I need to upgrade to Android N?

  • Up0
  • Down0
zxcvbad
Join Date: 15 Apr 14
Posts: 20
Posted: Tue, 2016-07-26 13:37

@mhfeldma, I'm wondering about that too, will rephrase it: Does any ES 3.2 enabled v145 GITs automatically comes with Vulkan support?

@ChristianL, currently you don't get Vulkan support on G5's released drivers, though they're currently testing LGE dev build of Android 7.0 which comes with es3.2 enabled [email protected] (GIT@I561b940e76) that potentially might have it. Anyway you could use AIDA64 app /devices section and gpuinfo's vulkancapsviewer to check if your hardware have Vulkan supported driver

  • Up0
  • Down0
Alessandro
Profile picture
Join Date: 6 May 11
Posts: 17
Posted: Tue, 2016-07-26 17:39

Hi !

I don't work for Qualcomm, and I'm speaking as developer.

You have to wait until your device manufacturer roll out the Android N / Nougat update. If you find a way to upgrade your device to N, please let me know ;) 

But there are other ways to have Vulkan and OpenGL ES 3.2 on Android Devices, not exactly for LG G5:

1) By using Nexus devices rolled in Android beta program ( https://www.google.com/android/beta ). You'll receive Android N Beta update via OTA. On Android N you have the Java support for OpenGL ES 3.2 throught android.opengl.GLES32 class. Vulkan is available with NDK, afaik.

  • Current Nexus devices are:
  • Nexus Player (Intel Atom + PowerVR G6430)
  • Nexus 5X ( Snapdragon 808 + Adreno 418)
  • Nexus 6P ( Snapdragon 810+ Adreno 430)

 

2) or, get a NVidia device, as Shield Tablet K1 or Shield Android TV, running Android 6.0 Mashmellow. Just update and run. ( https://developer.nvidia.com/vulkan-android ). Both OpenGL ES 3.2 and Vulkan are available through NDK only.

I have both Nexus Player and Nexus 5X. First one is very cheap, but a bit hard to find today. But runs Vulkan nicely.

 

  • Up0
  • Down0
carrado.grant@g...
Join Date: 20 Sep 12
Posts: 38
Posted: Fri, 2016-07-29 08:19

..just to add, Vulkan support is much more that just an OS update. If the GPU hardware itself cannot support the Vulkan then all you have is an up to date OS with the latest drivers for the hardware feature the device can support. Meaning, if the GPU is not Vulkan capable, then no Android update will ever make it Vulkan capable. However, if the GPU is capable of support Vulkan features, then its like Alessandro posted, you have to wait for an update. Its really simple to find out if the device is capable of support Vulkan by viewing its specification.

  • Up0
  • Down0
mhfeldma Moderator
Join Date: 29 Nov 12
Posts: 310
Posted: Fri, 2016-07-29 09:15

Additionally the SS Galaxy S7 and S7 Edge have Vulkan support now on Android M.  Other devices w/Adreno 530 GPU should support it, but will need to wait for updates that include driver updates.

  • Up0
  • Down0
zxcvbad
Join Date: 15 Apr 14
Posts: 20
Posted: Fri, 2016-07-29 12:24
Just to add more, there's a list of devices that have Vulkan right now on M (more than 10) known to me. I've posted it on dolphin forums (hence I've asked if QC ES 3.2 git revision automatically adds Vulkan implementation to the driver): As about Vulkan capable hardware, there're exceptions (as always with OEMs) Nexus 9 (Denver K1) won't be getting Vulkan support, Google just don't feel like providing it even though N9 is getting Android Nougat. There's an article on xda with more details
  • Up0
  • Down0
Vinny
Join Date: 25 Jun 16
Posts: 4
Posted: Wed, 2016-08-10 00:35
I have a Moto Maxx. I'm on android 6.0.1. Is there any solution to get OpenGL ES 3.2 on this device? It is currently in OpenGL ES 3.1 [email protected] (GIT @ lfd751822f5)
The Moto Maxx has Basically the same hardware of the Nexus 6
  • Up0
  • Down0
Alessandro
Profile picture
Join Date: 6 May 11
Posts: 17
Posted: Tue, 2016-08-16 10:44
@Vinny Afaik if you have OpenGL ES 3.1 + AES (GL_ANDROID_extension_pack_es31a), then you already have 90% of OpenGL ES-3.2 features. The remaining missing functions to complete GLES 3.2 function set are available with GL_KHR_robustness (aka GL_EXT_robustness) extension. (glGetnUniformfv , glGetnUniformiv and glGetnUniformuiv) Some AES / Robustness functions may contains sufix like EXT, KHR or OES, but those can be aliased.
  • Up0
  • Down0
stuart.nash
Join Date: 30 May 14
Posts: 1
Posted: Thu, 2016-08-25 10:43
That's a big no for hammerhead then
  • Up0
  • Down0
Vinny
Join Date: 25 Jun 16
Posts: 4
Posted: Tue, 2016-09-06 17:45

I used Qualcomm drivers patch that was made available for the Nexus 6 on my Moto Maxx, which is on android 6.0.1. It is now running OpenGL ES 3.2, the Graphical performance improved, but the stability is not 100%. I think it has to do with the blobs that conjoin the CPU to the GPU. Unfortunately, the Moto Maxx will no longer officially supported by Motorola. So I'll be stopped.

  • Up0
  • Down0
jake.weinstein
Join Date: 6 Aug 16
Posts: 15
Posted: Wed, 2016-09-21 23:39

Existing Adreno 4xx and 5xx GPUs will have support for Vulkan, which is not exposed until Android N, so you will need to wait until your carrier and manufacturer updates your phone.  As mentioned earlier, LG currently has G5 Nougat builds in soak testing in Korea, so it should make its way to your variant fairly quickly.

  • Up0
  • Down0
carrado.grant@g...
Join Date: 20 Sep 12
Posts: 38
Posted: Wed, 2016-09-21 18:21

Where did you get the information that Adreno 4xx devices support Vulkan ? They are not advertised as such even on Qualcomm's website so unless you have some insider information I would be careful with comments like that so as not to cause additional confusion to readers of this post. As posted above, upgrading to a newer Android version does NOT magically grant your GPU new powers or ability. Its highly probable that the Adreno 4xx family could support Vulkan, but whether or not Qualcomm will add driver support is another issue...something no Android upgrade is going to change.

  • Up0
  • Down0
jake.weinstein
Join Date: 6 Aug 16
Posts: 15
Posted: Wed, 2016-09-21 23:38

As per the announcement from Qualcomm of Adreno 530 supporting the Vulkan API, "Qualcomm Technologies is also planning Vulkan support for upcoming Adreno 5xx series GPUs as well as existing Adreno 4xx series GPUs".  In addition, both the Nexus 5X and Nexus 6P, with Adreno 418 and 420 respectively, support Vulkan, so it would be expected for the non-Nexus Adreno 4xx devices to do the same.

 

Please see their announcement here for more information: https://www.qualcomm.com/news/releases/2016/02/17/qualcomm-announces-vul...

  • Up0
  • Down0
carrado.grant@g...
Join Date: 20 Sep 12
Posts: 38
Posted: Thu, 2016-09-22 12:47

..my apologies..Thanks for the clarification, as that one flew right over my head ( the announcement that is ).

  • Up0
  • Down0
Alessandro
Profile picture
Join Date: 6 May 11
Posts: 17
Posted: Mon, 2016-09-26 09:27

 

"Initial specifications stated that Vulkan will work on hardware that currently supports OpenGL ES 3.1 or OpenGL 4.X and up." https://www.khronos.org/assets/uploads/developers/library/overview/vulkan-overview.pdf

I believe all major GPU makers are fully commited to support Vulkan. There is a nice table with current support to VUlkan here, including Qualcomm  https://en.wikipedia.org/wiki/Vulkan_(API)#Compatibility

About supporting Vulkan on Android 6.0, afaik only NVidia shield K1 and Android TV (X1 / X2) does it, with latest OTA. http://www.androidcentral.com/nvidia-shield-tablet-k1-android-601-update-brings-vulkan-graphics-api-support

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