Re: Battles are running at 0-3 fps
Keynõan _ <[email protected]> Tue, 20 Aug 2024 17:11:46 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_55364_748759698.1724199106184 Content-Type: multipart/alternative; boundary="----=_Part_55365_1339474195.1724199106184" ------=_Part_55365_1339474195.1724199106184 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Im having this same problem, my pc has a i7, 16gb Ram and RTX3060, and=20 continue rendering the game in 0-3 fps Em ter=C3=A7a-feira, 15 de agosto de 2023 =C3=A0s 08:52:09 UTC-3, Blah doo = blah=20 escreveu: > Thanks, I'll try that. > > On Saturday, August 12, 2023 at 11:05:58=E2=80=AFPM UTC+1 fnl wrote: > >> Robocode is definitely running faster than ever when it comes to both CP= U=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=20 >> should be able to 1000 and even more FPS without any problem with a mode= rn=20 >> PC. >> >> Robocode is using Java 2D that typically use either Direct Draw or Open= =20 >> GL 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= =20 >> you 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-renderin= g-and-properties.htm#JSTGD436 >> >> You can make a copy of the java2d.bat, and replace the settings/options= =20 >> in 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= =20 >> are 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 3= D=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= =20 >>> to 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 tha= t I=20 >>> am getting at least 100 fps on most modern games and my pc isn't under = any=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/4cc5c5dd-29ef-4ec8-a464-4d86f1a7efb7n%40googlegroups.com. ------=_Part_55365_1339474195.1724199106184 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Im having this same problem, my pc has a i7, 16gb Ram and RTX3060, and cont= inue rendering the game in 0-3 fps<br /><br /><div class=3D"gmail_quote"><d= iv dir=3D"auto" class=3D"gmail_attr">Em ter=C3=A7a-feira, 15 de agosto de 2= 023 =C3=A0s 08:52:09 UTC-3, Blah doo blah escreveu:<br/></div><blockquote c= lass=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid r= gb(204, 204, 204); padding-left: 1ex;">Thanks, I'll try that.<br><br><d= iv class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Saturday= , August 12, 2023 at 11:05:58=E2=80=AFPM UTC+1 fnl wrote:<br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0 0 0 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex">Robocode is definitely running faster t= han ever when it comes to both CPU power and also 2D capabilities delivered= through OpenGL or Direct Draw.<br>I haven't received any reports latel= y about a low FPS like that. You should be able to 1000 and even more FPS w= ithout any problem with a modern PC.<div><br></div><div>Robocode is using J= ava 2D that typically use either Direct 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 with some default settings that you can chan= ge yourself.</div><div><br></div><div>On the newest version of Robocode you= 'll find a Java2d.bat file, where you can change the settings as you wi= sh.<br>And you should have a look at the Java 2D Pipeline Renderings option= s to figure out which ones that are optimal for your system here:<br><br></= div><div><a href=3D"https://docs.oracle.com/javase/10/troubleshoot/java-2d-= pipeline-rendering-and-properties.htm#JSTGD436" rel=3D"nofollow" target=3D"= _blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dpt&q=3D= https://docs.oracle.com/javase/10/troubleshoot/java-2d-pipeline-rendering-a= nd-properties.htm%23JSTGD436&source=3Dgmail&ust=3D1724285157944000&= amp;usg=3DAOvVaw3yWl8PMn85OaNFPYVKSU7L">https://docs.oracle.com/javase/10/t= roubleshoot/java-2d-pipeline-rendering-and-properties.htm#JSTGD436</a></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 works best for = your system.<br>Most PC users have Direct 3D/Draw on their system. Hence th= ese options are set:<br><br><span style=3D"color:rgb(0,0,0);font-family:men= lo,monaco,"Courier New",Courier,mono,serif;font-size:13px">set J2= D_D3D=3Dtrue</span><br></div><div>You could try to set this to false to dis= able Direct3D, and use the GDI pipeline instead.<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.j= ava2d.opengl=3Dtrue</span><br><br>At the end of the day, the settings depen= d 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 fo= r Robocode.<br><br>Best regards,</div><div>- Flemming<br><br></div><div cla= ss=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">l=C3=B8rdag den 1= 2. august 2023 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 rg= b(204,204,204);padding-left:1ex">Just redownloaded robocode for the first t= ime in years, and when I try to run a battle with sample bots it's runn= ing 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 game= s and my pc isn't under any strain at all from robocode, so it doesn= 9;t seem to be using anything</blockquote></div></blockquote></div></blockq= uote></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/4cc5c5dd-29ef-4ec8-a464-4d86f1a7efb7n%40googlegroups.co= m?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid= /robocode/4cc5c5dd-29ef-4ec8-a464-4d86f1a7efb7n%40googlegroups.com</a>.<br = /> ------=_Part_55365_1339474195.1724199106184-- ------=_Part_55364_748759698.1724199106184--