Tuesday, May 7, 2019

Emulator 29.0.9 Stable

Emulator 29.0.9 Stable

Emulator 29.0.9 is now available in all channels. This is a bugfix release with the following change relative to 29.0.8:
  • Fixed issue with the Windows emulator where virtual scene camera / webcam would not work.
Android Q Beta 3: Vulkan 1.1, ANGLE, Skia Vulkan UI

Android Q Beta 3 emulator system images (revision 4) have been released concurrently. To enable game developers and graphics programmers to preview the latest graphics APIs on Android, 29.0.x emulators with Android Q Beta 3 system images allow running Vulkan 1.1 apps if the host GPU supports it (most recent Intel, NVIDIA, and AMD GPUs).

Known Issues
  • macOS support is not present, but planned for a future update.
  • Snapshots are not yet supported.
  • On Windows, there can be a flaky failure to map Vulkan memory. We will address this in a future HAXM update.
Enabling Vulkan

Here's how to enable Vulkan apps to talk to the emulator. Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):

Vulkan = on
GLDirectMem = on


This allows install and test of Vulkan apps with the emulator.

ANGLE

For game / graphics developers, the emulator also supports ANGLE's OpenGL ES to Vulkan translation if Vulkan is enabled. More info

Skia Vulkan UI
Finally, If your GPU supports OpenGL interop via GL_EXT_memory_objects (most recent NVIDIA and AMD GPUs), you can also run the Skia Vulkan Android UI via the following sequence of commands (with a Google APIs image):

adb shell
su
setprop debug.hwui.renderer skiavk
stop
start