Skip to content

Commit

Permalink
Resolve Color Strobing on AMD TeraScale 2 GPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Feb 3, 2022
1 parent e0af320 commit bea1e92
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Resolve Macmini4,1 HDEF pathing
- Increment Binaries:
- FeatureUnlock 1.0.6 - rolling (d296645)
- PatcherSupportPkg 0.3.0
- PatcherSupportPkg 0.3.1
- Resolve SIP and SecureBootModel not disabling by default on some non-Metal Mac Pros
- Add Content Caching support configurability
- Limit SurPlus patchset to 20.4.0 - 21.1.0
Expand All @@ -21,6 +21,9 @@
- Add NVMe Enhanced Power Management configuration
- Disables NVMe adjustments on Skylake and newer Macs by default
- Resolve Catalyst Scrolling on non-Metal GPUs
- Add new TUI icon to differentiate between GUI
- Resolve Color Strobing on AMD TeraScale 2 GPUs
- Drops reliance on ResXtreme and SwitchResX

## 0.4.1
- Add XHCI Boot Support to pre-UEFI 2.0 Macs
Expand Down
126 changes: 125 additions & 1 deletion data/smbios_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2808,6 +2808,7 @@
# VMware Virtual Machine
"Board ID": "440BX Desktop Reference Platform",
"FirmwareFeatures": None,
"SecureBootModel": "x86legacy",
"CPU Generation": cpu_data.cpu_data.penryn.value,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
Expand All @@ -2819,6 +2820,7 @@
# Parallels Virtual Machine
"Board ID": "Parallels Virtual Platform",
"FirmwareFeatures": None,
"SecureBootModel": "x86legacy",
"CPU Generation": cpu_data.cpu_data.penryn.value,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
Expand Down Expand Up @@ -2850,4 +2852,126 @@
"Stock GPUs": [],
"Stock Storage": [],
},
}
"APPL_GPU_Test_Board": {
# AppleInternal GPU Test Board
# System is used for testing Intel iGPUs
# Model has been configured with the following:
# - Broadwell iGPU (HD Graphics 5300)
# - Skylake iGPU (HD Graphics 5xx)
# - Kaby Lake iGPU (HD Graphics 6xx)
# - Ice Lake iGPU (G4/G7)
"Board ID": "Mac-50619A408DB004DA",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_1": {
# Laptop model
# No mentions in SLE outside X86PlatformPlugin
"Board ID": "Mac-112B0A653D3AAB9C",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_2": {
# Laptop model
# Only mentioned in ApplePlatformEnabler and X86PlatformPlugin
"Board ID": "Mac-4BFBC784B845591E",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_3": {
# Laptop model, 15"/17" with dGPU and GMUX
# Only mentioned in AppleGraphicsPowerManagement, AppleMuxControl2, AGDCBacklightControl, ApplePlatformEnabler and X86PlatformPlugin
"Board ID": "Mac-564FBA6031E5946A",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_4": {
# Laptop model, iGPU only
# Only mentioned in AppleGraphicsPowerManagement, ApplePlatformEnabler and X86PlatformPlugin
"Board ID": "Mac-6FEBD60817C77D8A",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_5": {
# Laptop model, iGPU only, Iris Plus Graphics G7
# Only mentioned in AppleGraphicsPowerManagement, ApplePlatformEnabler and X86PlatformPlugin
"Board ID": "Mac-747B1AEFF11738BE",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_6": {
# Laptop model, iGPU only
# Only mentioned in AppleGraphicsPowerManagement, ApplePlatformEnabler and X86PlatformPlugin
"Board ID": "Mac-87DCB00F4AD77EEA",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_7": {
# Laptop model
# Only mentioned in X86PlatformPlugin, AppleGVA
"Board ID": "Mac-90BE64C3CB5A9AEB",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
"APPL_UNKNOWN_MODEL_7": {
# Laptop model, iGPU only
# Only mentioned in AppleGraphicsPowerManagement and X86PlatformPlugin
"Board ID": "Mac-9394BDF4BF862EE7",
"FirmwareFeatures": None,
"SecureBootModel": None,
"CPU Generation": None,
"Max OS Supported": os_data.os_data.max_os,
"Wireless Model": None,
"Bluetooth Model": bluetooth_data.bluetooth_data.NonApplicable,
"Stock GPUs": [],
"Stock Storage": [],
},
}
2 changes: 1 addition & 1 deletion resources/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Constants:
def __init__(self):
# Patcher Versioning
self.patcher_version = "0.4.2" # OpenCore-Legacy-Patcher
self.patcher_support_pkg_version = "0.3.0" # PatcherSupportPkg
self.patcher_support_pkg_version = "0.3.1" # PatcherSupportPkg
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
self.discord_link = "https://discord.gg/rqdPgH8xSN"
Expand Down
7 changes: 0 additions & 7 deletions resources/sys_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,6 @@ def rebuild_snapshot(self):
utilities.process_status(utilities.elevated(["update_dyld_shared_cache", "-root", f"{self.mount_location}/"]))
print("- Patching complete")
print("\nPlease reboot the machine for patches to take effect")
if self.amd_ts2 is True and self.constants.allow_ts2_accel is True:
print(
"""\nPlease note that with ATI TeraScale 2 GPUs, you may experience colour strobing
on reboot. Please use SwitchResX or ResXtreme to force 1 million colours on your
monitor to fix this. If you are epileptic, please ask for someone to aid you or
set million colour before rebooting"""
)
if self.constants.gui_mode is False:
input("\nPress [ENTER] to continue")

Expand Down

1 comment on commit bea1e92

@Thyssenkrupp234
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Please sign in to comment.