Add basic Ivy Bridge framebuffer support

This commit is contained in:
Mykola Grymalyuk
2021-06-10 09:09:03 -06:00
parent ae8bba5582
commit e625d9803b
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
- NVMeFix (1.0.9 rolling - 06-08-2021)
- WhateverGreen (1.5.1 rolling - 06-08-2021)
- RestrictEvents (1.0.3 rolling - 06-08-2021)
- Apple Binaries (0.0.13 release - 06-08-2021)
- Apple Binaries (0.0.14 release - 06-10-2021)
- MouSSE (0.95 release - 06-08-2021)
- Fix SSE4,2 Emulation
+1 -1
View File
@@ -40,7 +40,7 @@ class Constants:
self.sidecarfixup_version = "1.0.2"
self.innie_version = "1.3.0"
self.fw_kext = "1.0.0"
self.payload_version = "0.0.13"
self.payload_version = "0.0.14"
# Get resource path
self.current_path = Path(__file__).parent.parent.resolve()
+3 -3
View File
@@ -1244,9 +1244,9 @@ AddIntelGen3Accel = [
"AppleIntelHD4000GraphicsGLDriver.bundle",
"AppleIntelHD4000GraphicsMTLDriver.bundle",
"AppleIntelHD4000GraphicsVADriver.bundle",
"IOSurface.kext",
"IOGPUFamily.kext",
"IOAcceleratorFamily2.kext",
#"IOSurface.kext",
#"IOGPUFamily.kext",
#"IOAcceleratorFamily2.kext",
]
AddGeneralAccel = [
+5 -6
View File
@@ -191,9 +191,9 @@ class PatchSysVolume:
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen1_path)
def gpu_framebuffer_ivybridge(self):
self.delete_old_binaries(ModelArray.DeleteAMDAccel11)
#self.delete_old_binaries(ModelArray.DeleteAMDAccel11)
self.add_new_binaries(ModelArray.AddIntelGen3Accel, self.constants.legacy_intel_gen3_path)
self.elevated(["ditto", self.constants.payload_apple_frameworks_path_accel, self.mount_frameworks], stdout=subprocess.PIPE).stdout.decode().strip().encode()
#self.elevated(["ditto", self.constants.payload_apple_frameworks_path_accel, self.mount_frameworks], stdout=subprocess.PIPE).stdout.decode().strip().encode()
def gpu_accel_legacy_extended(self):
print("- Merging general legacy Frameworks")
@@ -368,10 +368,9 @@ class PatchSysVolume:
if self.constants.detected_os > self.constants.catalina:
self.sandy_gpu = True
self.amfi_must_disable = True
# TODO: Re-enable when Accel Patches are ready
#elif igpu_device in PCIIDArray.intel_ids().ivy_ids:
# if self.constants.detected_os > self.constants.big_sur:
# self.ivy_gpu = True
elif igpu_device in PCIIDArray.intel_ids().ivy_ids:
if self.constants.detected_os > self.constants.big_sur:
self.ivy_gpu = True
elif igpu_vendor == self.constants.pci_nvidia:
if self.constants.detected_os > self.constants.catalina:
self.nvidia_legacy = True