From f299f3ed2065f2dfd70ba9c7f9cfd7c0c2d93e6d Mon Sep 17 00:00:00 2001 From: RJ Sampson Date: Mon, 4 Aug 2025 23:32:17 -0600 Subject: [PATCH] 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 --- pkg/modules/chromium/browser.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/modules/chromium/browser.go b/pkg/modules/chromium/browser.go index fad28152..e05ea3cd 100644 --- a/pkg/modules/chromium/browser.go +++ b/pkg/modules/chromium/browser.go @@ -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"),