Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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 12:19:18
Cross link to the JogAmp JOGL forum that answered this question:
http://forum.jogamp.org/JOGL-video-rendering-td4026062.html
2  Java Game APIs & Engines / JOGL Development / Re: Looking for a sample on: 2012-09-21 12:16:03
The jogamp forum did provide a solution as suggested. This sample looks promising in its minimalism:

https://raw.github.com/xranby/jogl/master/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RawGL2ES2demo.java

This sample is now moved into the jogl-demo git repository.
https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java

http://labb.zafena.se/?p=547 - 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 10: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.
http://www.raspberrypi.org/phpBB3/viewtopic.php?p=178262#p178262

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 15: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 15: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. :/

Cheers
Xerxes
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (13 views)
2014-07-29 18:09:19

Riven (10 views)
2014-07-29 18:08:52

Dwinin (10 views)
2014-07-29 10:59:34

E.R. Fleming (26 views)
2014-07-29 03:07:13

E.R. Fleming (10 views)
2014-07-29 03:06:25

pw (40 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (27 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!