JOGL on Cubieboard?

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

JOGL on Cubieboard?

dtb
Hi all.

I recently got myself a Cubiebord (http://cubieboard.org/), an ARM board with an Allwinner A10 SoC (Cortex-A8 + Mali 400 GPU), and it is supporting OpenGL ES 2.
OS is Debian Wheezy for Arm hf, I got the Oracle 1.8 JDK preview running alright, although javafx seems to be supported on Raspberry Pi _only_ :-/

The GPU is supported by JOGL (at least in the Android build) and ran the

I ran the test_dbg.sh from http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z :

/usr/bin/java
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
LIBXCB_ALLOW_SLOPPY_LOCK:
LIBGL_DRIVERS_PATH:
LIBGL_DEBUG:
java
Fehler: Hauptklasse com.jogamp.newt.opengl.GLWindow konnte nicht gefunden oder geladen werden

(Error: Main class com.jogamp.newt.opengl.GLWindow could not be found oder loaded)

So ... any hints on this? Should I try some other java version or something different? Any way to test the JOGL (maybe from the jogl-test.jar)?

Reply | Threaded
Open this post in threaded view
|

Re: JOGL on Cubieboard?

Xerxes Rånby
This post was updated on .
Please try the latest signed aggregate build from 2013-04-25
http://jogamp.org/deployment/archive/master/gluegen_666-joal_432-jogl_981-jocl_788-signed/archive/
More info on this build is available here: http://forum.jogamp.org/Re-Our-Road-to-2-0-2-Update-3-tp4029026.html

This build contains armhf auto-detection code that got added after rc11, this will let gluegen detect and load armhf natives when running using in combination with the Oracle JDK 8 EA build.

Please attach the generated test.log and test_dbg.log after running the etc/test.sh and etc/test_dbg.sh
We are interested in the logs for the Mali 400 GPU drivers in use with Debian Wheezy
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on Cubieboard?

Xerxes Rånby
In reply to this post by dtb
dtb wrote
Hi all.
... Any way to test the JOGL (maybe from the jogl-test.jar)?
The jogl-test.jar contains the junit tests that we run on the automated JogAmp Jenkin build nodes to test each build.

You may use it to manually launch individual JogAmp JOGL API tests, many of the test depend on junit4 to be present on your system:

The classic gears ES2:
java -cp jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar:/usr/share/java/junit4.jar com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NewtCanvasAWT -time 40000

Another classic this time using ES1:
java -cp jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar:/usr/share/java/junit4.jar com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestOlympicES1NEWT

The GLMediaPlayer: (using the Android or FFMPEG backend)
java -cp jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar  com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube


And of course you may use the jogl jars to compile and run your own ES2 jogl application.
mkdir -p demos/es2
cd demos/es2
wget https://raw.github.com/JogAmp/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java
cd ../..
javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar demos/es2/RawGL2ES2demo.java
java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on Cubieboard?

Sven Gothel
Administrator
In reply to this post by dtb
On 04/29/2013 10:23 PM, dtb [via jogamp] wrote:
> Hi all.
>
> I recently got myself a Cubiebord (http://cubieboard.org/), an ARM board with
> an Allwinner A10 SoC (Cortex-A8 + Mali 400 GPU), and it is supporting OpenGL
> ES 2.
> OS is Debian Wheezy for Arm hf, I got the Oracle 1.8 JDK preview running
> alright, although javafx seems to be supported on Raspberry Pi _only_ :-/
>
> The GPU is supported by JOGL (at least in the Android build) and ran the
JOGL doesn't 'support' a GPU, but the available OpenGL [ES [12]] drivers :)

>
> I ran the test_dbg.sh from
> http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z :
>
> /usr/bin/java
> java version "1.8.0-ea"
> Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
> Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
> LIBXCB_ALLOW_SLOPPY_LOCK:
> LIBGL_DRIVERS_PATH:
> LIBGL_DEBUG:
> java
> Fehler: Hauptklasse com.jogamp.newt.opengl.GLWindow konnte nicht gefunden oder
> geladen werden
>
> (Error: Main class com.jogamp.newt.opengl.GLWindow could not be found oder
> loaded)
>
> So ... any hints on this? Should I try some other java version or something
> different? Any way to test the JOGL (maybe from the jogl-test.jar)?
Yes, the 2nd test you shall run is test_dbg.sh
and send us the test_dbg.log file here (7z it)!

See Wiki.FAQ.Bugreport.

~Sven



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

Re: JOGL on Cubieboard?

Sven Gothel
Administrator
In reply to this post by Xerxes Rånby
On 04/29/2013 11:43 PM, Xerxes Rånby [via jogamp] wrote:

>     dtb wrote
>     Hi all.
>     ... Any way to test the JOGL (maybe from the jogl-test.jar)?
>
> The jogl-test.jar contains the junit tests that we run on the automated JogAmp
> Jenkin build nodes <https://jogamp.org/chuck/> to test each build.
>
> You may use it to manually launch individual JogAmp JOGL API tests, many of
> the test depend on junit4 to be present on your system:
>
> The classic gears ES2:
> java -cp
> jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar:/usr/share/java/junit4.jar
> com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NewtCanvasAWT
> -time 40000
>
> Another classic this time using ES1:
> java -cp
> jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar:/usr/share/java/junit4.jar
> com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestOlympicES1NEWT
>
> The GLMediaPlayer: (using the Android or FFMPEG backend)
> java -cp jar/jogl-test.jar:jar/jogl-all.jar:jar/gluegen-rt.jar
>  com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube
>
>
> And of course you may use the jogl jars to compile and run your own ES2 jogl
> application.
> mkdir -p demos/es2
> cd demos/es2
> wget
> https://raw.github.com/JogAmp/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java
> cd ../..
> javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar demos/es2/RawGL2ES2demo.java
> java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo
These test won't help us if the etc/test.sh doesn't work.
Pls use etc/test_dbg.sh Wiki.FAQ.Bugreport - and send us the compressed
test_dbg.log file (compressed 7z).

~Sven



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

Re: JOGL on Cubieboard?

Sven Gothel
Administrator
In reply to this post by dtb
On 04/30/2013 06:03 AM, Sven Gothel wrote:
>
> Yes, the 2nd test you shall run is test_dbg.sh
etc/test_dbg.sh

important to run it from the proper directory!

> and send us the test_dbg.log file here (7z it)!
>
> See Wiki.FAQ.Bugreport.
pls read it

>


signature.asc (911 bytes) Download Attachment