ChrisNF
JGO n00b  Posts: 17
|
 |
«
Reply #72 on:
2007-02-12 00:11:37 » |
|
Hello,
I'm trying to run the JGears demo on a Radeon 7000 with the latest drivers and JDK 6. I have 2 monitors connected, but the window is running on only one. I'm using these arguments:
-Dsun.java2d.opengl=true -Djogl.debug.Java2D -Djogl.debug.GLJPanel
The debugging output follows. At the start, the frame rate is good (around 60) and it decreases as I increase the window size. But, if I make the window wider than about 1024, the gears disappear. This is less than full screen (I'm running at 1280X1024). The background still looks ok. The frame rate drops to about 10 and my mouse pointer becomes jumpy. I can make it full height no problem.
I tried -Dsun.java2d.noddraw=true as well, but it didn't have any effect.
I can run Chris Campbell's Bezier3DAnim demo (the one that introduced this interoperability) and the other demos that don't use Java2d integration (i.e. Gears) at full screen without any problem.
Christopher
JOGL/Java2D integration enabled Starting initialization of J2D FBO share context Ending initialization of J2D FBO share context GLJPanel.addNotify() GLJPanel.handleReshape: (w,h) = (292,246) Sending reshape because viewport changed viewportX (0) ?= oglViewport.x (0) viewportY (0) ?= oglViewport.y (24) INIT GL IS: com.sun.opengl.impl.GLImpl Chosen GLCapabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ] glViewport(0, 24, 292, 246) GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 7000 DDR x86/SSE2 GL_VERSION: 1.3.1072 WinXP Release GLJPanel.handleReshape: (w,h) = (292,247) Sending reshape because surface changed New surface = sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData@435a3a Sending reshape because viewport changed viewportX (0) ?= oglViewport.x (0) viewportY (24) ?= oglViewport.y (289) INIT GL IS: com.sun.opengl.impl.GLImpl Chosen GLCapabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ] glViewport(0, 289, 292, 247) GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 7000 DDR x86/SSE2 GL_VERSION: 1.3.1072 WinXP Release GLJPanel.handleReshape: (w,h) = (961,742) Sending reshape because surface changed New surface = sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData@3b1f38 Sending reshape because viewport changed viewportX (0) ?= oglViewport.x (0) viewportY (289) ?= oglViewport.y (24) INIT GL IS: com.sun.opengl.impl.GLImpl Chosen GLCapabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ] glViewport(0, 24, 961, 742) GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 7000 DDR x86/SSE2 GL_VERSION: 1.3.1072 WinXP Release GLJPanel.handleReshape: (w,h) = (1008,742) Sending reshape because surface changed New surface = sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData@1f01a29 INIT GL IS: com.sun.opengl.impl.GLImpl Chosen GLCapabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ] glViewport(0, 24, 1008, 742) GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 7000 DDR x86/SSE2 GL_VERSION: 1.3.1072 WinXP Release GLJPanel.handleReshape: (w,h) = (1011,742) Sending reshape because surface changed New surface = sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData@1dee400 INIT GL IS: com.sun.opengl.impl.GLImpl Chosen GLCapabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ] glViewport(0, 24, 1011, 742) GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 7000 DDR x86/SSE2 GL_VERSION: 1.3.1072 WinXP Release GLJPanel.handleReshape: (w,h) = (1071,742) <******* HERE IS WHERE IT STOPS DRAWING GEARS ******
|