Unnecessary using dedicated GPU on Mac on battery - drain battery

%3CLINGO-SUB%20id%3D%22lingo-sub-911009%22%20slang%3D%22en-US%22%3EUnnecessary%20using%20dedicated%20GPU%20on%20Mac%20on%20battery%20-%20drain%20battery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-911009%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20use%20latest%20Edge%20Dev%20on%20MacOS%20on%20MBP%2015%202018.%20Edge%20is%20very%20nice%2C%20but%20has%20one%20important%20%22bug%22%20related%20to%20almost%20all%20chromium-based%20browsers.%20It%20sometimes%20uses%20dedicated%20GPU%20(Radeon)%20instead%20of%20Intel%20on%20battery%20on%20some%20pages.%20Example%3A%20Google%20Maps%2C%20Messenger%2C%20Facebook.%20I%20think%20it's%20related%20to%20SVG%20operations%2C%20but%20not%20sure.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20causes%20big%20battery%20impact%20and%20reduces%20work%20time.%20I%20know%20two%20exceptions%3A%20Safari%20(but%20it%20Webkit%20based)%20and...%20Opera.%20These%20two%20browsers%20can%20do%20all%20fine%20without%20using%20decidated%20GPU%2C%20and%20use%20only%20Intel%20GPU.%20Opera%20has%20special%20option%20in%20preferences%20to%20enable%20using%20decidated%20GPU%20and%20it's%20disabled%20in%20default.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20small%20app%20called%20gSwitch%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FCodySchrank%2FgSwitch%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FCodySchrank%2FgSwitch%3C%2FA%3E)%20it%20allows%20to%20control%20dedicated%2Fintegrated%20GPU%20and%20also%20show%20current%20status.%20Please%20see%20screenshoot%20below%3A%20in%20first%20you%20can%20see%2C%20that%20Edge%20forces%20Mac%20to%20use%20dedicated%20GPU%2C%20Opera%20doesn't.%20On%20second%2C%20there%20is%20this%20mentioned%20setting%20in%20Opera.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20it's%20possible%20to%20add%20similar%20option%20into%20Edge%20and%20it%20will%20improve%20batery%20life%20on%20this%20browser%20a%20lot.%20There%20is%20no%20any%20control%20panel%20on%20MacOS%20to%20allow%2Fdisallow%20apps%20using%20dedicated%20GPU%20like%20for%20example%20Nvidia%20control%20panel%20on%20Windows%2C%20so%20it's%20superb%20important.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F137329iE7E8B090C2D288BC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screenshot%202019-10-13%20at%2009.06.12.png%22%20title%3D%22Screenshot%202019-10-13%20at%2009.06.12.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EEdge%20vs%20Opera%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F137328iF8340E5567ED8252%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screenshot%202019-10-13%20at%2009.06.34.png%22%20title%3D%22Screenshot%202019-10-13%20at%2009.06.34.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOpera%20settings%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-911252%22%20slang%3D%22en-US%22%3ERe%3A%20Unnecessary%20using%20dedicated%20GPU%20on%20Mac%20on%20battery%20-%20drain%20battery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-911252%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3Eapart%20from%20that%203rd%20party%20tool%20you%20mentioned%2C%20does%20MacOS%20itself%20have%20option%20to%20allow%20choosing%20a%20specific%20graphic%20card%20for%20each%20individual%20app%20like%20Windows%20does%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-912800%22%20slang%3D%22en-US%22%3ERe%3A%20Unnecessary%20using%20dedicated%20GPU%20on%20Mac%20on%20battery%20-%20drain%20battery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-912800%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BNo%2C%20MacOS%20doesn't%20have%20any%20panel%2Foptions%20for%20that.%20There%20is%20only%20option%20to%20disable%20auto-switching%20GPUs%20and%20force%20to%20use%20Radeon.%20In%20effect%2C%20it's%20superb%20important%20that%20apps%20should%20avoid%20using%20Radeon%20on%20battery.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-913030%22%20slang%3D%22en-US%22%3ERe%3A%20Unnecessary%20using%20dedicated%20GPU%20on%20Mac%20on%20battery%20-%20drain%20battery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-913030%22%20slang%3D%22en-US%22%3EYes%20of%20course%20it'd%20drain%20the%20battery%20faster%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-981728%22%20slang%3D%22en-US%22%3ERe%3A%20Unnecessary%20using%20dedicated%20GPU%20on%20Mac%20on%20battery%20-%20drain%20battery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-981728%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425153%22%20target%3D%22_blank%22%3E%40Lukasamd%3C%2FA%3E%26nbsp%3Bthe%20same%20happens%20on%20my%202017%20MBP%2015%22.%20Opera%2C%20Safari%20and%20Firefox%20do%20not%20use%20the%20high%20perf.%20GPU.%20This%20is%20Chromium%20related%20issue%20of%20which%20most%20of%20the%20devs%20are%20complaining.%20There%20were%20some%20rumors%20that%20Opera%20actually%20blacklists%20the%20autodetected%20high%20perf.%20GPU%20to%20prevent%20it%20from%20being%20used%2C%20which%20is%20dirty%20but%20basically%20pretty%20much%20the%20only%20solution%20due%20to%20Chromium%20removing%20the%20API%2F%20parameters%20to%20disable%20the%20egpu.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20really%20say%20what%20is%20happening%2C%20but%20all%20Chromium%20browsers%20except%20Opera%20are%20currently%20utilizing%20the%20egpu.%20This%20is%20madness.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20personal%20observations%20show%20that%20the%20egpu%20is%20awaken%20when%20you%20try%20playing%20h264%20videos.%20Probably%20for%20the%20HW%20acceleration%2C%20however%20this%20seems%20like%20insanity%20due%20to%20the%20intel%206xx%20GPU's%20and%20even%20the%20older%20ones%20till%20Sandy%20Bridge%20being%20capable%20enough%20to%20decode%20H264.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello,
I use latest Edge Dev on MacOS on MBP 15 2018. Edge is very nice, but has one important "bug" related to almost all chromium-based browsers. It sometimes uses dedicated GPU (Radeon) instead of Intel on battery on some pages. Example: Google Maps, Messenger, Facebook. I think it's related to SVG operations, but not sure. 

 

It causes big battery impact and reduces work time. I know two exceptions: Safari (but it Webkit based) and... Opera. These two browsers can do all fine without using decidated GPU, and use only Intel GPU. Opera has special option in preferences to enable using decidated GPU and it's disabled in default.

 

I use small app called gSwitch (https://github.com/CodySchrank/gSwitch) it allows to control dedicated/integrated GPU and also show current status. Please see screenshoot below: in first you can see, that Edge forces Mac to use dedicated GPU, Opera doesn't. On second, there is this mentioned setting in Opera.

 

I think it's possible to add similar option into Edge and it will improve batery life on this browser a lot. There is no any control panel on MacOS to allow/disallow apps using dedicated GPU like for example Nvidia control panel on Windows, so it's superb important. 

 

 

 

Edge vs OperaEdge vs OperaOpera settingsOpera settings

4 Replies
Highlighted
Hi,
apart from that 3rd party tool you mentioned, does MacOS itself have option to allow choosing a specific graphic card for each individual app like Windows does?

@HotCakeX No, MacOS doesn't have any panel/options for that. There is only option to disable auto-switching GPUs and force to use Radeon. In effect, it's superb important that apps should avoid using Radeon on battery.

Highlighted
Yes of course it'd drain the battery faster
Highlighted

@Lukasamd the same happens on my 2017 MBP 15". Opera, Safari and Firefox do not use the high perf. GPU. This is Chromium related issue of which most of the devs are complaining. There were some rumors that Opera actually blacklists the autodetected high perf. GPU to prevent it from being used, which is dirty but basically pretty much the only solution due to Chromium removing the API/ parameters to disable the egpu.

 

I can't really say what is happening, but all Chromium browsers except Opera are currently utilizing the egpu. This is madness. 

 

My personal observations show that the egpu is awaken when you try playing h264 videos. Probably for the HW acceleration, however this seems like insanity due to the intel 6xx GPU's and even the older ones till Sandy Bridge being capable enough to decode H264.