Hi Brede,

The slow down in performance could be down to either the OSG or
OpenGL.  When stats is enabled the OSG, on hardware that supports it,
will put timing tokens into the OpenGL fifo to collect GPU stats -
this is used in the orange GPU text and bars.

The OSG' collection of stats itself isn't multi-threaded, except when
you have multiple graphics windows active, and the granulatity of the
threading is simply the same as normal rendering.

The enabling of multi-core might be leading to the OSG using
DrawThreadPerContext rather than SingleThreaded on you machine, so
this could be a potention change.  Try forcing SingleThreaded then try
the stats.  I don't think this will make any difference but it would
at least tick on possibility off the list.

My best guess right now is that this bug is an NVidia driver bug in
collecting GPU stats + running with running dual core.

Robert.

On 8/20/07, Brede Johansen <[EMAIL PROTECTED]> wrote:
> Robert,
>
> Yes the continuous drop in framerate only happens when the bar graph stats
> are active.  The help screen doesn't have this problem.  One interesting
> thing is that when I remove the stats the framerate is back to normal and
> when the stats are enabled again the drop continues from where it was last
> time stats where active!
>
> I found out that disabling one of the two cores in the BIOS settings I was
> no longer able to reproduce the drop in framerate.
>
> I do have some problems with BSOD when running OSG applications with both
> cores enabled so it might be an indication of a driver issue.
>
> Regards,
> Brede
>
>
>
>
> On 8/19/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
> > Hi Brede,
> >
> > Does the onscreen help cause the same performance slow down, or is it
> > just stats.  The difference being that help is static text, and stats
> > is being dynamically update.  The cost should be pretty negligible
> > though - the stats scene graph is trivial in size.
> >
> > With the stats I have found that text is relatively slow to update,
> > suggesting a need for a rewrite of osgText further down the line,
> > but.. the currently implementation should not go leaking like you have
> > found, this suggest another problem all togther.
> >
> > Robert.
> >
> > On 8/18/07, Brede Johansen <[EMAIL PROTECTED] > wrote:
> > > Jan and Robert,
> > >
> > > This happens with the latest ForceWare release 162.18.
> > > osgviewer from SVN.
> > > I have two screens attached to a 8800GTX and one screen attached to a
> > > 8600GS.  I know the GS isn't the best but I had  a spare slot  and a
> spare
> > > screen so I had to try. The CPU is a Core 2 Duo.
> > >
> > > Brede
> > >
> > >
> > >
> > > On 8/18/07, Jan Ciger <[EMAIL PROTECTED]> wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Brede Johansen wrote:
> > > > > Hi Jan,
> > > > >
> > > > > The framerate continues to drop so if it starts at 60Hz it slowly
> drops
> > > and
> > > > > reaches 30Hz after aproximatly 20 seconds.  It is not a one time
> drop
> > > due to
> > > > > the HUD.  This happens in SingleThreaded mode with a very simple
> model.
> > > > >
> > > > > Brede
> > > > >
> > > >
> > > > If this is happening with a standalone viewer, then this indeed looks
> > > > like a driver bug. I do not see this behaviour on a GeForce nor ATI
> > > > hardware.
> > > >
> > > > Jan
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.4.7 (GNU/Linux)
> > > > Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
> > > >
> > > >
> > >
> iD8DBQFGxylsn11XseNj94gRAu7vAJ9yASBA0Nfy1YV30Cdou9w2RmcbogCg6wq/
> > > > Y4cDyO3QqkydYX/uLkqXQm0=
> > > > =p5qa
> > > > -----END PGP SIGNATURE-----
> > > > _______________________________________________
> > > > osg-users mailing list
> > > > osg-users@lists.openscenegraph.org
> > > >
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > > >
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users@lists.openscenegraph.org
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to