OS X + Requiring Discrete GPU

Post Reply
jamethiel
Posts: 8
Joined: Sun Dec 18, 2011 10:30 pm

OS X + Requiring Discrete GPU

Post 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

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: OS X + Requiring Discrete GPU

Post 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.

jamethiel
Posts: 8
Joined: Sun Dec 18, 2011 10:30 pm

Re: OS X + Requiring Discrete GPU

Post 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.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: OS X + Requiring Discrete GPU

Post by Vadi »

Yep, I can add it.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: OS X + Requiring Discrete GPU

Post 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.

Post Reply