Friday, June 22, 2012

Setup Hardware OpenGL for Linux Android x86 VirtualBox (also runs ARM apps)


As the post title, this Android x86 VirtualBox image runs ARM apps like Angry Birds games with OpenGL hardware acceleration. OpenGL is a standard specification cross-platform graphics API for 2D and 3D graphics processing hardware. The video below shows how the OpenGL performing with Angry Birds Space:


Click here to read the rest.

Here's how I setup Hardware OpenGL for Linux Android x86:
First of all, your computer must have graphics chipset with OpenGL hardware acceleration enabled. During this guide, I will setup this VirtualBox image on my HP mini 210 Ubuntu 12.04 Operating System. You'll need an Android x86 OVA file and buildroid_renderer package which can be download here.

  1. Install VirtualBox from Ubuntu Software Center.
  2. Open VirtualBox, click File > Import Appliance... to import the Android OVA. After import, don't start the Android Virtual Machine yet.
  3. If you already have libGL.so in /usr/lib/i386-linux-gnu/ directory, ignore this step. If you don't have it, please install libgl1-mesa-dev package (sudo apt-get install libgl1-mesa-dev) and you should have libGL.so in that directory.
  4. Extract the buildroid_renderer package. (tar -xvzf buildroid_renderer_XXXXXXXX.tgz)
  5. Open Terminal and navigate to buildroid_renderer package location and execute buildroid.sh (./buildroid.sh) and a blank window appear.
  6. Now start your Android Virtual Machine in VirtualBox. Wait for awhile the blank window will show up the Android 4.0.4 ICS user interface.


You can change the window size while executing buildroid.sh For example, ./buildroid.sh -width 640 -height 480 the window size will open in 640 x 480 size.

6 comments:

  1. is something like this possible in windows?

    ReplyDelete
  2. It is possible. According to the creator, he have some performance problems on Windows version and working at it. I will update as soon as it is available.

    ReplyDelete
  3. I'm using Ubuntu Maverick with an Athlon II CPU, the trick works, but it's slow... well... Maybe get a higher end CPU with quad core will be better...

    ReplyDelete
  4. While frequent thorough inspections of site conditions in every facility is prudent, many facilities opt to not budget these inspections, and maintenance is often deferred.visit this site

    ReplyDelete