#Installing Vulkan to reduce CPU usage on android emulator

1 messages · Page 1 of 1 (latest)

stone notch
#

I am using android emulator for running mobile app automation using NightwatchJS. But emulator is taking more CPU and hence, emulator gets closed sometimes while running the scripts. So I have installed Vulkano app following https://developer.android.com/ndk/guides/graphics/getting-started#advancing
But I could not build and run vulkano sample, since I have different setup in NightwatchJS in Visual Studio and emulator-nightwatch-android-11.
Can anyone please let me know, how I can check whether vulkano is running? Please suggest if I have to do further setup.

fervent plume
#

how exactly are you expecting installing vulkano to improve cpu usage???

stone notch
#

Actually, I am not aware of Vulkano. One of our developers just suggested to check if it works to reduce CPU usage. If there are any other suggestions, they are welcome. Thank you 🙂

fervent plume
#

Vulkano is a rust language binding to vulkan

#

vulkan is a graphics API

#

there is nothing to "install" with vulkan as it is just an API

#

the only thing to install in relation to vulkan are the development tools and libraries to create vulkan apps

#

there is no magic "install vulkan and get better cpu usage"

#

you have to actually develop your app to use vulkan

#

as for what you should do to reduce cpu usage, that is very off topic and beyond the skillset of anyone on this server

stone notch
#

Hmm..Ok. So vulkan is used to create vulkan app? So, there is no way through this to reduce CPU usage.
I will look into the other options. Anyways, thanks for your suggestions.

fervent plume
#

there is no way for someone not developing a vulkan app to use this no

#

if the tools you are using supports using vulkan then you should contact them on how to get that setup

stone notch
#

Installing Vulkan to reduce CPU usage on android emulator

hot snow
#

@stone notch a way to reduce cpu usage is to off load the task to the gpu using compute shaders the technique tends to come under gpgpu computing

fervent plume
hot snow
#

I was talking about the emulation if the emulation is taking a bit of time try putting some of it’s execution on the gpu

#

And “technically” depending on the task could use the gpu for automation too just depends on the task

fervent plume