diff --git a/CHANGELOG.md b/CHANGELOG.md index 00d727c5b..72cd0fd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Fix more IORegistry issues - Implement OpenCore GUI - Ensure symlinks are preserved +- Enable TeraScale 2 patches by default on desktops ## 0.2.2 diff --git a/OCLP-CLI.command b/OCLP-CLI.command index c19297fad..ff882ec8b 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -185,6 +185,12 @@ If you plan to create the USB for another machine, please select the "Change Mod if model == "MacBook8,1" and host_is_target: # MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing self.constants.serial_settings == "Moderate" + if ( + host_is_target + and model not in ["MacBookPro8,2", "MacBookPro8,3"] + and self.computer.dgpu + and self.computer.dgpu.arch in device_probe.AMD.Archs.TeraScale_2) or self.model in ["Macmini5,2", "iMac12,1", "iMac12,2"]: + self.constants.terascale_2_patch == True def patch_vol(self): SysPatch.PatchSysVolume(self.constants.custom_model or self.constants.computer.real_model, self.constants).start_patch() diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 9505ef193..3c67c9547 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -71,6 +71,12 @@ class OpenCoreLegacyPatcher: if model == "MacBook8,1": # MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing self.constants.serial_settings == "Moderate" + if ( + host_is_target + and model not in ["MacBookPro8,2", "MacBookPro8,3"] + and self.computer.dgpu + and self.computer.dgpu.arch in device_probe.AMD.Archs.TeraScale_2) or self.model in ["Macmini5,2", "iMac12,1", "iMac12,2"]: + self.constants.terascale_2_patch == True def build_opencore(self): Build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore() diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 9b2e5cf4e..51f2ed5b8 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -125,6 +125,10 @@ class PatchSysVolume: self.unmount_drive() print("- Patching complete") print("\nPlease reboot the machine for patches to take effect") + if self.amd_ts2 is True: + print("\nPlease note that with ATI TeraScale 2 GPUs, you may experience colour strobing on reboot") + print("Please use SwitchResX or ResXtreme to force 1 million colours on your monitor to fix this") + print("If you are epileptic, please ask for someone to aid you or set million colour before rebooting") if self.constants.gui_mode is False: input("Press [ENTER] to continue")