Skip to content

Stay aware of electron chromium update to offer --headless w/o xvfb #22

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

Open
etpinard opened this issue Oct 11, 2017 · 1 comment
Open

Comments

@etpinard
Copy link
Contributor

Chromium ships with a --headless starting in version 59. Electron 1.8.1 (in pre-release as of 2017/10/11) ships with Chromium 59. So our days of having to use xvfb might be numbered 🎉

But, this won't happen now. I tried [email protected] in this gist, but looks like the --headless option (and additional required flags) aren't compatible with WebGL. If your interested, pull down that gist and run npm start -- gl3d_bunny - you should see electron hanging and failing to generate an image. In contrast, for regular SVG graphs e.g. npm start -- 10, headless seems to work ok.

See electron/electron#228 for more info.

@lastmjs
Copy link

lastmjs commented Mar 5, 2018

Seems like a duplicate of electron/electron#228

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

2 participants