[osg-users] Significant drop in frame rate when updating from OSG 3.2.1 to 3.4.0

Werner Modenbach Werner.Modenbach at texion.eu
Tue Mar 28 08:24:07 PDT 2017


Hi Robert,

I have done 1 week of testing now on the dramatic performance issue.
As I said, when linking my program against osg 3.2.1 I get 60 fps
and linking the program without any change against version 3.4.0 I get 
2.5 fps.
Exporting my scene and running it in your viewer in 3.4.0 also has 60 fps.
So the problem is somewhere in the settings of my software. :-(
I used 2 different tools for profiling and both tell me that about 95% 
of the
running time is done in nvoglv64.dll. One of the tool tells me it is 
mainly the
function "DrvPresentBuffers" but I'm not sure if this is reliable.

I know it is actually not your duty giving help here but you are very
familiar with the driver calls and it would help a lot if you can provide
an idea what kind of setting might cause this issue.

Many thanks in advance

- Werner -

Am 20.03.2017 um 18:08 schrieb Robert Osfield:
> Hi Werner,
>
> Hopefully others will be able to chip in as I don't have a answer 
> right now, it's certainly very odd.  If it were a general problem then 
> we'd seen lots of issue with it being reported.
>
> With this level of slow down it's almost like your'e invoking a 
> software renderer when running with 3.4.0.
>
> My next thought is that perhaps an OpenGL error is being invoked 
> somehow. Are there any errors being reported to the console?
>
> What happens with the standard OSG example set?  Does osgviewer run 
> any differently with models you have on the two versions.
>
> Robert.
>
>
>
> On 20 March 2017 at 15:29, Werner Modenbach 
> <Werner.Modenbach at texion.eu <mailto:Werner.Modenbach at texion.eu>> wrote:
>
>     Hi Robert,
>
>     I updated my project from version 3.2.1 to 3.4.0.
>     I'm on Window 7 Pro.
>     Unfortunately the frame rate dropped significantly from 60 fps to
>     2.x fps.
>     I verified it several times by just linking to the 2 versions
>     without any change of my code.
>     Please see the 2 screen shots with the stats output.
>
>     Do you have any idea what might be the reason for it or how I can
>     do further analysis?
>
>     Thanks for any idea.
>
>     - Werner -
>
>     Ich habe 2 zu dieser E-Mail gehörende Dateien hochgeladen:
>     OSG 3.4.0.png
>     <https://www.hightail.com/download/dDZFdFdRMm1veE5vZE1UQw>(727
>     KB)Hightail
>     <https://www.hightail.com>https://www.hightail.com/download/dDZFdFdRMm1veE5vZE1UQw
>     <https://www.hightail.com/download/dDZFdFdRMm1veE5vZE1UQw>
>     OSG 3.2.1.png
>     <https://www.hightail.com/download/dDZFdFdRMm1veE5jR01UQw>(628
>     KB)Hightail
>     <https://www.hightail.com>https://www.hightail.com/download/dDZFdFdRMm1veE5jR01UQw
>     <https://www.hightail.com/download/dDZFdFdRMm1veE5jR01UQw>
>     Mozilla Thunderbird <http://www.getthunderbird.com> macht es
>     einfach, große Dateien über E-Mails zu teilen.
>
>
>     _______________________________________________
>     osg-users mailing list
>     osg-users at lists.openscenegraph.org
>     <mailto:osg-users at lists.openscenegraph.org>
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>     <http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170328/3ba4a6d7/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 641 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170328/3ba4a6d7/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 403 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170328/3ba4a6d7/attachment-0007.png>


More information about the osg-users mailing list