summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-10-22 16:24:17 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-10-22 16:24:17 +0100
commitbef533403920cfc08a9f705cbbc1b5c27f6e6517 (patch)
treebe2a9a8b92ba380c0ee1b01a2d47227a4d62837b
parent5f4be22c0d9a19193ee5da36f14534f9ddae8b46 (diff)
parentc8013691e80d9adbd2f4c8f5812fee1f98e10914 (diff)
downloadmullvadvpn-bef533403920cfc08a9f705cbbc1b5c27f6e6517.tar.xz
mullvadvpn-bef533403920cfc08a9f705cbbc1b5c27f6e6517.zip
Merge branch 'linux-disable-gpu-accel'
-rw-r--r--CHANGELOG.md1
-rw-r--r--gui/packages/desktop/src/main/index.js5
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 638d9d935d..5b2c14fa20 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,7 @@ Line wrap the file at 100 chars. Th
### Fixed
- Pick new random relay for each reconnect attempt instead of just retrying with the same one.
+- Disable GPU acceleration on Linux to fix App on Ubuntu 14.04 and other older distributions.
## [2018.4] - 2018-10-16
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()) {