mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
Sync changelog
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
- AppleALC 1.6.2 release
|
- AppleALC 1.6.2 release
|
||||||
- WhateverGreen 1.6.2 release
|
- WhateverGreen 1.6.2 release
|
||||||
- PatcherSupportPkg 0.0.13 release
|
- PatcherSupportPkg 0.0.13 release
|
||||||
|
- Fix Intel HD4000 DRM Support in macOS Monterey (thanks EduCovas!)
|
||||||
|
- Support optionally re-enabling iGPU in iMac14,x with dGPUs
|
||||||
|
|
||||||
## 0.2.2
|
## 0.2.2
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
|
|||||||
[f"Allow FireWire Boot:\t\tCurrently {self.constants.firewire_boot}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_firewire],
|
[f"Allow FireWire Boot:\t\tCurrently {self.constants.firewire_boot}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_firewire],
|
||||||
[f"Allow NVMe Boot:\t\t\tCurrently {self.constants.nvme_boot}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_nvme],
|
[f"Allow NVMe Boot:\t\t\tCurrently {self.constants.nvme_boot}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_nvme],
|
||||||
[f"Allow Wake on WLAN:\t\t\tCurrently {self.constants.enable_wake_on_wlan}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_wowl],
|
[f"Allow Wake on WLAN:\t\t\tCurrently {self.constants.enable_wake_on_wlan}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_wowl],
|
||||||
|
[f"Allow Ivy iMac iGPU:\t\t\tCurrently {self.constants.allow_ivy_igpu}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).allow_ivy],
|
||||||
[f"Disable AMFI:\t\t\tCurrently {self.constants.disable_amfi}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).set_amfi],
|
[f"Disable AMFI:\t\t\tCurrently {self.constants.disable_amfi}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).set_amfi],
|
||||||
[
|
[
|
||||||
f"Set SIP and SecureBootModel:\tSIP: {self.constants.sip_status} SBM: {self.constants.secure_status}",
|
f"Set SIP and SecureBootModel:\tSIP: {self.constants.sip_status} SBM: {self.constants.secure_status}",
|
||||||
|
|||||||
+5
-2
@@ -411,13 +411,16 @@ class BuildOpenCore:
|
|||||||
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696"}
|
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696"}
|
||||||
|
|
||||||
if self.model in ["iMac13,1", "iMac13,2", "iMac13,3"]:
|
if self.model in ["iMac13,1", "iMac13,2", "iMac13,3"]:
|
||||||
if self.computer.dgpu:
|
if self.computer.dgpu and self.constants.allow_ivy_igpu is False:
|
||||||
print("- Fixing sleep support in macOS 12")
|
print("- Disabling iGPU to fix sleep support in macOS 12")
|
||||||
|
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696", "shikigva": 256}
|
||||||
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x2,0x0)"] = {
|
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x2,0x0)"] = {
|
||||||
"name": binascii.unhexlify("23646973706C6179"),
|
"name": binascii.unhexlify("23646973706C6179"),
|
||||||
"IOName": "#display",
|
"IOName": "#display",
|
||||||
"class-code": binascii.unhexlify("FFFFFFFF"),
|
"class-code": binascii.unhexlify("FFFFFFFF"),
|
||||||
}
|
}
|
||||||
|
elif self.constants.allow_ivy_igpu is True:
|
||||||
|
print("- Enabling iGPU upon request")
|
||||||
|
|
||||||
# Audio Patch
|
# Audio Patch
|
||||||
if self.model in ModelArray.LegacyAudio:
|
if self.model in ModelArray.LegacyAudio:
|
||||||
|
|||||||
@@ -499,3 +499,28 @@ be prepared if enabling.
|
|||||||
self.constants.enable_wake_on_wlan = False
|
self.constants.enable_wake_on_wlan = False
|
||||||
else:
|
else:
|
||||||
print("Invalid option")
|
print("Invalid option")
|
||||||
|
|
||||||
|
def allow_ivy(self):
|
||||||
|
Utilities.cls()
|
||||||
|
Utilities.header(["Allow Ivy iMac iGPU"])
|
||||||
|
print(
|
||||||
|
"""
|
||||||
|
For iMac13,x systems with a Nvidia dGPU, the iGPU is disabled by default to
|
||||||
|
allow Delta Updates, FileVault, SIP and such on macOS Monterey. However due to this,
|
||||||
|
DRM and QuickSync support may be broken.
|
||||||
|
|
||||||
|
Users can choose to override this option but be aware SIP and FileVault must be disabled
|
||||||
|
to run root patches to fix DRM and QuickSync.
|
||||||
|
|
||||||
|
Note: This does not apply for Big Sur, the iGPU can be renabled without consequence
|
||||||
|
Note 2: This setting only affects iMac13,x with dGPUs
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
|
change_menu = input("Allow Ivy iMac iGPU?(y/n): ")
|
||||||
|
if change_menu == "y":
|
||||||
|
self.constants.allow_ivy_igpu = True
|
||||||
|
elif change_menu == "n":
|
||||||
|
self.constants.allow_ivy_igpu = False
|
||||||
|
else:
|
||||||
|
print("Invalid option")
|
||||||
@@ -88,6 +88,7 @@ class Constants:
|
|||||||
self.disable_amfi = False
|
self.disable_amfi = False
|
||||||
self.terascale_2_patch = False
|
self.terascale_2_patch = False
|
||||||
self.enable_wake_on_wlan = False
|
self.enable_wake_on_wlan = False
|
||||||
|
self.allow_ivy_igpu = False
|
||||||
|
|
||||||
# OS Versions
|
# OS Versions
|
||||||
self.tiger = 8
|
self.tiger = 8
|
||||||
|
|||||||
Reference in New Issue
Block a user