Fix iGPU-only iMac14,x display output

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/661
This commit is contained in:
Mykola Grymalyuk
2021-10-30 10:41:00 -06:00
parent dc4238fb09
commit 3ac7964fb0
2 changed files with 5 additions and 0 deletions

View File

@@ -418,6 +418,10 @@ class BuildOpenCore:
}
elif self.constants.serial_settings != "None":
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696"}
if self.model.startswith("iMac14,"):
if self.computer.igpu and not self.computer.dgpu:
# Ensure that agdpmod is applied to iMac14,x with iGPU only
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x2,0x0)"] = {"agdpmod": "vit9696"}
# Audio Patch
if self.constants.set_alc_usage is True: