Cannot start Gazebo (no Gui)
I am new to Gazebo and Ubuntu.
I have just installed Ubuntu 18.04 and Gazebo 10.0.
When I start Gazebo entering command $ gazebo --verbose
no Gui show up...the message I get are:
[Msg] Waiting for master. Gazebo multi-robot simulator, version 9.11.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org
[Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.1.139 [Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.1.139
$ gzserver --verbose
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.139 Segmentation fault (core dumped)
$ gzclient --verbose
[Msg] Waiting for master. [Err] [ConnectionManager.cc:119] Failed to connect to master in 30 seconds. [Err] [gazebo_shared.cc:83] Unable to initialize transport. [Err] [gazebo_client.cc:62] Unable to setup Gazebo
Thanks for your suggestions!
Paolo
Could you please try running gzserver --verbose in one shell and gzclient --verbose in other shell and see if the logs display something different?
Thanks Jose Luis this is what i get: gzserver messages:
[Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.1.139 Segmentation fault (core dumped)
gzclient messages: [Msg] Waiting for master. [Err] [ConnectionManager.cc:119] Failed to connect to master in 30 seconds. [Err] [gazebo_shared.cc:83] Unable to initialize transport. [Err] [gazebo_client.cc:62] Unable to setup Gazebo
Segfaulting booting Gazebo. What kind of graphic card do you have? Which is the output of lspci | grep VGA ?
paolo@paolo-Inspiron-9300:~$ lspci|grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation NV41M [GeForce Go 6800] (rev a2)
If the nvidia support is enabled (install mesa-utils and run glxinfo | grep direct), next step would be to look into the logs ~/.gazebo/logs/ to see if there is an error message in there.
This is what Iget: paolo@paolo-Inspiron-9300:~$ glxinfo |grep direct direct rendering: Yes paolo@paolo-Inspiron-9300:~$ ls .gazebo client-11345 gui.ini ogre.log server-11345 paolo@paolo-Inspiron-9300:~$ No log directory under .gazebo! I am discouraged....
You will find log files inside .gazebo/client-11345 and .gazebo/server-11345. There could be some hint there about what is failing. Also give a look into ogre.log. Check for errors.
only ogre.log contain some info.
Sorry I dont know how to attach the file........
edit the answer and include the relevant error lines please