Hip
May 5, 2024, 2:51pm
21
I tried with command steam steam://rungameid/1365760
:
it didn’t help, the project didn’t open
I tried sudo /home/hippoid/.steam/root/steamapps/common/Defold game.project
but it:
command not found
…
I tried Googling, but I didn’t find anything for my zsh
shell (it’s no openSUSE shell)…
Hip:
command not found
…
Are you sure it is the correct location? Can you please type:
> ls -la /home/hippoid/.steam/root/steamapps/common/
Hip
May 6, 2024, 6:44am
23
hippoid@192 ~ LANG=en_US.UTF8 ls -la /home/hippoid/.steam/root/steamapps/common/
total 0
drwxr-xr-x 3 hippoid hippoid 20 May 2 12:56 .
drwxr-xr-x 8 hippoid hippoid 189 May 5 21:37 ..
drwxr-xr-x 3 hippoid hippoid 71 May 3 18:32 Defold
hippoid@192 ~
So, thx. But I don’t know what type next … I’ll think about it now.
Hip
May 6, 2024, 6:51am
24
so, I have
this:
hippoid@192 ~/Документы/Game Projects Defold/Basic 3D project sudo /home/hippoid/.steam/root/steamapps/common/Defold/Defold game.project
INFO:TOOLS: Launcher version 9141d9d3605e3f5d51c71293116d769da2613d39
DEBUG:TOOLS: arg 0: /home/hippoid/.steam/root/steamapps/common/Defold/packages/jdk-17.0.5+8/bin/java
DEBUG:TOOLS: arg 1: -cp
DEBUG:TOOLS: arg 2: /home/hippoid/.steam/root/steamapps/common/Defold/packages/defold-acf09db558d18f7ccbbaa02c09333932f7cc8d4a.jar
DEBUG:TOOLS: arg 3: -Dfile.encoding=UTF-8
DEBUG:TOOLS: arg 4: -Djna.nosys=true
DEBUG:TOOLS: arg 5: -Ddefold.launcherpath=/home/hippoid/.steam/root/steamapps/common/Defold/Defold
DEBUG:TOOLS: arg 6: -Ddefold.resourcespath=/home/hippoid/.steam/root/steamapps/common/Defold
DEBUG:TOOLS: arg 7: -Ddefold.version=1.8.0
DEBUG:TOOLS: arg 8: -Ddefold.editor.sha1=acf09db558d18f7ccbbaa02c09333932f7cc8d4a
DEBUG:TOOLS: arg 9: -Ddefold.engine.sha1=9141d9d3605e3f5d51c71293116d769da2613d39
DEBUG:TOOLS: arg 10: -Ddefold.buildtime=2024-05-02T15:08:10.588400
DEBUG:TOOLS: arg 11: -Ddefold.channel=editor-alpha
DEBUG:TOOLS: arg 12: -Ddefold.archive.domain=d.defold.com
DEBUG:TOOLS: arg 13: -Djava.net.preferIPv4Stack=true
DEBUG:TOOLS: arg 14: -Dsun.net.client.defaultConnectTimeout=30000
DEBUG:TOOLS: arg 15: -Dsun.net.client.defaultReadTimeout=30000
DEBUG:TOOLS: arg 16: -Djogl.texture.notexrect=true
DEBUG:TOOLS: arg 17: -Dglass.accessible.force=false
DEBUG:TOOLS: arg 18: --add-opens=java.base/java.lang=ALL-UNNAMED
DEBUG:TOOLS: arg 19: --add-opens=java.desktop/sun.awt=ALL-UNNAMED
DEBUG:TOOLS: arg 20: --add-opens=java.desktop/sun.java2d.opengl=ALL-UNNAMED
DEBUG:TOOLS: arg 21: --add-opens=java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED
DEBUG:TOOLS: arg 22: --add-opens=java.base/sun.nio.fs=ALL-UNNAMED
DEBUG:TOOLS: arg 23: --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED
DEBUG:TOOLS: arg 24: -Xmx12520842240
DEBUG:TOOLS: arg 25: com.defold.editor.Main
DEBUG:TOOLS: arg 26: game.project
DEBUG:TOOLS: arg 27: (null)
Picked up JAVA_TOOL_OPTIONS:
Picked up _JAVA_OPTIONS:
2024-05-06 13:49:56.190 WARN default javafx - Unsupported JavaFX configuration: classes were loaded from 'unnamed module @5bbd0ff1'
Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:165)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:163)
at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:40)
at com.sun.glass.ui.Application.run(Application.java:145)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:290)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:292)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:162)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:651)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:671)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:833)
✘ hippoid@192 ~/Документы/Game Projects Defold/Basic 3D project
Defold didn’t start…
Hip
May 6, 2024, 6:54am
25
I tried with opened Defold with steam:
Nothing…
That seems to be the main culprit.
I’m not sure why that is, but something is different from your Linux distro from Ubuntu (which we support).
Hip
May 6, 2024, 6:57am
27
I can’t say anything…
Linux’s distro just the program collection, What else I can to try?
Hip
May 12, 2024, 8:21am
28
Guys
It just not supported wayland
compositor…
I tried to open from disk
IN the Gnome Xorg
graphics session, and Defold opened it!!!
My distro have a newest packages for Hyprland, for Gnome, for KDE Plasma 6… All This newest GUI is built on wayland
compositor.
But the development of wayland began back in ~2016. Of course, not all applications support it …
So, video demonstration:
The future of the Wayland compositor…
Because it works more faster than Xorg …
so, would you like to start support for this the new compositor?
Well, I’m not sure that’s going to happen, as we rely on JavaFX gui library.
A quick google, and it seems they’re not looking to support it natively, but rather through XWayland:
https://bugs.openjdk.org/browse/JDK-8232949
1 Like
Hip
May 12, 2024, 8:30am
30
Well, thank all of you at least for such help)
Potota
May 12, 2024, 3:21pm
31
I’ve already been using Defold on GNOME Wayland for a while now and it works for me (after switching from Nvidia to AMD…)
3 Likes
Hip
May 16, 2024, 12:36am
32
Delicious, It works on my Gnome Wayland
and Hyprland
too!
Thanks for the notification!
It seems that the JavaFX developers have taken notice of this
Hip
September 3, 2024, 1:10pm
33
Guys. It appeared again, but… This bug appears if the path has a Cyrillic word in the path to the game.project
So, It is necessary to use English words in the path to the game.project
Thank for your attention! )
britzl
September 3, 2024, 7:01pm
34
Ok, this is good information! Could you please create a ticket on GitHub?
Hip
September 4, 2024, 1:56am
35
Excuse me, how can I do that? I don’t see any "ticket"
around of defold
repository page on the github …