zafena development

February 27, 2012

Today JogAmp added a workaround to deal with GPU drivers that reports a bogus 0Hz screen refresh rate. With this fix in place hardware acceleration are working out of the box on Nokia N9 MeeGo phones in combination with the Nokia compiled Imaginative Technologies SGX 530 GPU drivers!

If you have OpenJDK installed on any ARMv7 board with a proper OpenGL-ES libEGL and libGLES driver setup then you can try running this for yourself by using my prebuilt jogamp-armv7 jars.

wget http://labb.zafena.se/jogamp/armv7/jogamp-armv7.tar.gz

tar zxvf jogamp-armv7.tar.gz

cd jogamp

sh ./run-desktop.sh

Source and build instructions are available.

JogAmp JOGL OpenGL-ES Driver compatiblity matrix

I am tracking ARMv7 libEGL/libGLES* GPU drivers compatiblity with JogAmp here:

http://jogamp.org/wiki/index.php/OpenGL_ES_Driver_compatibility_matrix

Chuck Norris force you to use the produced jars from the JogAmp "Chuck Norris" build-bot!

https://jogamp.org/chuck/job/jogl/684/

http://jogamp.org/deployment/autobuilds/master/jogl-b684-2012-02-27_11-04-43/
http://jogamp.org/deployment/autobuilds/master/jogl-b684-2012-02-27_11-04-43/artifact.properties uses gluegen build 510
http://jogamp.org/deployment/autobuilds/master/gluegen-b510-2012-02-25_20-44-27/

Assemble a ARMv7 jogamp testfolder using the JogAmp daily build:

wget http://jogamp.org/deployment/autobuilds/master/gluegen-b510-2012-02-25_20-44-27/gluegen-2.0-b510-20120225-linux-armv7.7z

wget http://jogamp.org/deployment/autobuilds/master/jogl-b684-2012-02-27_11-04-43/jogl-2.0-b684-20120227-linux-armv7.7z

7z x gluegen-2.0-b510-20120225-linux-armv7.7z

7z x jogl-2.0-b684-20120227-linux-armv7.7z

mkdir -p jogamp/jar
cp -r jogl*/etc jogamp/etc/
cp gluegen*/jar/*.jar jogamp/jar
cp gluegen*/lib/* jogamp/jar
cp jogl*/jar/*.jar jogamp/jar
cp jogl*/lib/lib* jogamp/jar
cp /usr/share/java/hamcrest-core.jar jogamp/
cp /usr/share/java/junit4.jar jogamp/

cd jogamp

java -cp jar/gluegen.jar:jar/jogl.all-mobile.jar:jar/jogl.test.jar:hamcrest-core.jar:junit4.jar com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT -time 40000

Enjoy!

5 Comments »

  1. Is there a chance to build java application (with JavaFX2) for iOS devices using the OpenJDK / Tea?

    Comment by Tobi — March 7, 2012 @ 09:30

  2. Maybe in the future...
    Last year Oracle did run a demo of their closed source JavaFX2 software stack on top of JavaME on iOS:
    http://java.dzone.com/articles/javaone-2011-javafx-20

    It might be possible to code JavaFX2 applications using OpenJDK/ IcedTea when Oracle have fully opensourced JavaFX into the OpenJFX project. Keep a close eye on the OpenJFX project: http://openjdk.java.net/projects/openjfx/
    Also you need to get OpenJDK itself running on iOS: http://mail.openjdk.java.net/pipermail/macosx-port-dev/2011-September/001041.html

    If you want to try run java applications on iOS today then you should try use jamvm + classpath + midpath.
    jamvm have been running java applications on iOS since 2007, you can install jamvm using the Cydia installer on jailbroken iPhone.
    http://draenog.blogspot.com/2008/11/jamvmgnu-classpathiphone-roundup.html
    http://iphoneroot.com/tag/jamvm/
    By combining jamvm with midpath you can run gui and 3d applications on the phone.
    http://bloggl.thenesis.org/2009/03/midpath-on-iphone.html

    Comment by xerxes — March 7, 2012 @ 13:58

  3. Hello!. I have Ubuntu 10.10 on my Android Motorola XOOM, with JAVA, and NetBeans installed!

    I downloaded Eclipse from http://labb.zafena.se/eclipse/deb/ubuntu-oneiric-armel-armv7/ but I couldn't install it on my AndrUbuntu, I needed a LOT of Packages that I couldn't get, libjavascript..., lib other things, a lot. Is there a method for getting them and install Eclipse easier?.

    Regards.

    Comment by Gatech — March 27, 2012 @ 22:13

  4. Hi cool to hear that netbeans are running on your phone as well! :)
    The deb files at http://labb.zafena.se/eclipse/deb/ubuntu-oneiric-armel-armv7/ are made to work against Ubuntu 11.10.
    I think it would be easier to upgrade Ubuntu on your phone to 11.10 or 12.04 where this version of eclipse have been tested and found to be working.
    Ubuntu 10.10 (Maverick Meerkat) will reach it's end-of-life on April 10, 2012, back-porting and fixing Eclipse to work there are in my opinion a waste of time,
    better upgrade to the next LTS 12.04 that contains Eclipse pre-built for ARM.

    Cheers
    Xerxes

    Comment by xerxes — March 28, 2012 @ 13:21

  5. Thanks Xerxes, so I'll wait. There's a beta of 12.04 running on Android but now works very bad.

    (My Xoom is tablet hehe)

    Regards.

    Comment by Gatech — March 29, 2012 @ 04:03

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress