Fix iMac11,3 Nvidia boot issues after PRAM reset

This commit is contained in:
Mykola Grymalyuk
2021-04-22 10:01:51 -06:00
parent de1b893049
commit 9e6d742c6d
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
## 0.1.1
- Fix iMac11,3 GFX0 pathing
- Add MouSSE support to iMac10,1 with Metal AMD GPU
- Fix iMac11,1 boot issues after PRAM reset
- Fix iMac11,1 and iMac11,3 Nvidia boot issues after PRAM reset
- Fix DRM support on Nvidia-only configurations
- Support optional setting between DRM and QuickSync support on iMacs13,x and iMac14,x
- Add public beta support for Legacy GPU Acceleration (v0.0.4)

View File

@@ -297,7 +297,7 @@ class BuildOpenCore:
elif self.model == "iMac11,3":
print("- Adding Nvidia Brightness Control and DRM patches")
backlight_path = "PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)"
self.config["DeviceProperties"]["Add"][backlight_path] = {"@0,backlight-control": binascii.unhexlify("01000000"), "@0,built-in": binascii.unhexlify("01000000"), "shikigva": 256}
self.config["DeviceProperties"]["Add"][backlight_path] = {"@0,backlight-control": binascii.unhexlify("01000000"), "@0,built-in": binascii.unhexlify("01000000"), "shikigva": 256, "agdpmod": "vit9696"}
shutil.copy(self.constants.backlight_path, self.constants.kexts_path)
self.get_kext_by_bundle_path("AppleBacklightFixup.kext")["Enabled"] = True
elif self.model in ["iMac11,2", "iMac12,1", "iMac12,2"]: