ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

About the "[gazebo_gui-3] process has died"

asked 2020-11-13 05:16:56 -0500

1210652636 gravatar image

When I run the code "roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch" in the terminal, some errors happened: “ [gazebo_gui-3] process has died [pid 3119, exit code 134, cmd /opt/ros/noetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/xzs/.ros/log/fb554976-25a0-11eb-a6f7-4fc1cbbb85d3/gazebo_gui-3.log]. log file: /home/xzs/.ros/log/fb554976-25a0-11eb-a6f7-4fc1cbbb85d3/gazebo_gui-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?

edit retag flag offensive close merge delete

Comments

@1210652636 Gazebo is a simulation program that comes with two entities: gzserver that is the core of the simulation and gzclient 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.

Weasfas gravatar image Weasfas  ( 2020-11-13 05:31:43 -0500 )edit

Could you tell me how to set up the gzclient? I don't recall that word ever appearing during my installation.

1210652636 gravatar image 1210652636  ( 2020-11-13 05:40:58 -0500 )edit

@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 to false. (E.g.: <arg name="gui" value="false"/>). If the error is still going then it must be something related with your graphics.

Weasfas gravatar image Weasfas  ( 2020-11-13 05:55:19 -0500 )edit

Thank you so much I will try it.

1210652636 gravatar image 1210652636  ( 2020-11-13 05:57:34 -0500 )edit

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 ... ".

1210652636 gravatar image 1210652636  ( 2020-11-13 06:00:24 -0500 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2020-11-13 06:43:58 -0500

Weasfas gravatar image

@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.

edit flag offensive delete link more

Comments

Thanks a lot!!!

1210652636 gravatar image 1210652636  ( 2020-11-15 05:23:44 -0500 )edit
0

answered 2022-09-08 15:25:32 -0500

Jhon Smith gravatar image

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

edit flag offensive delete link more

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.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-09-08 19:23:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-13 05:16:56 -0500

Seen: 15,458 times

Last updated: Sep 08 '22