DriveML Huawei Autonomous Vehicles Challenge Forum

Go back to competition Back to thread list Post in this thread

> Running trainer on a server

Would it be possible to run the trainer on a server? When I try to run it with flag --headless, it still tries to find the display, so it crashes.

Posted by: Team53 @ Nov. 9, 2019, 10:16 p.m.

Yes, the HiWay simulator does need to have a way to render out to a video buffer, the way to get around this on a server is to setup a dummy XServer display which will create an in memory video buffer that the HiWay simulator will use.

The details of how to do this can be seen in these few lines of this Dockerfile here:
https://gist.github.com/JVillella/701a9d25aba6cf537b19c7cb4f6aba02#file-dockerfile-L24-L33

If you run into any issues, we'd be happy to help.

Posted by: HuaweiUK @ Nov. 9, 2019, 10:57 p.m.

Thank you, it works!

Posted by: Team53 @ Nov. 9, 2019, 11:31 p.m.
Post in this thread