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

Jump to navigation Jump to search
Revision as of 18 November 2013 at 16:45.
The highlighted comment was created in this revision.

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

I see that my FPS is much smaller for robocode newer than 1.7.3.0. It is actually as slow as 15 FPS, while in robocode v1.7.3.0 on the same machine I was getting close to 50FPS. This make graphical debug quite painful, and forces me to use old robocode 1.7.3.0 which is suboptimal, since rumbles run with 1.8.2 and 1.8.3.

    Beaming (talk)19:39, 17 November 2013

    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)07: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)08: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)08: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)16: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)18:45, 18 November 2013