Hi,
I solved this problem installing a new ubuntu version. Now, ATI drivers work 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 camera 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 <nkoenig@usc.edu> escribió:
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 under
> 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, and
> 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=0xbfd99820,
> __v=@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=0xbfd99820, __v=@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=0x8ef1710)
> at OgreGLSLLinkProgram.cpp:84
> #8 0xb19b4218 in
> Ogre::GLSLLinkProgramManager::getActiveLinkProgram (
> this=0x8fe0390) at OgreGLSLLinkProgramManager.cpp:140
> #9 0xb19bac75 in
> Ogre::GLSLGpuProgram::bindProgramParameters (this=0xb,
> params=
> {_vptr.SharedPtr = 0xb7f5cae8, pRep = 0x9a77600, pUseCount =
> 0x9a77640})
> at OgreGLSLGpuProgram.cpp:122
> #10 0xb195d3d9 in
> Ogre::GLRenderSystem::bindGpuProgramParameters (
> ---Type to continue, or q to quit---q
> this=0x8997c40Quit
> ) at OgreSharedPtr.h:84
> #11 0xb7db4021 in Ogre::SceneManager::renderSingleObject
> (this=0x954d230,
> rend=0xa208108, pass=0x9a774c8, doLightIteration=false,
> manualLightList=0xbfd99e30) at OgreSceneManager.cpp:2815
> #12 0xb7d9baee in
> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> (
> this=0x9555c54, r=0xa208108) at OgreSceneManager.cpp:2376
> #13 0xb7d4c34f in
> Ogre::QueuedRenderableCollection::acceptVisitorGrouped (
> this=0xb, visitor=0x9555c54) at stl_iterator.h:614
> #14 0xb7d4c41d in
> Ogre::QueuedRenderableCollection::acceptVisitor (this=0xb,
> visitor=0x9555c54, om=3218707572) at
> OgreRenderQueueSortingGrouping.cpp:379
> #15 0xb7d9bce0 in Ogre::SceneManager::renderObjects
> (this=0xb,
> objs=@0x991df60,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> doLightIteration=false, manualLightList=0xb) at
> OgreSceneManager.cpp:2464
> #16 0xb7daf05f in
> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> (this=0x954d230, pGroup=0xbfd99474,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> at OgreRenderQueueSortingGrouping.h:358
> #17 0xb7d9be72 in
> Ogre::SceneManager::_renderQueueGroupObjects (
> this=0x954d230, pGroup=0xa47b8e0,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> at OgreSceneManager.cpp:2478
> #18 0xb7d9d445 in
> Ogre::SceneManager::renderVisibleObjectsDefaultSequence (
> this=0x954d230) 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=0xbfd99820, __v=@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=0x8ef1710)
> at OgreGLSLLinkProgram.cpp:84
> #8 0xb19b4218 in
> Ogre::GLSLLinkProgramManager::getActiveLinkProgram (
> this=0x8fe0390) at OgreGLSLLinkProgramManager.cpp:140
> #9 0xb19bac75 in
> Ogre::GLSLGpuProgram::bindProgramParameters (this=0xb,
> params=
> {_vptr.SharedPtr = 0xb7f5cae8, pRep = 0x9a77600, pUseCount =
> 0x9a77640})
> at OgreGLSLGpuProgram.cpp:122
> #10 0xb195d3d9 in
> Ogre::GLRenderSystem::bindGpuProgramParameters (
> ---Type to continue, or q to quit---
> this=0x8997c40, gptype=Ogre::GPT_VERTEX_PROGRAM,
> params=
> {_vptr.SharedPtr = 0xb7f5cae8, pRep = 0x9a77600, pUseCount =
> 0x9a77640})
> at OgreSharedPtr.h:84
> #11 0xb7db4021 in Ogre::SceneManager::renderSingleObject
> (this=0x954d230,
> rend=0xa208108, pass=0x9a774c8, doLightIteration=false,
> manualLightList=0xbfd99e30) at OgreSceneManager.cpp:2815
> #12 0xb7d9baee in
> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> (
> this=0x9555c54, r=0xa208108) at OgreSceneManager.cpp:2376
> #13 0xb7d4c34f in
> Ogre::QueuedRenderableCollection::acceptVisitorGrouped (
> this=0xb, visitor=0x9555c54) at stl_iterator.h:614
> #14 0xb7d4c41d in
> Ogre::QueuedRenderableCollection::acceptVisitor (this=0xb,
> visitor=0x9555c54, om=3218707572) at
> OgreRenderQueueSortingGrouping.cpp:379
> #15 0xb7d9bce0 in Ogre::SceneManager::renderObjects
> (this=0xb,
> objs=@0x991df60,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> doLightIteration=false, manualLightList=0xb) at
> OgreSceneManager.cpp:2464
> #16 0xb7daf05f in
> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> (this=0x954d230, pGroup=0xbfd99474,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> at OgreRenderQueueSortingGrouping.h:358
> #17 0xb7d9be72 in
> Ogre::SceneManager::_renderQueueGroupObjects (
> this=0x954d230, pGroup=0xa47b8e0,
> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> at OgreSceneManager.cpp:2478
> ---Type to continue, or q to quit---
> #18 0xb7d9d445 in
> Ogre::SceneManager::renderVisibleObjectsDefaultSequence (
> this=0x954d230) at OgreSceneManager.cpp:1854
> #19 0xb7d9b999 in
> Ogre::SceneManager::_renderVisibleObjects (this=0x954d230)
> at OgreSceneManager.cpp:1776
>
> #20 0xb183db4c in
> Ogre::TerrainSceneManager::_renderVisibleObjects (
> this=0x954d230) at OgreTerrainSceneManager.cpp:551
> #21 0xb7da716c in Ogre::SceneManager::_renderScene
> (this=0x954d230,
>
> camera=0xa2acb50, vp=0xa2acff0, includeOverlays=false)
> at OgreSceneManager.cpp:1283
> #22 0xb183e778 in Ogre::TerrainSceneManager::_renderScene
> (this=0x954d230,
> cam=0xa2acb50, vp=0xa2acff0, includeOverlays=false)
> at OgreTerrainSceneManager.cpp:531
> #23 0xb7b5f999 in Ogre::Camera::_renderScene (this=0xbfd99474,
> vp=0xa2acff0,
> includeOverlays=false) at OgreCamera.cpp:397
> #24 0xb7e55131 in Ogre::Viewport::update (this=0xbfd99474)
> at OgreViewport.cpp:195
> #25 0xb7d5aa80 in Ogre::RenderTarget::update (this=0xa267410) at
> stl_tree.h:172
>
> #26 0xb7d548c2 in
> Ogre::RenderSystem::_updateAllRenderTargets (this=0xb)
> at stl_tree.h:176
> #27 0xb7d86fb5 in Ogre::Root::_updateAllRenderTargets
> (this=0xb)
> at OgreRoot.cpp:1035
> #28 0xb7d90349 in Ogre::Root::renderOneFrame (this=0x8169d68)
> at OgreRoot.cpp:751
> ---Type to continue, or q to quit---
> #29 0x0806b2c3 in gazebo::OgreAdaptor::Render (this=0x816beb8)
> at server/rendering/OgreAdaptor.cc:410
> #30 0x08098331 in gazebo::World::Update (this=0x9dedf70) at
> server/World.cc:191
> #31 0x08092054 in MainIdle () at server/main.cc:341
> #32 0x08092f91 in main (argc=2, argv=0xbfd9a274) at server/main.cc:382
>
>
> ________________________________
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja 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
> Playerstage-gazebo@lists.sourceforge.net
> 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
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo



Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .