SLI AFR does not worth with most of the example apps either...If I turn on the stats with the "s" key, AFR SLI kicks in. I see this is happening on Version 1.0 and the latest sourcecode... This I guess goes in hand with my original question, which is why would calling glviewport directly fix the SLI issue (or at least hide the issue).
Turn on SLI AFR or AFR2 and showing the work load green bars. Start up the viewier and drop in a model... no sli. Turn on stats, SLI! Turn off stats, NO sli. Startup on something like osgspacewarp, SLI kick in and out randomly..(You see large amounts stepping) ..Anyways, this same behavior happens on all our SLI systems. With both older and newer SLI drivers. Using a standard GLUT app, sli has no issues at all, so I'm not sure what is going on with osg. It does not seem to be osgProducer causing the issue, but something with OSG's core setting up a bad state or messing with the viewport...tbd. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Sent: Saturday, June 24, 2006 9:35 AM To: 'osg users' Subject: RE: [osg-users] only 1 processor and SLI issue Not sure if the group knows, but I started doing a build from the latest CVS for the threading improvements... osgkeyboardmouse has link errors. I don't follow OSG as much as this might already be known.??.. osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall osgGA::EventVisitor::getEventHandled(void)const " ([EMAIL PROTECTED]@osgGA@@QBE_NXZ) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventVisitor::addEvent(class osgGA::GUIEventAdapter *)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@Z) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall osgGA::EventQueue::takeEvents(class std::list<class osg::ref_ptr<class osgGA::GUIEventAdapter>,class std::allocator<class osg::ref_ptr<class osgGA::GUIEventAdapter> > > &)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@VGUIEventAdap [EMAIL PROTECTED]@@@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@osg@@@std@ @@std@@@Z) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::frame(double)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class osgGA::GUIEventAdapter * __thiscall osgGA::EventQueue::createEvent(void)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@XZ) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::GUIEventAdapter::setWindowSize(float,float,float,float)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class osgGA::GUIEventAdapter * __thiscall osgGA::EventQueue::getCurrentEventState(void)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@XZ) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::setStartTick(__int64)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgGA::EventVisitor::EventVisitor(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgGA::StateSetManipulator::StateSetManipulator(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgGA::TrackballManipulator::TrackballManipulator(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgGA::EventQueue::EventQueue(enum osgGA::GUIEventAdapter::MouseYOrientation)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z) referenced in function _main osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::keyPress(enum osgGA::GUIEventAdapter::KeySymbol)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@2@@Z) referenced in function "public: virtual void __thiscall MyKeyboardMouseCallback::specialKeyPress(enum Producer::KeyCharacter)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::keyRelease(enum osgGA::GUIEventAdapter::KeySymbol)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@2@@Z) referenced in function "public: virtual void __thiscall MyKeyboardMouseCallback::specialKeyRelease(enum Producer::KeyCharacter)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::mouseMotion(float,float)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function "public: virtual void __thiscall MyKeyboardMouseCallback::mouseMotion(float,float)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::mouseButtonPress(float,float,unsigned int)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function "public: virtual void __thiscall MyKeyboardMouseCallback::buttonPress(float,float,unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::mouseButtonRelease(float,float,unsigned int)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]) referenced in function "public: virtual void __thiscall MyKeyboardMouseCallback::buttonRelease(float,float,unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall osgGA::GUIEventHandler::~GUIEventHandler(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function __unwindfunclet$??0PickHandler@@[EMAIL PROTECTED]@osgUtil@@@Z$0 osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgGA::GUIEventHandler::GUIEventHandler(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: __thiscall PickHandler::PickHandler(class osgUtil::SceneView *)" (??0PickHandler@@[EMAIL PROTECTED]@osgUtil@@@Z) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgGA::GUIEventHandler::operator()(class osg::Node *,class osg::NodeVisitor *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual class osgGA::CompositeGUIEventHandler * __thiscall osgGA::GUIEventHandler::getComposite(void)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@XZ) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual class osgGA::CompositeGUIEventHandler const * __thiscall osgGA::GUIEventHandler::getComposite(void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@XZ) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgGA::GUIEventHandler::handle(class osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &,class osg::Object *,class osg::NodeVisitor *)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@AAVGUIActionAdapte [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgGA::GUIEventHandler::accept(class osgGA::GUIEventHandlerVisitor &)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@Z) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgGA::GUIEventHandler::getUsage(class osg::ApplicationUsage &)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@@Z) osgkeyboardmouse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgGA::GUIEventHandler::event(class osg::NodeVisitor *,class osg::Drawable *)" ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall osgGA::GUIEventAdapter::getY(void)const " ([EMAIL PROTECTED]@osgGA@@QBEMXZ) referenced in function "public: virtual bool __thiscall PickHandler::handle(class osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@ Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall osgGA::GUIEventAdapter::getX(void)const " ([EMAIL PROTECTED]@osgGA@@QBEMXZ) referenced in function "public: virtual bool __thiscall PickHandler::handle(class osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@ Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall osgGA::GUIEventAdapter::getYnormalized(void)const " ([EMAIL PROTECTED]@osgGA@@QBEMXZ) referenced in function "public: void __thiscall PickHandler::pick(class osgGA::GUIEventAdapter const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall osgGA::GUIEventAdapter::getXnormalized(void)const " ([EMAIL PROTECTED]@osgGA@@QBEMXZ) referenced in function "public: void __thiscall PickHandler::pick(class osgGA::GUIEventAdapter const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall osgGA::EventQueue::~EventQueue(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "protected: virtual void * __thiscall osgGA::EventQueue::`scalar deleting destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventVisitor::`vbase destructor'(void)" ([EMAIL PROTECTED]@@QAEXXZ) referenced in function "public: virtual void * __thiscall osgGA::EventVisitor::`scalar deleting destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osgGA::GUIEventHandler::clone(class osg::CopyOp const &)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) referenced in function "[thunk]:public: virtual class osg::Object * __thiscall osgGA::GUIEventHandler::clone`vtordisp{4294967292,16}' (class osg::CopyOp const &)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::StateSetManipulator::`vbase destructor'(void)" ([EMAIL PROTECTED]@@QAEXXZ) referenced in function "public: virtual void * __thiscall osgGA::StateSetManipulator::`scalar deleting destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osgGA::GUIEventHandler::className(void)const " ([EMAIL PROTECTED]@osgGA@@UBEPBDXZ) referenced in function "[thunk]:public: virtual char const * __thiscall osgGA::GUIEventHandler::className`vtordisp{4294967292,16}' (void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@BEPBDXZ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osgGA::TrackballManipulator::className(void)const " ([EMAIL PROTECTED]@osgGA@@UBEPBDXZ) referenced in function "[thunk]:public: virtual char const * __thiscall osgGA::TrackballManipulator::className`vtordisp{4294967292,0}' (void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@BEPBDXZ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osgGA::GUIEventHandler::isSameKindAs(class osg::Object const *)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@@Z) referenced in function "[thunk]:public: virtual bool __thiscall osgGA::GUIEventHandler::isSameKindAs`vtordisp{4294967292,212}' (class osg::Object const *)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@Z) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osgGA::GUIEventHandler::libraryName(void)const " ([EMAIL PROTECTED]@osgGA@@UBEPBDXZ) referenced in function "[thunk]:public: virtual char const * __thiscall osgGA::GUIEventHandler::libraryName`vtordisp{4294967292,12}' (void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@BEPBDXZ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osgGA::GUIEventHandler::cloneType(void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@@XZ) referenced in function "[thunk]:public: virtual class osg::Object * __thiscall osgGA::GUIEventHandler::cloneType`vtordisp{4294967292,12}' (void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@XZ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osgGA::StateSetManipulator::className(void)const " ([EMAIL PROTECTED]@osgGA@@UBEPBDXZ) referenced in function "[thunk]:public: virtual char const * __thiscall osgGA::StateSetManipulator::className`vtordisp{4294967292,0}' (void)const " ([EMAIL PROTECTED]@osgGA@@[EMAIL PROTECTED]@BEPBDXZ) osgkeyboardmouse.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: void __thiscall osgGA::TrackballManipulator::`vbase destructor'(void)" ([EMAIL PROTECTED]@@IAEXXZ) referenced in function "protected: virtual void * __thiscall osgGA::TrackballManipulator::`scalar deleting destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) ../../../bin/osgkeyboardmoused.exe : fatal error LNK1120: 41 unresolved externals -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, June 23, 2006 9:48 AM To: osg users Subject: Re: [osg-users] only 1 processor and SLI issue On 6/23/06, Vincent <[EMAIL PROTECTED]> wrote: > Hi Robert, > > Yes, using SLI with a pair of 7800s. I'm still not sure what would mess up > the viewport where I need to call this every frame to keep SLI on.. (I > actually call glviewport directly to keep it on). Well if its SLI then there is nothing the OSG can do to multi-thread things as is only targetting a single graphics context and its the driver doing the splitting. As for the viewport, you should never need to set this with an OSG app as its apply its own viewport on every new frame. I haven't got a clue where or why you have your own glViewport, let alone why you might find it neccessary. > If we use GLUT to render our stuff, we don't have SLI issues and things are > spread over multiple threads, but to do this conversion right would take > some time, and I would like to stick with producer for its capabilities. Umm... GLUT is single threaded, so if you are finding more threads being used then its all happening down in the OpenGL driver. For single graphics context Producer doesn't offer a lot of GLUT, its real strength is proper multiple threaded-multiple graphics context system, on a single headed system it doesn't differentiate itself so much - other than being configurable, have event handler properly threaded out.... ok so there its lots of goodies still there for real-time :-) > I'll try the CVS version.. With SLI it'll make no difference, you arn't running with multiple graphics contexts. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
