From bfe59e52b0d6a43ac1e2fc4630b590fac3952b0f Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 25 May 2026 17:49:12 -0700 Subject: [PATCH] [eric] windows: drop ignore-gpu-blocklist + enable-gpu-rasterization + enable-zero-copy since Crashpad confirms every renderer crash is STATUS_ACCESS_VIOLATION 0xC0000005 with no JS cause, classic blocklisted-driver segfault pattern on Electron 40 CastLabs Chromium 144; respecting the blocklist lets Chromium fall back to software rasterization on affected GPUs; retag v1.1.44 --- electron/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/electron/main.js b/electron/main.js index 6da0487e..2c187fa9 100644 --- a/electron/main.js +++ b/electron/main.js @@ -153,9 +153,7 @@ app.on('open-url', (event, url) => { }); app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling'); -app.commandLine.appendSwitch('ignore-gpu-blocklist'); -app.commandLine.appendSwitch('enable-gpu-rasterization'); -app.commandLine.appendSwitch('enable-zero-copy'); +// Removed ignore-gpu-blocklist + enable-gpu-rasterization + enable-zero-copy: Chromium maintains a blocklist of GPU drivers known to cause native segfaults (STATUS_ACCESS_VIOLATION 0xC0000005) when forced through the GPU pipeline, and Crashpad has been capturing exactly that exit code on every renderer crash with no JS-side cause; respecting the blocklist lets Chromium fall back to software rasterization on affected drivers while keeping GPU on safe ones. Widevine CDM still works in software mode. app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); let mainWindow = null;