Defold wont start on Ubuntu

Hallo!

I have installed Linux (Ubuntu 18.04) and I tried running defold on it,
but every time i try to start a new project software seems to crash without any error or reason why

maybe i need to install something more?

Are you starting the editor by running Defold-linux.sh?

2 Likes

I’m guessing you’re running Editor 2? (The dark colored one)

Have you read the F.A.Q?

3 Likes

I am using Editor 2

I am running it via terminal and also as an executable but its the same problem
editor starts and when I click to create a new project it crashes ( shuts down instantly )

i tried to install libssl 0.9.8 ( as it is mentioned in FAQ ) but i cannot do it
it seems to be outdated and i cannot install it or at least find the way

Ping @Erik_Angelin, do you have any ideas on this?

There could be some useful information in the log files, I think they are in ~/.defold on linux. Can you have a look? A wild guess would be it’s opengl related.

2 Likes

i hope this is what you wont :smiley:

http://pasted.co/8aa2b850

1 Like

Yes, opengl/jogamp related. Similar issue reported here: https://github.com/defold/editor2-issues/issues/1905
And here:
https://github.com/defold/editor2-issues/issues/1886

We haven’t found a good solution to this yet :frowning: Could you please try the woraround mentioned in the second link?

2 Likes

It works
before i start app i use

export MESA_GL_VERSION_OVERRIDE=3.1

in terminal and then ./Defold it works
If i make this permanent some apps will not work

but i believe i can make some script that will do this automatically anytime a start defold

thank you so much

3 Likes

Thats great news! Thanks for helping us debug and try the workaround. If you make a startup script, please share it and we can distribute it to the other users blocked by this issue.

1 Like

ping @sicher. Perhaps we can add some of this to the F.A.Q as well?

1 Like

Thanks! https://www.defold.com/faq/#_linux_issues

3 Likes