Hi Anders,
Hi. I suddenly get a problem on my laptop (DELL xps13, NVIDIA G210M)
where I cannot run any OSG-based applications.
Using OSG 2.8.2 under Windows Vista 7 64Bit.
osgviewer file.obj reports:
Viewer::realize() - failed to set up any windows
Viewer::realize() - failed to set up any windows
and no windows is created.
In another app (using OpenSceneGraph) I get:
Win32WindowingSystem::getScreenInformation() - The screen identifier on
the Win32 platform must always use display number 0. Value received was 9999
I've gotten this on my machine at home (Windows 7 64 bit as well) and
was meaning to debug it in the last few weeks but never had a chance
(time slips away real quick when I'm at home with 3 kids...).
Weird thing is that I have a comparable setup at work (Windows 7 64 bit
too) and I don't get this. One difference between the two is that my
work machine has the absolutely latest official NVidia drivers and the
one at home is a bit out of date (2-3 months). Perhaps there was some
bug in that version that's now fixed? But I'm not sure, as old(er)
versions like 2.8.3 don't seem to exhibit this problem, so perhaps a
combination of recent changes to GraphicsWindowWin32 and NVidia drivers
causes the problem.
I've worked around it at home by setting OSG_WINDOW=50 50 1024 768 or
whatever you like - it seems like, as that last message seems to
indicate, it's the code that tries to detect the number of screens to go
fullscreen that makes everything fall flat on its face. But as I said I
was meaning to go debugging to get a clearer picture and just never got
a chance. Putting a breakpoint in
Win32WindowingSystem::getScreenInformation() and running on a machine
that reproduces the problem would be a good start.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org