Skip to content
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

support vulkaninfo on Android #138

Closed
deanrjy2020 opened this issue Feb 12, 2019 · 5 comments
Closed

support vulkaninfo on Android #138

deanrjy2020 opened this issue Feb 12, 2019 · 5 comments
Milestone

Comments

@deanrjy2020
Copy link
Contributor

Hi,

When we building the Vulkan-Tools for Android, we can get vkcube apk, but there is no vulkaninfo apk. https://github.com/KhronosGroup/Vulkan-Tools/blob/master/build-android/build_all.sh

From the code, seems we are going to support Android in the future. https://github.com/KhronosGroup/Vulkan-Tools/blob/master/vulkaninfo/vulkaninfo.c#L165

Are there any details about that? When do we expect to see vulkaninfo on Android?

Thanks,
Jiayuan.

@cnorthrop
Copy link
Contributor

I don't recall it ever working for Android. That code might be placeholder. At most, it would have been run as a native executable, not an APK.

We do have something in the Android tree (vkjson). To use it, you can run the following command, which I believe gives info similar to vulkaninfo:

adb shell cmd gpu vkjson

@cnorthrop
Copy link
Contributor

To clarify, there is no planned work for vulkaninfo for Android.

@deanrjy2020
Copy link
Contributor Author

Thanks, Cody for the clarification.

@shannon-lunarg shannon-lunarg added this to the sdk-1.1.temp.0 milestone Feb 21, 2019
@HackHarry
Copy link

@cnorthrop Hi, I find that running adb shell cmd gpu vkjson in some Low-end phone will cause the phone to restart. I guess it's because too much info need to get when run this script.
I just want to get the vulkan apiVersion with adb. Could you have some suggestion about it?

@jeremyk-lunarg
Copy link
Contributor

@HackHarry this repo is specifically for Vulkan-Tools repo issues.
If you have a question about Vulkan on Android, I would recommend you ask on the Android developer forums or Reddit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants