Graphic hardware accelaration + Opengl = crash ?

Hi,

After hours of struggling to get a working device configuration, i installed the "game sample" app
But when i start a new game, the emulator crashes or hangs
I realized it doesn't crash if i disable the graphic hadware acceleration ("use host GPU" option) ; although i can't do anything in the game since there is no Ouya controller

I'd like to know if it's a specific issue with this sample or if any opengl app is incompatible with this option (the android sdk says it's not compatible with every application, for instance web browser and web view components, but doesn't say more)

If it's incompatible with opengl, are performances good enough to test a game with the emulator ?

Thanks

I run an intel device + HAXM, under windows 7

Comments

  • ZeroDependencyZeroDependency Posts: 27Member
    Android Emulators don't support OpenGL ES2.0 emulation from what I've heard. Only 1.1
    image
  • SpoonThumbSpoonThumb Posts: 426Member
    I have the same setup as you.

    The game sample app should run with the emulator (it should be in OpenGL ES 1.0), though it won't work as intended (it'll just come up with a plain red screen). It shouldn't crash though.
  • JSIDDJSIDD Posts: 167Member
    Android does support OpenGL ES 2.0 emulation. I think the problem is the game sample (which is OpenGL ES 1.0) does not run well on the emulator. It does not crash for me, but it does not refresh, so no moving ship. I am using x86 4.1.2 with a 1920*1080 screen size profile, with HAXM and GPU host enabled on Windows 8 with Hyper-V turned off with 768 MB ram size. I am running a similar setup on my Macbook Air (with its own 2GB) with 512 MB ram size. 

    I have a sample OpenGL ES 2.0 program which just makes a grid using lines, and a square using triangles at this point but no crash. I did notice that color are off on the emulator some of my lines are not as red as they should be, but it could be also because I am not running the emulator at its true resolution. The Small MacBook Air cant display at 1920*1080.

  • KonajuGamesKonajuGames Posts: 560Member
    The Android emulator supports GL ES 2.0 only if GPU acceleration is enabled and working.  We have seen many people claim they have enabled GPU acceleration, but the adb log output says it isn't.
Sign In or Register to comment.