diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 830314b..3468c2b 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -464,14 +464,12 @@ class ConfigProdigy: if intergrated_gpu[-1].get("OCLP Compatibility"): boot_args.append("ipc_control_port_options=0") - if intergrated_gpu[-1].get("Device ID")[5:].startswith(("3E", "87", "9B")) and \ - self.utils.parse_darwin_version(macos_version) >= self.utils.parse_darwin_version("19.4.0"): - boot_args.append("igfxonln=1") - if "Ice Lake" in intergrated_gpu[-1].get("Codename"): boot_args.extend(("-noDC9", "-igfxblr")) if "Desktop" in hardware_report.get("Motherboard").get("Platform"): + if any(monitor_info.get("Connected GPU") == intergrated_gpu[0] for monitor_name, monitor_info in hardware_report.get("Monitor", {}).items()) and intergrated_gpu[-1].get("Device ID")[5:].startswith(("3E", "87", "9B")) and self.utils.parse_darwin_version(macos_version) >= self.utils.parse_darwin_version("19.4.0"): + boot_args.append("igfxonln=1") if any(monitor_info.get("Connector Type") in ("DVI", "HDMI") for monitor_name, monitor_info in hardware_report.get("Monitor", {}).items() if monitor_info.get("Connected GPU") == intergrated_gpu[0]): boot_args.append("-igfxvesa") elif "Laptop" in hardware_report.get("Motherboard").get("Platform"):