diff --git a/CHANGELOG.md b/CHANGELOG.md index 467264520..bbbc4987e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # OpenCore Legacy Patcher changelog ## 0.6.2 +- Work around Black Box rendering issues on certain Display Color Profiles + - Limited to Ventura currently due to limitations with other color profiles + - Applicable for HD3000-based machines (ex. MacBookAir4,x, MacBookPro8,x, Macmini5,x) +- Ensure `Moraea_BlurBeta` is set on non-Metal systems +- Increment Binaries: + - PatcherSupportPkg 0.8.3 - release ## 0.6.1 - Avoid usage of KDKlessWorkaround on hardware not requiring it diff --git a/data/sys_patch_dict.py b/data/sys_patch_dict.py index 5513fcd23..908411166 100644 --- a/data/sys_patch_dict.py +++ b/data/sys_patch_dict.py @@ -168,6 +168,28 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support): }, }, + "Non-Metal ColorSync Workaround": { + # HD3000 Macs have issues with certain ColorProfiles + # This downgrade allows for proper UI rendering, + # however limited to Ventura due to regression with Big Sur and Monterey + "Display Name": "", + "OS Support": { + "Minimum OS Support": { + "OS Major": os_data.os_data.ventura, + "OS Minor": 0 + }, + "Maximum OS Support": { + "OS Major": non_metal_os_support[-1], + "OS Minor": 99 + }, + }, + "Install": { + "/System/Library/Frameworks": { + "ColorSync.framework": f"10.15.7-{os_major}", + }, + }, + }, + # AMD GCN and Nvidia Kepler require Metal Downgrade in Ventura # The patches are required due to struct issues in the Metal stack # - AMD GCN will break on BronzeMtlDevice diff --git a/resources/constants.py b/resources/constants.py index dbd55b9b8..ed695b748 100644 --- a/resources/constants.py +++ b/resources/constants.py @@ -13,7 +13,7 @@ class Constants: def __init__(self): # Patcher Versioning self.patcher_version = "0.6.2" # OpenCore-Legacy-Patcher - self.patcher_support_pkg_version = "0.8.2" # PatcherSupportPkg + self.patcher_support_pkg_version = "0.8.3" # PatcherSupportPkg self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/" self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/" self.discord_link = "https://discord.gg/rqdPgH8xSN" diff --git a/resources/defaults.py b/resources/defaults.py index e51cbcdfd..0f49b7f89 100644 --- a/resources/defaults.py +++ b/resources/defaults.py @@ -252,4 +252,9 @@ class generate_defaults: self.constants.disable_cs_lv = True if os_data.os_data.ventura in self.constants.legacy_accel_support: # Only disable AMFI if we officially support Ventura - self.constants.disable_amfi = True \ No newline at end of file + self.constants.disable_amfi = True + + # Enable BetaBlur if user hasn't disabled it + is_blur_enabled = subprocess.run(["defaults", "read", "-g", "Moraea_BlurBeta"], stdout=subprocess.PIPE).stdout.decode("utf-8").strip() + if is_blur_enabled in ["false", "0"]: + subprocess.run(["defaults", "write", "-g", "Moraea_BlurBeta", "-bool", "true"]) \ No newline at end of file diff --git a/resources/sys_patch/sys_patch_detect.py b/resources/sys_patch/sys_patch_detect.py index 81cc1ce0a..2a59e05d9 100644 --- a/resources/sys_patch/sys_patch_detect.py +++ b/resources/sys_patch/sys_patch_detect.py @@ -588,6 +588,7 @@ class detect_root_patch: required_patches.update({"Intel Ironlake": all_hardware_patchset["Graphics"]["Intel Ironlake"]}) if hardware_details["Graphics: Intel Sandy Bridge"] is True: required_patches.update({"Non-Metal Common": all_hardware_patchset["Graphics"]["Non-Metal Common"]}) + required_patches.update({"Non-Metal ColorSync Workaround": all_hardware_patchset["Graphics"]["Non-Metal ColorSync Workaround"]}) required_patches.update({"High Sierra GVA": all_hardware_patchset["Graphics"]["High Sierra GVA"]}) required_patches.update({"WebKit Monterey Common": all_hardware_patchset["Graphics"]["WebKit Monterey Common"]}) required_patches.update({"Intel Sandy Bridge": all_hardware_patchset["Graphics"]["Intel Sandy Bridge"]})