Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux arm64 build #428

Open
z3ntu opened this issue Feb 5, 2024 · 3 comments
Open

Linux arm64 build #428

z3ntu opened this issue Feb 5, 2024 · 3 comments

Comments

@z3ntu
Copy link

z3ntu commented Feb 5, 2024

Since you're already providing "linux64" (so x86_64) builds, can you also build Linux arm64/aarch64 builds for the releases please?

That way also flatpak could use the binaries to repackage them for flatpak.

@faveoled
Copy link

faveoled commented Aug 2, 2024

It's possible the .jar inside already runs on arm64 (Java is cross-platform). Judging by these libs inside of it:

libgdx.so
libgdx64.so
libgdxarm.so
libgdxarm64.so
libgdx-box2d.so
libgdx-box2d64.so
libgdx-box2darm.so
libgdx-box2darm64.so
libgdx-freetype.so
libgdx-freetype64.so
libgdx-freetypearm.so
libgdx-freetypearm64.so
libjamepad.so
libjamepad64.so
libjamepadarm.so
libjamepadarm64.so

@z3ntu
Copy link
Author

z3ntu commented Sep 26, 2024

I can confirm that with the non-bundled JRE (one compiled for arm64) that with essentially java -jar pixelwheels.jar the game runs on arm64 :)
With this I can already try to make the flatpak be also compatible with arm64 by using JRE from flathub instead of the bundled one.

Just need to figure out how to get the controls working on touchscreen phone.

@z3ntu
Copy link
Author

z3ntu commented Sep 26, 2024

So control issue is the code thinks multitouch controls are not available, so both touch-based controls are not shown. When forcing it enabled through the developer settings makes it available but it indeed looks like some component in the stack doesn't support the multitouch from the behavior.

libinput debug-events shows all events from the touchscreen coming in correctly though so I'm guessing the problem is in some Java library there.

Flatpak PR (work-in-progress): flathub/com.agateau.PixelWheels#14

edit: just continuing here editing a bit...

So seems gdx has no implementation of multitouch for anything that's not Android or iOS or GWT (Web?)

The "mobile platforms" have an if there with MultitouchScreen but there's nothing for lwjgl / lwjgl3, one of which presumably runs the game on mobile Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants