Force AMD GPU into VESA mode using Apple's built-in flag since macOS Sonoma 14

This commit is contained in:
Hoang Hong Quan
2024-11-03 01:19:16 +07:00
parent 9edb0460f4
commit ba98a16e49
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ class ConfigProdigy:
if needs_oclp:
if discrete_gpu.get("Manufacturer") == "AMD":
boot_args.append("-radvesa")
boot_args.append("-radvesa" if self.utils.parse_darwin_version(macos_version) < self.utils.parse_darwin_version("23.0.0") else "-amd_no_dgpu_accel")
elif discrete_gpu.get("Manufacturer") == "NVIDIA" and not "Kepler" in discrete_gpu.get("Codename"):
boot_args.extend(("nvda_drv_vrl=1", "ngfxcompat=1", "ngfxgl=1"))
elif kext.name == "AppleALC":