Project

General

Profile

Actions

Emulator Issues #11514

closed

Vulcan on MacOS freezes up everything -- 5.0-9285

Added by jpapetti0713 about 5 years ago. Updated about 5 years ago.

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

0%

Operating system:
N/A
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?

Probably any game, but here are the ones I've tested:

  1. Super Smash Bros Melee
  2. Mario Party 6
  3. Mario Kart Wii (Wiimmfi enabled)

Game ID? (right click the game in the game list, properties, info tab)

Tested:
SSBM: GALE01
Party: GP6E01
MKW: RMCE01 (00010004524d4345)

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

SSBM: 0e63d4223b01d9aba596259dc155a174
Party: 010dece78287bcb8cafdeb15f035127a
MKW: 8ca4870ba72eb79d117af034f52d3db1

What's the problem? Describe what went wrong.

When using Vulcan Driver on MacOS, either some graphics don't load, or they are broken.
Also console: "VideoBackends/Vulkan/VulkanLoader.cpp:331 E[Video]: (CreatePipeline) vkCreateGraphicsPipelines failed: (-3: VK_ERROR_INITIALIZATION_FAILED)"

What steps will reproduce the problem?

MacOS 10.13.6, Dolphin 5.0-9285, Vulcan graphics mode with Synchronous shaders.
Just launch a game like Mario Party 6 or SSBM.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes. 5.0-9285

Is the issue present in the latest stable version?

N/A (Vulcan not Present)

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

5.0-9173 (It provides a message: "Failed to load Vulcan Library." 5.0-9285 does not show that message.

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

I attached 2 screenshots and a fifolog. The screenshots are the fifolog, but from both OpenGL (works) and Vulcan (does not work).

What are your PC specifications? (CPU, GPU, Operating System, more)

MacBook Pro, 13-inch, Mid 2014.
MacOS High Sierra 10.13.6 (17G3025)
2.6 GHz Intel i5
16 GB Ram
Graphics Intel Iris 1536 MB

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Logs might help, since I was getting: "VideoBackends/Vulkan/VulkanLoader.cpp:331 E[Video]: (CreatePipeline) vkCreateGraphicsPipelines failed: (-3: VK_ERROR_INITIALIZATION_FAILED)"


Files

Vulcan.png (46.9 KB) Vulcan.png Screenshot of Dff (bad) jpapetti0713, 01/03/2019 04:53 PM
OpenGL.png (783 KB) OpenGL.png Screenshot of Dff (works) jpapetti0713, 01/03/2019 04:53 PM
recording.dff (1.9 MB) recording.dff SSBM jpapetti0713, 01/03/2019 04:53 PM
Actions #1

Updated by Stenzek about 5 years ago

IIRC there was another user who had similar issues on 10.13, but was fixed after updating to 10.14.

Actions #2

Updated by jpapetti0713 about 5 years ago

Thank you for getting back to me.

I would rather not update to 10.14, especially because of the new security policy. (It's more of an annoyance than helpful.)

But why is VulkanLoader giving that error on 10.13, but not on 10.14, and is there a fix?

I also found more logs that might be helpful.

By opening Dolphin from the terminal, I found this:
[***MoltenVK ERROR***] VK_ERROR_INITIALIZATION_FAILED: Render pipeline compile failed (error code 1):
Compiler encountered an internal error.

By using Xcode Instruments (Metal System Trace) with Dolphin, I also found this:
Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED

Sometimes, after stopping the game with Vulkan, Dolphin crashes with "Segmentation fault: 11."

Actions #3

Updated by Stenzek about 5 years ago

  • Status changed from New to Invalid

Sounds like the shader compiler is crashing, causing the pipeline to fail to compile. This is a driver bug which is out of our hands.

This isn't the only reason to use 10.14 for Vulkan/Metal, 10.14 also introduces features which we need for all functionality (e.g. MSAA).

If you want to stay on 10.13, I'd suggest using the OpenGL. Otherwise, if the issue persists on 10.14, I'll re-open the issue.

Actions

Also available in: Atom PDF