Set CMIO_Unit_Input_ASC.DoNotUseOpenCL

This commit is contained in:
Mykola Grymalyuk
2021-06-18 13:08:19 -06:00
parent 84d0272eda
commit 0dc40318d0
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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}")