使用GPU仿真的Debian Jessie上的Android模拟器

Sil*_*ioQ 5 debian android gpu

从Wheezy升级到Jessie Debian之后我遇到了麻烦...... ADV与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.
Run Code Online (Sandbox Code Playgroud)

当然,我需要使用gpu仿真,所以-gpu off参数不是一个选项.

Instlled gles库:

$ 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)
Run Code Online (Sandbox Code Playgroud)

我不知道我的视频卡是否是相关信息,但是......这是输出.

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

有关我的配置的更多信息

$ 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:
Run Code Online (Sandbox Code Playgroud)

谢谢你的帮助.

Sil*_*ioQ 4

几周后,我发现简单的解决方案是......

$ ~/android-sdks/tools/emulator -avd MiAVD -gpu mesa
Run Code Online (Sandbox Code Playgroud)