GreemDev / Ryujinx

Experimental Switch emulator written in C#
MIT License
5.23k stars 420 forks source link

[Bug] Zelda BOTW crash on macOS M1 Pro #300

Closed Lumysia closed 17 hours ago

Lumysia commented 1 day ago

Description of the issue

Description: The game exhibits two distinct crash behaviors:

  1. Immediate crash upon launching the application
  2. Crash when attempting to load save data after successful startup

Reproduction steps

Scenario 1:

  1. Launch The Legend of Zelda: Breath of the Wild
  2. Game crashes immediately

Scenario 2:

  1. Launch The Legend of Zelda: Breath of the Wild
  2. Wait approximately 10 seconds at title screen
  3. Attempt to load save file
  4. Game crashes immediately

Log file

00:00:00.176 |I| Configuration LogValueChange: ResScale set to: 1 00:00:00.180 |I| Configuration LogValueChange: ResScaleCustom set to: 1 00:00:00.180 |I| Configuration LogValueChange: MaxAnisotropy set to: -1 00:00:00.181 |I| Configuration LogValueChange: AspectRatio set to: Fixed16x9 00:00:00.181 |I| Configuration LogValueChange: BackendThreading set to: Auto 00:00:00.182 |I| Configuration LogValueChange: GraphicsBackend set to: Vulkan 00:00:00.182 |I| Configuration LogValueChange: PreferredGpu set to: 0x106B_0xF0103EF 00:00:00.182 |I| Configuration LogValueChange: AntiAliasing set to: None 00:00:00.183 |I| Configuration LogValueChange: ScalingFilter set to: Bilinear 00:00:00.183 |I| Configuration LogValueChange: ScalingFilterLevel set to: 80 00:00:00.183 |I| Configuration LogValueChange: EnableDebug set to: False 00:00:00.184 |I| Configuration LogValueChange: Language set to: SimplifiedChinese 00:00:00.184 |I| Configuration LogValueChange: Region set to: USA 00:00:00.184 |I| Configuration LogValueChange: TimeZone set to: Asia/Shanghai 00:00:00.186 |I| Configuration LogValueChange: SystemTimeOffset set to: -64 00:00:00.186 |I| Configuration LogValueChange: EnableDockedMode set to: True 00:00:00.191 |I| Configuration LogValueChange: IgnoreApplet set to: False 00:00:00.191 |I| Configuration LogValueChange: EnableVsync set to: True 00:00:00.191 |I| Configuration LogValueChange: EnableShaderCache set to: True 00:00:00.191 |I| Configuration LogValueChange: EnableTextureRecompression set to: False 00:00:00.191 |I| Configuration LogValueChange: EnableMacroHLE set to: True 00:00:00.191 |I| Configuration LogValueChange: EnableColorSpacePassthrough set to: False 00:00:00.191 |I| Configuration LogValueChange: EnablePtc set to: True 00:00:00.191 |I| Configuration LogValueChange: EnableLowPowerPtc set to: False 00:00:00.193 |I| Configuration LogValueChange: EnableInternetAccess set to: False 00:00:00.193 |I| Configuration LogValueChange: EnableFsIntegrityChecks set to: True 00:00:00.193 |I| Configuration LogValueChange: FsGlobalAccessLogMode set to: 0 00:00:00.194 |I| Configuration LogValueChange: AudioBackend set to: SDL2 00:00:00.194 |I| Configuration LogValueChange: AudioVolume set to: 1 00:00:00.195 |I| Configuration LogValueChange: MemoryManagerMode set to: HostMappedUnsafe 00:00:00.195 |I| Configuration LogValueChange: DramSize set to: MemoryConfiguration4GiB 00:00:00.195 |I| Configuration LogValueChange: IgnoreMissingServices set to: False 00:00:00.195 |I| Configuration LogValueChange: UseHypervisor set to: True 00:00:00.196 |I| Configuration LogValueChange: MultiplayerMode set to: Disabled 00:00:00.196 |I| Configuration LogValueChange: DisableP2p set to: False 00:00:00.196 |I| Configuration LogValueChange: LdnPassphrase set to: 00:00:00.196 |I| Configuration LogValueChange: LdnServer set to: 00:00:00.197 |N| Application PrintSystemInfo: Ryujinx Version: 1.2.76 00:00:00.200 |N| Application Print: Operating System: macOS 15.1.1 (24B91) (Arm64) 00:00:00.200 |N| Application Print: CPU: Apple M1 Pro ; 10 logical 00:00:00.201 |N| Application Print: RAM: Total 16 GiB ; Available 3.1 GiB 00:00:00.202 |N| Application PrintSystemInfo: Logs Enabled: Info, Warning, Error, Guest, Stub 00:00:00.203 |N| Application PrintSystemInfo: Launch Mode: UserProfile 00:00:01.857 |E| .NET TP Worker 2024-11-23 22:08:33.016 Ryujinx[41610:700030] +[IMKClient subclass]: chose IMKClient_Modern 00:00:02.143 |E| .NET TP Worker 2024-11-23 22:08:33.303 Ryujinx[41610:700030] +[IMKInputSession subclass]: chose IMKInputSession_Modern

macOS report

macos-ryujinx-crash-full-report.log

OS

macOS 15.1.1 (24B91)

Ryujinx version

1.2.76

Game version

1.6.0

CPU

Apple M1 Pro

GPU

Apple M1 Pro

RAM

16GB

List of applied mods

None

Additional context?

Title ID: 01007EF00011E000

Bentheminernz commented 22 hours ago

From my experience, Zelda BOTW only works on macOS when hypervisor is disabled. Can you test that and share your results?

Lumysia commented 17 hours ago

I turn off the hypervisor and it worked very well! Thanks!

GreemDev commented 17 hours ago

Closing as the issue has been resolved (even if a bandaid fix), and nobody currently is able to fix this even if they wanted to (no mac).