Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (755)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: JOGL video rendering. on: 2012-09-21 10:19:18
Cross link to the JogAmp JOGL forum that answered this question:
2  Java Game APIs & Engines / JOGL Development / Re: Looking for a sample on: 2012-09-21 10:16:03
The jogamp forum did provide a solution as suggested. This sample looks promising in its minimalism:

This sample is now moved into the jogl-demo git repository. - My complementary blog article to this RawGL2ES2demo.
3  Game Development / Newbie & Debugging Questions / Re: Trying to get jar to run as web start/jnlp on: 2012-09-21 08:28:43
This game installed nicely using JamVM + OpenJDK 7 + icedtea-web on my Raspberry Pi including adding a launcher icon on the Rasperry Pi x11 desktop.

The game did only open an undecorated window, i worked around it by manually hiding the LXDE launchbar and setting the background to a nice black color to get a nice "fullscreen" arcade experience on an old tube.

Most time in the game is spent in the Java2D software rendered draw routines, do consider switching to something hardware accelerated like JogAmp JOGL GL2ES2 profile that work on both desktop and mobile devices by using a common subset of OpenGL ES 2 and OpenGL 2 calls.
4  Discussions / General Discussions / Re: New JDK and JRE Full with Mac OS X support on: 2012-08-28 13:45:31
Great post xranby/xerces, please hang around and post more Smiley

My main goal is to get the bestest, fastest implementation of Java on the latest Raspberry Pi using hard float, and then have a think about getting LWJGL running on the device so I can experiment with game code.

Cas Smiley
Sounds fun!
Would it be possible to add a new sub forum "Java SE"  in the  Java on Mobile Devices forum?
There currently do not exist a good place for OpenGL ES 2 + Linux on mobile/embedded devices chats, we are running "javase" on these small devices.
5  Discussions / General Discussions / Re: New JDK and JRE Full with Mac OS X support on: 2012-08-28 13:08:04
The cacao VM won't start up - some Java exception about security hashes not matching
This is a known issue.
Cacao only work well for armel and OpenJDK-6. Speedwise its quite good especially on low end arm systems like the Raspberry Pi.

- the JamVM is 450x slower than my desktop
How is JamVM to drive OpenGL intense application on your desktop?
When i test JamVM on arm its then Oracle is only 4x faster.

- and the IcedTea Zero VM is 950x slower than my desktop.
Measured. I need better performance frankly. Last time I used the Sun JRE on ARM it was blinding fast.

I will below try to give a honest and colorful view on the speed difference between the Oracle JVM on ARM and all current FOSS options.

It is a common mistake to expect that the speed of zero on the desktop will match the speed of zero on ARM
especially because we are maintaining some addons for Zero inside the IcedTea project
1. an assembler optimized main loop for zero on arm. and
2. we maintain a thumb2 jit also for arm.
You can tell if you run the assembler optimized and thumb2 jit enabled version if your java -version output if it say Zero *Mixed-mode*
of course if we test on the Pi then we can only use the assembler optimized interpeter.
Zero interpreted-mode is what you run on the desktop.

Testing on "high" end armv7 cortex-a9 pandaboard
I have bench marked the speed difference between Zero on ARM and the current hotspot found in the Oracle JRE and JDK by using the DaCapo-9.12-bach benchmark.

Clearly the Oracle C1 and C2 jit are doing a great job, especially for the sunflow raytrace benchmark. On most of the benchmarks Zero is "only" 2.5 times slower.

Testing on "low" end armv6 raspberry pi
The raw numbers:

Relative performance compared to the zero interpreted-mode:

For best results:
Use ahead of time compilation using GCJ on the Pi running armhf.
For good results try:
Oracle JDK 7u6 on armel.
CACAO gives good results for armel and openjdk-6.
Avian also gives good results for armhf and openjdk-7.
JamVM gives ok results for armhf and openjdk-6/7.

The montecarlo benchmark is interesting, here the Oracle JDK clearly got an advantage by being 4 times faster compared to all FOSS options.

For running OpenGL ES 2 content all the JVM can render some spinning gears at 60fps fine without stuttering on the pi in 1980x1080 reolution using JOGL on the Pi.
I will try post a benchmark measuring CPU load using the various JVM options when doing so.

Oh right. sorry for hijacking this Mac OS X thread. :/

Pages: [1]
DesertCoockie (52 views)
2018-05-13 18:23:11

nelsongames (82 views)
2018-04-24 18:15:36

nelsongames (74 views)
2018-04-24 18:14:32

ivj94 (757 views)
2018-03-24 14:47:39

ivj94 (87 views)
2018-03-24 14:46:31

ivj94 (643 views)
2018-03-24 14:43:53

Solater (102 views)
2018-03-17 05:04:08

nelsongames (184 views)
2018-03-05 17:56:34

Gornova (426 views)
2018-03-02 22:15:33

buddyBro (1086 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!