-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use virtualgl egl backend to run simulation without X server. #747
base: master
Are you sure you want to change the base?
Conversation
I tried, but I cannot confirm (yet) that this works.
However, After I will fix the network issue, there will be one more problem ahead of me:
|
My offer to help with fixing this on your system still holds. Best time for this would be during our telemeetings.
System packaged libraries are primarily for system packaged applications. The preferred way to work is to use python virtual environment. That is my setup, the setup for CI and also our solution docker image setup - that is the setup I can provide support for. |
That is one of the things I tried. It made no difference. I added For robotika, I get whole lot of interfaces: When I Would you mind checking your cloudsim_sim_latest? I have a locally modified version, because of yet unofficial modifications of K2. It is possible I messed it up somewhere on the way. |
For posterity: The networking issue was caused by local modifications of the base image saved with |
I can make it work. I had to:
|
🍾 Great! About vglusers - I just disabled it and forgot about it (my thinking was - why would I want a user that cannot access this? anyway, at least |
What about an environment variable? EGL_DEVICE that would contain the path to the device to use. |
@@ -170,7 +170,7 @@ def _run_sim(client, circuit, logdir, world, robots): | |||
f"robotName{n}:={name}", | |||
f"robotConfig{n}:={kind}" | |||
] | |||
sim = _create_docker(client, "sim", "osrf/subt-virtual-testbed:cloudsim_sim_latest", command, mounts, environment) | |||
sim = _create_docker(client, "sim", "cloudsim:latest", command, mounts, environment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how not to forget to rebuild local cloudsim
when external is upgraded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The solution is the same as we are using for our base image. We can start using specific versions instead of "latest".
To test please run
It should be possible to get a successful run even on a computer with no running X server or when the X server runs as a different user.