mac os gpu switch

Questions about YourKit Java Profiler
Post Reply
majki
Posts: 2
Joined: Wed Dec 06, 2017 1:26 pm

mac os gpu switch

Post by majki »

Hi!

Could you please add the following snippet into the Info.plist in the mac os package?

Code: Select all

<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
This would prevent the automatic switching to the discrete GPU if the machine has multiple GPUs.

Best regards,
Attila Majoros
Vladimir Kondratyev
Posts: 1619
Joined: Tue Aug 10, 2004 7:52 pm

Re: mac os gpu switch

Post by Vladimir Kondratyev »

Thank you for suggestion. We will investigate this possibility. Did you try this option? Did not you experience performance or rendering quality problems?

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
majki
Posts: 2
Joined: Wed Dec 06, 2017 1:26 pm

Re: mac os gpu switch

Post by majki »

I'm using YourKit with this flag in the plist since I wrote the suggestion, and did not experience any rendering problems. Using High Sierra the performance is even better if the os does not need to switch to the discrete gpu right now (there must be a bug in the nvidia driver or something in the high sierra on my mid 2014 mbp), so I'm pretty sure that this flag will not cause performance issues.
Post Reply