Project

General

Profile

Actions

Emulator Issues #11581

open

Crash on macOS with MSAA enabled

Added by 5nefarious about 5 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
OS X
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

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.

Dolphin 5.0-9620

Is the issue present in the latest stable version?

Unknown

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.


Files

Dolphin-crashlog.txt (68.8 KB) Dolphin-crashlog.txt 5nefarious, 02/24/2019 10:53 PM
dolphin_crash_opengl_msaa.txt (76.3 KB) dolphin_crash_opengl_msaa.txt OpenGL MSAA crash log Pizuz, 07/23/2022 10:29 AM
dolphin_freeze_msaa_metal.txt (2.98 MB) dolphin_freeze_msaa_metal.txt Metal MSAA freeze log Pizuz, 07/23/2022 10:31 AM
dolphin_freeze_msaa_moltenvk.txt (3.12 MB) dolphin_freeze_msaa_moltenvk.txt MoltenVK MSAA freeze log Pizuz, 07/23/2022 10:32 AM
Actions #1

Updated by 5nefarious about 5 years ago

Based on the crash log, the issue may be in MoltenVK.

Actions #2

Updated by Stenzek about 5 years ago

Known issue. This is why there's an open PR to update MoltenVK.

Updated by Pizuz almost 2 years ago

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

Specs:
iMac late 2013
macOS Catalina 10.15.7
nVidia GeForce GT 750M
3,1 GHz Quad-Core Intel Core i7

Actions #4

Updated by Billiard26 over 1 year ago

  • Operating system OS X added
  • Operating system deleted (N/A)
Actions #5

Updated by TellowKrinkle over 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)

Actions

Also available in: Atom PDF