JDK-8091754 : javafx bundle on osx with retina display ignore Info.plist NSSupportsAutomaticGraphicsSwitching=true
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-01-16
  • Updated: 2017-05-18
  • Resolved: 2017-05-18
Related Reports
Duplicate :  
Description
Built standalone javafx bundled application.

Modified Info.plist, adding 
  NSSupportsAutomaticGraphicsSwitching set to true
which is supposed to allow me to choose between Integrated vs Dynamic GPU selection according to https://developer.apple.com/library/mac/qa/qa1734/_index.html

gpu rendering (Dynamic) causes the program to crash after a time, so I need to try Integrated.

I can see the the application is using Dynamic by starting "Activity Monitor", selecting the "Energy" tab, and seeing "Yes" in the column "Requires High Perf GPU".

My javafx application is the only applicaiton with a "Yes"  in the column "Requires High Perf GPU", and prevent me from switching to "Integrated".

Sometimes the javafx program will not end, and I must reboot.
Comments
Closing as a duplicate of JDK-8132775 which was fixed in JDK 8u72 (and in JDK 9).
18-05-2017

Adding support for NSSupportsAutomaticGraphicsSwitching=true would be an enhancement request not a bug, so I have changed the issue type and set the priority to P3 as appropriate. Please file a separate JIRA for the crash along with a test case that reproduces it. Also, you may want to try your program with JDK 8u40 early access as there have been several improvements for retina displays both in AWT/Swing and in FX.
16-01-2015

Supporting the NSSupportsAutomaticGraphicsSwitching flag is important, but do you need a osx Problem Report when the javafx program crashes?
16-01-2015