Hi, Denis.
On 27.05.15 18:08, Denis Fokin wrote:
Hi, Sergey,
Basically, you should close all apps that can switch the vc including the utility
for switching video cards. Make sure in About This Mac -> Displays that the
integrated card is enabled. Start an application with the patched version of Java.
Check About This Mac -> Displays. Integrated video card should be still active.
These steps are not enough. additionally this should be done also
(tested on Idea/JEdit and some other applications):
- All old jdk should be removed
- The patched jdk should be re/installed
- The application should be reinstalled and to Info.plist these lines
should be added:
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
- The fix doesn't work for applets, javapanel, javaws, and also with
applications which are running via command line (./bin/java -jar xxx).
Not sure that it can be fixed.
- It also does not work for some bundled applications which contain
NSSupportsAutomaticGraphicsSwitching in the Info.plist. Netbeans for
example. This should be investigated. But for now the fix looks fine.
27 мая 2015 г., в 17:30, Sergey Bylokhov <sergey.bylok...@oracle.com>
написал(а):
Hi, Denis.
Can you describe the steps on how to test it. On my mac it still change the vc.
On 27.05.15 17:16, Denis Fokin wrote:
Please review the fix for jdk9
The fix allows do not force discrete video card usage on MacBook Pro models
with two video cards. I have tested the fix on several MPBs.
Bug: https://bugs.openjdk.java.net/browse/JDK-8041900
Webrev: http://cr.openjdk.java.net/~denis/8041900/webrev.00
<http://cr.openjdk.java.net/%7Edenis/8041900/webrev.00>
--
Best regards, Sergey.
--
Best regards, Sergey.