Hi David, I don't have any answers, the best I can do is suggest tests that might help shed some light on the issue.
Have you tested with various viewer threading models? Robert. On 3 October 2013 16:04, Heitbrink, David A <[email protected]> wrote: > I have been having problems using swap groups. I am running on a windows 7 > machine, and have 2 Quadro K5000 cards with sync card, set to use an house > sync @ 60 Hz. The sample code I have from NVidia does seem to work fine. > > > > The problem I am having is I get a hang on the windows swap buffer call. I > am using OSG 3.2. I have modified the composite viewer example to add the > following code: > > > > > > osg::ref_ptr<osg::GraphicsContext::Traits> traits = new > osg::GraphicsContext::Traits; > > traits->x = 100; > > traits->y = 100; > > traits->width = 1000; > > traits->height = 800; > > traits->windowDecoration = true; > > traits->doubleBuffer = true; > > traits->sharedContext = 0; > > traits->swapGroup = 1; > > traits->swapGroupEnabled = 1; > > osg::ref_ptr<osg::GraphicsContext> gc = > osg::GraphicsContext::createGraphicsContext(traits.get()); > > > > @ around line 220. > > > > Any advice on this matter would be greatly appreciated, even vague guesses > as to the cause. > > > > Also with tracing through the code I did notice the NVidia example does use > wglQueryFrameCountNV, and wglResetFrameCountNV, and OSG does not. I also > noticed that if setup their sample program to use wglResetFrameCountNV, but > never call wglQueryFrameCountNV, I get a hang similar to what I see with > using OSG. I have modified OSG to use wglResetFrameCountNV and > wglQueryFrameCountNV and still get the problem. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

