mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Add basic Ivy Bridge framebuffer support
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
- NVMeFix (1.0.9 rolling - 06-08-2021)
|
- NVMeFix (1.0.9 rolling - 06-08-2021)
|
||||||
- WhateverGreen (1.5.1 rolling - 06-08-2021)
|
- WhateverGreen (1.5.1 rolling - 06-08-2021)
|
||||||
- RestrictEvents (1.0.3 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)
|
- MouSSE (0.95 release - 06-08-2021)
|
||||||
- Fix SSE4,2 Emulation
|
- Fix SSE4,2 Emulation
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class Constants:
|
|||||||
self.sidecarfixup_version = "1.0.2"
|
self.sidecarfixup_version = "1.0.2"
|
||||||
self.innie_version = "1.3.0"
|
self.innie_version = "1.3.0"
|
||||||
self.fw_kext = "1.0.0"
|
self.fw_kext = "1.0.0"
|
||||||
self.payload_version = "0.0.13"
|
self.payload_version = "0.0.14"
|
||||||
|
|
||||||
# Get resource path
|
# Get resource path
|
||||||
self.current_path = Path(__file__).parent.parent.resolve()
|
self.current_path = Path(__file__).parent.parent.resolve()
|
||||||
|
|||||||
@@ -1244,9 +1244,9 @@ AddIntelGen3Accel = [
|
|||||||
"AppleIntelHD4000GraphicsGLDriver.bundle",
|
"AppleIntelHD4000GraphicsGLDriver.bundle",
|
||||||
"AppleIntelHD4000GraphicsMTLDriver.bundle",
|
"AppleIntelHD4000GraphicsMTLDriver.bundle",
|
||||||
"AppleIntelHD4000GraphicsVADriver.bundle",
|
"AppleIntelHD4000GraphicsVADriver.bundle",
|
||||||
"IOSurface.kext",
|
#"IOSurface.kext",
|
||||||
"IOGPUFamily.kext",
|
#"IOGPUFamily.kext",
|
||||||
"IOAcceleratorFamily2.kext",
|
#"IOAcceleratorFamily2.kext",
|
||||||
]
|
]
|
||||||
|
|
||||||
AddGeneralAccel = [
|
AddGeneralAccel = [
|
||||||
|
|||||||
@@ -191,9 +191,9 @@ class PatchSysVolume:
|
|||||||
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen1_path)
|
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen1_path)
|
||||||
|
|
||||||
def gpu_framebuffer_ivybridge(self):
|
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.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):
|
def gpu_accel_legacy_extended(self):
|
||||||
print("- Merging general legacy Frameworks")
|
print("- Merging general legacy Frameworks")
|
||||||
@@ -368,10 +368,9 @@ class PatchSysVolume:
|
|||||||
if self.constants.detected_os > self.constants.catalina:
|
if self.constants.detected_os > self.constants.catalina:
|
||||||
self.sandy_gpu = True
|
self.sandy_gpu = True
|
||||||
self.amfi_must_disable = True
|
self.amfi_must_disable = True
|
||||||
# TODO: Re-enable when Accel Patches are ready
|
elif igpu_device in PCIIDArray.intel_ids().ivy_ids:
|
||||||
#elif igpu_device in PCIIDArray.intel_ids().ivy_ids:
|
if self.constants.detected_os > self.constants.big_sur:
|
||||||
# if self.constants.detected_os > self.constants.big_sur:
|
self.ivy_gpu = True
|
||||||
# self.ivy_gpu = True
|
|
||||||
elif igpu_vendor == self.constants.pci_nvidia:
|
elif igpu_vendor == self.constants.pci_nvidia:
|
||||||
if self.constants.detected_os > self.constants.catalina:
|
if self.constants.detected_os > self.constants.catalina:
|
||||||
self.nvidia_legacy = True
|
self.nvidia_legacy = True
|
||||||
|
|||||||
Reference in New Issue
Block a user