About the "[gazebo_gui-3] process has died"
When I run the code "roslaunch turtlebot3gazebo turtlebot3emptyworld.launch" in the terminal, some errors happened: “ [gazebogui-3] process has died [pid 3119, exit code 134, cmd /opt/ros/noetic/lib/gazeboros/gzclient _name:=gazebogui _log:=/home/xzs/.ros/log/fb554976-25a0-11eb-a6f7-4fc1cbbb85d3/gazebogui-3.log]. log file: /home/xzs/.ros/log/fb554976-25a0-11eb-a6f7-4fc1cbbb85d3/gazebogui-3*.log
” I am a new user of ROS, maybe this problem is a little stupid, but I will improve myself. Could you tell me how to figure it out?
Asked by 1210652636 on 2020-11-13 06:16:56 UTC
Answers
@1210652636 Oh! Ok, that is the problem.
You are running in a virtual environment. For future post if you work in virtual environment try to add this information with your question.
Gazebo does not work very well with Virtual Machines, you will have to disable from the VM setting the option of 3D acceleration. Gazebo has some issues with that option enable. Once you disabled that option you will have a simulation environment a bit slow but fully working.
When you change the SVGA_VGPU10 variable you are just telling what OpenGL version, you can try both options and see which one is better for you. If you want to use this option to avoid setting this variable every time you start a terminal just add this command to the .bashrc. (E.g.: echo "export SVGA_VGPU10=0" >> ~/.bashrc
).
Hope this helps.
Regards.
Asked by Weasfas on 2020-11-13 07:43:58 UTC
Comments
Thanks a lot!!!
Asked by 1210652636 on 2020-11-15 06:23:44 UTC
Hello! Can you please help... i have issue while running the following
roslaunch turtlebot3_gazebo turtlebot3_world.launch
[spawn_urdf-4] process has died [pid 56793, exit code 1, cmd /home/aaqib/catkin_ws/devel/lib/gazebo_ros/spawn_model -urdf -model turtlebot3_burger -x -2.0 -y -0.5 -z 0.0 -param robot_description __name:=spawn_urdf __log:=/home/aaqib/.ros/log/d84daac2-2fb2-11ed-9ef9-3b35597649a9/spawn_urdf-4.log]. log file: /home/aaqib/.ros/log/d84daac2-2fb2-11ed-9ef9-3b35597649a9/spawn_urdf-4*.log
Asked by Jhon Smith on 2022-09-08 15:25:32 UTC
Comments
On this web site, it is not appropriate to hijack someone else's question. Please delete this non-answer, then open a new question for yourself. If you wish to include a url pointing back to this question because it is relevent, that is ok.
Asked by Mike Scheutzow on 2022-09-08 19:23:01 UTC
Comments
@1210652636 Gazebo is a simulation program that comes with two entities:
gzserver
that is the core of the simulation andgzclient
that is the GUI. What is failing in your machine is the GUI. So it may be something realted with your graphical set up. Have you tried to run Gazebo without GUI and see what happens? Also, ensure the world you are using exists and the environmental variables for the turtlebot are properly set up.Asked by Weasfas on 2020-11-13 06:31:43 UTC
Could you tell me how to set up the gzclient? I don't recall that word ever appearing during my installation.
Asked by 1210652636 on 2020-11-13 06:40:58 UTC
@1210652636 you do not really need to set up the
gzclient
since it should work with any problems. For the moment you only want to know what is the problem. For this reason, to debug this, first, you can launch Gazebo alone and see if it is something related with your machine or with the launch files. Open a terminal and launch Gazebo (E.g.:gazebo empty.wold
). Then if the same error appears try to launch Gazebo without the client, setting the parameter of the launch file tofalse
. (E.g.:<arg name="gui" value="false"/>
). If the error is still going then it must be something related with your graphics.Asked by Weasfas on 2020-11-13 06:55:19 UTC
Thank you so much I will try it.
Asked by 1210652636 on 2020-11-13 06:57:34 UTC
By the way, when I open a new terminal and run the code "export SVGA_VGPU10=0", this error is gone. But next time, when I run "roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch", the same error happened. So I have to run "export SVGA_VGPU10=0" again and again befor run "roslaunch ... ".
Asked by 1210652636 on 2020-11-13 07:00:24 UTC