Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (714)
Games in Android Showcase (214)
games submitted by our members
Games in WIP (787)
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:

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

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.

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

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.

Pages: [1]
CopyableCougar4 (64 views)
2017-03-24 15:39:42

theagentd (49 views)
2017-03-24 15:32:08

Rule (109 views)
2017-03-19 12:43:22

Rule (98 views)
2017-03-19 12:42:17

Rule (104 views)
2017-03-19 12:36:21

theagentd (115 views)
2017-03-16 05:07:07

theagentd (114 views)
2017-03-15 22:37:06

theagentd (101 views)
2017-03-15 22:32:18

theagentd (100 views)
2017-03-15 22:31:11

ral0r2 (149 views)
2017-03-03 11:52:41
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

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 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!