So, the problem here is going to be the EGL platform detection - it's failing to detect Mir, and is instead trying (and failing) to connect to an X server.
So, the problem here is going to be the EGL platform detection - it's failing to detect Mir, and is instead trying (and failing) to connect to an X server.