Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 / Java 2D / Re: 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-04-17 12:01:17
Oops, so we do need to do something about this then, as if you resolve the current reboot-bugs with Intel and re-enable D3D we could see this problem return right?
2  Java Game APIs & Engines / Java 2D / Re: 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-03-26 09:40:28
Interestingly I've been told 6u10 runs nice and fast on the Intel 915 machine. No need to disable D3D at all. I will try to get some J2D trace logs from that machine running with the different Java versions.
3  Java Game APIs & Engines / Java 2D / Re: 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-03-14 18:18:42
Yeah I don't want to disable the D3D pipeline unless necessary. We had some schools who had lockups in Java 5 which were solved by upgrading to 6 so I don't want to risk reintroducing that problem if it was indeed caused by the rendering code (I'd share more about that problem but to be honest I've no idea what caused it - the pupil login accounts were so strictly locked down it was impossible to get any debug info out at all - solved purely on trial and error).

Ideally we'll make this a user prefs setting in the apps options.

If we were to set that system property at runtime from within the app itself (e.g. in main() or as we load our user prefs) how late in the startup process could we do it and still have it seen and processed by the graphics subsystems? Will it work as long as we set it before we create the first frame? Or can we set it at some point later?
4  Java Game APIs & Engines / Java 2D / Re: 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-03-13 17:51:05
Good news. I've been told that -Dsun.java2d.d3d=false has solved the problem on a machine with a Mobile Intel 915GM/GMS graphics card. I will now try to conjure up a way to get a 2D trace log on that machine.
5  Discussions / General Discussions / Re: Help ! Java 5 to java 6 ....and running like a dog on: 2008-03-12 17:03:15
Sorry about the duplication guys but Euan and I are colleagues and have posted separately on the same issue.  Embarrassed

Euan, if it's ok we could consolidate discussion here: http://www.java-gaming.org/forums/index.php?topic=18328.0

Thanks.
6  Java Game APIs & Engines / Java 2D / Re: 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-03-12 16:52:54
Thanks for the response guys.

could this problem be anyway related to http://www.java-gaming.org/forums/index.php?topic=18327.0  Grin

Yes sorry euan is my colleague so this is the same problem. We can consolidate his question here. Sorry about the duplication.  Embarrassed

Which version of Java6 are we talking about?

They will be using Java 6 consumer JREs. Any of 6u2, 6u3, and maybe some on 6u4.

Quote
One guess is that Java 6 uses the (old version of) Direct3D pipeline when
in full-screen mode. That may have backfired somehow on Intel or SiS chips
(providing that the d3d pipeline was indeed enabled on those boards)
since they really do suck in d3d.

I've done a bit of research. If my understanding is correct, Java 6 introduced the Direct3D pipeline and made it default for Fullscreen mode even though the old DirectDraw/GDI one was still default in windowed/desktop mode. Is that correct? So to go back to the Java 5 behaviour we explicitly disable the Direct3D pipeline.

Quote
Could you ask your users to set J2D_TRACE_LEVEL=4 env. variable
prior to starting your application if possible and collect the output
in the console (providing they start it from the console)?

A workaround would be to set -Dsun.java2d.d3d=false and see if it helps.

Our app starts using Launch4j/javaw on Windows so I think I'll try disabling the D3D pipeline first and see if that helps. But I will endeavor to get some trace logs to see if the real problem can be diagnosed. I have the usual problem - all folks affected by this are remote  Roll Eyes.

Thanks for the suggestions. I'll come back when I know more.
7  Java Game APIs & Engines / Java 2D / 2D Game performance severely degraded on upgrade from Java 5 to 6 on: 2008-03-11 14:58:46
Hi

My employer sells a Java 2D based game into the education market. I'm getting rather a lot of reports from customers of really slow performance in our app after upgrading to Java 6. It appears the frame rate is more than halved. Running in Java 5 it seems all is ok.

I haven't been able to collect much data on the situation yet, but it seems one common thread may be Intel or SIS graphics hardware, although this is based on feedback from about 5 of the many cases I have.

I wasn't able to find anything obviously relevant in the Java bug database. Is anyone else aware of a problem? Why would it run fine in Java 5 but not in Java 6 where in all other cases we've found performance to be much much better?

Our app uses Full Screen Exclusive mode, a BufferStrategy with 2 buffers, and the problem has been reported on Windows XP only at the moment.

Cheers
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.

rwatson462 (37 views)
2014-12-15 12:26:44

Mr.CodeIt (31 views)
2014-12-14 22:50:38

BurntPizza (62 views)
2014-12-10 01:41:13

BurntPizza (99 views)
2014-12-08 07:46:31

JscottyBieshaar (60 views)
2014-12-05 15:39:02

SHC (74 views)
2014-12-03 19:27:13

CopyableCougar4 (77 views)
2014-11-30 00:32:03

toopeicgaming1999 (138 views)
2014-11-26 18:22:04

toopeicgaming1999 (127 views)
2014-11-26 18:20:36

toopeicgaming1999 (38 views)
2014-11-26 18:20:08
Resources for WIP games
by kpars
2014-12-18 13:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-10 01:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-03 01:36:02

List of Learning Resources
by Longor1996
2014-08-16 13:40:00

List of Learning Resources
by SilverTiger
2014-08-05 22:33:27

Resources for WIP games
by CogWheelz
2014-08-01 19:20:17

Resources for WIP games
by CogWheelz
2014-08-01 19:19:50

List of Learning Resources
by SilverTiger
2014-07-31 19:29:50
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!