From 029713fe28f2825c8f85e300c7661f16d2c1c3ea Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:22:49 -0700 Subject: [PATCH] allow disabling hardware acceleration with env var (#14768) --- apps/desktop/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 7d97805e9be..4821b018148 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -394,7 +394,7 @@ export class Main { this.desktopSettingsService.hardwareAcceleration$, ); - if (!hardwareAcceleration) { + if (!hardwareAcceleration || process.env.ELECTRON_DISABLE_GPU) { this.logService.warning("Hardware acceleration is disabled"); app.disableHardwareAcceleration(); } else if (isMacAppStore()) {