From: Nate K. <nk...@us...> - 2007-08-30 16:19:16
|
Hello nera, Gazebo renders to an offscreen buffer first, and then back to the screen. The warnings that are present in your output are a little troubling. libGL warning: 3D driver claims to not support visual 0x4b Is GLX enabled? And are the paths set properly in the world file? -nate On 8/27/07, nera gonzalez <ne...@ya...> wrote: > Hi, > I solved this problem installing a new ubuntu version. Now, ATI drivers w= ork > fine. > I get run Gazebo using the example simpleworld, but when it starts the > screen appears black, without any figure, only the numbers with the camer= a > position. > > These are the output messages: > # ./gazebo worlds/simpleshapes.xml > ** Gazebo 0.8 ** > * Part of the Player/Stage Project > [http://playerstage.sourceforge.net]. > * Copyright 2000-2005 Copyright (C) 2003 Nate Koenig, Andrew Howard, and > contributors. > * Released under the GNU General Public License. > XInclude process failed > [server/main.cc:288] > Creating GUI: > Type[fltk] Pos[0 0] Size[800 600] > libGL warning: 3D driver claims to not support visual 0x4b > creating /tmp/gazebo-nera-0 > creating /tmp/gazebo-nera-0/simulation.default 112 92 > [server/sensors/Sensor.cc:92] > cam1_sensor sensor has no controller. > Try R300_SPAN_DISABLE_LOCKING env var if this hangs. > > Regards > Nera > > Nate Koenig <nk...@us...> escribi=F3: > Hello, > > It seems like a problem with the shaders. Could you trying commenting > out all the shader related stuff in > /share/gazebo/Media/materials/scripts/Gazebo.material? The > relevant portions are at the top of the file. > > -nate > > On 8/22/07, nera gonzalez wrote: > > Hi, > > I am trying to launch gazebo but I get segmentation fault. I run it und= er > > gdb and I get the result at the end of this post. > > It seems a problem with the ATI driver (ATI MOBILITY RODEON 9700). > > I can run Ogre examples fine, so ogre is fine (OGRE version 1.4.4) > > By the way, I solved my previous problem with Ogre compiling it with > > gcc-3.4 > > Any ideas about how to solve? > > Thanks in advance > > Nera > > > > Starting program: /home/nera/psscr/gazebo/gazebo/gazebo > > worlds/simpleshapes.xml > > [Thread debugging using libthread_db enabled] > > [New Thread -1234049344 (LWP 8298)] > > ** Gazebo 0.8 ** > > * Part of the Player/Stage Project > > [http://playerstage.sourceforge.net]. > > * Copyright 2000-2005 Copyright (C) 2003 Nate Koenig, Andrew Howard, an= d > > contributors. > > * Released under the GNU General Public License. > > XInclude process failed > > [server/main.cc:288] > > Creating GUI: > > Type[fltk] Pos[0 0] Size[640 480] > > creating /tmp/gazebo-nera-0 > > creating /tmp/gazebo-nera-0/simulation.default 112 88 > > [server/sensors/Sensor.cc:91] > > cam1_sensor sensor has no controller. > > C > > > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread -1234049344 (LWP 8298)] > > std::_Rb_tree, > > std::less, std::allocator >::insert_unique > > (this=3D0xbfd99820, > > __v=3D@0xa672808) at basic_string.h:261 > > 261 { return _M_dataplus._M_p; } > > (gdb) bt > > #0 std::_Rb_tree, > > std::less, std::allocator >::insert_unique ( > > > this=3D0xbfd99820, __v=3D@0xa672808) at basic_string.h:261 > > #1 0xb656390d in TATILinker::link () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #2 0xb65515cd in ShLink () from > > /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #3 0xb61a90f3 in __glslATILinkShaders () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #4 0xb62a3601 in __R300GLSLLinkProgram () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #5 0xb624b6a7 in __glslLinkProgram () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #6 0xb624bd5d in __glim_LinkProgramARB () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #7 0xb19c27c2 in Ogre::GLSLLinkProgram::activate (this=3D0x8ef1710) > > at OgreGLSLLinkProgram.cpp:84 > > #8 0xb19b4218 in > > Ogre::GLSLLinkProgramManager::getActiveLinkProgram ( > > this=3D0x8fe0390) at OgreGLSLLinkProgramManager.cpp:140 > > #9 0xb19bac75 in > > Ogre::GLSLGpuProgram::bindProgramParameters (this=3D0xb, > > params=3D > > {_vptr.SharedPtr =3D 0xb7f5cae8, pRep =3D 0x9a77600, pUseCount =3D > > 0x9a77640}) > > at OgreGLSLGpuProgram.cpp:122 > > #10 0xb195d3d9 in > > Ogre::GLRenderSystem::bindGpuProgramParameters ( > > ---Type to continue, or q to quit---q > > > this=3D0x8997c40Quit > > ) at OgreSharedPtr.h:84 > > #11 0xb7db4021 in Ogre::SceneManager::renderSingleObject > > (this=3D0x954d230, > > rend=3D0xa208108, pass=3D0x9a774c8, doLightIteration=3Dfalse, > > manualLightList=3D0xbfd99e30) at OgreSceneManager.cpp:2815 > > #12 0xb7d9baee in > > > Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit > > ( > > this=3D0x9555c54, r=3D0xa208108) at OgreSceneManager.cpp:2376 > > #13 0xb7d4c34f in > > Ogre::QueuedRenderableCollection::acceptVisitorGrouped ( > > this=3D0xb, visitor=3D0x9555c54) at stl_iterator.h:614 > > #14 0xb7d4c41d in > > Ogre::QueuedRenderableCollection::acceptVisitor > (this=3D0xb, > > visitor=3D0x9555c54, om=3D3218707572) at > > OgreRenderQueueSortingGrouping.cpp:379 > > #15 0xb7d9bce0 in Ogre::SceneManager::renderObjects > > (this=3D0xb, > > objs=3D@0x991df60, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP, > > doLightIteration=3Dfalse, manualLightList=3D0xb) at > > OgreSceneManager.cpp:2464 > > #16 0xb7daf05f in > > > Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects > > (this=3D0x954d230, pGroup=3D0xbfd99474, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP) > > at OgreRenderQueueSortingGrouping.h:358 > > #17 0xb7d9be72 in > > Ogre::SceneManager::_renderQueueGroupObjects ( > > this=3D0x954d230, pGroup=3D0xa47b8e0, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP) > > at OgreSceneManager.cpp:2478 > > #18 0xb7d9d445 in > > Ogre::SceneManager::renderVisibleObjectsDefaultSequence ( > > this=3D0x954d230) at OgreSceneManager.cpp:1854 > > ---Type to continue, or q to quit---q > > Quit > > (gdb) bt > backtrace.gazebo > > A syntax error in expression, near `> backtrace.gazebo'. > > (gdb) bt > > #0 std::_Rb_tree, > > std::less, std::allocator >::insert_unique ( > > > this=3D0xbfd99820, __v=3D@0xa672808) at basic_string.h:261 > > #1 0xb656390d in TATILinker::link () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #2 0xb65515cd in ShLink () from > > /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #3 0xb61a90f3 in __glslATILinkShaders () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #4 0xb62a3601 in __R300GLSLLinkProgram () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #5 0xb624b6a7 in __glslLinkProgram () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #6 0xb624bd5d in __glim_LinkProgramARB () > > from /usr/X11R6/lib/modules/dri/fglrx_dri.so > > #7 0xb19c27c2 in Ogre::GLSLLinkProgram::activate (this=3D0x8ef1710) > > at OgreGLSLLinkProgram.cpp:84 > > #8 0xb19b4218 in > > Ogre::GLSLLinkProgramManager::getActiveLinkProgram ( > > this=3D0x8fe0390) at OgreGLSLLinkProgramManager.cpp:140 > > #9 0xb19bac75 in > > Ogre::GLSLGpuProgram::bindProgramParameters (this=3D0xb, > > params=3D > > {_vptr.SharedPtr =3D 0xb7f5cae8, pRep =3D 0x9a77600, pUseCount =3D > > 0x9a77640}) > > at OgreGLSLGpuProgram.cpp:122 > > #10 0xb195d3d9 in > > Ogre::GLRenderSystem::bindGpuProgramParameters ( > > ---Type to continue, or q to quit--- > > > this=3D0x8997c40, gptype=3DOgre::GPT_VERTEX_PROGRAM, > > params=3D > > {_vptr.SharedPtr =3D 0xb7f5cae8, pRep =3D 0x9a77600, pUseCount =3D > > 0x9a77640}) > > at OgreSharedPtr.h:84 > > #11 0xb7db4021 in Ogre::SceneManager::renderSingleObject > > (this=3D0x954d230, > > rend=3D0xa208108, pass=3D0x9a774c8, doLightIteration=3Dfalse, > > manualLightList=3D0xbfd99e30) at OgreSceneManager.cpp:2815 > > #12 0xb7d9baee in > > > Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit > > ( > > this=3D0x9555c54, r=3D0xa208108) at OgreSceneManager.cpp:2376 > > #13 0xb7d4c34f in > > Ogre::QueuedRenderableCollection::acceptVisitorGrouped ( > > this=3D0xb, visitor=3D0x9555c54) at stl_iterator.h:614 > > #14 0xb7d4c41d in > > Ogre::QueuedRenderableCollection::acceptVisitor > (this=3D0xb, > > visitor=3D0x9555c54, om=3D3218707572) at > > OgreRenderQueueSortingGrouping.cpp:379 > > #15 0xb7d9bce0 in Ogre::SceneManager::renderObjects > > (this=3D0xb, > > objs=3D@0x991df60, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP, > > doLightIteration=3Dfalse, manualLightList=3D0xb) at > > OgreSceneManager.cpp:2464 > > #16 0xb7daf05f in > > > Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects > > (this=3D0x954d230, pGroup=3D0xbfd99474, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP) > > at OgreRenderQueueSortingGrouping.h:358 > > #17 0xb7d9be72 in > > Ogre::SceneManager::_renderQueueGroupObjects ( > > this=3D0x954d230, pGroup=3D0xa47b8e0, > > om=3DOgre::QueuedRenderableCollection::OM_PASS_GROUP) > > at OgreSceneManager.cpp:2478 > > ---Type to continue, or q to quit--- > > > #18 0xb7d9d445 in > > Ogre::SceneManager::renderVisibleObjectsDefaultSequence ( > > this=3D0x954d230) at OgreSceneManager.cpp:1854 > > #19 0xb7d9b999 in > > Ogre::SceneManager::_renderVisibleObjects > (this=3D0x954d230) > > at OgreSceneManager.cpp:1776 > > > > #20 0xb183db4c in > > Ogre::TerrainSceneManager::_renderVisibleObjects ( > > this=3D0x954d230) at OgreTerrainSceneManager.cpp:551 > > #21 0xb7da716c in Ogre::SceneManager::_renderScene > > (this=3D0x954d230, > > > > camera=3D0xa2acb50, vp=3D0xa2acff0, includeOverlays=3Dfalse) > > at OgreSceneManager.cpp:1283 > > #22 0xb183e778 in Ogre::TerrainSceneManager::_renderScene > > (this=3D0x954d230, > > cam=3D0xa2acb50, vp=3D0xa2acff0, includeOverlays=3Dfalse) > > at OgreTerrainSceneManager.cpp:531 > > #23 0xb7b5f999 in Ogre::Camera::_renderScene (this=3D0xbfd99474, > > vp=3D0xa2acff0, > > includeOverlays=3Dfalse) at OgreCamera.cpp:397 > > #24 0xb7e55131 in Ogre::Viewport::update (this=3D0xbfd99474) > > at OgreViewport.cpp:195 > > #25 0xb7d5aa80 in Ogre::RenderTarget::update (this=3D0xa267410) at > > stl_tree.h:172 > > > > #26 0xb7d548c2 in > > Ogre::RenderSystem::_updateAllRenderTargets (this=3D0xb) > > at stl_tree.h:176 > > #27 0xb7d86fb5 in Ogre::Root::_updateAllRenderTargets > > (this=3D0xb) > > at OgreRoot.cpp:1035 > > #28 0xb7d90349 in Ogre::Root::renderOneFrame (this=3D0x8169d68) > > at OgreRoot.cpp:751 > > ---Type to continue, or q to quit--- > > #29 0x0806b2c3 in gazebo::OgreAdaptor::Render (this=3D0x816beb8) > > at server/rendering/OgreAdaptor.cc:410 > > #30 0x08098331 in gazebo::World::Update (this=3D0x9dedf70) at > > server/World.cc:191 > > #31 0x08092054 in MainIdle () at server/main.cc:341 > > #32 0x08092f91 in main (argc=3D2, argv=3D0xbfd9a274) at server/main.cc:= 382 > > > > > > ________________________________ > > > > S=E9 un Mejor Amante del Cine > > =BFQuieres saber c=F3mo? =A1Deja que otras personas te ayuden! . > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > Playerstage-gazebo mailing list > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > ________________________________ > > S=E9 un Mejor Amante del Cine > =BFQuieres saber c=F3mo? =A1Deja que otras personas te ayuden! . > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > |