Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gazebo won't start in space_robots due to issues with graphics driver in spaceros #100

Open
ivanperez-keera opened this issue Jan 9, 2024 · 3 comments

Comments

@ivanperez-keera
Copy link
Contributor

ivanperez-keera commented Jan 9, 2024

The updated MESA driver in Space ROS makes it impossible to launch Gazebo.

The offending lines are:

# Update the OpenGL version
RUN sudo add-apt-repository ppa:kisak/kisak-mesa
RUN sudo apt update && sudo apt upgrade -y

For me, this manifested when trying to run the mars rover demo inside the space_robots image, although I suspect that the issue would manifest with anything that runs Gazebo.

Removing those lines makes the resulting space_robots image (which is built on top of space_ros) work correctly.

@ivanperez-keera
Copy link
Contributor Author

@mkhansenbot has more information on this; he was the one who figured this out and told me what the solution was.

@ivanperez-keera ivanperez-keera changed the title docker/space_robots does not run due to issues with graphics driver in spaceros Gazebo won't start in space_robots due to issues with graphics driver in spaceros Jan 9, 2024
@ivanperez-keera
Copy link
Contributor Author

@mkhansenbot The fix to this seems relatively simple, but I don't want to rush things to get them in the release unnecessarily. Do you think this should be in the next release?

If so, maybe I can send the PR that takes those lines out and you can review & approve.

@mkhansenbot mkhansenbot added this to the humble-2024.04.0 milestone Jan 30, 2024
@mkhansenbot
Copy link
Contributor

Added to next milestone (proposed) humble-2024.04.0.

I think the immediate issue with the upstream driver has been fixed, at least on my system. However, we're open to future breaks in our simulation due to the fact we're always using the upstream driver. @EzraBrooks has suggested that we can pin to a mesa driver version. I think we should discuss that solution and fix in the next release.

@mkhansenbot mkhansenbot removed this from the humble-2024.04.0 milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants