Bug 1375585 Comment 22 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Sarah Bird from comment #20)
> Given that it works on chromium, presumably there is a way of calling x11 appropriately. I wonder if it "just works" on windows and mac?
> 
> Or maybe we need to have it not route through the "get me a display" code path if headless mode is enabled.

Chromium falls back to a software GL implementation in headless mode (Mesa, then SwiftShader): https://bugs.chromium.org/p/chromium/issues/detail?id=617551

As of 2019 you can manually force hardware GPU usage via EGL on some platforms (Linux, macOS): https://bugs.chromium.org/p/chromium/issues/detail?id=765284
(In reply to Sarah Bird from comment #20)
> Given that it works on chromium, presumably there is a way of calling x11 appropriately. I wonder if it "just works" on windows and mac?
> 
> Or maybe we need to have it not route through the "get me a display" code path if headless mode is enabled.

Chromium falls back to a software GL implementation in headless mode (before they used Mesa, now SwiftShader): https://bugs.chromium.org/p/chromium/issues/detail?id=617551

As of 2019 you can manually force hardware GPU usage via EGL on some platforms (Linux, macOS): https://bugs.chromium.org/p/chromium/issues/detail?id=765284

Back to Bug 1375585 Comment 22