Page 1 of 1

OS X + Requiring Discrete GPU

Posted: Fri Nov 07, 2014 6:51 am
by jamethiel
There doesn't seem to be anything requiring the discrete GPU on OS X:

https://developer.apple.com/library/mac ... index.html

Is it really required?

DSL

Re: OS X + Requiring Discrete GPU

Posted: Mon Nov 10, 2014 7:08 pm
by Vadi
Mudlet uses OpenGL for the 3D mapper, and the discrete GPU isn't explicitly required - as it says there OSX enables it by default.

Re: OS X + Requiring Discrete GPU

Posted: Mon Nov 10, 2014 10:22 pm
by jamethiel
Vadi wrote:Mudlet uses OpenGL for the 3D mapper, and the discrete GPU isn't explicitly required - as it says there OSX enables it by default.
I wonder if it's possible to add:
On OS X 10.7 and later, there is a new attribute called NSSupportsAutomaticGraphicsSwitching. To allow your OpenGL application to utilize the integrated GPU, you must add in the Info.plist of your application this key with a Boolean value of true
The relevant key is:
NSSupportsAutomaticGraphicsSwitching
At the moment Mudlet refuses to allow me to force the graphics back to integrated only which I want to do because I happen to be on a Mac that is affected by a bad discrete GPU.

Re: OS X + Requiring Discrete GPU

Posted: Mon Nov 10, 2014 10:32 pm
by Vadi
Yep, I can add it.

Re: OS X + Requiring Discrete GPU

Posted: Tue Dec 30, 2014 12:22 am
by Vadi
It doesn't seem to be that trivial - I think the application actually needs to be coded to support the graphics switching. See https://stackoverflow.com/questions/124 ... ng-support and https://developer.apple.com/library/mac ... index.html, the option on its own doesn't do anything.