diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2018-10-22 15:41:26 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-10-22 16:14:43 +0100 |
| commit | c8013691e80d9adbd2f4c8f5812fee1f98e10914 (patch) | |
| tree | be2a9a8b92ba380c0ee1b01a2d47227a4d62837b /gui | |
| parent | 5f4be22c0d9a19193ee5da36f14534f9ddae8b46 (diff) | |
| download | mullvadvpn-c8013691e80d9adbd2f4c8f5812fee1f98e10914.tar.xz mullvadvpn-c8013691e80d9adbd2f4c8f5812fee1f98e10914.zip | |
Disable GPU acceleration on Linux
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/packages/desktop/src/main/index.js | 5 |
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()) { |
