Lime-3DS-Emulator
Lime-3DS-Emulator copied to clipboard
[Apple Silicon] Azahar only runs under Rosetta
Is there an existing issue for this?
- [x] I have searched the existing issues
Affected Build(s)
All up to 2121.1
Description of Issue
When trying to run Azahar under macOS, I get the following error:
The only way to run is by turning "Open using Rosetta" in the app's info.
The same issue was present for Lime3DS, but not for Citra (Original and PabloMK7, both work perfectly fine).
Expected Behavior
It should run on Arm64 since it's a universal build.
Reproduction Steps
- Run Azahar -> Error.
- Right-click and "Get Info".
- Turn on "Open with Rosetta".
- Run Azahar -> Works.
Log File
System Configuration
CPU: Apple M1 GPU/Driver: Apple M1 RAM: 16GB OS: macOS Sequoia 15.5
From the log, do you have SPIRV-tools installed under Homebrew? It seems to be searching for symbols there, can you try running with that uninstalled? I will try and reproduce this on my Mac later.
Good catch! Yes I had it installed along with some Vulkan related stuff, removing all of that fixed the issue, thank you very much for your help!
Someone should re-open this. If Azahar is shipping with bundled dependencies, it shouldn't be using the system version. I'll take a look at this
Yes thank you, I re-opened the issue.
So to summarize the issue that I had: Having SPIRV-tools installed via brew will prevent Azahar from running, and having Vulkan-headers and loaders installed will prevent Azahar from detecting Vulkan in the graphics settings and will return an error.
Hm I cannot reproduce this issue, was your spirv-tools install up-to-date?
Either way, RPATH configuration seems to have wrong order so I am going to make a PR to prevent this happening again.
Having SPIRV-tools installed via brew will prevent Azahar from running, and having Vulkan-headers and loaders installed will prevent Azahar from detecting Vulkan in the graphics settings and will return an error.
you may want to update issue subject header as Azhar is not dependent on Rosetta 😉
Having SPIRV-tools installed via brew will prevent Azahar from running, and having Vulkan-headers and loaders installed will prevent Azahar from detecting Vulkan in the graphics settings and will return an error.
you may want to update issue subject header as Azhar is not dependent on Rosetta 😉
Done. 👍
I can't seem to replicate this issue. I've installed spirv-tools from Homebrew and Azahar is still running fine natively on an M1 Macbook Air. Were there any other steps required to cause the issue?
I can't seem to replicate this issue. I've installed spirv-tools from Homebrew and Azahar is still running fine natively on an M1 Macbook Air. Were there any other steps required to cause the issue?
Not really, I just had an outdated version of spirv-tools and vulkan-headers installed that was causing the issue. I don't remember when I had them installed, but the issue was present with Lime3DS, so I guess a few years old.
This issue has been marked as stale. If there is no activity within the next 10 days, this issue will be closed.
This issue has been closed as stale.