Thanks a lot for the report, of course it is useful.

 I have a FX5200 board here and it doesn't have an of these issues.
 It's not the fastest board around, for sure, but I haven't seen
 rendering artifacts you're describing.

 Could you try installing the latest driver from nvidia.com and
 see if it helps? The latest version is 169.21 and you have 163.16.

 I'll file a bug anyway so that we can track this. We'll likely need
 to only enable the pipeline if the driver is known to be ok.

 Thanks,
   Dmitri


[EMAIL PROTECTED] wrote:
Hello,

I've reactivated one of my older machines to check wether the D3D pipeline does 
work on it:
CPU: Athlon-Thunderbird 1000
[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        : 0x13511682
[I] Driver Version   : 6.14.11.6316
[I] GUID             : {D7B71E3E-4062-11CF-9E6D-5A3300C2CB35}
[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_ALPHA_RT_PLAIN
[V]   | CAPS_ALPHA_RTT
[V]   | CAPS_OPAQUE_RTT
[V]   | CAPS_LCD_SHADER | CAPS_BIOP_SHADER
[V]   | CAPS_MULTITEXTURE
[V]   | CAPS_TEXNONSQUARE
Direct3D pipeline enabled on screen 0

These are my findings:

1.) When running Java2Demo/demos.transform.Rotate (shear) resizing the window 
on and on gives the following Exceptions:

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
 100
        at java2d.MemoryMonitor$Surface.paint(MemoryMonitor.java:242)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

I have to admit that this was not "normal" resizing, but rather "resize like mad to 
see wether to does hickup".I don't know if it is linked to demos.transform.Rotate (shear), in 
fact it happend several times to me when rsizing like mad ...


2.) It seems like the driver sometimes punts the D3D surface to system-memory - 
could that be?
Its sometimes slow (really slow - LinesAnim at 10fps without AA) and sometimes 
like it should be.
I was not able to reproduce the same behaviour when runnig on the 
OpenGL-Pipeline - however I don't know wether this is driver specific, or if 
you even know already about it.

3.) In TransformAnim some shapes are red with black "spots" - which slow down 
rendering when AA is disabled a lot.
TransformAnim, only shapes (one spotted shape): 4.48fps
TransformAnim, only shapes, AA (one spotted shape): 16.8fps
OpenGL, only shapes (one spotted shape) : ~50fps

Nothing important to me, I just thought it could be interesting ;)

4.) Performance problems with JInternamFrames, Windows-LnF and accalerated 
pipelines:
When moving the JInternal Windows of SwingSet2 arround (the small one with the moon in 
it), its most of the time fast, but sometimes (e.g. when moving between the 
"Internal Frame Generator" and the other small JInternalFrames) performance 
drops a lot. The Moon-Frame moves about with 2fps or something like that.
I used Windows' XPs default theme (the ugly blue candy theme).
It happens when using both OpenGL or D3D, when using -Dsun.java2d.d3d=false it 
is always fast.

Hope that my tests were useful, if not, they were fun ;)

Thanks, lg Clemens
[Message sent by forum member 'linuxhippy' (linuxhippy)]

http://forums.java.net/jive/thread.jspa?messageID=250961

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to