-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Universal Binary for Apple Silicon #13708
Comments
I aim to support M1 natively but it will be a little while. |
Just found out today that Homebrew has an arm64 (Apple Silicon) bottle for PPSSPP 1.11: Not sure who the maintainer is or whether it contains any hack from the original source code, but it runs well on my M1 Mac mini. Can we assume this issue is solved? |
I managed to compile it on M1 cpu by adding the flag -DUSE_DISCORD=0 and no other modifications |
Thanks for the tip janmalec, the official source code build fine with this flag. I had to disable qt (official instructions says use --qtbrew) and replace the outdated MoltenVK library to get Vulkan working. Strangely, my build crashed mid-game after about 5 minutes of playing, macOS complained about VM memory allocation or something like that. It never happened with the Homebrew bottled version, I wonder if it was caused by a recent glitch in the code, or if there is more tweak we didn't know of. |
Hm, we're already returning true on -[Unknown] |
Huh, I could compile it without even disabling the Discord stuff, and it works just fine, didn't have any crashes in maybe 30 min of playing... |
Weird, I couldn't get it to crash again, so it was completely random. I did find the crash log from last time it happened though, here's the log: |
The discord linking error only happens when qt is enabled. Maybe the building instructions should tell people to use
|
Right, I rarely bother with the qt build, it's kind of fallen behind a bit (no Vulkan support). Should fix that though. |
KERN_INVALID_ADDRESS at 0x0000000341cfc802 This looks to have happened within jit. We tried to access 0x0000000341cfc802 - 0x0000000287008000 = 0xBACF4802 / 0x3ACF4802 unmasked, which is a nonsense address. x22 is 0x00000000bacf4800 (v1), so it likely came from that. Hm. -[Unknown] |
doesn't work for me - I get:
|
Does this work any better if you try with latest git? I'm not sure about the lSystem and lc++ issues. That seems like toolchain issues where your compiler isn't setup to be able to build anything, or else is trying to cross compile. -[Unknown] |
What happens?
PPSSPP crashes due to x86-64 SDL2 not being present.
What should happen?
PPSSPP running normally.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
Mac Mini (2020) with Apple M1, macOS Big Sur 11.0.1
I originally was going to submit an issue asking for just an ARM binary for Apple Silicon, but I had remembered that I uninstalled Homebrew and installed MacPorts because it has an ARM version of SDL2 ready.
I would try to just symlink the libraries from MacPorts to where PPSSPP looks for them, but it wouldn't even work because x86-64 applications can't use use ARM libraries.
At the moment Homebrew is not available for Apple Silicon, so it might not be possible to fix for now, but when it arrives, and an ARM SDL2 is ready, an Universal Binary will be needed.
The text was updated successfully, but these errors were encountered: