From ebaa1f81761ec4f4287a8427cb7195356525cc08 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 22 Oct 2022 16:41:33 -0600 Subject: [PATCH] sys_patch_detect: Add MBP13,3 to GCN patchset Ensure older framebuffer is correctly used Credit to @OnesuchDev for original finding --- CHANGELOG.md | 1 + resources/sys_patch_detect.py | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d79831e0c..b8cf6fb1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ - Resolve Power Management support for Ivy Bridge and older - Drop AMFI requirement for Nvidia Kepler and AMD GCN 1-3 - Resolve numerous AMD GCN 1-3 issues (ex. Photos.app, Screen Saver, etc.) + - Resolve dGPU support for MacBookPro13,3 - Add work-around to Catalyst Buttons not responding on non-Metal in macOS Monterey - Re-export OpenCanopy icons to better support Haswell and newer Macs - Increment Binaries: diff --git a/resources/sys_patch_detect.py b/resources/sys_patch_detect.py index 9de854492..022f36a15 100644 --- a/resources/sys_patch_detect.py +++ b/resources/sys_patch_detect.py @@ -126,7 +126,11 @@ class detect_root_patch: if gpu.arch == device_probe.AMD.Archs.Polaris: # Check if host supports AVX2.0 # If not, enable legacy GCN patch - if "AVX2" in self.constants.computer.cpu.leafs: + # MacBookPro13,3 does include an unsupported framebuffer, thus we'll patch to ensure + # full compatibility (namely power states, etc) + # Reference: https://github.com/dortania/bugtracker/issues/292 + # TODO: Probe framebuffer families further + if "AVX2" in self.constants.computer.cpu.leafs and self.model != "MacBookPro13,3": continue self.legacy_gcn = True