From 59ce63fa5661f59ae3fe6610f629352ec556390e Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 17 May 2022 19:44:09 -0600 Subject: [PATCH] sys_patch_dict.py: Add info on HS Metal --- data/sys_patch_dict.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/data/sys_patch_dict.py b/data/sys_patch_dict.py index feae17177..080adaf48 100644 --- a/data/sys_patch_dict.py +++ b/data/sys_patch_dict.py @@ -122,6 +122,30 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support): }, }, + "Non-Metal Enforcement": { + # Forces Metal kexts from High Sierra to run in the fallback non-Metal mode + # Verified functional with HD4000 and Iris Plus 655 + # Only used for internal development purposes, not suitable for end users + + # Note: Metal kexts in High Sierra rely on IOAccelerator, thus 'Non-Metal IOAccelerator Common' + # is needed for proper linking + "Display Name": "", + "OS Support": { + "Minimum OS Support": { + "OS Major": non_metal_os_support[0], + "OS Minor": 0 + }, + "Maximum OS Support": { + "OS Major": non_metal_os_support[-1], + "OS Minor": 99 + }, + }, + "Processes": { + "defaults write /Library/Preferences/com.apple.CoreDisplay useMetal -boolean no": True, + "defaults write /Library/Preferences/com.apple.CoreDisplay useIOP -boolean no": True, + }, + }, + "Metal Common": { "Display Name": "", "OS Support": {