Print at Dec 18, 2025, 1:57:39 PM
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by alleyoopster at Apr 4, 2017, 1:15:00 PM
Fatal error - please update DirectX/OpenGL
Hi,

I have a problem similar to a previous post from a user with Ubuntu.

I am running Manjaro XFCE
Sweethome3d 5.4-1
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
Nvidia 304 driver
Kernel 4.9.20-1

thanks for you help

Here is the error in full:
com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f9a74177a30, context 0x7f9a74340818, drawable X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@2d4b0963, Handle 0x5000097, Surface JAWTWindow[0x8e80966][JVM version: 1.8.0_121 (1.8.0 update 121) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x5000097, surfaceHandle 0x5000097, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 737x364], pixels[scale 1.0, 1.0 -> 737x364], 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 0x28, fbc 0xeb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x28], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x7f9a74177a30, owner true, JAWTToolkitLock[obj 0x344165bb, isOwner true, <6b064009, 1ef34c1b>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0xeb, requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], chosen GLCaps[glx vid 0x28, fbc 0xeb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]], awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,737x364], surfaceLock <476537bc, 6c69716b>[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:4602) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2376) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics contextX11Util.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.0, 0x7f9a74083e10, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7f9a74177a30, refCount 1, unCloseable false] [daniel@hornswaggle ~]$ sweethome3d -Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true ^CX11Util.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.0, 0x7f22f0159090, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7f22f023e1e0, refCount 1, unCloseable false] [daniel@hornswaggle ~]$ sweethome3d --help ^CX11Util.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.0, 0x7fe8f4006ee0, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7fe8f40e1110, refCount 1, unCloseable false] [daniel@hornswaggle ~]$ sweethome3d com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f04600db9b0, context 0x7f04600138b8, drawable X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@6352e186, Handle 0x5000097, Surface JAWTWindow[0x3ca53d38][JVM version: 1.8.0_121 (1.8.0 update 121) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x5000097, surfaceHandle 0x5000097, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 737x364], pixels[scale 1.0, 1.0 -> 737x364], 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 0x28, fbc 0xeb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x28], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x7f04600db9b0, owner true, JAWTToolkitLock[obj 0x33b583e3, isOwner true, <ad2b181, 7e783f8c>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0xeb, requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], chosen GLCaps[glx vid 0x28, fbc 0xeb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]], awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,737x364], surfaceLock <307d291d, 3f4656ec>[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:4602) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2376) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics contextX11Util.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.0, 0x7f04600016f0, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7f04600db9b0, refCount 1, unCloseable false]


Posted by alleyoopster at Apr 18, 2017, 6:43:42 PM
Re: Fatal error - please update DirectX/OpenGL
I have upgraded my video card and still get the same error. Any suggestions:

NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
OpenGL version string: 4.5.0 NVIDIA 375.39

Posted by Puybaret at Apr 18, 2017, 6:47:27 PM
Re: Fatal error - please update DirectX/OpenGL
Try the version available at download page, and then if it still doesn't work, try the SweetHome3D-Java3D-1_5_2 script it provides too.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by alleyoopster at Apr 18, 2017, 6:56:50 PM
Re: Fatal error - please update DirectX/OpenGL
Here is the latest run from the command line on the new GPU


com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f5cdc360070, context 0x7f5cdc5d97d8, drawable X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@4e4c610c, Handle 0x5400097, Surface JAWTWindow[0x6024991f][JVM version: 1.8.0_121 (1.8.0 update 121) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x5400097, surfaceHandle 0x5400097, bounds [ 0 / 0 737 x 364 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 737x364], pixels[scale 1.0, 1.0 -> 737x364], 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 0x28, fbc 0xaf: 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 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x28], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x7f5cdc360070, owner true, JAWTToolkitLock[obj 0x4cee1624, isOwner true, <9e53c0d, 248c683c>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0xaf, requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], chosen GLCaps[glx vid 0x28, fbc 0xaf: 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,737x364], surfaceLock <7e216440, 4611c06d>[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:4602) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2376) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics contextX11Util.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.0, 0x7f5cdc12a340, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7f5cdc360070, refCount 1, unCloseable false]


Posted by alleyoopster at Apr 19, 2017, 9:16:17 AM
Re: Fatal error - please update DirectX/OpenGL
Try the version available at download page, and then if it still doesn't work, try the SweetHome3D-Java3D-1_5_2 script it provides too.


Thanks

The downloaded package errors the same as the installed package. The Java script however works.

Do I need to change my java config for the installed package to work?

Posted by Puybaret at Apr 19, 2017, 11:14:43 AM
Re: Fatal error - please update DirectX/OpenGL
The installer proposed on download page comes with its own private copy of Java, so you can even remove the version of Java you installed on your computer if you want.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by alleyoopster at Apr 19, 2017, 11:58:39 AM
Re: Fatal error - please update DirectX/OpenGL
Yes, but I would like to continue to use the version that comes with the system keeping it integral and automatically updated with the rest of the system. Can I resolve this without resorting to the manually downloaded version from the website?

Posted by Puybaret at Apr 19, 2017, 12:45:08 PM
Re: Fatal error - please update DirectX/OpenGL
Sorry, I can't maintain many different versions for Linux variants. Releasing a new version takes already a lot of time and the solution I propose works with updates warning when a new version is released.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by alleyoopster at Apr 19, 2017, 12:46:38 PM
Re: Fatal error - please update DirectX/OpenGL
Understood. Thanks for you help so far. I'll dig around more for an answer.

Posted by alleyoopster at Apr 20, 2017, 6:09:00 PM
Re: Fatal error - please update DirectX/OpenGL
Sorry, I can't maintain many different versions for Linux variants. Releasing a new version takes already a lot of time and the solution I propose works with updates warning when a new version is released.


Hi,
Are you able to confirm if you are use OpenJDK with the bundled Linux download and what version this is?

Posts: 11   Pages: 2   [ 1 2 | Next Page ]