From 3969760a1fc515e91c645b82eb72df848acaa54e Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sat, 9 Nov 2024 16:08:36 +0700 Subject: [PATCH] Add kext to patch Intel Math Kernel Library for AMD CPU systems --- Scripts/datasets/kext_data.py | 10 ++++++++++ Scripts/kext_maestro.py | 3 +++ 2 files changed, 13 insertions(+) diff --git a/Scripts/datasets/kext_data.py b/Scripts/datasets/kext_data.py index 6693cae..c5f717d 100644 --- a/Scripts/datasets/kext_data.py +++ b/Scripts/datasets/kext_data.py @@ -672,6 +672,16 @@ kexts = [ "repo": "HibernationFixup" } ), + KextInfo( + name = "IntelMKLFixup", + description = "Dead-simple Intel(tm) Math Kernel Library patcher for AMD CPU systems", + category = "Extras", + requires_kexts = ["Lilu"], + github_repo = { + "owner": "Carnations-Botanica", + "repo": "IntelMKLFixup" + } + ), KextInfo( name = "NoTouchID", description = "Avoid lag in authentication dialogs for board IDs with Touch ID sensors", diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index cd5297d..a7b284a 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -106,6 +106,9 @@ class KextMaestro: if "Intel" in hardware_report.get("CPU").get("Manufacturer"): selected_kexts.extend(("SMCProcessor", "SMCSuperIO")) + if "AMD" in hardware_report.get("CPU").get("Manufacturer"): + selected_kexts.append("IntelMKLFixup") + if "Laptop" in hardware_report.get("Motherboard").get("Platform") and not "SURFACE" in hardware_report.get("Motherboard").get("Name"): selected_kexts.append("SMCBatteryManager") if "DELL" in hardware_report.get("Motherboard").get("Name"):