diff --git a/CHANGELOG.md b/CHANGELOG.md index 834a5244b..33aaba8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,8 @@ - Add Mavericks and newer .app support - Refactor USB map building, fixes USB 3.0 displaying as USB 2.0 - Fix blackscreen on MacBookPro9,1 - - May require `sudo pkill displaypolicyd` to fix GPU switching - - Disable on every boot: `sudo launchctl disable system/com.apple.displaypolicyd` +- Update RestrictEvents with custom build (1.0.1) + - Blocks `/usr/libexec/displaypolicyd` on MacBookPro9,1 to ensure smooth GPU switching ## 0.0.18 - Disable Vault by default due to breaking installations diff --git a/Resources/Constants.py b/Resources/Constants.py index eabf1c3a7..8c8a64ebd 100644 --- a/Resources/Constants.py +++ b/Resources/Constants.py @@ -24,7 +24,7 @@ class Constants: self.io80211high_sierra_version = "1.0.0" self.io80211mojave_version = "1.0.0" self.voodoohda_version = "296" - self.restrictevents_version = "1.0.0" + self.restrictevents_version = "1.0.1" self.piixata_version = "1.0.0" self.backlight_version = "1.0.0" self.cpufriend_version = "1.2.3" diff --git a/Resources/build.py b/Resources/build.py index 20d8c9279..df95272cd 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -75,7 +75,7 @@ class BuildOpenCore: # Essential kexts ("Lilu.kext", self.constants.lilu_version, self.constants.lilu_path, lambda: True), ("WhateverGreen.kext", self.constants.whatevergreen_version, self.constants.whatevergreen_path, lambda: True), - ("RestrictEvents.kext", self.constants.restrictevents_version, self.constants.restrictevents_path, lambda: self.model in ModelArray.MacPro71), + ("RestrictEvents.kext", self.constants.restrictevents_version, self.constants.restrictevents_path, lambda: (self.model in ModelArray.MacPro71) or (self.model == "MacBookPro9,1")), ("NightShiftEnabler.kext", self.constants.nightshift_version, self.constants.nightshift_path, lambda: self.model not in ModelArray.NightShiftExclude), ("SMC-Spoof.kext", self.constants.smcspoof_version, self.constants.smcspoof_path, lambda: True), # CPU patches diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index ebd8f04e9..5cf36dbb2 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -9,7 +9,6 @@ Here are some common errors users may experience while using this patcher: * [Booting with a non-flashed GPU](#booting-with-a-non-flashed-gpu) * [How to Boot Big Sur Recovery](#how-to-boot-big-sur-recovery) * [Stuck on "Your Mac needs a firmware update"](#stuck-on-your-mac-needs-a-firmware-update) -* [GPU stuck on Nvidia with MacBookPro9,1](#gpu-stuck-on-nvidia-with-macbookpro9-1) ## Stuck on `This version of Mac OS X is not supported on this platform` @@ -59,18 +58,4 @@ By default, the patcher will try to hide extra boot options such as recovery fro Full error: "Your Mac needs a firmware update in order to install to this Volume. Please select a Mac OS Extended (Journaled) volume instead." -This error occurs when macOS determines the firmware to not have full APFS support. To resolve is quite simple, when building OpenCore head to "Patcher Settings" and enable "Moderate SMBIOS Patching" or higher. This will ensure that the firmware reported will show as supporting full APFS capabilities. - -## GPU stuck on Nvidia with MacBookPro9,1 - -For some users, `displaypolicyd` will retain onto the Nvidia GPU on OS start and refuses to let go. The easiest way to resolve is to simply kill the process in macOS: - -```sh -sudo pkill displaypolicyd -``` - -For a more permanat fix across reboots, you can run the following: - -```sh -sudo launchctl disable system/com.apple.displaypolicyd -``` \ No newline at end of file +This error occurs when macOS determines the firmware to not have full APFS support. To resolve is quite simple, when building OpenCore head to "Patcher Settings" and enable "Moderate SMBIOS Patching" or higher. This will ensure that the firmware reported will show as supporting full APFS capabilities. \ No newline at end of file diff --git a/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.0.zip b/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.0.zip deleted file mode 100644 index e852830d2..000000000 Binary files a/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.0.zip and /dev/null differ diff --git a/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.1.zip b/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.1.zip new file mode 100644 index 000000000..4b9126309 Binary files /dev/null and b/payloads/Kexts/Acidanthera/RestrictEvents-v1.0.1.zip differ