From ba98a16e496355c43a297531d0fe2fe2b03d4fed Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sun, 3 Nov 2024 01:19:16 +0700 Subject: [PATCH] Force AMD GPU into VESA mode using Apple's built-in flag since macOS Sonoma 14 --- README.md | 2 +- Scripts/config_prodigy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dab01ba..1584ce1 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 513db3c..5c3523f 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -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":