Closed emcyroyale closed 5 years ago
Our docker containers were built primarily for headless machines without display hardware in mind. It may be possible to have holodeck render to the screen from within a docker container but we haven't tried that before. The game however is rendering and passing the capture from the agent camera and passing it to the python client. You can see an example of grabbing that info in the example python file uav_example()
When I have time I will try and see if I can find a way to make rendering to screen from docker containers work. But that might not be for a little bit. If you want to try enabling it yourself this link might be useful in enabling it https://medium.com/@pigiuz/hw-accelerated-gui-apps-on-docker-7fd424fe813e
If you end up figuring it out, let us know how you did it and we can make sure to add it to the docs.
The engine is rendering to an off-screen buffer since there is no display available for the docker container, as intended. Use the non-docker version of Holodeck if you want to be able to see previews while the engine is running.
I have an environment running with make and I'm able to read state, reward, terminal, info from a step after #114, but I'm unable to see any Game Window. What could be the issue?