Use virtualgl egl backend to run simulation without X server.#747
Use virtualgl egl backend to run simulation without X server.#747zbynekwinkler wants to merge 1 commit intomasterfrom
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. |
| 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.
I wonder how not to forget to rebuild local cloudsim when external is upgraded?
There was a problem hiding this comment.
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.