Wojciech Lewandowski wrote:
Thanks, a lot
Red frame should never happen. I change flag color to red at the
begining of update callback and change it to green at the end of this
callback. You have seen red then you just confirmed that there is a
bug in OSG or OpenThreads. And update callback might get called at the
same time as GL compile visitor traverses the same node. If this is
not OpenThreads but OSG issue it may also happen in other OSes.
Can anyone check it under Linux or Apple ?
When I run your modified osgprerender example the red flag is shown the
first second, after that it turns to green and stays that way. This is
on a dual-core Linux system with nVidia hardware using the default
threading model. If I set the threading model to single threaded (using
the OSG_THREADING env. variable) the flag is green from the start.
Paul
Hi Wojtek,
As far as I know you did not see this under Vista. This particular
bug shows only in XP.
Indeed, you remember correctly.
Btw. Can you check another piece of code ie: my modified prerender
bug repro ? This might be related to threading handler problems you
reported. I have posted it on 24-04-2008.
http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/26960/match=conditionUpdateCallbackvsGLCompileObjectVisitor
Yep, I see the red flag too a the start, then it goes green (after a
black flash on the screen). If I change the threading mode ('m'), I
see the red flag, then it turns green, then the plane stops spinning
(but the example doesn't crash, and I can't get a good stack trace of
where it stops).
Weird. Anything else I can do to help?
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org