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

View File

@@ -125,7 +125,7 @@
>
> 4. After a successful installation, if OpenCore Legacy Patcher is required, simply apply root patches to activate the missing features (such as modern Broadcom Wi-Fi card and graphics acceleration).
>
> 5. For AMD GPUs, after applying root patches from OpenCore Legacy Patcher, you need to remove the boot argument `-radvesa` for graphics acceleration to work.
> 5. For AMD GPUs, after applying root patches from OpenCore Legacy Patcher, you need to remove the boot argument `-radvesa`/`-amd_no_dgpu_accel` for graphics acceleration to work.
## 🤝 **Contributing**

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":