JDK-8186981 : White screen when running Java FX Applications
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u144
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_10
  • CPU: x86
  • Submitted: 2017-08-29
  • Updated: 2017-09-13
  • Resolved: 2017-09-13
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
8u144

ADDITIONAL OS VERSION INFORMATION :
Windows 10

A DESCRIPTION OF THE PROBLEM :
I run the attached program I get a white screen. The window title bar is looks OK and says "Java FX" but the content, that should display a button saying JavaFX doesn't display, it's just white. 

This bug is similar to JDK 8185550 and 8185551 but this time the user has a Intel(R) HD Graphics 620. I'm reporting this on behalf of customers experiencing this issue to give Oracle an idea of the volume of users experiencing this. I've since noticed the provide more information link so will use that for now, rather than create additional bugs.

So we now have 4 cases of this:
- JDK-8154847: Intel HD 520 and Intel HD 530
- JDK 8185550: Intel(R) HD Graphics 520
- JDK 8185551: Intel(R) HD Graphics 515 graphics card
- This issue: Intel(R) HD Graphics 620






STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached program

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Seeing a button that says JavaFX
ACTUAL -
The window content is all white.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
 
public class HelloWorldJavaFX extends Application {
    public static void main(String[] args) {
        launch(args);
    }
    
    @Override
    public void start(Stage primaryStage) {
        primaryStage.setTitle("JavaFX");
        Button btn = new Button();
        btn.setText("JavaFX");
        btn.setOnAction(new EventHandler<ActionEvent>() {
 
            @Override
            public void handle(ActionEvent event) {
                System.out.println("Hello World!");
            }
        });
        
        System.out.println(getPlatformInfo());
        System.out.println(getJavaInfo());
        StackPane root = new StackPane();
        root.getChildren().add(btn);
        primaryStage.setScene(new Scene(root, 300, 250));
        primaryStage.show();
    }
    
    public static String getPlatformInfo()
    {
        return (new StringBuilder()).append("Name '").append(System.getProperty("os.name")).append("' ").append("Version '").append(System.getProperty("os.version")).append("' ").append("Arch '").append(System.getProperty("os.arch")).append("'").toString();
    }

    public static String getJavaInfo()
    {
        return (new StringBuilder()).append("Vendor '").append(System.getProperty("java.vendor")).append("' ").append("URL '").append(System.getProperty("java.vendor.url")).append("' ").append("Version '").append(System.getProperty("java.version")).append("' ").append("Home '").append(System.getProperty("java.home")).append("'").toString();
    }
}
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
-Dprism.order=sw


Comments
Latest graphics driver i could updated for my machine (ThinkPad T460), was version 22.20.16.4749 on which again i was not able to reproduce the bug. PFA screenshot - dcsprm_intel520_ver22.20.png So after checking with Stephen, closing this as 'Cannot Reproduce' as it might be related to specific drivers.
13-09-2017

Reopening to discuss with Priyanka.
31-08-2017

I don't see any attempts to try to reproduce this locally using the same drivers as the submitter. Both reports of "can't reproduce" were with driver major version 20, but the submitter was using major version 21. We need to test apples to apples...
31-08-2017

Closing - Won't Fix (For JDK 8) Please utilize the solution with JDK 9, or raise a customer support case.
31-08-2017

No, not reproducible in JDK 9-ea+181 also.
31-08-2017

Does it affect 9?
30-08-2017

Submitter has provided attached output of the test application submitted in the bug being run with ���Dprism.verbose=true (PFA screenshot - intel520-debug.png) Reported bug was in Intel(R) HD graphics 520, version 21.20.16.4590 I verified again in my machine (windows 10 ( Intel(R) HD Graphics 520, version 20.19.15.4483) by creating jar file using 8u144 but couldn't reproduce the bug. PFA screenshot (dcsprm_intel520.png).
30-08-2017

Verified using 8u144-b01 in windows 10 ( Intel(R) HD Graphics 520, version 20.19.15.4483) but could not reproduce the bug. Requested submitter for driver version.
30-08-2017