On Mon, Oct 19, 2009 at 11:29:32AM +0000, Linares Antonin wrote: > Hi, > > I actually use 2 osg::viewer embedded in a Qt window, when i enable the > sync to vblanc in nvidia-setting my 2 viewers work's to 30 fps while my > refresh rate is 60 htz. (and 3 viewers work's to 20fps ...) > Did anybody already experiment this issue ? > Maybe it's a driver bug, i use osg 2.8.0 with nvidia 180.29 under linux > RHEL 5. > > Thanks you all.
What if you run osgviewer cessna.osg one, two, or three times? I would expect the same 60Hz, 30Hz, 20Hz. In my experience it is graphics card and driver dependent. I'm running an nVidia Quadro FX 3700 with driver 185.18.14 and the multiple osgviewers will each run at 60Hz, but beyond one it isn't always vertical synced as I can see tearing. I'm guessing the logic, but it seems that swap buffers doesn't return until the swap happens, or the swap happend for the previous swap buffers on that context. You could try multithreading your swap buffers calls, that way all threads are waiting for the swap to happen instead of one thread serially waiting on each context to swap. -- David Fries <da...@fries.net> http://fries.net/~david/ (PGP encryption key available) _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org