JDK-6709823 : D3D: the AA pixel shader is very slow on some PS3.0 hardware [NVidia NVS 285]
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-06-02
  • Updated: 2012-01-16
Related Reports
Relates :  
Relates :  
Description
According to this thread:
  http://forums.java.net/jive/thread.jspa?threadID=41748&tstart=0
The new AA shader is much slower on NVidia NVS285 hardware
(which reports as supporting PS3.0).

From the thread:
  The program below runs at about 800 fps with b14 and about 200 fps with b24 on my computer. Dell 380, 3Ghz Pentium D, Nvidia NVS 285, XP Pro SP3.
  I tried disabling direct draw on b24 and it was about 10 percent faster than with it enabled.

 OS Version = OS_WINXP Pro
CheckAdaptersInfo
------------------
Adapter Ordinal : 0
Adapter Handle : 0x10001
Description : NVIDIA Quadro NVS 285
GDI Name, Driver : \\.\DISPLAY1, nv4_disp.dll
Vendor Id : 0x10de
Device Id : 0x0165
SubSys Id : 0x29d10de
Driver Version : 6.14.11.7551
GUID : {D7B71E3E-4225-11CF-116E-962200C2CB35}
D3DPPLM::CheckDeviceCaps: adapter 0: Passed
------------------
D3DGD_getDeviceCapsNative
D3DContext::InitContext device 0
D3DContext::ConfigureContext device 0
[V] dwBehaviorFlags=D3DCREATE_FPU_PRESERVE|D3DCREATE_HARDWARE_VERTEXPROCESSING
D3DContext::ConfigureContext: successfully created device: 0
D3DContext::InitDevice: device 0
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

The benchmark is attached.

Comments
EVALUATION We have limited the use of the new AA pixel shader (introduced with 6690659) to the cases when the hw is reported as supporting PS3.0 (6695820). Apparently it's not enough, as one of the users pointed out on the forum: "Also note that the "Quadro NVS 285" is based on the "NV44" which is exactly the same which which poweres the GeForce-6200. Although this card is capable of running pixel-shader 3.0, its so slow that its almost useless." It appears that we'll have to either figure out a better way to determine if this shader can be run in hw or develop a different approach in the shader.
02-06-2008