JDK-8067328 : Many display defects with Java 8 and Intel HD card
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8u25,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2014-12-11
  • Updated: 2014-12-15
  • Resolved: 2014-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [version 6.1.7601]

EXTRA RELEVANT SYSTEM CONFIGURATION :
Operating system: Microsoft Windows 7 Professionnel (french)
Version: 6.1.7601 Service Pack 1 Build 7601
Manufacturer: LENOVO
Model: 23511B7
Processor: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2901��MHz, 2 cores, 4 logic processors

Name: Intel(R) HD Graphics 4000
Plug-and-Play Device Id: PCI\VEN_8086&DEV_0166&SUBSYS_21F417AA&REV_09\3&42FFD25&0&10
Card type: Intel(R) HD Graphics Family, compatible Intel Corporation
Card description: Intel(R) HD Graphics 4000
Driver version: 9.17.10.2843

Name: NVIDIA NVS 5400M
Plug-and-Play Device Id: PCI\VEN_10DE&DEV_0DEF&SUBSYS_21F417AA&REV_A1\4&1FF6B60&0&0008
Card type: NVS 5400M, compatible NVIDIA
Card description: NVIDIA NVS 5400M
Driver version: 9.18.13.3302


A DESCRIPTION OF THE PROBLEM :
We consistently observe a display problem under the following conditions:
 - Viewing screens of a Java application
 - Using the Java JRE 8
 - Using the Intel HD Graphics 4000

Our Lenovo notebooks are equipped with a dual graphics card: an integrated Intel HD 4000 used for the laptop screen and a NVIDIA card used for display on a larger external monitor.

When a Java application is run with Java 8 and displayed on the screen of the laptop using Intel HD graphics, we see many flaws and glitches in the display.

It can be, for example, a label or icon that is absent or incompletely displayed, or a blinking text, or a text that appears truncated when clicked with the mouse, and so on. See links to screenshots.

Under Steps to Reproduce, we mention the use of the Java Configuration panel because it is always available. 

However, this problem is critical in case the customer uses a RIA Java application, with Java 8 installed client side.

All clients do not have an Intel HD graphics card, however, potentially hundreds or thousands of our customers may encounter a similar problem.
Indeed, the Intel HD card is largely widespread as a single card on entry level systems or along with a second card on higher level system such as Lenovo ThinkPad laptops.


REGRESSION.  Last worked in version 7u72

ADDITIONAL REGRESSION INFORMATION: 
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Have a computer equipped with a Intel HD 4000 graphic card, for example the Lenovo ThinkPad T430.

2. Have Java 8 JRE installed

3. Run the Java Configuration panel in Windows. Verify that it uses Java 8 by opening the About window.

4. If your main display is an external monitor, using a different graphic card, like NVIDA, you can observe that the visual display is correct.

5. When dragging the application window, or the About window, on the display using the Intel HD 4000, you will see visual defects on screen.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The expected result is that the display appears correctly as with Java 7.
ACTUAL -
Example screenshots from the Java Configuration panel :

- http://i.imgur.com/t8svBF6.png

- http://i.imgur.com/IdDL6gv.png

Sometimes the display defects appears to be minor problems, but with our RIA enterprise application, it can become very difficult, or even impossible, to continue working because of these display problems.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
No source code.
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
On a dual graphics card system, like the Lenovo T430, the workaround is to change the configuration of the graphics driver, so that he favors the use of the second graphics card, for example. NVIDIA, on both screens. Thus the use of the Intel HD offending card is reduced or even not used anymore.
This workaround does not constitute a final solution to this problem that must be solved.

It is not possible to ask thousands of lambda customers to do this kind of technical operation on their individual system in case of problems.


Comments
To the best of our knowledge, this is an Intel D3D hardware/driver bug, not our bug. As noted by the submitter, it renders fine on Nvidia. Upgrading to the latest driver sometimes helps. For 8u40 we have disabled D3D on Intel: https://bugs.openjdk.java.net/browse/JDK-8064381 Performance may suffer but it should look right.
15-12-2014