Disable iGPU when running iMac13,x/14,x

This commit is contained in:
Mykola Grymalyuk
2021-04-22 09:51:54 -06:00
parent 0483b5651a
commit de1b893049
3 changed files with 3 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
- Fix build crashing when no wifi card is present - Fix build crashing when no wifi card is present
- Allow Legacy Acceleration Patches on Mac Pros and Xserves - Allow Legacy Acceleration Patches on Mac Pros and Xserves
- Fix USB kernel panics on iMac7,1 - Fix USB kernel panics on iMac7,1
- Fix AppleALC support in Mojave
## 0.1.0 ## 0.1.0
- Fix crash on iMacs with Metal GPUs - Fix crash on iMacs with Metal GPUs

View File

@@ -266,6 +266,7 @@ class BuildOpenCore:
if self.model in ModelArray.IntelNvidiaDRM and self.constants.drm_support is True: if self.model in ModelArray.IntelNvidiaDRM and self.constants.drm_support is True:
print("- Prioritizing DRM support over Intel QuickSync") print("- Prioritizing DRM support over Intel QuickSync")
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"agdpmod": "pikera", "shikigva": 256} self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"agdpmod": "pikera", "shikigva": 256}
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x2,0x0)"] = {"disable-gpu-min": "20.0.0"}
else: else:
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"agdpmod": "pikera"} self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"agdpmod": "pikera"}

View File

@@ -220,7 +220,7 @@
<key>MaxKernel</key> <key>MaxKernel</key>
<string></string> <string></string>
<key>MinKernel</key> <key>MinKernel</key>
<string>19.0.0</string> <string>18.0.0</string>
<key>BundlePath</key> <key>BundlePath</key>
<string>AppleALC.kext</string> <string>AppleALC.kext</string>
<key>ExecutablePath</key> <key>ExecutablePath</key>