Critical error in 3D rendering with Linux and Nvidia driver (v7.5)

by wsky » Thu Oct 17, 2024 9:44 pm

Hi there, I can not start Sweet Home 3D with the standard script, only getting an error message about a critical error in rendering system and I should update the graphics driver, then it quits. However it's the latest driver that is currently available on Ubuntu 24.04 which is Nvidia driver 550.107.02

I can use the other script "SweetHome3D-Java3D-1_5_2" to start Sweet Home 3D and it seems to work fine.

Here is the shell output from the normal start script:

Code: Select all

Failed to load module "canberra-gtk-module"
com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7e0dec20a270, context 0x7e0dec242188, drawable X11OnscreenGLXDrawable[Realized true,
	Factory   jogamp.opengl.x11.glx.X11GLXDrawableFactory@4d3fbd1c,
	Handle    0x5a0009b,
	Surface   JAWTWindow[0x31d9eebc][JVM version: 1.8.0_202 (1.8.0 update 202)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0  813 x 522 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x5a0009b, surfaceHandle 0x5a0009b, bounds [ 0 / 0  813 x 522 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 813x522], pixels[scale 1.0, 1.0 -> 813x522], 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 24/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, unitID 0, handle 0x7e0dec20a270, owner true, JAWTToolkitLock[obj 0x12f3c656, isOwner true, <5f7940aa, 6f9ec104>[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 24/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,813x522],
	surfaceLock <209027c2, 22644e67>[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:794)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:677)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:615)
	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)
Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics context