Atom on a rMBP requires the dedicated GPU


#1

At least on my rMBP, it is impossible to switch to integrated graphics while Atom is running. This leads to a large impact on battery life.


Having issues with excessive battery drain even when idle
To much power cost
#2

Yeah this started in 0.70 I think. Definitely needs to be fixed. Brackets had this for a while

Here is the relevant information: https://github.com/adobe/brackets-shell/pull/399


#3

I can confirm this is also a problem on 0.72.0.


#4

It’s easily solved by editing Info.plist and putting this in there somewhere:

<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>

So now mine looks like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleDevelopmentRegion</key>
  <string>English</string>
  <key>NSSupportsAutomaticGraphicsSwitching</key>
  <true/>

And now I get integrated graphics again with bonus hours of battery life!


#5

Yeah, I did this too and it works as expected for me.

The Apple docs are here: https://developer.apple.com/library/mac/qa/qa1734/_index.html


#6

I use this app http://gfx.io/


#7

Yeah, I use gfxCardStatus too… that’s how I knew it was Atom that was locking my GPU to NVIDIA. It’s in my screenshot linked in my first post above. :wink:

Using that app doesn’t solve the problem though, the problem is in the Info.plist file distributed by Atom.


#8

Sweet, can run on itegrated graphics now \o/


#9

Wow! Thanks for that @parndt! I never paid too much attention to that, even though two apps that I have to run almost all the time didn’t support the integrated graphics - Outlook and Communicator - and that plist hack solved that! cheers! :trophy:

Scrolling in Outlook got quite bad though :smile:


#10

This is a major bug with a crazy simple fix. Is there a plan to integrate this?


#11

Worked for me too, thanks guys!


#12

Looks like there’s been a fix put in to v0.74.0 …

Atom now uses the integrated GPU rather than the discrete GPU, improving battery life.


#13