Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091754

javafx bundle on osx with retina display ignore Info.plist NSSupportsAutomaticGraphicsSwitching=true

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u25
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Osx Yosemite Version 10.10.1 with a retina display,
      MacBook Pro (15-inch, Mid 2012)
      Processor 2.3 GHz Intel Core i7
      Memory 8 GB 1600 MHz DDR3
      Graphics Intel HD Graphics 4000 1024 MB

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                jstilejfx John Stile (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: