summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-10-22 15:41:26 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-10-22 16:14:43 +0100
commitc8013691e80d9adbd2f4c8f5812fee1f98e10914 (patch)
treebe2a9a8b92ba380c0ee1b01a2d47227a4d62837b /gui
parent5f4be22c0d9a19193ee5da36f14534f9ddae8b46 (diff)
downloadmullvadvpn-c8013691e80d9adbd2f4c8f5812fee1f98e10914.tar.xz
mullvadvpn-c8013691e80d9adbd2f4c8f5812fee1f98e10914.zip
Disable GPU acceleration on Linux
Diffstat (limited to 'gui')
-rw-r--r--gui/packages/desktop/src/main/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/packages/desktop/src/main/index.js b/gui/packages/desktop/src/main/index.js
index 92ad7f110e..2950cd9e01 100644
--- a/gui/packages/desktop/src/main/index.js
+++ b/gui/packages/desktop/src/main/index.js
@@ -25,6 +25,11 @@ const ApplicationMain = {
_shouldQuit: false,
run() {
+ // Since electron's GPU blacklists are broken, GPU acceleration won't work on older distros
+ if (process.platform === 'linux') {
+ app.commandLine.appendSwitch('--disable-gpu');
+ }
+
this._overrideAppPaths();
if (this._ensureSingleInstance()) {