Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the new GPU accelerated avd?

Google has announced that the Android emulator finally uses the GPU, as written here

However, I can't find a tutorial of how to use it. I've tried to do some things and it just keeps crashing.

So far , I've tried to :

  1. Install the app on "...\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe".

    1. Enable/disable the flag on GPU emulation for the avd.

    2. Restart eclipse and OS .

Is there anyone who have succeeded working with the new feature?

like image 278
android developer Avatar asked Apr 11 '12 19:04

android developer


People also ask

How do I enable CUDA acceleration?

Enable CUDA optimization by going to the system menu, and select Edit > Preferences. Click on the Editing tab and then select the "Enable NVIDIA CUDA /ATI Stream technology to speed up video effect preview/render" check box within the GPU acceleration area. Click on the OK button to save your changes.

How do I enable virtual machine acceleration?

Simply access your BIOS (Settings -> Update and Security -> Recovery. Under the Advanced Startup section press 'Restart Now' and your pc will restart. The above screen should appear, press Troubleshoot -> Advanced Options -> UEFI Firmware Settings -> Restart.


1 Answers

The GPU emulation doesn't work very well at the moment:
http://code.google.com/p/android/issues/detail?id=28531
http://code.google.com/p/android/issues/detail?id=28529
http://code.google.com/p/android/issues/detail?id=28563

I also didn't manage to run it due to the crash.

A simple instruction of how to turn it on can be found here: https://plus.google.com/108967384991768947849/posts/DSi3oAuNnS7

like image 53
Rafal Roszak Avatar answered Oct 04 '22 01:10

Rafal Roszak