JDK-6717988 : D3D: rendering problems with JConsole on [Nvidia FX 5200]
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-06-23
  • Updated: 2010-05-10
  • Resolved: 2008-09-23
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 6 JDK 7
6u10 b31Fixed 7Fixed
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
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/6u11/6717988.0
14-08-2008

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.
28-07-2008

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}
24-06-2008

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

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.
23-06-2008