Re: Battles are running at 0-3 fps
fnl <[email protected]> Sat, 12 Aug 2023 15:05:58 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_14001_1513878485.1691877958818 Content-Type: multipart/alternative; boundary="----=_Part_14002_965829907.1691877958818" ------=_Part_14002_965829907.1691877958818 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Robocode is definitely running faster than ever when it comes to both CPU= =20 power and also 2D capabilities delivered through OpenGL or Direct Draw. I haven't received any reports lately about a low FPS like that. You should= =20 be able to 1000 and even more FPS without any problem with a modern PC. Robocode is using Java 2D that typically use either Direct Draw or Open GL= =20 on a Windows-based PC (you did not write anything about your system). Robocode does not set up anything special but comes with some default=20 settings that you can change yourself. On the newest version of Robocode you'll find a Java2d.bat file, where you= =20 can change the settings as you wish. And you should have a look at the Java 2D Pipeline Renderings options to=20 figure out which ones that are optimal for your system here: https://docs.oracle.com/javase/10/troubleshoot/java-2d-pipeline-rendering-a= nd-properties.htm#JSTGD436 You can make a copy of the java2d.bat, and replace the settings/options in= =20 the java2d.bat as you want to see what works best for your system. Most PC users have Direct 3D/Draw on their system. Hence these options are= =20 set: set J2D_D3D=3Dtrue You could try to set this to false to disable Direct3D, and use the GDI=20 pipeline instead. You could also try to enable the OpenGL pipeline instead of the Direct 3D= =20 one by this option: set sun.java2d.opengl=3Dtrue At the end of the day, the settings depend on your operating system, and=20 also graphics card (or lack of one). I hope you'll figure out what cause the extreme lack on your system for=20 Robocode. Best regards, - Flemming l=C3=B8rdag den 12. august 2023 kl. 23.41.36 UTC+2 skrev Blah doo blah: > Just redownloaded robocode for the first time in years, and when I try to= =20 > run a battle with sample bots it's running at 0-3 fps which is not=20 > watchable at all. Is there any fixes for this. My PC is good enough that = I=20 > am getting at least 100 fps on most modern games and my pc isn't under an= y=20 > strain at all from robocode, so it doesn't seem to be using anything --=20 You received this message because you are subscribed to the Google Groups "= Robocode" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/= robocode/c1b1cac8-8a5c-4717-8178-939e390ba42en%40googlegroups.com. ------=_Part_14002_965829907.1691877958818 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Robocode is definitely running faster than ever when it comes to both CPU p= ower and also 2D capabilities delivered through OpenGL or Direct Draw.<br /= >I haven't received any reports lately about a low FPS like that. You shoul= d be able to 1000 and even more FPS without any problem with a modern PC.<d= iv><br /></div><div>Robocode is using Java 2D that typically use either Dir= ect Draw or Open GL on a Windows-based PC (you did not write anything about= your system).<br />Robocode does not set up anything special but comes wit= h some default settings that you can change yourself.</div><div><br /></div= ><div>On the newest version of Robocode you'll find a Java2d.bat file, wher= e you can change the settings as you wish.<br />And you should have a look = at the Java 2D Pipeline Renderings options to figure out which ones that ar= e optimal for your system here:<br /><br /></div><div>https://docs.oracle.c= om/javase/10/troubleshoot/java-2d-pipeline-rendering-and-properties.htm#JST= GD436</div><div><br /></div><div>You can make a copy of the java2d.bat, and= replace the settings/options in the java2d.bat as you want to see what wor= ks best for your system.<br />Most PC users have Direct 3D/Draw on their sy= stem. Hence these options are set:<br /><br /><span style=3D"color: rgb(0, = 0, 0); font-family: menlo, monaco, "Courier New", Courier, mono, = serif; font-size: 13px;">set J2D_D3D=3Dtrue</span><br /></div><div>You coul= d try to set this to false to disable Direct3D, and use the GDI pipeline in= stead.<br /><br />You could also try to enable the OpenGL pipeline instead = of the Direct 3D one by this option:</div><div><br /></div><div><span style= =3D"color: rgb(0, 0, 0); font-family: menlo, monaco, "Courier New"= ;, Courier, mono, serif; font-size: 13px;">set sun.java2d.opengl=3Dtrue</sp= an><br /><br />At the end of the day, the settings depend on your operating= system, and also graphics card (or lack of one).<br /><br />I hope you'll = figure out what cause the extreme lack on your system for Robocode.<br /><b= r />Best regards,</div><div>- Flemming<br /><br /></div><div class=3D"gmail= _quote"><div dir=3D"auto" class=3D"gmail_attr">l=C3=B8rdag den 12. august 2= 023 kl. 23.41.36 UTC+2 skrev Blah doo blah:<br/></div><blockquote class=3D"= gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, = 204, 204); padding-left: 1ex;">Just redownloaded robocode for the first tim= e in years, and when I try to run a battle with sample bots it's runnin= g at 0-3 fps which is not watchable at all. Is there any fixes for this. My= PC is good enough that I am getting at least 100 fps on most modern games = and my pc isn't under any strain at all from robocode, so it doesn'= t seem to be using anything</blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Robocode" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">robocode+u= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/robocode/c1b1cac8-8a5c-4717-8178-939e390ba42en%40googlegroups.co= m?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid= /robocode/c1b1cac8-8a5c-4717-8178-939e390ba42en%40googlegroups.com</a>.<br = /> ------=_Part_14002_965829907.1691877958818-- ------=_Part_14001_1513878485.1691877958818--