Lime-3DS-Emulator icon indicating copy to clipboard operation
Lime-3DS-Emulator copied to clipboard

[Apple Silicon] Azahar only runs under Rosetta

Open Moonif opened this issue 6 months ago • 5 comments
trafficstars

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:

Image

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

CrashReport.txt

System Configuration

CPU: Apple M1 GPU/Driver: Apple M1 RAM: 16GB OS: macOS Sequoia 15.5

Moonif avatar May 16 '25 10:05 Moonif

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.

mal-cap avatar May 18 '25 19:05 mal-cap

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!

Moonif avatar May 18 '25 19:05 Moonif

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

mal-cap avatar May 18 '25 19:05 mal-cap

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.

Moonif avatar May 18 '25 19:05 Moonif

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.

mal-cap avatar May 18 '25 22:05 mal-cap

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 😉

udance4ever avatar May 22 '25 01:05 udance4ever

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. 👍

Moonif avatar May 22 '25 09:05 Moonif

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?

OpenSauce04 avatar Jun 24 '25 23:06 OpenSauce04

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.

Moonif avatar Jun 25 '25 06:06 Moonif

This issue has been marked as stale. If there is no activity within the next 10 days, this issue will be closed.

github-actions[bot] avatar Oct 05 '25 00:10 github-actions[bot]

This issue has been closed as stale.

github-actions[bot] avatar Oct 24 '25 00:10 github-actions[bot]