Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Radiant Player Forcing Discrete GPU #379

Open
LWhitson2 opened this issue Oct 22, 2015 · 4 comments
Open

Radiant Player Forcing Discrete GPU #379

LWhitson2 opened this issue Oct 22, 2015 · 4 comments
Milestone

Comments

@LWhitson2
Copy link

I noticed that this issue had been fixed previously, but with version 1.4.1 I am having the issue again. Whenever I start Radiant Player the discrete GPU comes on again as confirmed using gfxCardStatus. I am currently running OSX El Capitan 10.11.1.

@joshgordon
Copy link
Contributor

Just noticed this same thing, and thought I'd see if I could bisect it down to a specific commit. Then I noticed something interesting...

It appears to me that when you play a video in Radiant Player, it switches to the discrete GPU, but never switches back when you stop watching the video.

@chrismou
Copy link
Member

I see that NSSupportsAutomaticGraphicsSwitching is enabled in info.plist, but tbh I have no idea what the implications of are that. I'll have to dig a bit deeper.

Interestingly @joshgordon, support for that was added by you back in 2014... ;-) b40033a

@chrismou
Copy link
Member

https://developer.apple.com/library/mac/qa/qa1734/_index.html

The NSSupportsAutomaticGraphicsSwitching key only works on the dual-GPU MacBook Pros that
were shipped Early 2011 and after.
Additionally, you must make sure that your application works correctly with multiple GPUs or else the
system may continue forcing your application to use the discrete GPU. TN2229 Supporting Multiple
GPUs on Mac OS X discusses in detail the required steps that you need to follow. You're highly
recommended to check it out.

Important: You must check that features you desire to use exist on the GPU you are using.

Interesting. What year is your Macbook @LWhitson2 and @joshgordon?

@joshgordon
Copy link
Contributor

I have an Early 2011 MBP, so the NSSupportsAutomaticGraphicsSwitching should have an affect. (and it does, since before I PR'd it in, it used the discrete GPU full time.)

@jacobwgillespie jacobwgillespie added this to the v2.0.0 milestone Dec 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants