JDK-6570110 : Switch to a second monitor, windows crashes (bluescreen, reboot)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-06-15
  • Updated: 2012-01-16
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

EXTRA RELEVANT SYSTEM CONFIGURATION :
Graphic Card:
NVIDIA Quadro FX 2500M, Bios-Version 5.71.22.28.04, Driver Version 8.4.2.9
on a Dell Precision M90 Workstation (Notebook)

A DESCRIPTION OF THE PROBLEM :
When running a Java-Program and the switching the display to a secondary monitor (beamer), windows crashes with a bluscreen (displays very short, <1s) then reboots. This is reproducable with our own application, the SwingSet-Demo and other Java-Applications.
It does not occur if we only change the resolution/colordepth of the first (and only) monitor/display, without switching to the secondary monitor.

It does also occur under JRE 1.5.0_11

When switching off the use of d3d and ddraw, it works. Must be an issue with ddraw and the graphic card driver.

This occurs on all our Dell Precision M90 with the mentioned Graphic Card. No newer driver available :-(

Can't you switch off these d3d thing by default? It hurts us since years now!


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run Swingset, switch to an external Monitor

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The external monitor displays the application (clone)
ACTUAL -
crash of windows

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
provide the two flags at the commandline:
-Dsun.java2d.noddraw=true
-Dsun.java2d.d3d=false

Comments
EVALUATION Reopening due to comments on the jdc. Still waiting on information whether 6u10 helped or not.
12-03-2008

EVALUATION No response from the submitter for almost a year. (the issue is likely to go away with the new d3d9-based pipeline in 6u10 anyway)
10-03-2008

WORK AROUND Disable the ddraw pipeline with -Dsun.java2d.noddraw=true (you can set _JAVA_OPTIONS global env. variable: _JAVA_OPTIONS=-Dsun.java2d.noddraw=true and all java processes will pick it up)
15-06-2007

EVALUATION This is obviously a video driver bug. Note that the d3d pipeline is disabled by default, so this could not be a d3d-related problem. We've fixed multimonitor related bug in jdk6u2, which is not released yet, but the builds are available at http://download.java.net/jdk6/binaries/ . Please try and see if it helps.
15-06-2007