[PR #2923] [MERGED] kernel: macos/linux Implement sceKernelUuidCreate #3086

Closed
opened 2026-02-27 22:02:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2923
Author: @MrJohnDev
Created: 5/13/2025
Status: Merged
Merged: 5/13/2025
Merged by: @squidbus

Base: mainHead: kernel-sceKernelUuidCreate


📝 Commits (4)

📊 Changes

2 files changed (+20 additions, -4 deletions)

View changed files

📝 CMakeLists.txt (+7 -3)
📝 src/core/libraries/kernel/kernel.cpp (+13 -1)

📄 Description

fix crash when launching the game on Mac and Linux.

Used by CUSA13793 LEGO Star Wars: The Skywalker Saga

Helps game to boot in macos

fix crash when launching the game on mac and linux.

Specs:
macOS 15.4
intel i7
AMD RX 6600

Tested on:
macOS intel x64

Need to test
on linux
on arm macos and linux

For testers:
If the scene loads on startup, then the test is passed.

Still can't get to the menu, for those who want to play it

But crash in intro with shaders after this scene ps4_lego [Render.Vulkan] vk_pipeline_cache.cpp:492 CompileModule: Compiling vs shader 0xbb76efee (permutation) [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Render.Vulkan] vk_pipeline_cache.cpp:492 CompileModule: Compiling vs shader 0x59be8804 (permutation) [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] pad.cpp:418 scePadResetLightBar: (DUMMY) called [Render.Vulkan] vk_pipeline_cache.cpp:492 CompileModule: Compiling cs shader 0x9fdfa83b [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3): program_source:737:37: error: unexpected type name 'uint': expected expression uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ program_source:737:42: error: expected ')' uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ program_source:737:36: note: to match this '(' uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ . [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Compute shader function could not be compiled into pipeline. See previous logged error. [Debug] vk_compute_pipeline.cpp:101 operator(): Assertion Failed! Failed to create compute pipeline: ErrorInitializationFailed [1] 41460 trace trap ./shadps4.app/Contents/MacOS/shadps4

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2923 **Author:** [@MrJohnDev](https://github.com/MrJohnDev) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `kernel-sceKernelUuidCreate` --- ### 📝 Commits (4) - [`188b35d`](https://github.com/shadps4-emu/shadPS4/commit/188b35db934051c716af9bb5e598927a57c5ca7f) kernel: macos/linux Implement sceKernelUuidCreate - [`580ae15`](https://github.com/shadps4-emu/shadPS4/commit/580ae15c19d511c7b113c3eb28aa641400ab0490) Fix clang-format - [`55df497`](https://github.com/shadps4-emu/shadPS4/commit/55df4979c5b8536634f7c45412b16a78c3e80c8d) Fix Linux build - [`9c30090`](https://github.com/shadps4-emu/shadPS4/commit/9c300900f3a561c9eaa21586704a681b92578584) Fix Linux build (2) ### 📊 Changes **2 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+7 -3) 📝 `src/core/libraries/kernel/kernel.cpp` (+13 -1) </details> ### 📄 Description fix crash when launching the game on Mac and Linux. Used by CUSA13793 LEGO Star Wars: The Skywalker Saga Helps game to boot in macos fix crash when launching the game on mac and linux. Specs: macOS 15.4 intel i7 AMD RX 6600 Tested on: ✅ macOS intel x64 Need to test ❓on linux ❓on arm macos and linux For testers: If the scene loads on startup, then the test is passed. Still can't get to the menu, for those who want to play it <details> <summary>But crash in intro with shaders after this scene</summary> <img width="1392" alt="ps4_lego" src="https://github.com/user-attachments/assets/9139ac06-dd29-4c18-8c79-b8348f5e9383" /> <code> [Render.Vulkan] <Info> vk_pipeline_cache.cpp:492 CompileModule: Compiling vs shader 0xbb76efee (permutation) [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Render.Vulkan] <Info> vk_pipeline_cache.cpp:492 CompileModule: Compiling vs shader 0x59be8804 (permutation) [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Lib.Pad] <Info> pad.cpp:418 scePadResetLightBar: (DUMMY) called [Render.Vulkan] <Info> vk_pipeline_cache.cpp:492 CompileModule: Compiling cs shader 0x9fdfa83b [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3): program_source:737:37: error: unexpected type name 'uint': expected expression uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ program_source:737:42: error: expected ')' uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ program_source:737:36: note: to match this '(' uint4 _1212 = uint4(uint _728, uint _727, _683, _682); ^ . [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Compute shader function could not be compiled into pipeline. See previous logged error. [Debug] <Critical> vk_compute_pipeline.cpp:101 operator(): Assertion Failed! Failed to create compute pipeline: ErrorInitializationFailed [1] 41460 trace trap ./shadps4.app/Contents/MacOS/shadps4 </code> </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:23 +03:00
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#3086
No description provided.