Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can coffee run truly headless? #141

Open
fairbairn opened this issue May 22, 2021 · 0 comments
Open

Can coffee run truly headless? #141

fairbairn opened this issue May 22, 2021 · 0 comments

Comments

@fairbairn
Copy link

We currently have a project in ggez, but want our system to run headless with a cloud based GPU machine.

ggez does not allow us to run without creating a window, even though we can render to an off-screen canvas. The window is basically blank, but displayed.

Can coffee do what we desire?

Our application does real time video encoding with effects and when deployed, does not require a window, which would require x11 contexts vs just the GPU drivers.

The idea of leveraging wgpu backends vs only opengl is also enticing.

Ideally we'd code our system to utilize a window for feedback when debugging (we'd copy the off screen canvas to the window), but when deployed we'd disable it entirely.

We did not see an example in coffee that would demonstrate a simple headless setup, ie, just draw to a canvas and save out the canvas as an image file as a simple demonstration.

Any insights would be appreciated. We think the port to coffee would be pretty easy if it supports this capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant