Hi Aidin,

What kind of graphics card do you have, and do you have the latest proprietary drivers for it if they're available?

If you do, it looks like your card/driver doesn't properly support FBOs... Try changing (in the ogre_tools package) src/ogre_tools/initialization.cpp line 60 from "FBO" to "PBuffer".  If that helps, can you attach the Ogre.log file produce by running rviz with the -l command-line switch?

Josh

On Sat, Sep 25, 2010 at 1:09 PM, Aidin Sadighi <sadighi@usc.edu> wrote:
HI everybody,

I am getting an error when trying to run rviz. I search everywhere, looked up troubleshooting pages, FAQ, previously posted questions, and Ogre website and could not find anything useful.
When I enter "rosrun rviz rviz" I get the following output:

[ INFO] [1285443273.197913669, 58.446000000]: Loading general config from [/home/aidin/.rviz/config]
[ INFO] [1285443273.201302228, 58.446000000]: Loading display config from [/home/aidin/.rviz/display_config]
[ERROR] [1285443278.266653947, 59.082000000]: Caught exception while loading: OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GLFrameBufferObject::initialise at /opt/ros/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 275)
[ INFO] [1285443278.266822893, 59.082000000]: Saving general config to [/home/aidin/.rviz/config]
[ INFO] [1285443278.268815744, 59.082000000]: Saving display config to [/home/aidin/.rviz/display_config]
/opt/ros/cturtle/ros/bin/rosrun: line 35:  3536 Segmentation fault      $exepath "$@"

I own a PC with Windows 7 but I have installed Ubuntu  10.04 LTS (the Lucid Lynx)  in a separae partition and I have 2 GB free space. I have installed all of the required packages and I am able to run all of my desired modules including gazebo, Pr2 simulator, etc. As far as revisions, I got the latest stable version from repos just few hours ago so everything should be the latest version.

 I followed the followings instructions to install rviz:

rosdep install rviz
rosmake rviz
rosrun rviz rviz

Can you please help me on this?
Thanks
Aidin




_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users