GlueGen & Jogl on Beaglebone Black

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

Re: GlueGen & Jogl on Beaglebone Black

Xerxes Rånby
Sven Gothel wrote
However, all this does not explain the libX11.so issue ..
Wouter wrote
Platform: LINUX / Linux 3.8.13-bone32 (3.8.13), arm (arch), EABI_GNU_ARMEL, 1 cores
...
I'm using Ubuntu btw...
Ok here is the issue!

Ubuntu only provide hard float "armhf" compiled libX11.so and your Oracle java binarys are using soft-float "armel", these are incompatible, a soft-float "armel" application cant use a hard-float shared library and vice versa...

make sure the JDK ABI installation matches your system ABI. JogAmp will only work if you use the same ABI for your Linux OS installation and your JDK installation.

You need to download the "Linux ARM v6/v7 Hard Float ABI" JDK from oracles homepage or install the Ubuntu provided armhf OpenJDK JRE.
Try:
sudo apt-get install openjdk-7-jre

Cheers
Xerxes
Reply | Threaded
Open this post in threaded view
|

Re: GlueGen & Jogl on Beaglebone Black

Wouter
GUYS... I got MT4J running! :-D

Freakishly slow though, still software rendering... It was just the HF that did the trick :-) Thanks Xerxes!
Reply | Threaded
Open this post in threaded view
|

Re: GlueGen & Jogl on Beaglebone Black

Wouter
In reply to this post by Sven Gothel
Hi,

Thanks for the reply Sven.

So I've got MT4J running on my BBB, but with software rendering.

If I get the GPU drivers to work, will get everything to work smoothly? Or will we still be facing the problem Xerxes mentioned earlier, meaning I'll have to port MT4J to JOGL 2? The fact that it's running now, doesn't that mean no porting is necessary? Or isn't it using opengl atm?

Driver installation is explained here, but that goes a bit over my head. Do I understand right that it has to be built first on another (linux) pc and then built towards the arm architecture?

Kind regards,
Wouter
Reply | Threaded
Open this post in threaded view
|

Re: GlueGen & Jogl on Beaglebone Black

Xerxes Rånby
Wouter wrote
Hi,

Thanks for the reply Sven.

So I've got MT4J running on my BBB, but with software rendering.

If I get the GPU drivers to work, will get everything to work smoothly? Or will we still be facing the problem Xerxes mentioned earlier, meaning I'll have to port MT4J to JOGL 2? The fact that it's running now, doesn't that mean no porting is necessary? Or isn't it using opengl atm?
In short.. you need to use JOGL 2.0.2 or later if you want hardware acceleration.
You need to port MT4J to JOGL2.

JOGL 2.0.2 is the first released JOGL version with support for mobile and embedded systems using OpenGL ES 2 thus it is crucial to use JOGL 2 if you want to use hardware acceleration on the BeagleBoard Black (OMAP 3 GPU with OpenGL ES 2 drivers).
Please take a look at how opengl drivers and JOGL 2 has evolved since JOGL 1: http://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html
and: http://labb.zafena.se/?p=859

Wouter wrote
Driver installation is explained here, but that goes a bit over my head. Do I understand right that it has to be built first on another (linux) pc and then built towards the arm architecture?

Kind regards,
Wouter
Ubuntu did provide pre-build SGX packages for easy hardware acceleration setup on OMAP 3&4 based devices like the beagleboard (omap3) and pandaboard (omap4). The installation instructions differs a little based on the ubuntu release in use:
http://wiki.edubuntu.org/ARM/OMAP/Graphics
Try use these packages that match the Ubuntu OMAP kernel before you try build and maintain your own.
12