I wanted to give Defold a go as I’m studying Lua to do some game dev (not so quiet confident with frameworks so engine sounds best at this point.) I’m running Defold on my Manjaro linux laptop and I’m having issue opening any .collection or editor itself with this error showing up - https://i.imgur.com/dh9LIPR.png
java.lang.ClassCastException: class jogamp.opengl.es1.GLES1Impl cannot be cast to class com.jogamp.opengl.GL2ES2 (jogamp.opengl.es1.GLES1Impl and com.jogamp.opengl.GL2ES2 are in unnamed module of loader 'app')
I apologise if written in wrong category, I couldn’t find any fix on this and I wasn’t sure where to post this.
Thank you!
Yes, it’s not always easy to get things working on Linux (our supported version Is Ubuntu 18 currently).
We have a small F.A.Q for the most common issues, and I’m thinking the part with the MESA version might help:
I had the same issue on AMD Radeon card on Linux Mint, it happened after I tried to install OIBAF drivers.
See if you can update/fix graphics drivers safely somehow. In my case I had to reinstall OS
Thank you for your reply (and @Dzuvan)
Sadly neither of them worked, which is a shame because I was hoping to have it work on my Linux device. But with it I think it’s time to go back to Win due to few issues my laptop is having enough as it is with Linux (oddly enough, never had those issues but that’s off topic)
Recently I started getting this error again. Everything was working and one day it stopped.
Issue is happening on Linux Mint 20 and PopOS both of which are clean installs.
Hey,
I have the same issure on ubuntu 20, and sometimes this message appears too; java.lang.ClassCastException: Unknown. I can build project, but I can’t see scene before.
My OpenGL version is 4.1 and Mesa version is 20.0.4, if it’s important. (export mesa didn’t work)
Also I tried working on Defold in Vbox (virtual machine) on Windows 7, Def. behave itself very strangely
I can see scene, but turned upside down specularly, and it reacting to cursor like if cursor is in the bottom while it is in the top and vice versa, and I can’t build runtime, there is error in console:ERROR.GRAPHICS: dmgraphics:: OpenGLSetTexture(2363) Assertion failed: 0, file ..\scr\opengl\graphics_opengl.cpp. line 2363
Thank you.
For the dmengine error, I would have expected a line containing “gl error”. It should have printed the error number and the human readable repesentation of the error.
As for the log, I meant the Defold Editor log, for for being too vague
I decided to attach both logs
Here is Linux’s log Linux.txt (907.6 KB)
Here is virtual Windows’s log Windows.txt (219.9 KB)
i hope there is what did you want
Hello together…I just wanted to report…i have the exact same issue with Ubuntu 20.04.
export MESA_GL_VERSION_OVERRIDE=3.1 diden’t help.
However, i have two Computers…both with Ubuntu 20.04. One has the propritary Nvidia-Driver with a GTX1650…there Defold works without problems…an the other one is a Notebook with Intel integrated graphics (i5-6200 CPU)…there I have the same Problem as xxxKfkxxx.