<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Andreas,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’d start by disabling v-sync by passing a traits object with vsync off when creating the graphics window. With such a simple scene, it’s pretty much guaranteed that you’re seeing that framerate because it’s being limited to your monitor’s refresh rate.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Chris</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>From: </b><a href="mailto:andreas.ekstrand@remograph.com">Andreas Ekstrand</a><br><b>Sent: </b>13 August 2020 12:32<br><b>To: </b><a href="mailto:osg-users@googlegroups.com">osg-users</a><br><b>Subject: </b>[osg-users] Long draw</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br><br>It's been a while since I tested rendering performance on my development machine and now I'm experiencing something vaguely familiar and quite annoying. Even with a very simple model, the statistics feature ('s') in the osgviewer application (3.6.4) reports a draw process taking over 16ms so that the rendering just barely makes it at 60Hz, see the attached screenshot. Sometimes it drops down to a short draw after a while, for no apparent reason, but more often it stays this long.<br><br>This makes me doubt any further performance investigations, now knowing whether additional operations in a frame will make draw go over the 16.7ms limit or not.<br><br>I vaguely recognize this from way back but I can't remember the cause, and I can't find anything about it in previous osg-users discussions. It feels like it's waiting for buffer swapping or something, and I wouldn't be surprised if it's something obvious that I should know. Maybe it's just the statistics reporting incorrectly? Does anyone recognize this and do you have any suggestions? It works on my older laptop but not on two of my desktop computers. My config below:<br><br>Intel i7-4790K 4GHz<br>16 GB RAM<br>GeForce GTX 970 with latest 451.67 drivers<br>Win10 Home<br>OSG 3.6.4<br><br>Regards,<br>Andreas<o:p></o:p></p><p class=MsoNormal>-- <br>You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/788314dd-f856-d1b5-b1ba-865789bd6655%40remograph.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/788314dd-f856-d1b5-b1ba-865789bd6655%40remograph.com</a>.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/ADE264FD-4596-41EE-A0C9-8FAFB645FCDF%40hxcore.ol?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/ADE264FD-4596-41EE-A0C9-8FAFB645FCDF%40hxcore.ol</a>.<br />