From cef684beb9f5b1750066e54cdc4fa9fa3f92653e Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Tue, 6 Jul 2021 14:39:52 -0600 Subject: [PATCH] Allow hardware decode --- Resources/SysPatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index af4f359da..2e82b5c4f 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -210,7 +210,7 @@ class PatchSysVolume: def gpu_framebuffer_ivybridge_big_sur(self): self.add_new_binaries(SysPatchArray.AddIntelGen3Accel, self.constants.legacy_intel_gen3_path) print("- Fixing Acceleration in CoreMedia") - subprocess.run(["defaults", "write", "com.apple.coremedia", "hardwareVideoDecoder", "-string", "disable"], stdout=subprocess.PIPE).stdout.decode().strip().encode() + subprocess.run(["defaults", "write", "com.apple.coremedia", "hardwareVideoDecoder", "-string", "enable"], stdout=subprocess.PIPE).stdout.decode().strip().encode() print("- Merging Ivy Bridge Frameworks") self.elevated(["rsync", "-r", "-i", "-a", f"{self.constants.payload_apple_frameworks_path_accel_ivy}/", self.mount_frameworks], stdout=subprocess.PIPE).stdout.decode().strip().encode()