mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Update specific macOS support versions for GPU generations
This commit is contained in:
@@ -54,7 +54,7 @@ class CompatibilityChecker:
|
||||
elif not is_supported_discrete_gpu and "Comet Lake" in gpu_codename and self.utils.contains_any(chipset_data.IntelChipsets, motherboard_chipset, start=110, end=122):
|
||||
self.max_supported_macos_version = self.min_supported_macos_version = (-1, -1, -1)
|
||||
elif "Ice Lake" in gpu_codename:
|
||||
self.min_supported_macos_version = max((19, 0, 0), self.min_supported_macos_version)
|
||||
self.min_supported_macos_version = max((19, 4, 0), self.min_supported_macos_version)
|
||||
self.max_supported_macos_version = os_data.get_latest_darwin_version()
|
||||
else:
|
||||
self.max_supported_macos_version = os_data.get_latest_darwin_version()
|
||||
@@ -75,16 +75,18 @@ class CompatibilityChecker:
|
||||
if not "AVX2" in instruction_set:
|
||||
self.max_supported_macos_version = min((21, 99, 99), self.max_supported_macos_version)
|
||||
else:
|
||||
if "Navi 23" in gpu_codename or "Navi 22" in gpu_codename:
|
||||
self.min_supported_macos_version = max((21, 0, 0), self.min_supported_macos_version)
|
||||
if gpu_codename in ("Navi 23", "Navi 22"):
|
||||
self.min_supported_macos_version = max((21, 2, 0), self.min_supported_macos_version)
|
||||
elif "Navi 21" in gpu_codename:
|
||||
self.min_supported_macos_version = max((20, 0, 0), self.min_supported_macos_version)
|
||||
self.min_supported_macos_version = max((20, 5, 0), self.min_supported_macos_version)
|
||||
else:
|
||||
self.max_supported_macos_version = self.min_supported_macos_version = (-1, -1, -1)
|
||||
is_supported_discrete_gpu = is_supported_gpu = False
|
||||
elif "Navi 1" in gpu_codename:
|
||||
self.min_supported_macos_version = max((19, 0, 0), self.min_supported_macos_version)
|
||||
elif "Vega" in gpu_codename or "Polaris" in gpu_codename or "Baffin" in gpu_codename or "Ellesmere" in gpu_codename or device_id.endswith("699F"):
|
||||
elif "Vega 20" in gpu_codename:
|
||||
self.min_supported_macos_version = max((18, 6, 0), self.min_supported_macos_version)
|
||||
elif "Vega 10" in gpu_codename or "Polaris" in gpu_codename or "Baffin" in gpu_codename or "Ellesmere" in gpu_codename or device_id.endswith("699F"):
|
||||
self.min_supported_macos_version = max((17, 0, 0), self.min_supported_macos_version)
|
||||
elif self.utils.contains_any(gpu_data.AMDCodenames, gpu_codename):
|
||||
self.max_supported_macos_version = (21, 99, 99)
|
||||
|
||||
@@ -182,7 +182,7 @@ class builder:
|
||||
(("Haswell" in cpu_codename or "Broadwell" in cpu_codename) and macos_version > (21, 0, 0)) or \
|
||||
(("Skylake" in cpu_codename or "Kaby Lake" in cpu_codename) and macos_version > (22, 0, 0)) or \
|
||||
(("Amber Lake" in cpu_codename or "Whiskey Lake" in cpu_codename) and macos_version == (17, 0, 0)) or \
|
||||
("Ice Lake" in cpu_codename and (19, 0, 0) > macos_version))
|
||||
("Ice Lake" in cpu_codename and (19, 4, 0) > macos_version))
|
||||
|
||||
def igpu_properties(self, platform, processor_name, gpu_codename, discrete_gpu, integrated_gpu_manufacturer, integrated_gpu_name, macos_version):
|
||||
if "Skylake".lower() in gpu_codename.lower() and macos_version > (21, 0, 0):
|
||||
|
||||
Reference in New Issue
Block a user