diff --git a/CHANGELOG.md b/CHANGELOG.md index 325cd7baa..b0a9db115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Fix iMac9,1 audio support - Heavily expand Graphics ID list - Fix iMac7,1 audio support +- Add partial TeraScale 2 support ## 0.1.2 - Fix IDE support on 2008 era MacBooks, iMacs and Xserves diff --git a/Resources/ModelArray.py b/Resources/ModelArray.py index c9185323a..2b2097c02 100644 --- a/Resources/ModelArray.py +++ b/Resources/ModelArray.py @@ -915,7 +915,6 @@ DeleteAMDAccel11 = [ "AppleIntelFramebufferCapri.kext", "AppleParavirtGPU.kext", "GeForce.kext", - "IOAcceleratorFamily2.kext", "IOGPUFamily.kext", ] @@ -955,27 +954,18 @@ AddAMDAccel11 = [ "AMDLegacySupport.kext", "AMDRadeonVADriver.bundle", "AMDRadeonVADriver2.bundle", - # "AMDRadeonX3000.kext", # __ZN22IOAccelDisplayMachine210gMetaClassE link issues - # "AMDRadeonX3000GLDriver.bundle", + "AMDRadeonX3000.kext", + "AMDRadeonX3000GLDriver.bundle", "AMDShared.bundle", "AMDSupport.kext", "ATIRadeonX2000.kext", "ATIRadeonX2000GA.plugin", "ATIRadeonX2000GLDriver.bundle", "ATIRadeonX2000VADriver.bundle", + "IOAcceleratorFamily2.kext", "IOSurface.kext", ] -AddAMDTeraScale2Brightness11 = [ - "AMD5000Controller.kext", - "AMD6000Controller.kext", - "AMDLegacyFramebuffer.kext", - "AMDLegacySupport.kext", - "AMDRadeonX3000.kext", - "AMDRadeonX3000GLDriver.bundle", - "IOAcceleratorFamily2.kext" -] - AddIntelGen1Accel = [ "AppleIntelHDGraphics.kext", "AppleIntelHDGraphicsFB.kext", diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index bb356dbf5..c075139bb 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -136,12 +136,10 @@ class PatchSysVolume: # print("- Merging legacy Nvidia Kepler Kexts and Bundles") # self.add_new_binaries(ModelArray.AddNvidiaKeplerAccel11, self.constants.legacy_nvidia_kepler_path) elif dgpu_vendor == self.constants.pci_amd_ati: - if dgpu_device in PCIIDArray.amd_ids().terascale_1_ids: - print("- Merging legacy TeraScale 1 AMD Kexts and Bundles") + if dgpu_device in PCIIDArray.amd_ids().terascale_1_ids or dgpu_device in PCIIDArray.amd_ids().terascale_2_ids: + print("- Merging legacy AMD Kexts and Bundles") self.delete_old_binaries(ModelArray.DeleteAMDAccel11) self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path) - #elif dgpu_device in PCIIDArray.amd_ids().terascale_2_ids: - # print("- Merging legacy AMD TeraScale 2 Kexts and Bundles") if igpu_vendor: print(f"- Found IGPU: {igpu_vendor}:{igpu_device}") if igpu_vendor == self.constants.pci_intel: