diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fa476f8f..d4f974beb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Reduces binary sizes depending on OS - Deprecates Apple-Binaries-OCLP - Fix full screen and Airplay to Mac support for Intel HD4000 iGPUs +- Automatically set `CMIO_Unit_Input_ASC.DoNotUseOpenCL` on TeraScale 2 GPUs ## 0.1.9 - Fix incorrect AMFI and SIP detection diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index c7d028e44..3d5c1ee71 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -218,6 +218,8 @@ class PatchSysVolume: self.elevated(["ditto", self.constants.payload_apple_frameworks_path_accel_ts2, self.mount_frameworks], stdout=subprocess.PIPE).stdout.decode().strip().encode() print("- Merging TeraScale 2 PrivateFrameworks") self.elevated(["ditto", self.constants.payload_apple_private_frameworks_path_accel_ts2, self.mount_private_frameworks], stdout=subprocess.PIPE).stdout.decode().strip().encode() + print("- Fixing Acceleration in CMIO") + self.elevated(["defaults", "write", "com.apple.cmio", "CMIO_Unit_Input_ASC.DoNotUseOpenCL", "-bool", "true"], stdout=subprocess.PIPE).stdout.decode().strip().encode() def patch_root_vol(self): print(f"- Running patches for {self.model}")