Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Sergey Bylokhov
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

[OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Denis Fokin
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

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Denis Fokin
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.

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Denis Fokin
Hi Phil, Thank you for the comments. Actually, the battery life is not the only issue that experience our customers. I am getting crash reports that are reproducible only with discrete cards on MBP. Some users report hangs with discrete cards. All this issues are eliminated by switching on the

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Torgeir Veimo
This is one of the bugs that prevent IDEA to switching to JDK7/8 for IntelliJ by default. The JDK is perceived by a lot of users as an ill-behaved application on OS X because it forces use of the discrete GPU, drastically reducing battery life. This patch didn't work for me either, on a 2014 15

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8041900 [macosx] Java forces the use of discrete GPU

2015-05-27 Thread Phil Race
Hello Denis, Once lots of people start to use the integrated CPU I suppose there is a non-zero likelihood of crashes and other problems with that too. I would like to see this (a) selected based on battery or similar, not fixed, (b) made controllable by a flag or similar, and once that is