Open ghost opened 7 years ago
this is a problem and I don't think fixable by gpu-switch. Basically gpu-switch turns off the flag for dynamic switching and turns on integrated mode. But for some reason OSX is switching back to discrete graphics whenever an app exits. gfxCardStatus is plagued by the same problem. Because gpu-switch has turned off dynamic switching, it even ends up in discrete-only mode.
My fork of gfxCardStatus has a fix for this with gfxCardStatus, but I don't think gpu-switch can accomodate this fix because it relies on callbacks which gpu-switch pruned out of the code borrowed from gfxCardStatus.
On my macbookpro6,1, if I set gpu-switch to -i and load Torchlight II, the system will use the integrated graphics. But once I close the game, the system switches to discrete graphics automatically. Not sure quite which other apps do this, but I had the graphics revert to auto a couple of times.
Due to this, I created a Launch Agent that triggers gpu-switch -i from time to time.
I'm wondering, is it possible to have gpu-switch running as a process that only activates when the graphics change to auto or discrete?
Anyway, thanks for this app, it helps quite a lot.