Forum Index -> VoiceMac -> VoiceMac uses discrete graphics on MacBook Pro
Delete Thread
Page First 1 Last

Josh Geller
November 1, 2013, 2:12:28 PM
When I open VoiceMac, the discrete graphics chip turns on. I can see that this is the case using gfxCardStatus. Chrome used to do this too, and it was some odd api that caused it to turn on the graphics chip, not because of needing 3D graphics support. They fixed it, and helped Chrome use less battery. Can you fix it too?


Mr. Gecko
November 1, 2013, 2:16:20 PM
I may be able to fix it, but I do not know what is turning it on. Is it the message window for SMS?

I have a MacBook with both graphics, so I can test... But I always had integrated graphics turned off since the switch between them always caused color changes.

Is open source, so maybe you can help me solve this?

November 1, 2013, 2:23:36 PM
Sure. It looks like it often has to do with using some specific OpenGL routines. More info here:

and here:

November 1, 2013, 2:26:28 PM
It turns on discrete graphics from the moment you open the app until you close it. I am cloning VoiceMac atm.

November 1, 2013, 2:38:20 PM
Adding NSSupportsAutomaticGraphicsSwitching=YES to Info.plist stopped the app from switching to discrete graphics for me!

Mr. Gecko
November 1, 2013, 2:40:35 PM
Thanks, I'll add that to my code tree and see if it works on my system then release an update whenever I have some other fixes to add.

Do you want me to mention you in my commit message? If so, how do you want to be mentioned?

November 1, 2013, 2:42:21 PM
Sure, you can just mention me by my name, Josh Geller. Thanks!

Mr. Gecko
November 1, 2013, 2:55:15 PM
Tested perfectly and committed. Thanks

Page First 1 Last
Email Address:
Image Verification: