Problem with geometry editor & mesh on Linux 64b (Xubuntu 20.04)

I’m experiencing some issues with SPIS-Propultion 6.0.4 Linux 64b on fresh Xubuntu 20.04 LTS 64bit, going through the GUI works until it is about to call on the 3d tools in “Geometry editor” or “Mesh” when the following error is displayed in the terminal:

thoni@thoniLaptop:~/spis/SPIS-Propulsion-6.0.4-linux64b$ ./ 

*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/felix-5.6.2/felix.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/resources.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/rt.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/jsse.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/jce.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/charsets.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/jfr.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/nashorn.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/jaccess.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/jfxrt.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/dnsns.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/sunec.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/localedata.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/zipfs.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/cldrdata.jar'
*sys-package-mgr*: processing new jar, '/home/thoni/spis/SPIS-Propulsion-6.0.4-linux64b/dependencies/thirdparty/jre-8u202-linux64b/lib/ext/sunpkcs11.jar'
Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x7fb9ec4e43c0, owner true, JAWTToolkitLock[obj 0x10c8766f, isOwner true, <6006c826, 7becb067>[count 1, qsz 0, owner <AWT-EventQueue-0>]]], but: [GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
	at com.jogamp.opengl.GLProfile.get(
	at jogamp.opengl.GLContextImpl.verifyInstance(
	at jogamp.opengl.GLContextImpl.setGLFunctionAvailability(
	at jogamp.opengl.x11.glx.X11GLXContext.createImpl(
	at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(
	at jogamp.opengl.GLContextImpl.makeCurrent(
	at jogamp.opengl.GLContextImpl.makeCurrent(
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(
	at jogamp.opengl.GLDrawableHelper.invokeGL(
	at com.jogamp.opengl.awt.GLCanvas$
	at com.jogamp.opengl.Threading.invoke(
	at com.jogamp.opengl.awt.GLCanvas.display(
	at com.jogamp.opengl.awt.GLCanvas.paint(
	at sun.awt.RepaintArea.paintComponent(
	at sun.awt.X11.XRepaintArea.paintComponent(
	at sun.awt.RepaintArea.paint(
	at sun.awt.X11.XComponentPeer.handleEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

The first few lines are of course only shown on first execution, but I can’t seem to get past the error “com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice”.
Have anyone of you seen this or know of any workaround?

The only file which grep find any thing for GL4bc appears to be:

thoni@thoniLaptop:~/spis/SPIS-Propulsion-6.0.4-linux64b$ grep -ri gl4bc *
Binary file dependencies/main/org-keridwen-vtk8-linux64b-3.0.4.jar matches

// With best regards, Thomas Nilsson

Hi, I have it working on ubuntu lxde and windows, did you try sudo apt install gmsh?

Dear @rsc9421,
thanks for the reply! And yes I have had gmsh installed system wide since a long time ago and the standalone version of gmsh works just fine… The problem only occurs when I am running SPIS and it goes to use its packaged version in the “geometry editor” or “mesh” stage in setting up a new project…

I have resorted back to using a virtual Windows 10 to get past these steps, so it’s no longer a major issue on my side…

Dear @thomas.nilsson,

Sorry for the delay in my answer, I forgot the post…

Unfortunately, there is an issue with the library used by SPIS for the 3D rendering on recent linux with recent hardware that does not recognize the installed graphic card.

We have found a way to mitigate this issue but it will only be available in the next SPIS release that should happen this year.

Fortunately you found a workaround, we are sorry for the inconvenience,

Best regards

SPIS uses its own embedded Gmsh version (you can find it inside dependencies/thirdparty so the installation of Gmsh on the system will not impact SPIS directly.

Hi - I have a related question about the imbedded Gmsh. I am running Spis-Propulsion 6.0.4 on MAC OSX and want to run a later version of Gmsh. It appears that the third party dependency for 6.0.4 is Gmsh 2.8.5 which is too old. I downloaded Gmsh 4.8.0 and am able to run it independent of SPIS but I am having trouble getting it configured to run within SPIS. I modified the file to point to the new path of my later version of Gmsh but am getting an error when launching Gmsh inside SPIS with this change.

-Is SPIS-Propulsion 6.0.4 compatible with later versions of Gmsh?
-If yes, how do I properly configure SPIS to launch the new Gmsh version from inside the GUI?

Thanks in advance!