Skip to content

Instantly share code, notes, and snippets.

@dlion
Forked from marpontes/disable-gpu-mac.md
Created November 16, 2021 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlion/eaf8c13bb1b6692aad5bd6b5e7572bb5 to your computer and use it in GitHub Desktop.
Save dlion/eaf8c13bb1b6692aad5bd6b5e7572bb5 to your computer and use it in GitHub Desktop.
Pass --disable-gpu down to Electron apps on mac (Slack, Whatsapp, Trello, ...)

On my Macbook Pro (OS X El Capitan) I was having issues on Electron based apps. These apps had visual issues/glitches like blank screens, visual components showing only when hovering or transparent menus.

By opening with these comands, the problems disappeared.

open /Applications/Slack.app/ --args --disable-gpu
open /Applications/Trello.app/ --args --disable-gpu
open /Applications/Whatsapp.app/ --args --disable-gpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment