Hi,

>Date: Mon, 11 Mar 2002 14:38:47 -0800
>From: "Innes, Erik" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Seemingly random performance degradation.
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Delivered-to: [EMAIL PROTECTED]
>
>I've changed my Java JDK from 1.3 to 1.4 and Java 3D from 1.2 to the
>1.3beta. I'm running on Windows 2000, using DirectX.
>
>Performance of the Canvas3D display for my animation is extremely slow, no
>matter what I'm doing in my application (by about a factor of 10).
>Occassionally, when I execute the application, it performs fine, as it did
>before. When the application is launched, it either performs just fine or
>very slowly.
>(My Java2D app has no problems).
>
>On exit, the following prints out:
>"Fail to create hardware D3D Device, switch to use reference rasterizer. -
>D3DERR_OUTOFVIDEOMEMORY"
>
>I'm wondering if there's a memory management problem, where it's
>automatically going to a very slow rendering mode.
>
>Any ideas what is going on, and how to fix it?
>

Java3D v1.3 beta1 DirectX version use DirectX8.0 API.
(v1.2.1 use DirectX 7.0 API). We found that some old driver
will not support hardware accelerated mode under DX8.0
for certain display mode (even though it works using DX7.0 API)
In particular neomagic chipset have this interesting behavior.
If you run the demo program come with DX8.0 SDK you should
also see the same behavior - can't create D3D device
using hardware accelerated mode. Instead of fail and quit
current Java3D version will fall back to reference mode
to let you see something at least, that's why you see the
message which should print on startup.

To fix the problem, you can either
(i) Try switching to another display mode (32bit/24bit/16bit)
    to see which one support hardware accelerated mode.
(ii) If (i) fail, try update the latest driver from the
     vendor.
(iii) If (ii) fail, use the OpenGL version of Java3D.
(iv) If (iii) fail, replace legacy graphics card !

Thanks.

- Kelvin
---------------
Java 3D Team
Sun Microsystems Inc.

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

Reply via email to