Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6629891
Votes 0
Synopsis D3D: Rendering artifacts with older driver [Nvidia Quadro NVS 110M]
Category java:classes_2d
Reported Against
Release Fixed 6u10(b09)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 14-NOV-2007
Description
From this post:
  http://forums.java.net/jive/message.jspa?messageID=245439#245439

Rendering artifacts occur in my custom charts and in JFreeChart charts as well. The artifacts go away when I disable the new pipeline.

Here is the trace output:
CheckAdaptersInfo
------------------
Adapter Ordinal : 0
Adapter Handle : 0x10001
Description : NVIDIA Quadro NVS 110M
GDI Name, Driver : \\.\DISPLAY1, nv4_disp.dll
Vendor Id : 0x10de
Device Id : 0x1d7
SubSys Id : 0x1c21028
Driver Version : 6.14.10.8313
GUID : D7B71E3E-4297-11CF-E153C82100C2CB35
------------------
InitD3D: successfully created Direct3D9  customer 
D3DGD_getDeviceCapsNative
D3DPPLM::CheckDeviceCaps: adapter 0: Passed
D3DContext::InitContext device 0
D3DContext::ConfigureContext device 0
D3DContext::ConfigureContext: successfully created device: 0
D3DContext::InitDevice: device 0
D3DContext::InitDefice: successfully initialized device 0
[V] | CAPS_DEVICE_OK
[V] | CAPS_ALPHA_RT_PLAIN
[V] | CAPS_ALPHA_RTT
[V] | CAPS_OPAQUE_RTT
[V] | CAPS_LCD_SHADER | CAPS_BIOP_SHADER
[V] | CAPS_MULTITEXTURE
[V] | CAPS_TEXNONPOW2
[V] | CAPS_TEXNONSQUARE


(the app and screenshot and attached)
Posted Date : 2007-11-14 21:01:24.0
Work Around
Disable the pipeline with -Dsun.java2d.d3d=false .
Evaluation
The issue went away after the user updated the driver to version 6.14.11.5665.
So we're going to restrict the pipeline to this driver version.

The ouptut with the new version:
[I] Adapter Ordinal  : 0
[I] Adapter Handle   : 0x10001
[I] Description      : NVIDIA Quadro NVS 110M
[I] GDI Name, Driver : \\.\DISPLAY1, nv4_disp.dll
[I] Vendor Id        : 0x10de
[I] Device Id        : 0x1d7
[I] SubSys Id        : 0x1c21028
[I] Driver Version   : 6.14.11.5665
[I] GUID             : D7B71E3E-4297-11CF-B965C92100C2CB35
Posted Date : 2007-11-14 21:01:24.0

Note that another issue with this board, this time on Windows Vista,
has been reported:
  http://forums.java.net/jive/thread.jspa?messageID=247267&#247267

(The fix for this bug doesn't address . I will file a separate bug.)

Unfortunately updating to the lateset available drivers didn't
help. I suspect that the problem is with Present() calls
with regions - I have seen similar issues on other nvidia boards
in full-screen mode: if Present is called with non-NULL rectangles
sometimes the rendering gets screwed (we even have a workaround
for this for the full-screen mode). The submitter reports
that using -Dswing.bufferPerWindow=false helps, and the likely
reason is that in this case there are no partial updates.
Posted Date : 2007-11-29 17:25:53.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang