JDK-5023096 : Empty(completely gray) Dialogs and Windows with ATI graphics card
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-03-30
  • Updated: 2005-06-16
  • Resolved: 2005-06-16
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 03/29/2004


FULL PRODUCT VERSION :
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows XP Build 2600.xpsp2.0304222-1633 SP1

EXTRA RELEVANT SYSTEM CONFIGURATION :
ATI Graphics Card(Radeon 9800XT) with Driver 6.14.10.6422 and DirectX  9.0b

A DESCRIPTION OF THE PROBLEM :
Every Java Application draws empty Windows and Dialogs they are just gray. Important: They don't hang.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just open a java app on a system with this configuration...

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Everything is shown and painted
ACTUAL -
Empty, gray windows, nothing gets painted

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
If you supply -Dsun.java2d.d3d=false at vm startup everything works fine, but if you  have to start an app from native code this is not possible.
(Incident Review ID: 245144) 
======================================================================

Comments
WORK AROUND Set env. variable J2D_D3D=false, or _JAVA_OPTIONS=-Dsun.java2d.d3d=false ###@###.### 2004-03-30 Install the latest ATI video driver, which is 4.3(6.14.10.6430) at this point. ###@###.### 2004-03-31 Disable the "force antialiasing" setting for the Direct3D apps in the ATI Display Properties dialog, leave it at "application preference". ###@###.### 2005-06-16 01:32:50 GMT
16-06-2005

EVALUATION I've contacted the submitter asking to see if the problem goes away with the latest ATI driver (6.14.10.6430). The response: > After upgrading to the newest driver 4.2(6.14.10.6422) to > 4.3(6.14.10.6430) everything > works as it should. ###@###.### 2004-03-31 This appears to be a problem with some drivers when a user sets forces the antialiasing in the Direct3D options dialog. Unfortunately there's no way for an application to detect that antialiasing is forced for all Direct3D operations, it's supposed to be completely transparent. In 1.5 and previous releases we used to set the D3D target property for the primary surface (the screen), which caused a lot of problems. As of mustang (jdk6.0) we no longer do that, so some of these issues should go away. For more information see bug: 6213204: Starting any java program causes the screen to become blurred ###@###.### 2005-06-16 01:32:50 GMT
16-06-2005