From 32017bee39c03666512ff33cfee01cf784b97a5c Mon Sep 17 00:00:00 2001 From: Louis Holley Date: Mon, 3 Nov 2025 13:06:55 +0000 Subject: [PATCH 1/4] revert to old gpu flags --- index.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 71ec891..c83a202 100644 --- a/index.js +++ b/index.js @@ -576,9 +576,18 @@ const main = async () => { "--disable-setuid-sandbox", "--disable-dev-shm-usage", "--enable-logging", - "--use-gl=angle", - "--use-angle=gl-egl", - "--use-cmd-decoder=passthrough", + "--use-gl=desktop", + // Add these new flags + "--disable-gpu-vsync", + "--ignore-gpu-blocklist", + "--enable-gpu-rasterization", + "--enable-zero-copy", + "--disable-software-rasterizer", + // Force GPU acceleration + "--disable-gpu-process-crash-limit", + "--force-gpu-rasterization", + "--enable-webgl", + "--enable-webgl2", ], executablePath: process.env.PUPPETEER_EXECUTABLE_PATH, }); From a3b29d11bba9a59f84537a9442402e1ea76d1cc8 Mon Sep 17 00:00:00 2001 From: Louis Holley Date: Tue, 4 Nov 2025 11:40:28 +0000 Subject: [PATCH 2/4] try different flags --- index.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/index.js b/index.js index c83a202..6a84d1a 100644 --- a/index.js +++ b/index.js @@ -575,19 +575,13 @@ const main = async () => { "--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage", + "--use-gl=egl", + "--use-angle=swiftshader", // Software fallback that's T4-compatible "--enable-logging", - "--use-gl=desktop", - // Add these new flags - "--disable-gpu-vsync", "--ignore-gpu-blocklist", - "--enable-gpu-rasterization", - "--enable-zero-copy", - "--disable-software-rasterizer", - // Force GPU acceleration - "--disable-gpu-process-crash-limit", - "--force-gpu-rasterization", "--enable-webgl", "--enable-webgl2", + "--disable-gpu-driver-bug-workarounds", ], executablePath: process.env.PUPPETEER_EXECUTABLE_PATH, }); From 0477024da90c6894c5827509cd341bc8e1848bcc Mon Sep 17 00:00:00 2001 From: Louis Holley Date: Tue, 4 Nov 2025 12:11:58 +0000 Subject: [PATCH 3/4] try revert to use-angle=gl --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 6a84d1a..a62dad1 100644 --- a/index.js +++ b/index.js @@ -575,8 +575,8 @@ const main = async () => { "--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage", - "--use-gl=egl", - "--use-angle=swiftshader", // Software fallback that's T4-compatible + "--use-gl=angle", + "--use-angle=gl", "--enable-logging", "--ignore-gpu-blocklist", "--enable-webgl", From 2902dd887c2f3dd2aa607108c7abd1a76a1a0c8c Mon Sep 17 00:00:00 2001 From: Louis Holley Date: Tue, 4 Nov 2025 12:48:43 +0000 Subject: [PATCH 4/4] include previous flags --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a62dad1..91fb76d 100644 --- a/index.js +++ b/index.js @@ -575,9 +575,10 @@ const main = async () => { "--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage", + "--enable-logging", "--use-gl=angle", "--use-angle=gl", - "--enable-logging", + "--use-cmd-decoder=passthrough", "--ignore-gpu-blocklist", "--enable-webgl", "--enable-webgl2",