Slow Debug Graphics

Jump to navigation Jump to search
Revision as of 25 July 2018 at 13:18.
The highlighted comment was created in this revision.

Slow Debug Graphics

I sometimes open other robots' debug graphics just to see how they work, if I have some wrong calculations or just for fun but robots such as Knight, SleepSiphon and DrussGT have really really slow graphics on my computer even if it doesn't seem like they draw too much. Is it a problem with my robocode settings(I both tried with DEFAULT and SPEED) or is it just the bots which draw really slow.

    Dsekercioglu (talk)12:40, 24 July 2018

    I’m working on a robocode version that uses hardware acceleration for graphics. Otherwise painting is calculated by CPU and is expected to be slow. Anyway, both DrussGT and Knight runs smoothly on my machine. I just can’t turn on anti-smooth which takes forever to render one tick.

      Xor (talk)18:58, 24 July 2018

      Mine is setup for speed version and I tried single, double and triple buffering and I am pretty sure that my machine is not the slowest one(3.1 Ghz CPU but yours is probably a lot faster). It is probably because of the text they are rendering.

        Dsekercioglu (talk)19:10, 24 July 2018

        I have a really poor machine and they still run smoothly here. Things get laggy only when in melee.

          Rsalesc (talk)04:11, 25 July 2018
          Thanks for the response, I generally have NetBeans running when I am testing my robots but I just tried it without NetBeans and it is still running with about 5 FPS.
          One thing I have noticed is that low FPS only happens when a bot is rendering text. In any case, can you send me your rendering options?
          Maybe just our understanding of "running smoothly" is different.=)
            Dsekercioglu (talk)09:58, 25 July 2018
             
             

            That's really cool actually. Please keep sharing your progress on this, and you if give up on it share what you got with us, maybe we can get our hands dirty too. :)

              Rsalesc (talk)13:26, 25 July 2018
               

              Your openGL might be disabled by default. Have a look at the end of Thread:Talk:EvBot/Did any one noticed the FPS drop in robocode 1.7.3.0? discussion.

              This is what I have to do on my Linux machines to get decent FPS.

                Beaming (talk)15:18, 25 July 2018