Thanks for the insightful reply. I've tried to perform the tests you suggest. 
The environment is started by a tiny "booter" program which is using the 
classloader to launch the rest of the program (the booter handles updates). No 
explicit java2D-parameters are given to the booter (i.e. no forced d3d).

[b]The original installation (working) gives the following output:[/b]
[code]
[W] GetFlagValues: DDraw screen locking is disabled (W2K, XP+)
[I] InitDirectX
[V] CheckRegistry: Found Display Device 0: ATI MOBILITY RADEON HD 2600
[I] CreateDevice: lpGUID=0x95cb28 hMon=0x10001
[I] DDSetupDevice
[I] DDraw::CreateDDPrimarySurface: back-buffers=0
[V] DDSetupDevice: successfully created primary surface
[V] DDSetupDevice: successfully setup ddraw device
[I] DDSetupDevice
[I] DDraw::CreateDDPrimarySurface: back-buffers=1
[V] DDSetupDevice: successfully created primary surface
[V] DDSetupDevice: successfully setup ddraw device
[I] D3DContext::D3DContext
[V] D3DUtils_SelectDeviceGUID: using TNL rasterizer
[I] D3DContext::CreateD3DDevice
[I] D3DContext::CreateAndTestD3DDevice
[I] D3DContext::InitD3DDevice: d3dDevice=Oxb6860
[V] D3DContext::CreateAndTestD3DDevice: D3D device creation/initialization 
successful
[W] TestRenderingResults: Quality test failed due to value ff000000 at (34, 0)
[I] CreateD3DDevice: tests PASSED, d3d enabled (forced: no).
[I] D3DContext::CreateD3DDevice
[I] D3DContext::CreateAndTestD3DDevice
[I] D3DContext::InitD3DDevice: d3dDevice=Oxb9da0
[V] D3DContext::CreateAndTestD3DDevice: D3D device creation/initialization 
successful
[W] TestRenderingResults: Quality test failed due to value ff000000 at (34, 0)
[I] CreateD3DDevice: tests PASSED, d3d enabled (forced: no).
[I] D3DContext::CreateD3DDevice
[I] D3DContext::CreateAndTestD3DDevice
[I] D3DContext::InitD3DDevice: d3dDevice=Oxb9da0
[V] D3DContext::CreateAndTestD3DDevice: D3D device creation/initialization 
successful
[W] TestRenderingResults: Quality test failed due to value ff000000 at (34, 0)
[I] CreateD3DDevice: tests PASSED, d3d enabled (forced: no).
[I] D3DContext::CreateD3DDevice
[I] D3DContext::CreateAndTestD3DDevice
[I] D3DContext::InitD3DDevice: d3dDevice=Oxb9da0
[V] D3DContext::CreateAndTestD3DDevice: D3D device creation/initialization 
successful
[W] TestRenderingResults: Quality test failed due to value ff000000 at (34, 0)
[I] CreateD3DDevice: tests PASSED, d3d enabled (forced: no).

...

1080 calls to D3DDrawLine
1 call to sun.java2d.loops.Blit::Blit(ByteIndexed, SrcNoEa, IntArgbBm)
137 calls to sun.java2d.d3d.D3DTextureToSurfaceScale::ScaledBlit("Direct3D 
Texture", AnyAlpha, "D3D render target")
351 calls to D3DDrawGlyphs
31 calls to sun.java2d.loops.Blit::Blit(IntArgbBm, SrcOverNoEa, IntRgb)
9 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntArgbBm, SrcOver, 
"D3Drender target")
2 calls to sun.java2d.loops.TransformHelper::TransformHelper(IntBgr, SrcNoEa, 
IntArgbPre)
2788 calls to sun.java2d.d3d.D3DTextureToSurfaceBlit::Blit("Direct3D Texture", 
AnyAlpha, "D3D render target")
2 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, IntRgb)
68 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntRgb, SrcNoEa, 
IntArgbBm)
41 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, AnyAlpha, IntArgbPre)
50 calls to sun.java2d.loops.Blit::Blit(IntArgbBm, SrcNoEa, IntArgb)
145 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, AnyAlpha, IntArgbBm)
68 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, IntArgb)
9 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, SrcOver, IntRgb)
41 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgbBm, SrcNoEa, 
IntArgbPre)
40 calls to sun.java2d.loops.TransformHelper::TransformHelper(IntArgbBm, 
SrcNoEa, IntArgbPre)
41 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntArgbBm, SrcNoEa, 
IntArgbPre)
41 calls to sun.java2d.d3d.DelegateSwToTextureLoop::Blit(Any, SrcNoEa, 
"Direct3D Texture")
39 calls to D3DFillRect
9 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgbBm, SrcOver, 
"D3Drender target")
68 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntRgb, SrcNoEa, 
IntArgbBm)
1 call to sun.java2d.loops.ScaledBlit::ScaledBlit(IntArgbBm, SrcOverNoEa, 
IntRgb)
77 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgb, SrcOverNoEa, 
IntArgbBm)
5139 total calls to 24 different primitives
[/code]

[b]With the erroneous configuration I get this:[/b]
[code]
[W] GetFlagValues: DDraw screen locking is disabled (W2K, XP+)
[I] InitDirectX
[V] CheckRegistry: Found Display Device 0: ATI MOBILITY RADEON HD 2600
[I] CreateDevice: lpGUID=0x95cb28 hMon=0x10001
[I] DDSetupDevice
[I] DDraw::CreateDDPrimarySurface: back-buffers=0
[V] DDSetupDevice: successfully created primary surface
[V] DDSetupDevice: successfully setup ddraw device
[I] DDSetupDevice
[I] DDraw::CreateDDPrimarySurface: back-buffers=0
[V] DDSetupDevice: successfully created primary surface
[V] DDSetupDevice: successfully setup ddraw device
[I] DDSetupDevice
[I] DDraw::CreateDDPrimarySurface: back-buffers=1
[V] DDSetupDevice: successfully created primary surface
[V] DDSetupDevice: successfully setup ddraw device
[I] D3DContext::D3DContext
[V] D3DUtils_SelectDeviceGUID: using TNL rasterizer
[I] D3DContext::CreateD3DDevice
[E] CreateD3DDevice: bad hardware found, disabling d3d for all devices.

...

77 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgb, SrcOverNoEa, 
IntArgbBm)
825 calls to GDIDrawLine
145 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, AnyAlpha, IntArgbBm)
68 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, IntArgb)
40 calls to sun.java2d.loops.TransformHelper::TransformHelper(IntArgbBm, 
SrcNoEa, IntArgbPre)
180 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, SrcOver, IntRgb)
24 calls to sun.java2d.loops.FillRect::FillRect(AnyColor, SrcNoEa, AnyInt)
1421 calls to sun.java2d.windows.DDBlitLoops::Blit("Integer RGB DirectDraw with
1 bit transp", SrcOverNoEa, "Integer RGB DirectDraw")
2 calls to sun.java2d.loops.TransformHelper::TransformHelper(IntBgr, SrcNoEa, 
IntArgbPre)
84 calls to DXFillRect
26 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, IntRgb)
530 calls to sun.java2d.loops.Blit::Blit(IntArgbBm, SrcOverNoEa, IntRgb)
1 call to sun.java2d.loops.Blit::Blit(ByteIndexed, SrcNoEa, IntArgbBm)
24 calls to sun.java2d.windows.DDBlitLoops$DelegateBlitBgLoop::BlitBg(Any, 
SrcNoEa, "Integer RGB DirectDraw with 1 bit transp")
465 calls to sun.java2d.loops.DrawGlyphList::DrawGlyphList(AnyColor, SrcNoEa, 
AnyInt)
68 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntRgb, SrcNoEa, 
IntArgbBm)
180 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntArgbBm, SrcOver, 
"Integer RGB DirectDraw")
77 calls to sun.java2d.loops.ScaledBlit::ScaledBlit(IntArgbBm, SrcOverNoEa, 
IntRgb)
68 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntRgb, SrcNoEa, 
IntArgbBm)
180 calls to sun.java2d.loops.Blit::Blit(IntArgbBm, SrcNoEa, IntArgb)
180 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgbBm, SrcOver, 
"Integer RGB DirectDraw")
4665 total calls to 21 different primitives
[/code]

We used the latest video drivers when we installed the system a couple of 
months ago. If we change drivers the graphics looks fine again, but as I said 
it was fine from start with the previous driver as well. I am a bit worried 
that the problems may show up again after a couple of weeks. The game is 
running in a "console"-environment and it is possible that the user turns off 
the power switch anytime (the application will get some seconds to shut down 
though). Are there any other adaptive behaviour I should look out for?

Thanks again!
[Message sent by forum member 'khe' (khe)]

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

===========================================================================
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