Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu running on VirtualBox. Guest additions are installed and now the OS is hardware acceleration capable. I have OpenGL library in place.

Now I want to run apps using egl + opengles1.1 & 2.0. How do i get them on Ubuntu?

Are there any open-source libraries available?

The libraries should use the VirtualBox-provided hardware acceleration capabilities.

share|improve this question
It is very difficult to tell exactly what you are asking, can you be a bit more detailed? – RolandiXor Jan 17 '13 at 5:27

Try ARM OpenGL ES 2.0 Emulator, I myself haven't managed to make OpenGL ES 2.0 work, but 1.1 seems to run fine(simpleApp demo). As I understand, it's supposed to be hardware accelerated as the emulator uses platform GL libraries and mesa3d is(not sure though) accelerated.

There's also libgles2-mesa - but unfortunately I couldn't make it work. es2gears/es2tri samples crash as well as simpleApp linked against mesa libs.

share|improve this answer

Since the question has been asked, a package appeared and could help :

sudo apt-get install libgles2-mesa-dev
share|improve this answer

You can search for packages and package contents with apt-cache:

> apt-cache search opengles 
mesa-utils-extra - Miscellaneous Mesa utilies (opengles, egl)

The output says that OpenGLES probably is in the package mesa-utils-extra. Mesa 3D has a project page for OpenGLES and writes there:

Mesa implements OpenGL ES 1.1 and OpenGL ES 2.0. More informations about OpenGL ES can be found at

EGL is also built into Mesa:

> apt-cache search mesa | grep -i egl
mesa-utils-extra - Miscellaneous Mesa utilies (opengles, egl)
libegl1-mesa - free implementation of the EGL API -- runtime
libegl1-mesa-dbg - free implementation of the EGL API -- debugging symbols
libegl1-mesa-dev - free implementation of the EGL API -- development files
libegl1-mesa-drivers - free implementation of the EGL API -- hardware drivers
libegl1-mesa-drivers-dbg - free implementation of the EGL API -- driver debugging symbols

So you need to install mesa-utils-extra and probably also libegl1-mesa.

share|improve this answer
Thank you very much for the reply. But Mesa do not use VirtualBox virtual GPU for hardware acceleration. While running Mesa on VBox it uses software rasterizer. My requirement is to strictly use the virtual box 3D acceleration for Opengles demos. – vboxuser Jan 17 '13 at 9:53
So maybe we should watch this/your question here:… – qbi Jan 17 '13 at 10:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.