Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 27/05/11 18:10, Robert Osfield wrote: Hi All, On Thu, May 26, 2011 at 2:31 PM, J.P. Delportjpdelp...@csir.co.za wrote: ulimit -c unlimited for ((i=0; i100; i++)) do osgviewer --window 0 100 800 600 cow.osg osgviewer --window 500 0 800 600 cow.osg sleep 0.5; killall osgviewer; done As discussed in the OSG trunk crashing, perhaps an nvidia driver problem? thread, I've reverted the change that caused the X11 threading issues. Before reverting these changes I was reliably getting errors when running the above script, but now I'm getting a clean run of 100 sets of two windows appearing and disappearing without any errors. Yay for a neat little unit test ;-) Could you all do an svn update and let me know how you get on. r12466 now works fine on both machines I had the errors previously. Thanks for your effort. jp Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi All, On Thu, May 26, 2011 at 2:31 PM, J.P. Delport jpdelp...@csir.co.za wrote: ulimit -c unlimited for ((i=0; i100; i++)) do osgviewer --window 0 100 800 600 cow.osg osgviewer --window 500 0 800 600 cow.osg sleep 0.5; killall osgviewer; done As discussed in the OSG trunk crashing, perhaps an nvidia driver problem? thread, I've reverted the change that caused the X11 threading issues. Before reverting these changes I was reliably getting errors when running the above script, but now I'm getting a clean run of 100 sets of two windows appearing and disappearing without any errors. Yay for a neat little unit test ;-) Could you all do an svn update and let me know how you get on. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 25/05/11 21:18, Roman Grigoriev wrote: Hi, found some bug when I try to run osgviewer many times on my config after 2 or 3 smooth runs I got black screen and osgviewer simply hangs. tried with all drivers 260 270 275 x86 - same thing. -I tried 2.9.11 - works fine. I've recently experienced exactly this too - osgviewer would only start on randomly selected invocations - other times, black screen. I've suspected NVidia drivers or X as this started happening on 270.41.06 drivers, but of course I upgraded OSG and distribution at that same time. Debian Sid 32-bit with NVidia 7300 go. What OS/GPU are you on? I'll also check if 2.9.11 works. rgds jp Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39711#39711 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, saw now you included ubuntu nvidia in the subject... What specific GPU though? jp On 26/05/11 08:29, J.P. Delport wrote: Hi, On 25/05/11 21:18, Roman Grigoriev wrote: Hi, found some bug when I try to run osgviewer many times on my config after 2 or 3 smooth runs I got black screen and osgviewer simply hangs. tried with all drivers 260 270 275 x86 - same thing. -I tried 2.9.11 - works fine. I've recently experienced exactly this too - osgviewer would only start on randomly selected invocations - other times, black screen. I've suspected NVidia drivers or X as this started happening on 270.41.06 drivers, but of course I upgraded OSG and distribution at that same time. Debian Sid 32-bit with NVidia 7300 go. What OS/GPU are you on? I'll also check if 2.9.11 works. rgds jp Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39711#39711 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, I tested developer releases so starting from 2.9.12 this thing happens my config g++4.5.2 and tested with 260 270 and even beta 275 drivers on quadro 4200m and nvidia ion2 and 8600mgt Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39732#39732 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Roman Grigoriev writes: I tested developer releases so starting from 2.9.12 this thing happens my config g++4.5.2 and tested with 260 270 and even beta 275 drivers on quadro 4200m and nvidia ion2 and 8600mgt It happened to me just once yesterday, the rest of the time worked fine. I'm running Debian Squeeze 64-bit, GeForce 9500 GT with driver version 195.36.31, OSG 2.9.14. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 26/05/11 09:20, Alberto Luaces wrote: Roman Grigoriev writes: I tested developer releases so starting from 2.9.12 this thing happens my config g++4.5.2 and tested with 260 270 and even beta 275 drivers on quadro 4200m and nvidia ion2 and 8600mgt It happened to me just once yesterday, the rest of the time worked fine. I'm running Debian Squeeze 64-bit, GeForce 9500 GT with driver version 195.36.31, OSG 2.9.14. just managed to get it to hang in gdb... thread 1: #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb78ca20a in __pthread_cond_wait (cond=0x816905c, mutex=0x81694d4) at pthread_cond_wait.c:153 #2 0xb7fb78e6 in OpenThreads::Condition::wait(OpenThreads::Mutex*) () from /usr/local/lib/libOpenThreads.so.12 #3 0xb79beb5f in osgViewer::ViewerBase::renderingTraversals() () from /usr/local/lib/libosgViewer.so.76 #4 0xb79bb7bc in osgViewer::ViewerBase::frame(double) () from /usr/local/lib/libosgViewer.so.76 #5 0xb79bb6a8 in osgViewer::ViewerBase::run() () from /usr/local/lib/libosgViewer.so.76 #6 0xb79b1534 in osgViewer::Viewer::run() () from /usr/local/lib/libosgViewer.so.76 #7 0x0804b462 in main () thread 2: #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb74eff06 in __poll (fds=0xb7586ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb741f0d0 in ?? () from /usr/lib/libxcb.so.1 #3 0xb74216d1 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #4 0xb77cfe68 in _XReply () from /usr/lib/libX11.so.6 #5 0xb77432bd in ?? () from /usr/lib/libGL.so.1 #6 0xb5bb3008 in ?? () Not sure what this means yet... I think it's a window creation/X query race. Compiling older versions... All that changed in X11 window creation is some xrandr code was added. Gonna see what happens if I disable it. jp -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi Romand and J.P, Since I updaged to Kubuntu 11.04 I too am getting intermittent X11 when opening up the viewer, the window resize when pressing 'f' has also broken. Frustratingly I can't reproduce it today so far... When I do get a crash on start up I get a warning from X11, and when I say this previously I did a search on the web and found many dozens of posts in various forums that discussed this same X11 error and later versions of the Ubuntu family so it doesn't look to be an OSG specific problem. When I see the error again I'll post the error. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 26/05/11 09:29, J.P. Delport wrote: Hi, On 26/05/11 09:20, Alberto Luaces wrote: Roman Grigoriev writes: I tested developer releases so starting from 2.9.12 this thing happens my config g++4.5.2 and tested with 260 270 and even beta 275 drivers on quadro 4200m and nvidia ion2 and 8600mgt It happened to me just once yesterday, the rest of the time worked fine. I'm running Debian Squeeze 64-bit, GeForce 9500 GT with driver version 195.36.31, OSG 2.9.14. just managed to get it to hang in gdb... Not sure what this means yet... I think it's a window creation/X query race. Compiling older versions... All that changed in X11 window creation is some xrandr code was added. Gonna see what happens if I disable it. jp Changing the xrandr setting in cmake did not seem to make a difference. Can still get it (trunk) to hang in gdb after a few starts. For me 2.9.11 also works fine. Saw changes in 2.9.11 to 2.9.12 in OpenThreads too... Checking that. jp -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi Robert, On 26/05/11 10:41, Robert Osfield wrote: Hi Romand and J.P, Since I updaged to Kubuntu 11.04 I too am getting intermittent X11 when opening up the viewer, the window resize when pressing 'f' has also broken. Frustratingly I can't reproduce it today so far... When I do get a crash on start up I get a warning from X11, and when I say this previously I did a search on the web and found many dozens of posts in various forums that discussed this same X11 error and later versions of the Ubuntu family so it doesn't look to be an OSG specific problem. yes, I've also seen some posts on newer X11 version problems. What is weird is that changing OSG versions avoids the hanging. I can get this to segfault every now and again: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault When it runs, I don't get the version test failed... jp When I see the error again I'll post the error. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 26/05/11 10:53, J.P. Delport wrote: Hi Robert, On 26/05/11 10:41, Robert Osfield wrote: Hi Romand and J.P, Since I updaged to Kubuntu 11.04 I too am getting intermittent X11 when opening up the viewer, the window resize when pressing 'f' has also broken. Frustratingly I can't reproduce it today so far... When I do get a crash on start up I get a warning from X11, and when I say this previously I did a search on the web and found many dozens of posts in various forums that discussed this same X11 error and later versions of the Ubuntu family so it doesn't look to be an OSG specific problem. yes, I've also seen some posts on newer X11 version problems. What is weird is that changing OSG versions avoids the hanging. I can get this to segfault every now and again: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault Also get this: osgviewer --window 0 0 800 600 cow.osg Got an X11ErrorHandling call display=0x9514798 event=0xbfea5ca0 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 55 requests (55 known processed) with 0 events remaining. rgds jp -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi J.P, On Thu, May 26, 2011 at 10:22 AM, J.P. Delport jpdelp...@csir.co.za wrote: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault A curious error - GraphicsWindowX11 shouldn't create a window without a context and I would expect the makeCurrent on the context to fail and be reported, what shouldn't happen is that the code to get to doing the draw traversal without a context being current. Could you try running single threaded via: osgviewer --window 0 0 800 600 cow.osg --SingleThreaded To see if that makes any difference. Also get this: osgviewer --window 0 0 800 600 cow.osg Got an X11ErrorHandling call display=0x9514798 event=0xbfea5ca0 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 55 requests (55 known processed) with 0 events remaining. I believe this Resource temporily unavailble is the one I was getting. Running the same test above things are working for me now. Grrr perhaps my recent OS updates have improved things, or perhaps it's just lucky timings. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
On Thursday 26 May 2011 10:32:09 Robert Osfield wrote: Hi J.P, On Thu, May 26, 2011 at 10:22 AM, J.P. Delport jpdelp...@csir.co.za wrote: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault A curious error - GraphicsWindowX11 shouldn't create a window without a context and I would expect the makeCurrent on the context to fail and be reported, what shouldn't happen is that the code to get to doing the draw traversal without a context being current. Could you try running single threaded via: osgviewer --window 0 0 800 600 cow.osg --SingleThreaded To see if that makes any difference. Also get this: osgviewer --window 0 0 800 600 cow.osg Got an X11ErrorHandling call display=0x9514798 event=0xbfea5ca0 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 55 requests (55 known processed) with 0 events remaining. Hi J.P. and Robert, I also observe crashes with osgviewer in the latest 2.9.x code. On my machine (gentoo, 2.6.38 kernel, intel graphics, with drivers and Mesa from git) the problem manifests itself with: osgviewer: /var/tmp/portage/x11- libs/libX11-1.4.3/work/libX11-1.4.3/src/xcb_io.c:515: _XReply: Assertion `!dpy-xcb-reply_data' failed. Aborted Very occasionally I also got the the Resource temporarily unavailable error. I just tried Robert's suggestion, and osgviewer runs stable in single-threaded mode. Magnus I believe this Resource temporily unavailble is the one I was getting. Running the same test above things are working for me now. Grrr perhaps my recent OS updates have improved things, or perhaps it's just lucky timings. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
I just ran OpenSceneGraph/runexamples.bat and this got all the way through with only one error - osgtexture3D failed with the error: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 68 requests (68 known processed) with 0 events remaining. Running osgtexture3D again doesn't result in an error. My guess this is thread timing issue and there is something amiss in X11/GLX libs that the OSG is sensitive too. Unfortunately this type of problem may well be rather awkward to pin down. It may well be a case for finding a workaround, perhaps something as crude as adding a short delay in the context setup, or some extra checks and waits for X11/GLX to do all that it needs to before the osgViewer starts running multi-threaded. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 26/05/11 11:32, Robert Osfield wrote: Hi J.P, On Thu, May 26, 2011 at 10:22 AM, J.P. Delportjpdelp...@csir.co.za wrote: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault A curious error - GraphicsWindowX11 shouldn't create a window without a context and I would expect the makeCurrent on the context to fail and be reported, what shouldn't happen is that the code to get to doing the draw traversal without a context being current. Could you try running single threaded via: osgviewer --window 0 0 800 600 cow.osg --SingleThreaded To see if that makes any difference. I have not been able to get --SingleThreaded to misbehave yet. Without --SingleThreaded I get one of: * Working window * Segfault e.g. [1] * X error e.g. [2] * Hang on start (black GL window) [3] Does look like a timing issue at startup. jp [1] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5162b70 (LWP 29417)] 0xb76d152f in ?? () from /usr/lib/libGL.so.1 [2] Starting program: /usr/local/bin/osgviewer --window 0 0 800 600 cow.osg [Thread debugging using libthread_db enabled] [New Thread 0xb5162b70 (LWP 29409)] Got an X11ErrorHandling call display=0x8082628 event=0xbfffe380 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 55 requests (55 known processed) with 0 events remaining. BadAccess (attempt to access private resource denied) Major opcode: 136 Minor opcode: 5 Error code: 10 Request serial: 55 Current serial: 55 ResourceID: 58720257 Warning: non-texture mode '3553'passed to geTexturetMode(unit,mode), assuming getMode(mode) instead. Program received signal SIGSEGV, Segmentation fault. 0x0804e32c in std::string::_Rep::_S_empty_rep_storage () [3] ^C Program received signal SIGINT, Interrupt. 0xb7fe2424 in __kernel_vsyscall () (gdb) bt #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb788b20a in __pthread_cond_wait (cond=0x8123224, mutex=0x812110c) at pthread_cond_wait.c:153 #2 0xb7fb6ac5 in OpenThreads::Condition::wait(OpenThreads::Mutex*) () from /usr/local/lib/libOpenThreads.so.12 #3 0xb7996461 in osgViewer::ViewerBase::renderingTraversals() () from /usr/local/lib/libosgViewer.so.76 #4 0xb799413d in osgViewer::ViewerBase::frame(double) () from /usr/local/lib/libosgViewer.so.76 #5 0xb79943dd in osgViewer::ViewerBase::run() () from /usr/local/lib/libosgViewer.so.76 #6 0xb7985a73 in osgViewer::Viewer::run() () from /usr/local/lib/libosgViewer.so.76 #7 0x0804b626 in main () (gdb) info threads 2 Thread 0xb5162b70 (LWP 29392) 0xb7fe2424 in __kernel_vsyscall () * 1 Thread 0xb5c8f6f0 (LWP 29389) 0xb7fe2424 in __kernel_vsyscall () (gdb) thread 2 [Switching to thread 2 (Thread 0xb5162b70 (LWP 29392))]#0 0xb7fe2424 in __kernel_vsyscall () (gdb) bt #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb74b0f06 in __poll (fds=0xb7547ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb73e00d0 in ?? () from /usr/lib/libxcb.so.1 #3 0xb73e26d1 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #4 0xb7790e68 in _XReply () from /usr/lib/libX11.so.6 #5 0xb77067cc in ?? () from /usr/lib/libGL.so.1 -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia
Hi, On 26/05/11 12:44, J.P. Delport wrote: Hi, On 26/05/11 11:32, Robert Osfield wrote: Hi J.P, On Thu, May 26, 2011 at 10:22 AM, J.P. Delportjpdelp...@csir.co.za wrote: osgviewer --window 0 0 800 600 cow.osg Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Scaling image 'Images/reflect.rgb' from (128,128) to (0,0) Segmentation fault A curious error - GraphicsWindowX11 shouldn't create a window without a context and I would expect the makeCurrent on the context to fail and be reported, what shouldn't happen is that the code to get to doing the draw traversal without a context being current. Could you try running single threaded via: osgviewer --window 0 0 800 600 cow.osg --SingleThreaded To see if that makes any difference. I have not been able to get --SingleThreaded to misbehave yet. Without --SingleThreaded I get one of: * Working window * Segfault e.g. [1] * X error e.g. [2] * Hang on start (black GL window) [3] Does look like a timing issue at startup. It takes a bit more effort to reproduce on a faster machine it seems. The crashes are more frequent than successful starts on my laptop: Centrino Duo, NVidia GeForce Go 7300 On a new quad core intel with GTS240 I can get it to die less often, about once or twice in 100 starts. Debian Sid 32-bit, Xorg 7.6, NVidia drivers 270.41.19. ulimit -c unlimited for ((i=0; i100; i++)) do osgviewer --window 0 100 800 600 cow.osg osgviewer --window 500 0 800 600 cow.osg sleep 0.5; killall osgviewer; done Sometimes I get the weird: Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. Otherwise just a segfault. jp -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org