Re: Battles are running at 0-3 fps

Blah doo blah <[email protected]> Mon, 14 Aug 2023 16:33:38 -0700 (PDT)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
------=_Part_498_618564575.1692056018957
Content-Type: multipart/alternative; 
	boundary="----=_Part_499_438198943.1692056018957"

------=_Part_499_438198943.1692056018957
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 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=20
> should be able to 1000 and even more FPS without any problem with a moder=
n=20
> PC.
>
> Robocode is using Java 2D that typically use either Direct Draw or Open G=
L=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 yo=
u=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=
-and-properties.htm#JSTGD436
>
> You can make a copy of the java2d.bat, and replace the settings/options i=
n=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 ar=
e=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 t=
o=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 a=
ny=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/4bee21e1-5e22-4eb9-ae44-5688ba88916bn%40googlegroups.com.

------=_Part_499_438198943.1692056018957
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks, I'll try that.<br /><br /><div class=3D"gmail_quote"><div dir=3D"au=
to" class=3D"gmail_attr">On Saturday, August 12, 2023 at 11:05:58=E2=80=AFP=
M UTC+1 fnl wrote:<br/></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: =
1ex;">Robocode is definitely running faster than ever when it comes to both=
 CPU power and also 2D capabilities delivered through OpenGL or Direct Draw=
.<br>I haven&#39;t received any reports lately about a low FPS like that. Y=
ou should be able to 1000 and even more FPS without any problem with a mode=
rn PC.<div><br></div><div>Robocode is using Java 2D that typically use eith=
er 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 change yourself.</div><div><br></d=
iv><div>On the newest version of Robocode you&#39;ll find a Java2d.bat file=
, where you can change the settings as you wish.<br>And you should have a l=
ook at the Java 2D Pipeline Renderings options to figure out which ones tha=
t are optimal for your system here:<br><br></div><div><a href=3D"https://do=
cs.oracle.com/javase/10/troubleshoot/java-2d-pipeline-rendering-and-propert=
ies.htm#JSTGD436" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=
=3D"https://www.google.com/url?hl=3Den&amp;q=3Dhttps://docs.oracle.com/java=
se/10/troubleshoot/java-2d-pipeline-rendering-and-properties.htm%23JSTGD436=
&amp;source=3Dgmail&amp;ust=3D1692142390229000&amp;usg=3DAOvVaw1fwymw3xRIOZ=
65_4tvAazO">https://docs.oracle.com/javase/10/troubleshoot/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 jav=
a2d.bat as you want to see what works best for your system.<br>Most PC user=
s have Direct 3D/Draw on their system. Hence these options are set:<br><br>=
<span style=3D"color:rgb(0,0,0);font-family:menlo,monaco,&quot;Courier New&=
quot;,Courier,mono,serif;font-size:13px">set J2D_D3D=3Dtrue</span><br></div=
><div>You could try to set this to false to disable Direct3D, and use the G=
DI pipeline instead.<br><br>You could also try to enable the OpenGL pipelin=
e instead of the Direct 3D one by this option:</div><div><br></div><div><sp=
an style=3D"color:rgb(0,0,0);font-family:menlo,monaco,&quot;Courier New&quo=
t;,Courier,mono,serif;font-size:13px">set sun.java2d.opengl=3Dtrue</span><b=
r><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&#39;ll figure ou=
t what cause the extreme lack on your system for Robocode.<br><br>Best rega=
rds,</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 2023 kl. 23.41.36=
 UTC+2 skrev Blah doo blah:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">Just redownloaded robocode for the first time in years, and when I tr=
y to run a battle with sample bots it&#39;s running 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&#39;t under=
 any strain at all from robocode, so it doesn&#39;t seem to be using anythi=
ng</blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Robocode&quot; 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/4bee21e1-5e22-4eb9-ae44-5688ba88916bn%40googlegroups.co=
m?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid=
/robocode/4bee21e1-5e22-4eb9-ae44-5688ba88916bn%40googlegroups.com</a>.<br =
/>

------=_Part_499_438198943.1692056018957--

------=_Part_498_618564575.1692056018957--