JDK-8194269 : JavaFX forces discrete GPU usage on macos
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 9.0.1
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: os_x
  • CPU: x86
  • Submitted: 2017-12-29
  • Updated: 2018-01-02
  • Resolved: 2017-12-30
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java 9.0.1 & 1.8.152

ADDITIONAL OS VERSION INFORMATION :
macos 10.12.6

A DESCRIPTION OF THE PROBLEM :
JavaFX apps triggers discrete graphics usage on macos. Even a hello world app (https://docs.oracle.com/javafx/2/get_started/hello_world.htm) uses discrete graphics

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Create a app with source code from https://docs.oracle.com/javafx/2/get_started/hello_world.htm and run it

2. Or simply open netbeans 8.2 / sql developer 17.4

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JavaFX apps should use integrated graphics by default
ACTUAL -
JavaFX apps uses discrete graphics every time

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
See hello world app at https://docs.oracle.com/javafx/2/get_started/hello_world.htm
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Didn't found one


Comments
Closing this as 'Not an issue', referenced with JDK-8169592 : "We can use integrated video cards only when jdk is bundled with application(you can use java packager for this) and NSSupportsAutomaticGraphicsSwitching is added to the plist.info. We use discrete video card in all other cases, this is an OSX limitation. https://developer.apple.com/library/content/qa/qa1734/_index.html"
30-12-2017