Emulator Issues #11581open
Crash on macOS with MSAA enabled
Tested on the Legend of Zelda: Twilight Princess and Wind Waker.
Game ID? (right click the game in the game list, properties, info tab)
GZ2E01 and GZLE01
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
Twilight Princess: 41deff9b1fd2831f48fbfa2dd1054e4d
Wind Waker: d8e4d45af2032a081a0f446384e9261b
What's the problem? Describe what went wrong.
Dolphin crashes when attempting to launch the game. If "Compile Shaders Before Starting" is enabled, the first shader compilation stage completes successfully and Dolphin crashes immediately afterward.
Game launches fine if anti-aliasing is disabled.
What steps will reproduce the problem?
Set Anti-Aliasing to 2x MSAA in the Vulkan Graphics Settings. Launch the game.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
What are your PC specifications? (CPU, GPU, Operating System, more)
2017 15" MacBook Pro
macOS Mojave, Version 10.14.3
2.8 GHz Intel Core i7
16 GB 2133 MHz LPDDR3
Intel HD Graphics 630, 1536 MB
AMD Radeon Pro 555, 2048 MB
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
See attached crash log and stack trace.
Updated by Pizuz over 1 year ago
- File dolphin_crash_opengl_msaa.txt dolphin_crash_opengl_msaa.txt added
- File dolphin_freeze_msaa_metal.txt dolphin_freeze_msaa_metal.txt added
- File dolphin_freeze_msaa_moltenvk.txt dolphin_freeze_msaa_moltenvk.txt added
Bumping this: Same issue, but on nVidia with all available backends (MoltenVK, Metal and OpenGL). Metal and Vulkan shoot a “Failed to compile pipeline for Texture copy vertex shader and Depth resolve pixel shader: Compiler encountered an internal error” -> “Failed to compile EFB readback pipelines” -> “Failed to initialize render classes” -> “FIFO shutting down while active” -> “Failed to initialize video backend!” error chain and end emulation. If you try again, it locks up.
OpenGL dumps core immediately.
Dolphin version: 5.0-16965
iMac late 2013
macOS Catalina 10.15.7
nVidia GeForce GT 750M
3,1 GHz Quad-Core Intel Core i7
Updated by TellowKrinkle about 1 year ago
Running the Metal renderer on my 750M laptop gives a slightly more obvious error:
MTLTextureType2DMultisampleArray is not supported on this device
Looks like if we want MSAA support for these older Macs, we'll need to switch things to not using texture arrays. (Texture arrays are only needed for stereoscopic 3D rendering, which isn't supported without geometry shaders anyways, but we just use texture arrays always at the moment because it's easier that way)