[osg-users] Open Scene Graph 3.4.0 has bug when using two monitor setup
Robert Osfield
robert.osfield at gmail.com
Mon Dec 19 00:07:17 PST 2016
Hi Bruce,
I am surprised that this is an issue, the OSG has long been able to
run multi-threaded across multiple monitors, it's a fundamental part
of the OSG design. I don't personally use Windows too often so there
might be a Windows specific issue that others under Windows didn't
pick up on the OSG-3.4 pre-release cycle. I would have expected
others to flag up the issue as well. Given this I don't have any
straight forward explanation to why it might be happening.
The stack trace doesn't really provide much insight to what is going
wrong unfortunately. Is it actually crashing in ref_optr<>?
Does it rendering any frames before crashing?
Did you build the OSG with defaults or adjust the settings for a
particular set of preferences?
Does multi-montior but single graphics card fail?
What has been your experience with other OSG version? I.e. did 3.2
fail in the same way as well? Have you tried git master?
Robert.
On 18 December 2016 at 19:45, Bruce Clay <bclay1297 at gmail.com> wrote:
> Robert:
> For a basic test I ran osgViewer cessnafire.org. The results I get on my home machine are different from those of my work machine but it does crash on both systems. In both cases through it seems to be a threading issue. At home the stack traces looks like
>
>> osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32 C++
> osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89 C++
> osg130-osgd.dll!osg::OperationThread::run() Line 418 C++
> osg130-osgd.dll!osg::GraphicsThread::run() Line 41 C++
> ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113 C++
> [External Code]
> [Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]
>
> whereas at work it is always crash at the osg::Group traverse. I will send a stack trace from there tomorrow. At home I am running on Windows 7 Professional with an AMD Phenom II 6X 1090T and I have two Nvidia 550 graphics cards. The work system is an 8 core Dell laptop running Windows 7. but if I force it to single threaded it does not crash even will all of the monitors on.
>
> I have also tried various other work systems some with Windows 7 and others windows 10 but I did not have a compiler that I could use for debugging on those systems so I don't know for sure where it crashed just that it did if I do not use SingleThreaded
>
> Cheers,
> Bruce
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69703#69703
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list