JDK-6762839 : Images in SwingSet2 are displayed incorrectly.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2008-10-23
  • Updated: 2010-08-04
  • Resolved: 2008-10-23
Related Reports
Duplicate :  
Description
Images in SwingSet2 are often displayed incorrectly on my Windows Vista machine. To be precise, a part of each image is displayed repeatedly like laying tiles. Please see attached JPG files.

Some additional info:
- I see this phenomenon with JDK7-b37. I haven't tried other JDK7 promotion builds or earlier JDKs.
- VM seems to have nothing to do with this phenomenon. This is reproducible both with client and server VMs.
- This phenomenon seems to occur when the usage rate of memory is comparatively high. I attached an image of TaskManager when I saw this symptom. (CPU Usage: 4%, Physical Memory: 84%) I happened to find this symptom when I was investigating InputMethod bugs which seems to be related to high memory usage.
- My machine's CPU: Athlon 64 X2, Memory: 1.5GB, Graphic: NVIDIA GeForce 7600 GS
- It may be difficult to reproduce this phenomenon on other machines. I tried to reproduce it on my another Vista machine but couldn't reproduce.
I ran SwingSet2 on 6u6, 6u7, and 6u10.
It wasn't reproducible on 6u6 and 6u7 and was reprducible on 6u10.
This seems to be a regression.

Comments
EVALUATION Driver information which was got w/ J2D_TRACE_LEVEL=4 ----------------------------------------------------------------------------------- [I] OS Version = OS_VISTA or newer [I] CheckAdaptersInfo [I] ------------------ [I] Adapter Ordinal : 0 [I] Adapter Handle : 0x10001 [I] Description : NVIDIA GeForce 7600 GS [I] GDI Name, Driver : \\.\DISPLAY1, nvd3dum.dll [I] Vendor Id : 0x10de [I] Device Id : 0x0392 [I] SubSys Id : 0x341a1458 [I] Driver Version : 7.15.11.7813 [I] GUID : {D7B71E3E-40D2-11CF-6D69-111401C2CA35} [I] D3DPPLM::CheckDeviceCaps: adapter 0: 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_AA_SHADER [V] | CAPS_PS30 [V] | CAPS_MULTITEXTURE [V] | CAPS_TEXNONPOW2 [V] | CAPS_TEXNONSQUARE [W] D3DRQ_flushBuffer: null manager -----------------------------------------------------------------------------------
24-10-2008

EVALUATION I confirmed that java -Dsun.java2d.d3d=false makes this phenomenon not reproducible. So, I close this bug as a duplicate of 6757527.
23-10-2008

EVALUATION I suspect this is a duplicate of 6757527: D3D: serious rendering issues on Nvidia boards with driver version 178.13 on Vista which isn't a 2D bug, its an Nvidia bug. Try set J2D_TRACE_LEVEL=4 and rerun SwingSet and add the driver information to this bug report. Also separately run with java -Dsun.java2d.d3d=false -jar SwingSet2.jar If that makes the problem go away its almost certainly the Nvidia driver bug.
23-10-2008