[GH-ISSUE #1820] [macOS] [BB] MoltenVK Crash (possibly tessellation related) #625

Closed
opened 2026-02-27 21:07:18 +03:00 by kerem · 4 comments
Owner

Originally created by @shinra-electric on GitHub (Dec 18, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1820

Using latest main (ccfb1bb) Bloodborne [CUSA03173] will reproducibly crash with two errors when trying to enter the Forbidden Woods:

[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Vertex shader requires output buffer, but there is no free slot to pass it.
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Tessellation control shader requires tessellation level output buffer, but there is no free slot to pass it.
[Debug] <Critical> vk_graphics_pipeline.cpp:operator():339: Assertion Failed!
Failed to create graphics pipeline: ErrorInitializationFailed

Unfortunately I can't confirm if the tessellation branch was the cause, as all previous GitHub actions have expired.

Edit: I should note that on a previous build I was able to enter this area and reach the door at the end, although at that time I did not have the password to proceed further.

Terminal Log:
BB Terminal Output.txt

Save (just move forward through the doorway to cause the crash):
CUSA03173_save.zip

Originally created by @shinra-electric on GitHub (Dec 18, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1820 Using latest main (ccfb1bb) Bloodborne [CUSA03173] will reproducibly crash with two errors when trying to enter the Forbidden Woods: ``` [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Vertex shader requires output buffer, but there is no free slot to pass it. [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Tessellation control shader requires tessellation level output buffer, but there is no free slot to pass it. [Debug] <Critical> vk_graphics_pipeline.cpp:operator():339: Assertion Failed! Failed to create graphics pipeline: ErrorInitializationFailed ``` Unfortunately I can't confirm if the tessellation branch was the cause, as all previous GitHub actions have expired. Edit: I should note that on a previous build I was able to enter this area and reach the door at the end, although at that time I did not have the password to proceed further. Terminal Log: [BB Terminal Output.txt](https://github.com/user-attachments/files/18184324/BB.Terminal.Output.txt) Save (just move forward through the doorway to cause the crash): [CUSA03173_save.zip](https://github.com/user-attachments/files/18184326/CUSA03173_save.zip)
kerem 2026-02-27 21:07:18 +03:00
Author
Owner

@squidbus commented on GitHub (Dec 22, 2024):

I can't use the save file here to reproduce as I don't have the DLC.

<!-- gh-comment-id:2558639703 --> @squidbus commented on GitHub (Dec 22, 2024): I can't use the save file here to reproduce as I don't have the DLC.
Author
Owner

@shinra-electric commented on GitHub (Dec 23, 2024):

I only have the Old Hunters Edition....

But this area is close to the Cathedral Ward lantern in the base game, maybe someone with the same game version can donate a save.

Here is the exact location:

https://github.com/user-attachments/assets/55652a2c-2b5d-4006-bace-cc53a6667628

<!-- gh-comment-id:2559218192 --> @shinra-electric commented on GitHub (Dec 23, 2024): I only have the Old Hunters Edition.... But this area is close to the Cathedral Ward lantern in the base game, maybe someone with the same game version can donate a save. Here is the exact location: https://github.com/user-attachments/assets/55652a2c-2b5d-4006-bace-cc53a6667628
Author
Owner

@shinra-electric commented on GitHub (Dec 28, 2024):

Adding details for another crash. It is likely the same cause as the one above.

[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Vertex shader requires output buffer, but there is no free slot to pass it.

I encountered a reproducible crash in the first chalice dungeon in CUSA03173 1.09.

The location is the very first dungeon. In order to access it you need to have defeated the blood-starved beast, so here is a save:
SPRJ0005.zip

Logs
shad_log.txt
Terminal Saved Output.txt

Location
Screenshot 2024-12-27 at 22 36 36

https://github.com/user-attachments/assets/e69302b6-63e5-4fc3-bebf-c918e04f8a28

System
M1 Pro
Sequoia 15.2

<!-- gh-comment-id:2564281967 --> @shinra-electric commented on GitHub (Dec 28, 2024): Adding details for another crash. It is likely the same cause as the one above. ``` [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Vertex shader requires output buffer, but there is no free slot to pass it. ``` --------------------- I encountered a reproducible crash in the first chalice dungeon in CUSA03173 1.09. The location is the very first dungeon. In order to access it you need to have defeated the blood-starved beast, so here is a save: [SPRJ0005.zip](https://github.com/user-attachments/files/18264182/SPRJ0005.zip) **Logs** [shad_log.txt](https://github.com/user-attachments/files/18264186/shad_log.txt) [Terminal Saved Output.txt](https://github.com/user-attachments/files/18264190/Terminal.Saved.Output.txt) **Location** <img width="1392" alt="Screenshot 2024-12-27 at 22 36 36" src="https://github.com/user-attachments/assets/b68e5165-c5a0-4374-98de-e2bda733efa4" /> https://github.com/user-attachments/assets/e69302b6-63e5-4fc3-bebf-c918e04f8a28 **System** M1 Pro Sequoia 15.2
Author
Owner

@shinra-electric commented on GitHub (Jan 9, 2025):

I tried replacing libMoltenVK.dylib with one including Squidbus' PR Reduce number of unused pipeline bindings reserved for argument buffers.

It fixed the first instance of the crash, and I can now proceed into the forbidden woods.

However it still crashes at the same point entering the first chalice dungeon:
error: cannot reserve 'buffer' resource location at index 17

ChaliceD.txt
shad_log.txt

Edit:
I get another crash with the same error message in the Forbidden Woods when entering the cave that leads to the back of Iosefka's clinic.

<!-- gh-comment-id:2580354943 --> @shinra-electric commented on GitHub (Jan 9, 2025): I tried replacing `libMoltenVK.dylib` with one including Squidbus' PR `Reduce number of unused pipeline bindings reserved for argument buffers`. It fixed the first instance of the crash, and I can now proceed into the forbidden woods. However it still crashes at the same point entering the first chalice dungeon: `error: cannot reserve 'buffer' resource location at index 17` [ChaliceD.txt](https://github.com/user-attachments/files/18362764/ChaliceD.txt) [shad_log.txt](https://github.com/user-attachments/files/18362786/shad_log.txt) Edit: I get another crash with the same error message in the Forbidden Woods when entering the cave that leads to the back of Iosefka's clinic.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#625
No description provided.