Scilab works on my system - linux mint 21.2, but it gives a GLException, can I fix this?

Hi,

Just installed Scilab 2024.0.0 on Linux Mint 21.2 w/Cinnamon. It appears to work, but when started from the command line, it throws (and catches) the GLException:

Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphicsDevice[type .egl, v0.0.0, nativeDisplayID 0x0, connection :0, unitID 0, handle 0x0, owner true, ResourceToolkitLock[obj 0x3997013e, isOwner true, <3de96438, af401f8>[count 1, qsz 0, owner <main-SharedResourceRunner>]]] on thread main-SharedResourceRunner

My question is, is this something I can fix somehow?

Thanks,

Will

Hello,

try this:

export _JAVA_OPTIONS='-Djogl.disable.opengles'

or, if the above does not work:

export LIBGL_ALWAYS_SOFTWARE=true scilab

S.

The first works, so what’s it doing?

or rather, it appears to be disabling opengles, whatever that is, do I want to install opengles?

I don’t know, I just did copy/paste the error message in Google search bar and found the solution. So just do the same if you want to figure it out.

S.