Hi Hartmut,

On Tue, Oct 14, 2008 at 11:30 AM, Hartmut Seichter
<[EMAIL PROTECTED]> wrote:
> Enabling vsync on all cards/screens worked and it runs ok now.

Good to hear it works, but it's probably just a change in timing that
is avoid the problem, rather than actually solving it.

> I traced the
> segfault down to the statshandler code or better say the the things it uses.

Could you be a bit more specific.  Could you explain exactly how you
recreate the crash and if it's possible with standard OSG examples.
Also how long does it take for the app to crash.


> Problem is that valgrind slows down the machine as much so that the race
> condition does not get triggered. Maybe I wasn't clear xrandr is not needed
> but it seems without it OSG_WINDOW and OSG_SCREEN environment variables have
> no effect - windows end up on the second screen of the first card.

You must have your window manager configured to ignore what the OSG is
tell it do when placing windows and to redirect it elsewhere.   You
can force the window manager's redirection off by using setting the
GraphicsContext::Traits::overrideRedirect to true.

FYI, I'm using Kubuntu 7.10 (KDE based) and prior to this Suse 10.0
with KDE and both didn't have problems with placement of windows to
the required screens.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to