I'm not sure about vysync. I'll look that up and check it.

I thought about the possibility of it being a debug build and I don't think
that's it. In my bin directory I have osgviewer.exe at 25,600 bytes and
osgviewerd.exe at 81,920 bytes. Both executables give me the same CPU
pegging behavior (as observed by SysInternals Process Explorer).

My command line is "osgviewer.exe --window 100 100 200 200 cessna.osg". My
video card is an ATI FireGL V7700 and the drivers are up to date.

Ah- I just noticed something-- an error message:
Windows Error #127: [Screen #0] ChooseMatchingPixelFormat() -
wglChoosePixelFormatARB extension not found, trying GDI. Reason: The
specified procedure could not be found.

I'm running over remote desktop right now, so perhaps that's related. I
don't recall seeing this error message before.

Cory

On Sat, Jan 31, 2009 at 3:54 AM, Robert Osfield <robert.osfi...@gmail.com>wrote:

> Hi Cory,
>
> It's not normal to have this high level of CPU usage for this model,
> the expceptions to this would be:
>
>    You have vysync switched off, so the app is racing as fast it can
> to dispatch frames
>    You've compiled the OSG with debug build.
>
> Robert.
>
> On Fri, Jan 30, 2009 at 8:36 PM, Cory Riddell <c...@codeware.com> wrote:
> > When I run the osg viewer app and load just about any osg file (like
> > cesna.osg), my CPU usage is a constant 23% - 30%. This is with no
> > interaction, it is basically using an entire CPU core. Fortunatelly I
> have a
> > 4 core machine, so it hasn't been a problem so far, but I'm wondering
> what
> > this means for single core machines (which most of our customers have).
> >
> > Is this typical?
> >
> > Cory
> >
> > _______________________________________________
> > 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