It’s on my personal laptop. I use OpenSuse Leap 15 there.
Have tried it now on my working station with Ubuntu 18.04. Tricks from FAQ linux issues section helped to run it and build example project. But on OpenSuse I still can’t see even first screen
The launcher does an execv on “arg 0” from the debug information, and passes arg0…18 as argv.
What happens if you do roughly the same thing from the command line? Something like:
Hi @Erik_Angelin!
Thank you, with your help I have found the reason of my issue.
Originally I unpacked Defold and there was no any executable files available (with exec permissions). So I have mark it as executable file manually.
$ chmod +x Defold
But all files in packages/jre/bin also was not marked as executable. So your example won’t run from the start.
Everything become ok and launched without any issues after I have made all files in bin folder as executable.
$ chmod +x packages/jre/bin/*
And I can launch editor just via ./Defold command.
I don’t know exactly what was the reason, in Ubuntu archive was unpacked and all files has proper rights for execution. The case here can be linked somehow to the fact I have xfs filesystem at home laptop, where this issue reproduced, and ext4 at working station.
Thank you for help! Now I’m ready to learn how to work with Defold.
P.S. On ubuntu I has lot’s of issues with editor and have big issues with *.collection file, but in OpenSuse everything works great. Usually situation is reversed
P.P.S. It would be great to add option for scaling editor UI for hidpi displays, but most probably its a problem of Linux distros and system UI scaling, not yours.
As another owner of Linux laptop with hidpi screen I’d like to chime in and say that there is an issue regarding hidpi support, and it may be possible to add it now since new LTS release of jdk is out there.