Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Sven Gothel
Administrator
http://jausoft.com/blog/2012/02/27/jogamp-rc6-beta-linux-armv7-builds/

Besides adding proper Mac OS X support (10.5.8 - 10.7.*, incl. OpenJDK7),
OpenGL 4.2 and latest EGL, ES1 and ES2 extension updates and lot's of stabilization's,
Xerxes Rånby <http://labb.zafena.se/?p=532> and myself worked on a proper Linux ARMv7 support.
Both were able to test on Omap4 (Pandaboard ES), Tegra2 (AC100), where Xerxes also tested on other machines, eg. Nokia N9 MeeGo.

Even though GlueGen and JOGL in general support EGL and ES1/ES2 since 2008 incl. the GL profile selection,
we figured we need better support for multiple GL implementations on one platform, Mesa3D software and the hardware EGL/ES ones.
Without tweaking your default configuration, JOGL chooses the right implementation for the desired profile,
e.g. hardware accelerate GLES2 for the desired common GL2ES2 profile on your mobile device, even though Mesa is installed.

Besides tiny big fixes and workarounds the biggest amount of work was to attach the Linux ARMv7 job to Jenkins.
We use a cross-compile and cross-test environment, where the build host cross-compiles and makes the Pandaboard ES
fetch the artifacts via rsync and execute the tests. Later the build host pulls the results and forwards them to the Jenkins master.

All JogAmp modules are now build for Linux-Armv7,
a test release is made available here: <http://jogamp.org/deployment/jogamp-test/>.
You may like to try the test Applets: <http://jogamp.org/deployment/jogamp-test/jogl-test-applets.html>.
Note: This week RC6 will be released under the usual location and the above test URL will cease to exist.

I dared to test browser support via OpenJDK and the IcedTea Plugin,
and for some reason .. it just works :)

Cheers, Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Sven Gothel
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

gouessej
Administrator
In reply to this post by Sven Gothel
Hi

As far as I know, OpenJDK works better on some distros especially with applets for unknown reasons. I have never had any problem under Cent OS, Red Hat, Fedora, Mandriva and Mageia whereas some people complain about freezes under Ubuntu. I'm glad to see JOGL working on Meego but which JVM do you use?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Sven Gothel
Administrator
On 02/28/2012 10:12 AM, gouessej [via jogamp] wrote:

>
>
> Hi
>
> As far as I know, OpenJDK works better on some distros especially with
> applets for unknown reasons. I have never had any problem under Cent OS, Red
> Hat, Fedora, Mandriva and Mageia whereas some people complain about freezes
> under Ubuntu. I'm glad to see JOGL working on Meego but which JVM do you
> use?
>
The default, OpenJDK6 w/ IcedTead-Web Plugin 1.1.3-1ubuntu1.1

(You can find this information in the screenshot - info Applet)

It's the std. Ubuntu 11.10 installation for Linux ARMv7
plus the omap4 extras.

~Sven




signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Xerxes Rånby
This post was updated on .
In reply to this post by gouessej
On my N9 I used JamVM in combination with OpenJDK 6/IcedTea6 1.10.4.
I cross compiled this build using openembedded-classic, I have updated the IcedTea cross compile instructions to also cover the new meta-oe build recipes based on the Yocto project.
http://icedtea.classpath.org/wiki/CrossCompileFaq

If you like to test OpenJDK/IcedTea on the N9 today I recommend you to download and repackage the Debian or Ubuntu produced armel deb/binarys for openjdk-6 and put them inside the N9.
Debian armel debs: http://packages.debian.org/search?suite=wheezy&arch=armel&searchon=names&keywords=openjdk-6

1. First install all the armel debian openjdk-6 packages, preferably on a Debian wheezy/sid machine.
2. cd /usr/lib/jvm
3. cp -Lr java-6-openjdk-armel java-6-openjdk-armel-N9
4. tar zcvf java-6-openjdk-armel-N9.tar.gz java-6-openjdk-armel-N9
5. copy java-6-openjdk-armel-N9.tar.gz to the phone
6. on the phone use devel-su to gain root and unpack the file inside /usr/lib/jvm
7. add symlinks for java javac etc inside /usr/bin
done
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Wade Walker
Administrator
In reply to this post by Sven Gothel
Congratulations on the working ARM v7 builds! Hopefully I'll get a chance to try this for myself soon

But how are you compiling JOCL on ARM Linux? I didn't think there was a driver available yet.
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Sven Gothel
Administrator
On 02/28/2012 09:22 PM, Wade Walker [via jogamp] wrote:
>
>
> Congratulations on the working ARM v7 builds! Hopefully I'll get a chance to
> try this for myself soon
>
> But how are you compiling JOCL on ARM Linux? I didn't think there was a
> driver available yet.

CPU == ARM
GPU == OMAP[34] or Tegra2

Ubuntu/ARM + graphics extras ..

https://wiki.ubuntu.com/ARM/OMAP

https://wiki.ubuntu.com/ARM/OMAP/Graphics

https://wiki.ubuntu.com/ARM/TEGRA/AC100

Yup, ARM/Mali400 or better is not supported by ARM on GNU/Linux.
And lately open source folks even started to reverse engineer the
binary blob w/ Linaro involved (ARM is a member .. duh).

Quite an odd .. very odd situation here I would say,
probably due to weirdo politics and some lack of commitment.

Well, it's not the end of all days, so I hope ARM will
either support GNU/Linux w/ a proper binary blob (like NV/AMD/Ti/..),
or maybe even open up the programming specs.

Cheers, Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Jogl/JogAmp RC6 Beta / Linux Armv7 Builds

Sven Gothel
Administrator
In reply to this post by Wade Walker
On 02/28/2012 10:15 PM, Sven Gothel wrote:
> On 02/28/2012 09:22 PM, Wade Walker [via jogamp] wrote:
>>
>>
>> Congratulations on the working ARM v7 builds! Hopefully I'll get a chance to
>> try this for myself soon
>>
>> But how are you compiling JOCL on ARM Linux? I didn't think there was a
>> driver available yet.

:)

Ok .. guess I need to get glasses and not only see JOGL around here.

We can create / compile bindings to anything, even w/o native libraries,
since they get dynamically loaded and looked-up at runtime :)

So if you try to test it .. it will fail ( we don't ).

But .. if the desired ARM T604 w/ OpenCL support arrives
here w/ a native library for OpenCL [Android or 'true' Linux]
we finally can test it.

~Sven


signature.asc (910 bytes) Download Attachment