Login  Register

Re: Experimental build -pre4 released - OSX testers wanted

Posted by Manu on Nov 23, 2012; 5:44pm
URL: https://forum.jogamp.org/Experimental-build-pre4-released-OSX-testers-wanted-tp4027127p4027162.html

Thanks Harvey for trying to fix this issue.

I tried your new version, and got the following stack trace under Java 1.7.0_09 / Mac OS X 10.7.4:
javax.media.opengl.GLException: BackingLayerHost w/ unknown handle (!FBO, !PBuffer): MacOSXOnscreenCGLDrawable[Realized true,
	Factory   jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@7284e767,
	Handle    0x7fb28e127210,
	Surface   JAWT-Window[windowHandle 0x7fb28f15ef70, surfaceHandle 0x7fb28e127210, bounds [ 0 / 0  1 x 1 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface true, pos 0/0, size 1x1, visible true, lockedExt false,
	config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection Display 69678464, unitID 0, awtDevice sun.awt.CGraphicsDevice@52c7bef4, handle 0x0], idx 0],
	chosen    GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[auto-cfg]],
	requested GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]],
	CGLGraphicsConfig[dev=69678464,pixfmt=0],
	encapsulated MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type .macosx, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 0],
	chosen    GLCaps[rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]],
	requested GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]],
	awtComponent com.eteks.sweethome3d.j3d.Component3DManager$1[canvas0,0,0,1x1],
	surfaceLock <737455ed, 5ab575d2>[count 1, qsz 0, owner <J3D-Renderer-1>]]]
	at jogamp.opengl.macosx.cgl.MacOSXCGLContext$NSOpenGLImpl.contextRealized(MacOSXCGLContext.java:647)
	at jogamp.opengl.macosx.cgl.MacOSXCGLContext.contextRealized(MacOSXCGLContext.java:333)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:536)
	at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6194)
	at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4605)
	at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2379)
	at javax.media.j3d.Renderer.doWork(Renderer.java:877)
	at javax.media.j3d.J3dThread.run(J3dThread.java:270)
J3dI18N: Error looking up: Renderer7
Error in Java 3D : 3 Renderer7javax.media.opengl.GLException: BackingLayerHost w/ unknown handle (!FBO, !PBuffer): MacOSXOnscreenCGLDrawable[Realized true,
	Factory   jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@7284e767,
	Handle    0x7fb289e1e0b0,
	Surface   JAWT-Window[windowHandle 0x7fb28e1188b0, surfaceHandle 0x7fb289e1e0b0, bounds [ 0 / 0  765 x 526 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface true, pos 0/0, size 765x526, visible true, lockedExt false,
	config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection Display 69678464, unitID 0, awtDevice sun.awt.CGraphicsDevice@52c7bef4, handle 0x0], idx 0],
	chosen    GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[auto-cfg]],
	requested GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]],
	CGLGraphicsConfig[dev=69678464,pixfmt=0],
	encapsulated MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type .macosx, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 0],
	chosen    GLCaps[rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]],
	requested GLCaps[rgba 0x5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]],
	awtComponent com.eteks.sweethome3d.j3d.Component3DManager$1[canvas1,0,0,765x526],
	surfaceLock <243fc01b, 555d3f34>[count 1, qsz 0, owner <J3D-Renderer-1>]]]
	at jogamp.opengl.macosx.cgl.MacOSXCGLContext$NSOpenGLImpl.contextRealized(MacOSXCGLContext.java:647)
	at jogamp.opengl.macosx.cgl.MacOSXCGLContext.contextRealized(MacOSXCGLContext.java:333)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:536)
	at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6194)
	at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4605)
	at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2379)
	at javax.media.j3d.Renderer.doWork(Renderer.java:877)
	at javax.media.j3d.J3dThread.run(J3dThread.java:270)
J3dI18N: Error looking up: Renderer7
Error in Java 3D : 3 Renderer7

Under Java 1.6 / Mac OS X 10.7.4, it worked but the offscreen images were incorrect.

Under Windows, I get the same error as previously reported.

Hope this will help
Emmanuel Puybaret