Fix Beta 7 Acceleration on Nvidia Tesla

This commit is contained in:
Mykola Grymalyuk
2021-09-24 07:47:31 -06:00
parent e31519ac96
commit 86dcf9fb5b
3 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)