Skip to content

Conversation

woensug-choi
Copy link

@woensug-choi woensug-choi commented Nov 29, 2023

This PR will not be necessary if osrf/rocker#258 is merged.
Meanwhile, I am adding this PR for sake of integrity of installation process of Project Dave

On freshly install Ubuntu 22.04 Jammy LTS. Without doing anything,
I've installed rocker with,

pip3 install rocker
pip3 install --force-reinstall git+https://github.com/osrf/rocker.git@main
rocker --version
# rocker 0.2.12

and ran Example in README

rocker --nvidia --x11 osrf/ros:noetic-desktop-full gazebo

and Got error saying

libGL error: MESA-LOADER: failed to retrieve device information

When I built noetic and ran with,

./build.bash noetic
./run.bash dockwater:noetic

It runs ok. but when I try to open gazebo I get the same libGL error as above.

I was able to fix the problem by adding --volume /dev:/dev in rocker argument. which adds -v /dev:/dev to docker argument.

I believe the right position to add -v /dev:/dev is --x11 argument tag since it wouldn't break even if /dev doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant