From 86dcf9fb5b19cec722ca2fe112737487aa4afe3b Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Fri, 24 Sep 2021 07:47:31 -0600 Subject: [PATCH] Fix Beta 7 Acceleration on Nvidia Tesla --- CHANGELOG.md | 4 ++++ Resources/Constants.py | 2 +- Resources/SysPatch.py | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be957b36..728a30916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # OpenCore Legacy Patcher changelog +## 0.3.0 +- Fix Nvidia Tesla Acceleration in Monterey Beta 7+ + - Add missing NVDAStartup + ## 0.2.5 - Implement Latebloom configuration via command line tool diff --git a/Resources/Constants.py b/Resources/Constants.py index 526f9517b..424a1cb6b 100644 --- a/Resources/Constants.py +++ b/Resources/Constants.py @@ -13,7 +13,7 @@ from Resources import device_probe class Constants: def __init__(self): # Patcher Versioning - self.patcher_version = "0.2.5" # OpenCore-Legacy-Patcher + self.patcher_version = "0.3.0" # OpenCore-Legacy-Patcher self.patcher_support_pkg_version = "0.1.3" # PatcherSupportPkg # OpenCore Versioning diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 6ce333370..2f146746f 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -329,6 +329,9 @@ set million colour before rebooting""" self.delete_old_binaries(SysPatchArray.DeleteNvidiaAccel11) self.gpu_accel_legacy() self.add_new_binaries(SysPatchArray.AddNvidiaAccel11, self.constants.legacy_nvidia_path) + if self.constants.detected_os == self.constants.monterey and self.constants.detected_os_minor > 0: + # Beta 7+ removes NVDAStartup + self.add_new_binaries(SysPatchArray.AddNvidiaTeslaAccel12, self.constants.legacy_nvidia_kepler_path) else: print("- Installing basic Nvidia Framebuffer Kext patches for generic OS") self.add_new_binaries(SysPatchArray.AddNvidiaBrightness, self.constants.legacy_nvidia_path)