Hey, I'm following up with this in case anyone else runs across the same issue. I tried OSG on an installation of Arch Linux with the following setup:
kernel: 3.2.5-1-ARCH ATI driver: xf86-video-ati 6.14.3-1 package (I have an ATI Radeon Xpress 1250 card) OpenSceneGraph: openscenegraph 3.0.1-4 package And the cow.osg example works fine now. Regards, Pris On Sat, Feb 11, 2012 at 6:23 AM, Robert Osfield <[email protected]> wrote: > Hi Pris, > > Seg faulting in the OpenGL driver on cow.osg is failing to clear a > very low bar indeed, the OSG is dispatching very simple OpenGL data > and commands for the driver to deal with and really shouldn't fail. > But fail it has. Try looking for a different OpenGL driver. > > FYI, I develop under Kubuntu with a combination of the ATI and NVIdia > drivers without problems, the cow.osg model is very simple and has > never caused me problems. Even drivers from Intel normally work with > cow.osg and these have a bad reputation for quality so the problem you > are seeing is really appalling. > > Robert. > > On 11 February 2012 04:44, Preet <[email protected]> wrote: >> Hiya, >> >> I'm brand new to OSG and tried opening up a couple of files in >> osgviewer from the included data sets. >> * cessna.osg opens up fine and I can rotate/zoom/pan the view as expected >> * cow.osg starts up and then instantly seg faults (ie, note that >> cow.osg has some texturing) >> >> However if I pass the --SingleThreaded argument to osgviewer, I can >> view cow.osg just fine. I'm using OSG 3.0.1 with Qt 4.8 on Ubuntu >> 11.10. I've attached the stack trace for the seg fault as well. Does >> anyone know what's going on? Any advice would be appreciated. >> >> >> Regards, >> >> Pris >> >> ============================================================== >> >> #0 0x0257e33f in ?? () >> #1 0x00e70f5c in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #2 0x00e7113c in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #3 0x00e21ddd in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #4 0x00e1de4b in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #5 0x00e1e185 in draw_vbo () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #6 0x00de842e in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #7 0x00dea5ed in ?? () from /usr/lib/i386-linux-gnu/dri/r300_dri.so >> #8 0x013a3919 in st_draw_vbo () from >> /usr/lib/i386-linux-gnu/dri/libgallium.so >> #9 0x01040cd4 in vbo_save_playback_vertex_list () from >> /usr/lib/i386-linux-gnu/dri/libdricore.so >> #10 0x00f73b56 in ?? () from /usr/lib/i386-linux-gnu/dri/libdricore.so >> #11 0x00f77671 in _mesa_CallList () from >> /usr/lib/i386-linux-gnu/dri/libdricore.so >> #12 0x005fe6e8 in osgUtil::RenderLeaf::render(osg::RenderInfo&, >> osgUtil::RenderLeaf*) () from /usr/lib/libosgUtil.so.80 >> #13 0x005f8a8c in >> osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, >> osgUtil::RenderLeaf*&) () from /usr/lib/libosgUtil.so.80 >> #14 0x00603f8b in >> osgUtil::RenderStage::drawImplementation(osg::RenderInfo&, >> osgUtil::RenderLeaf*&) () from /usr/lib/libosgUtil.so.80 >> #15 0x005f8c20 in osgUtil::RenderBin::draw(osg::RenderInfo&, >> osgUtil::RenderLeaf*&) () from /usr/lib/libosgUtil.so.80 >> #16 0x006042bd in osgUtil::RenderStage::drawInner(osg::RenderInfo&, >> osgUtil::RenderLeaf*&, bool&) () from /usr/lib/libosgUtil.so.80 >> #17 0x006031b9 in osgUtil::RenderStage::draw(osg::RenderInfo&, >> osgUtil::RenderLeaf*&) () from /usr/lib/libosgUtil.so.80 >> #18 0x0060f913 in osgUtil::SceneView::draw() () from >> /usr/lib/libosgUtil.so.80 >> #19 0x00729658 in osgViewer::Renderer::draw() () from >> /usr/lib/libosgViewer.so.80 >> #20 0x00728535 in >> osgViewer::Renderer::operator()(osg::GraphicsContext*) () from >> /usr/lib/libosgViewer.so.80 >> #21 0x00290968 in osg::GraphicsContext::runOperations() () from >> /usr/lib/libosg.so.80 >> #22 0x002928cb in >> osg::RunOperations::operator()(osg::GraphicsContext*) () from >> /usr/lib/libosg.so.80 >> #23 0x00292ad6 in osg::GraphicsOperation::operator()(osg::Object*) () >> from /usr/lib/libosg.so.80 >> #24 0x002dfecf in osg::OperationThread::run() () from /usr/lib/libosg.so.80 >> #25 0x00292b78 in osg::GraphicsThread::run() () from /usr/lib/libosg.so.80 >> #26 0x00134e5e in >> OpenThreads::ThreadPrivateActions::StartThread(void*) () from >> /usr/lib/libOpenThreads.so.14 >> #27 0x00a1ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 >> #28 0x0096e0ce in clone () from /lib/i386-linux-gnu/libc.so.6 >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

