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 <[email protected]> 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

