Re: Application performance issue even with opengl java3d

Mathias, Thank for your reply.

I have installed OpenGl java3D 1.3  beta2 on my win2k but still have
problem with display window (it either becomes grey or all display
components disappear. Also I got the following message
---------------

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x690BBB50
Function=DrvValidateVersion+0x747B0
Library=C:\WINNT\system32\atio2kai.dll

Current Java thread:
 at javax.media.j3d.Canvas3D.callDisplayList(Native Method)
 at
javax.media.j3d.DisplayListRenderMethod.render(DisplayListRenderMethod.java:57)

 at
javax.media.j3d.DisplayListRenderMethod.render(DisplayListRenderMethod.java:46)

 at javax.media.j3d.RenderMolecule.render(RenderMolecule.java:1847)
 at javax.media.j3d.TextureBin.renderList(TextureBin.java:1315)
 at javax.media.j3d.TextureBin.renderList(TextureBin.java:1287)
 at javax.media.j3d.TextureBin.render(TextureBin.java:1277)
 at javax.media.j3d.TextureBin.render(TextureBin.java:1223)
 at javax.media.j3d.AttributeBin.render(AttributeBin.java:389)
 at javax.media.j3d.EnvironmentSet.render(EnvironmentSet.java:426)
 at javax.media.j3d.LightBin.render(LightBin.java:361)
 at javax.media.j3d.RenderBin.renderOrderedBin(RenderBin.java:5106)
 at javax.media.j3d.RenderBin.renderOrderedBins(RenderBin.java:5067)
 at javax.media.j3d.RenderBin.renderOrdered(RenderBin.java:5060)
 at javax.media.j3d.Renderer.doWork(Renderer.java:1230)
 at javax.media.j3d.J3dThread.run(J3dThread.java:250)

Dynamic libraries:
0x00400000 - 0x00406000  C:\WINNT\system32\java.exe
0x77F80000 - 0x77FFB000  C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000  C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000  C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000  C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000  C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D45C000  C:\Program Files\Java\j2re1.4.1\bin\client\jvm.dll

0x77E10000 - 0x77E74000  C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000  C:\WINNT\system32\GDI32.DLL
0x75E60000 - 0x75E7A000  C:\WINNT\System32\IMM32.DLL
0x6D1D0000 - 0x6D1D7000  C:\Program Files\Java\j2re1.4.1\bin\hpi.dll
0x6D300000 - 0x6D30D000  C:\Program Files\Java\j2re1.4.1\bin\verify.dll
0x6D210000 - 0x6D229000  C:\Program Files\Java\j2re1.4.1\bin\java.dll
0x6D320000 - 0x6D32D000  C:\Program Files\Java\j2re1.4.1\bin\zip.dll
0x6D000000 - 0x6D0FA000  C:\Program Files\Java\j2re1.4.1\bin\awt.dll
0x77800000 - 0x7781D000  C:\WINNT\system32\WINSPOOL.DRV
0x77A50000 - 0x77B46000  C:\WINNT\system32\ole32.dll
0x6D180000 - 0x6D1D0000  C:\Program
Files\Java\j2re1.4.1\bin\fontmanager.dll
0x782F0000 - 0x78532000  C:\WINNT\system32\shell32.dll
0x77C70000 - 0x77CBA000  C:\WINNT\system32\SHLWAPI.DLL
0x77B50000 - 0x77BD9000  C:\WINNT\system32\COMCTL32.DLL
0x779B0000 - 0x77A4B000  C:\WINNT\system32\OLEAUT32.DLL
0x775A0000 - 0x77625000  C:\WINNT\system32\CLBCATQ.DLL
0x77840000 - 0x7787C000  C:\WINNT\system32\cscui.dll
0x770C0000 - 0x770E3000  C:\WINNT\system32\CSCDLL.DLL
0x76DF0000 - 0x76E01000  C:\WINNT\system32\mydocs.dll
0x76C80000 - 0x76D90000  C:\WINNT\system32\SHDOCVW.DLL
0x75090000 - 0x750A0000  C:\WINNT\system32\MPR.DLL
0x75160000 - 0x7516C000  C:\WINNT\System32\ntlanman.dll
0x75210000 - 0x75225000  C:\WINNT\System32\NETUI0.DLL
0x751D0000 - 0x75208000  C:\WINNT\System32\NETUI1.DLL
0x75170000 - 0x751BF000  C:\WINNT\System32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000  C:\WINNT\System32\SECUR32.DLL
0x751C0000 - 0x751C6000  C:\WINNT\System32\NETRAP.DLL
0x75150000 - 0x75160000  C:\WINNT\System32\SAMLIB.DLL
0x75030000 - 0x75043000  C:\WINNT\System32\WS2_32.DLL
0x75020000 - 0x75028000  C:\WINNT\System32\WS2HELP.DLL
0x77950000 - 0x77979000  C:\WINNT\system32\WLDAP32.DLL
0x77980000 - 0x779A4000  C:\WINNT\System32\DNSAPI.DLL
0x75050000 - 0x75058000  C:\WINNT\System32\WSOCK32.DLL
0x76FA0000 - 0x76FAF000  C:\WINNT\system32\ntshrui.dll
0x773E0000 - 0x773F2000  C:\WINNT\system32\ATL.DLL
0x51000000 - 0x51044000  C:\WINNT\system32\ddraw.dll
0x728A0000 - 0x728A6000  C:\WINNT\system32\DCIMAN32.dll
0x72D90000 - 0x72E03000  C:\WINNT\system32\D3DIM.DLL
0x18D60000 - 0x18D81000  C:\Program Files\Java\j2re1.4.1\bin\J3D.dll
0x69510000 - 0x695D7000  C:\WINNT\system32\OPENGL32.dll
0x6FAC0000 - 0x6FADF000  C:\WINNT\system32\GLU32.dll
0x6D230000 - 0x6D235000  C:\Program Files\Java\j2re1.4.1\bin\jawt.dll
0x69000000 - 0x691A3000  C:\WINNT\system32\atio2kai.dll
0x77920000 - 0x77943000  C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000  C:\WINNT\system32\DBGHELP.dll
0x1F200000 - 0x1F20B000  C:\WINNT\system32\PSAPI.DLL

Local Time = Wed Jun 26 13:50:59 2002
Elapsed Time = 99
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1-beta-b14 mixed mode)
#

------------

Mathias Stümpert wrote:

> Hi Helen,
>
> > But on Windows 2000, I always run into the problem " out of video
> > memory" when I have  several display window open at sametime or resize
> > the display window.  (I have 16MB video memory on my PC).
>
> This seems to be a DirectX bug since it never appears with the OpenGL
> Java3D version. So if you want to prevent this bug you have to use the
> OpenGL J3D even on your win2k. The disadvantage of using OpenGL is that
> it is slower than DirectX. This seems to be clear since DirectX was
> developed for exclusive use with windows and OpenGL is in contrast a
> cross-plattform api.
>
> Cheers, Mathias