Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Enable headless/offscreen (no display) rendering #1253

Closed Clockwork-Muse closed 3 years ago

Clockwork-Muse commented 3 years ago

Is your feature request related to a problem? Please describe. I'm trying to deploy an armory project to a docker container for headless/offscreen rendering on Linux, but the engine seems to require some sort of interactive display to be attached (throws errors, but I wouldn't consider this a bug per se).

Describe the solution you'd like Either the ability to compile in "no screen" mode, or adding parameters to turn it off.

I only specifically need this for the Vulkan API, but some people may want OpenGL.

Describe alternatives you've considered Attempting to set up things like the dummy xorg video drivers (for OpenGL) has not gone well.

Additional context Unreal Engine works inside a docker container without the need for complicated container setup, or cross-linking the host/container in various ways.

RobDangerous commented 3 years ago

Duplicate of Kode/Kinc#564