-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Officially support arm64 architecture #2257
Comments
I got the same error on macbook pro M1, did you solve the problem? |
No the only solution I was able to find was to run under x86 Java and Rosetta2, which I'm trying to avoid if possible. Please post here if you do find a solution, but I think Gephi has to be patched to change its display subsystem somehow. |
We don't officially support the arm64 architecture yet. We'll need to review OpenGL native dependencies and package a different JRE with the Mac bundle. Plus potentially any other issues that may arise. |
Any progress on this issue? Using the recommended Adoptium JDK version 11 but as aarch64 instead x64 leads to a much smoother Gephi experience, however, it does not display the graph. Would be really appreciated if this could be supported soon. |
any news on this one ? |
No, I'm afraid that without the new viz engine project finishing (cc @eduramiba) nor JOGL (our current OpenGL dependency) officially support it we can't move forward. The rest of Gephi should work without issues, and much faster indeed. It's a pity but we'll keep you posted on the progress. |
fwiw, the same issue seems to arise when trying to run gephi on an aarch64 linux system, such as archlinuxarm on a chromebook gru-kevin. |
Hi, I have good news. I've dived into the latest discussions on the JOGL community and some folks (@jzy3d and others) built an arm64 compatible version of JOGL. I've succesfully tested it on my M1 and if no problem arize we could ship that in the next release. I consider it still experimental but it's also used in other softwares. Could you folks test this dev version and let me know if you see issues with the OpenGL rendering? https://oss.sonatype.org/content/repositories/snapshots/org/gephi/gephi/0.10.0-SNAPSHOT/gephi-0.10.0-20221121.220603-21-macos-aarch64.dmg This version embeds the JDK11 for aarch64 (Adoptium) |
@mbastian :) seems to work well. I'm on a mac studio m1 max. |
Yes, that is covered in #2546. Check the update. If you try the version I posted there it contains both fixes. |
Good stuff! Seems to work fine on first glance on MacBook Pro M1 Max. Will give it a stress test and report back any findings. And I like the idea of embedding a known good JDK in the binary. 👍 |
but the version linked in other issue is x86 and not aarch64 ?! |
Good news! I confirm the JOGL 2.4 rc4 supporting Apple M1 is used by multiple software including commercial software. Most of the known bug have workarounds that have been referenced in this document. Each issue is described in my JOGL clone's issue list. Just sharing thoughts for the future : JOGL main commiter has left and pursuing is hard. Among other things, building a new JOGL release for multiple platforms requires a complex CI (involving as many computer as target {OS,CPU}). LWJGL is still alive but suffers from similar drawbacks (although the main commiter is still working on it). My opinion is that the main pain of building OpenGL bindings can be minimized by using the recent foreign function and memory API. I started evaluating this here, but going further requires some more work. |
could you also package a version for linux? I tried to extract the dmg, but had no success. |
I only patched JOGL's macOS jar to support ARM. Doing the same for Linux is another work that I can't do right now (mainly I don't have a Linux machine with ARM CPU). If somebody is willing to patch JOGL's Linux, you can read this how-to explaining how I did it for macOS. |
We are looking forward to its release. |
Closing as resolved. The aarch64 version will be released in the upcoming 0.10.0 version |
😱👍 |
Would you please update arm64 version to homebrew cask code? |
Still hanging directly after starting Gephi. Working with MacBook Pro M1 Pro and using silicon version of Gephi. By the way I do not have any issues on windows. |
Expected Behavior
Graph window will initialize and show graph.
Current Behavior
Graph window does not initialize. Instead, this error is produced:
Steps to Reproduce
jdkhome="/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home"
ingephi.conf
Context
I'm just trying to use Gephi in ARM64 native build on M1 Mac. Gephi does work with x64 JDK on M1 with Rosetta, but that's no fun is it?
Your Environment
The text was updated successfully, but these errors were encountered: