Did any one noticed the FPS drop in robocode >1.7.3.0?

Fragment of a discussion from Talk:EvBot
Jump to navigation Jump to search

What system are you running on? I know some of the OpenJDK stuff needs to have the OpenGL manually inserted into the startup scripts, and this was causing crashes on some systems so it was removed.

Skilgannon (talk)06:20, 18 November 2013

I am running Linux debian stable. Is it possible to put OpenGL back via config file edits or similar?

Beaming (talk)07:12, 18 November 2013

If you copy the robocode.sh file from 1.7.3.0 it should have the opengl arguments in it.

Skilgannon (talk)07:25, 18 November 2013

it seems that these files are identical

#!/bin/sh
pwd=`pwd`
cd "${0%/*}"
java -Xmx512M -cp libs/robocode.jar robocode.Robocode $*
cd "${pwd}"

so it something else

Beaming (talk)15:16, 18 November 2013

Check here and here. It seems that the openGL was used in 1.7.4.0, not 1.7.3.0.

Skilgannon (talk)17:45, 18 November 2013

Thanks a lot for the hint. Running robocode as

java -Xmx512M -Dsun.java2d.opengl=True -cp libs/robocode.jar robocode.Robocode $*

boosted FPS to reasonable 30. But it strange that old client which does not have this line still outperform new one in term of FPS.

Also correction it was not robocode v1.7.3 it is rumble-1.7.3.0 but I guess it based on the same version of robocode.

Beaming (talk)05:50, 19 November 2013