[PR #1777] [MERGED] Disable userfaultfd again by making it opt-in #2298

Closed
opened 2026-02-27 21:15:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1777
Author: @C0rn3j
Created: 12/14/2024
Status: Merged
Merged: 12/22/2024
Merged by: @raphaelthegreat

Base: mainHead: userfd-hotfix


📝 Commits (2)

  • 49b0405 Disable userfaultfd again
  • ac94982 Let userfd be be opt-in instead of disabled

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 CMakeLists.txt (+2 -1)

📄 Description

Fixes/works around #1704

Seems like enabling userfaultfd either causes various crashes on boot or mid-game.

Let's make it opt-in for now, until that is resolved.

https://github.com/shadps4-emu/shadPS4/issues/1704#issuecomment-2526263846 suggested to bake it as a CMAKE flag instead of a hardcode disable, so this PR was changed to do this.


🔄 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/1777 **Author:** [@C0rn3j](https://github.com/C0rn3j) **Created:** 12/14/2024 **Status:** ✅ Merged **Merged:** 12/22/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `userfd-hotfix` --- ### 📝 Commits (2) - [`49b0405`](https://github.com/shadps4-emu/shadPS4/commit/49b0405dfefbe3ecf22a755955acd76648a3bf8a) Disable userfaultfd again - [`ac94982`](https://github.com/shadps4-emu/shadPS4/commit/ac949828722babd7317f26e6ab7fdfe3aff98c40) Let userfd be be opt-in instead of disabled ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -1) </details> ### 📄 Description Fixes/works around #1704 Seems like enabling userfaultfd either causes various crashes on boot or mid-game. Let's make it opt-in for now, until that is resolved. https://github.com/shadps4-emu/shadPS4/issues/1704#issuecomment-2526263846 suggested to bake it as a CMAKE flag instead of a hardcode disable, so this PR was changed to do this. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:57 +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#2298
No description provided.