baldyman
Newbie
UK
Joined: Dec 27, 2017
Post Count: 15
Status:
Offline
|
|
Furniture Editor - Error creating Canvas3D graphics context
|
On Linux Mint 19
To get SH3D working on Linux I have to use the SweetHome3D-Java3D-1_5_2 script supplied or I get the 3D error -
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
Using the supplied script fixes this.
I have a similar issue with the Furniture Library Editor. I can run it using -
java -jar ./lib/FurnitureLibraryEditor-1.23.jar
It seems to run fine until i attempt to get it to do anything that involves 3D at which point it crashes with -
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
Complete error message is pasted below.
Is there a similar script available to get the Furniture Editor working because no matter how I fiddle with the java parameters I can't get it past this point.
i.e. I'm way out of my depth now :(
Cheers
Pete
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/home/pete/SweetHome3D-6.0/lib/FurnitureLibraryEditor-1.23.jar) to method sun.awt.AppContext.getAppContext() WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7fa0001701d0, context 0x7fa000326c08, drawable X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@30821f03, Handle 0x7a0024e, Surface JAWTWindow[0x5a99e3fe][JVM version: 10.0.1 (10.0.1 update 0) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x7a0024e, surfaceHandle 0x7a0024e, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 128x128], pixels[scale 1.0, 1.0 -> 128x128], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0xab, fbc 0x1c2: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0xab], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7fa0001701d0, owner true, JAWTToolkitLock[obj 0x39fb8d2e, isOwner true, <67cdc4e7, 145c8e12>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0xab, fbConfigID 0x1c2, requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], chosen GLCaps[glx vid 0xab, fbc 0x1c2: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]], awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128], surfaceLock <2c35b259, 3fe8a765>[count 1, qsz 0, owner <J3D-Renderer-1>]]] at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6411) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4612) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2386) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) DefaultRenderingErrorListener.errorOccurred: CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context graphicsDevice = X11GraphicsDevice[screen=0] canvas = com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128] X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2) X11Util: Open X11 Display Connections: 2 X11Util: Open[0]: NamedX11Display[:0, 0x7fa00000a370, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0, 0x7fa0001701d0, refCount 1, unCloseable false]
|