mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
fix(chromium): Enable GPU support
Chromium 139 is set to deprecate the Swiftshader backend entirely: https://chromestatus.com/feature/5166674414927872 And 138 doesn't provide fallback without explicitly enabling it, breaking functionality such as WebGL in Gotenberg Re-enable GPU support to work around this Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
This commit is contained in:
committed by
Julien Neuhart
parent
94c831cd05
commit
f299f3ed20
@@ -84,10 +84,6 @@ func (b *chromiumBrowser) Start(logger *zap.Logger) error {
|
||||
chromedp.ExecPath(b.arguments.binPath),
|
||||
chromedp.NoSandbox,
|
||||
// See:
|
||||
// https://github.com/gotenberg/gotenberg/issues/327
|
||||
// https://github.com/chromedp/chromedp/issues/904
|
||||
chromedp.DisableGPU,
|
||||
// See:
|
||||
// https://github.com/puppeteer/puppeteer/issues/661
|
||||
// https://github.com/puppeteer/puppeteer/issues/2410
|
||||
chromedp.Flag("font-render-hinting", "none"),
|
||||
|
||||
Reference in New Issue
Block a user