Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What graphic cards do Android emulator GPU emulation support?

I have HD7690M XT (an overclocked version of 6770M) and Android emulator (sdk tool rev.20) for ICS failed to start hardware OpenGL ES emulation with the following error message:

emulator: ERROR: Could not load OpenGLES emulation library: Could not load DLL!
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.

and with software renderer I got really bad color resolution (please see the attached screenshots). I suspect that this is due to the software renderer (no such problem in emulating earlier versions of Android). Have someone who can run hardware emulation seen this problem?

enter image description here

enter image description here

What graphic cards can hardware GPU emulation run on? (You can see detailed debug messages by executing $ emulator -avd your_avd_name -verbose)

like image 938
Falcon Avatar asked Jul 19 '12 19:07

Falcon


4 Answers

I had the same problem on my Windows 7 (64-bit) machine. The reason was that the libOpenglRender.DLL could not be located. I added C:\Program Files (x86)\Android\android-sdk\tools\lib to the PATH variable and can start the emulator now without error message. However, I don't see a difference in quality of the graphics compared to your screenshot.

like image 56
Niklaus Avatar answered Nov 15 '22 23:11

Niklaus


Copy the file below from SDK\tools\lib to SDK\tools.

  1. libEGL_translator.dll
  2. libGLES_CM_translator.dll
  3. libGLES_V2_translator.dll
  4. libOpenglRender.dll
like image 39
N'Kauh Nathan-Régis Bodje Avatar answered Nov 15 '22 23:11

N'Kauh Nathan-Régis Bodje


Copy all the dll files from tools\lib to tools.

like image 34
Jared Kells Avatar answered Nov 16 '22 01:11

Jared Kells


Add toos\lib to PATH works, the only thing you need to remember is to add it in the HEAD of the PATH, not the end. Check this post: https://code.google.com/p/android/issues/detail?id=33336

like image 1
YY.YI Avatar answered Nov 16 '22 00:11

YY.YI