From e79d8c1fd6730d34f067d06e569db90a8674eae4 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 27 Sep 2022 17:55:42 -0700 Subject: [PATCH] Disable hardware acceleration on linux --- app/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/main.ts b/app/main.ts index 43bc957ff..f3bcfe0fe 100644 --- a/app/main.ts +++ b/app/main.ts @@ -1614,6 +1614,12 @@ app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling'); // If we don't set this, Desktop will ask for access to keychain/keyring on startup app.commandLine.appendSwitch('password-store', 'basic'); +// rendering is often utterly broken on Linux when using GPU +// acceleration. +if (OS.isLinux()) { + app.disableHardwareAcceleration(); +} + // This method will be called when Electron has finished // initialization and is ready to create browser windows. // Some APIs can only be used after this event occurs.