jmonkeyengine icon indicating copy to clipboard operation
jmonkeyengine copied to clipboard

Missing lwjgl3 natives for windows arm64

Open Ali-RS opened this issue 2 years ago • 10 comments

Lwjgl3 already supports windows-arm64 natives, we should also add them in jme3-lwjgl3 build.

Ali-RS avatar Sep 27 '22 13:09 Ali-RS

Any thoughts on how to test our Engine on a windows-arm64 system?

stephengold avatar Sep 27 '22 16:09 stephengold

Not sure, maybe we can make a request on the forum to see if someone with a windows-arm64 system wants to help with testing.

Ali-RS avatar Sep 27 '22 19:09 Ali-RS

Any thoughts on how to test our Engine on a windows-arm64 system?

I was glancing youtube a minute ago, and i found a video talking about Windows and Mac Arm DevKits: https://www.microsoft.com/en-us/d/windows-dev-kit-2023/94k0p67w7581?activetab=pivot:techspecstab#tab1547ddad7-34eb-4c42-9c73-f921fce79f90

I gave up on the WOR (Windows On Arm) on Raspberry (and i think it also has GPU issues).

pavly-gerges avatar Feb 18 '23 20:02 pavly-gerges

On the other hand, we can just add the required flags to enable running on Windows Arm64 and hope that Java and LWJGL3 work fine on Windows Arm64! :wink:

Unless I am missing something!

Ali-RS avatar Feb 19 '23 10:02 Ali-RS

We may try to use a server or a virtual machine, but i have no idea if there exist windows arm64 servers somewhere or if oracle vm supports windows arm.

pavly-gerges avatar Feb 19 '23 14:02 pavly-gerges

I can't support announcing features that we can't test and troubleshoot.

For macOS-on-ARM we got free remote access. That seems the most likely path forward for Windows-on-ARM. Either that or someone on the JME team acquires a Windows-on-ARM laptop.

stephengold avatar Feb 19 '23 17:02 stephengold

Finding a Windows ARM64 machine for rental might be quite challenging, in my opinion, we could approximate a suitable testing environment by utilizing Wine on a Linux or Mac ARM64 machine.

riccardobl avatar Feb 20 '23 13:02 riccardobl

Unless I am missing something!

By the way, I noticed we already have the platform code required to run on arm64 windows in place, which means the necessary part is already done!

https://github.com/jMonkeyEngine/jmonkeyengine/pull/1530/files

So I think anyone still should be able to run their app on the arm windows just by adding the required lwjgl3 runtime natives for arm windows in their gradle build, right?

Ali-RS avatar Feb 21 '23 14:02 Ali-RS

Finding a Windows ARM64 machine for rental might be quite challenging, in my opinion, we could approximate a suitable testing environment by utilizing Wine on a Linux or Mac ARM64 machine.

AFAIK, wine has a lot of issues and it is tricky to provide a good debug and to install compatible drivers, I tried a lot to run simple 1999s windows games, but there is a lot to do to get things started, most of time .Net and visual c++ binaries compiled for Linux...

pavly-gerges avatar Feb 21 '23 16:02 pavly-gerges

the necessary part is already done!

Defining an enum value for a platform is easy! In my experience, most of the porting effort goes into testing and troubleshooting.

stephengold avatar Feb 21 '23 22:02 stephengold