Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator on Debian Jessie with GPU Emulation

I have troubles after upgrading from Wheezy to Jessie Debian ... The ADV worked fine with Wheezy

$ ~/android-sdks/tools/emulator -avd MiAVD
failed to create drawable
getGLES1ExtensionString: Could not create GLES 1.x Pbuffer!
Failed to obtain GLES 1.x extensions string!
Could not initialize emulated framebufferemulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

Of course, I need use gpu emulation, so -gpu off parameter is not an option.

Instlled gles libraries:

$ dpkg -l | grep gles
ii  libgles1-mesa:amd64                                         10.3.2-1                             amd64        free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles2-mesa:amd64                                         10.3.2-1                             amd64        free implementation of the OpenGL|ES 2.x API -- runtime
ii  mesa-utils-extra                                            8.2.0-1                              amd64        Miscellaneous Mesa utilies (opengles, egl)

I don't know if my Video Card is relevant information, but ... this is the output.

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

More information about my configuration

$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

Thanks for your help.

like image 601
SilvioQ Avatar asked Aug 23 '15 14:08

SilvioQ


1 Answers

Well after few weeks, I discovered the simple solution is ...

$ ~/android-sdks/tools/emulator -avd MiAVD -gpu mesa
like image 130
SilvioQ Avatar answered Sep 23 '22 13:09

SilvioQ