I’m very happy to release this new test release which works with Hardware OpenGL for Linux. It’s based on the emulator hardware opengl support released few weeks ago by Google.
Basically, the input (mouse, keyboard) and output (display) is now handled by a separate executable that you have to run before starting the VM. So you won’t see anything in the “VirtualBox” VM window. The communication between the VM and the “buildroid_renderer” executable is IP (both TCP and UDP), so you might need to tweak your firewall rules to make it work correctly. The VM use the android “eth0″ (management) interface so you have to connect it to a VirtualBox “private network” (vboxnet0 by default in the supplied OVA).
To install it :
- Import the OVA file as usual
- Uncompress the “buildroid_renderer_XXXXX.tgz” file in a directory (tar -xvzf buildroid_renderer_XXXX.tgz)
To run it :
- Run …./buildroid.sh
- Start your VM, after few seconds you should see the display in the “Buildroid using Hardware OpenGL” window
To work, your Linux system has to use a somehow recent XServer ; my tests showed that pre-1.9.0 XServer wont’ run (for example, on my Ubuntu 10.04 LTS system it doesn’t work, whereas an Ubuntu 11.10 it works perfectly). If your XServer is not compatible, you’ll have a message “eglChooseConfig returned no EGL configuration”. Please report working/not working configurations (including your X.Org X Server version shown at the top of the /var/log/Xorg.0.log file – my Ubuntu 11.10 has a 1.10.4 version whereas the Ubuntu 10.04 has a 1.8.2 one).
I’ve included in the build the “libhoudini” feature to run ARM apps.
You can download the OVA file from here (only vbox86t type for the moment) :
And the buildroid_renderer package is available from here :
The mouse capture/uncapture works the same as in the VirtualBox window : you click on the window to capture the mouse, and press the right Ctrl key to uncapture it.
You can change the size of the window with the “-width” and “-height” parameters to buildroid.sh ; for example “./buildroid.sh -width 1366 -height 768″ will set a 1366×768 resolution. The resolution set by the android app “Buildroid VM Configuration” is not used with OpenGL hardware, but other parameters (including the DPI) are still used. You can use a “full screen” resolution (a resolution fitting your linux desktop) but you’ll still have some “status bar” from your desktop window (I’ll fix that ASAP).
The different versions of Angry Birds work great !
If you don’t have Linux, you can have a preview of the OpenGL performance by watching this video : http://www.youtube.com/watch?v=yXwvepSSaPw
I hope to be able to compile Windows and Mac-OS versions of the buildroid_renderer tool by the end of the week. Stay tuned !