United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6717988 D3D: rendering problems with JConsole on [Nvidia FX 5200]
JDK-6717988 : D3D: rendering problems with JConsole on [Nvidia FX 5200]

Details
Type:
Bug
Submit Date:
2008-06-23
Status:
Closed
Updated Date:
2010-05-10
Project Name:
JDK
Resolved Date:
2008-09-23
Component:
client-libs
OS:
windows_xp
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b31)

Related Reports
Backport:

Sub Tasks

Description
Customer experinces rendering issues with 6u10 on NVidia FX5200 when running
jconsole tool:

Double click jconsole.exe to start it.
When the "JConsole New Connection" window appears, pick it at the title bar and drag it around on the screen.
The body of the dialog is gone immediately and there is no way to get it back.
As you see, I do nothing special. Just drag the dialog.

[I] OS Version = OS_WINXP Pro
[I] CheckAdaptersInfo
[I] ------------------
[I] Adapter Ordinal  : 0
[I] Adapter Handle   : 0x10001
[I] Description      : NVIDIA GeForce FX 5200
[I] GDI Name, Driver : \\.\DISPLAY1, nv4_disp.dll
[I] Vendor Id        : 0x10de
[I] Device Id        : 0x0322
[I] SubSys Id        : 0x1b910de
[I] Driver Version   : 6.14.10.4502
[I] GUID             : {D7B71E3E-4062-11CF-F862-B32100C2CB35}
[I] D3DPPLM::CheckDeviceCaps: adapter 0: Passed
[I] ------------------
[I] Adapter Ordinal  : 1
[I] Adapter Handle   : 0x10003
[I] Description      : NVIDIA GeForce FX 5200
[I] GDI Name, Driver : \\.\DISPLAY2, nv4_disp.dll
[I] Vendor Id        : 0x10de
[I] Device Id        : 0x0322
[I] SubSys Id        : 0x1b910de
[I] Driver Version   : 6.14.10.4502
[I] GUID             : {D7B71E3E-4062-11CF-F862-B32100C2CB35}
[I] D3DPPLM::CheckDeviceCaps: adapter 1: Passed
[I] ------------------
[I] D3DGD_getDeviceCapsNative
[I] D3DContext::InitContext device 0
[I] D3DContext::ConfigureContext device 0
[V] dwBehaviorFlags=D3DCREATE_FPU_PRESERVE|D3DCREATE_HARDWARE_VERTEXPROCESSING
[I] D3DContext::ConfigureContext: successfully created device: 0
[I] D3DContext::InitDevice: device 0
[I] D3DContext::InitDefice: successfully initialized device 0
[V]   | CAPS_DEVICE_OK
[V]   | CAPS_RT_PLAIN_ALPHA
[V]   | CAPS_RT_TEXTURE_ALPHA
[V]   | CAPS_RT_TEXTURE_OPAQUE
[V]   | CAPS_LCD_SHADER | CAPS_BIOP_SHADER | CAPS_PS20
[V]   | CAPS_MULTITEXTURE
[V]   | CAPS_TEXNONSQUARE
[I] D3DGD_getDeviceCapsNative
[I] D3DContext::InitContext device 1
[I] D3DContext::ConfigureContext device 1
[V] dwBehaviorFlags=D3DCREATE_FPU_PRESERVE|D3DCREATE_HARDWARE_VERTEXPROCESSING
[I] D3DContext::ConfigureContext: successfully created device: 1
[I] D3DContext::InitDevice: device 1
[I] D3DContext::InitDefice: successfully initialized device 1
[V]   | CAPS_DEVICE_OK
[V]   | CAPS_RT_PLAIN_ALPHA
[V]   | CAPS_RT_TEXTURE_ALPHA
[V]   | CAPS_RT_TEXTURE_OPAQUE
[V]   | CAPS_LCD_SHADER | CAPS_BIOP_SHADER | CAPS_PS20
[V]   | CAPS_MULTITEXTURE
[V]   | CAPS_TEXNONSQUARE

                                    

Comments
WORK AROUND

Disable the d3d pipeline (property: -Dsun.java2d.d3d=false or env. variable: J2D_D3D=false).
                                     
2008-06-23
EVALUATION

The problem is caused by an old video driver (circa 2003).

When the latest driver fron NVidia drivers page is installed the
problem goes away:
  http://www.nvidia.com/object/winxp_175.16_whql.html

We'll need to restrict the pipeline ot a newer driver version.
                                     
2008-06-23
EVALUATION

The following version of the driver is confirmed to have resolved the issue:
[I] Vendor Id        : 0x10de
[I] Device Id        : 0x0322
[I] SubSys Id        : 0x1b910de
[I] Driver Version   : 6.14.11.7516
[I] GUID             : {D7B71E3E-4062-11CF-326E-B22100C2CB35}
                                     
2008-06-24
EVALUATION

I'll set the limit to be 6.14.11.6921 (about 1 year old, 06/2007) since I have
it on my test system and it works fine. This may somewhat broaden the list of people
who could use the new pipeline.
                                     
2008-07-28
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/java2d_data/6u11/6717988.0
                                     
2008-08-14



Hardware and Software, Engineered to Work Together