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 » Fri Nov 07, 2014 6:51 am

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: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: OS X + Requiring Discrete GPU

Post by Vadi » Mon Nov 10, 2014 7:08 pm

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 » Mon Nov 10, 2014 10:22 pm

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: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: OS X + Requiring Discrete GPU

Post by Vadi » Mon Nov 10, 2014 10:32 pm

Yep, I can add it.

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

Re: OS X + Requiring Discrete GPU

Post by Vadi » Tue Dec 30, 2014 12:22 am

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

Who is online

Users browsing this forum: No registered users and 4 guests