Add backend option to force output support

This commit is contained in:
Mykola Grymalyuk
2022-10-17 08:58:25 -06:00
parent 7ef7d851c0
commit 2a89a887a3
2 changed files with 13 additions and 6 deletions

View File

@@ -981,6 +981,12 @@ class BuildOpenCore:
# Namely due to Xserve2,1 being limited to 10.7, thus no hardware detection # Namely due to Xserve2,1 being limited to 10.7, thus no hardware detection
self.enable_kext("AppleRAIDCard.kext", self.constants.apple_raid_version, self.constants.apple_raid_path) self.enable_kext("AppleRAIDCard.kext", self.constants.apple_raid_version, self.constants.apple_raid_path)
# Force Output support PC VBIOS on Mac Pros
if self.constants.force_output_support is True:
print("- Forcing GOP Support")
self.config["UEFI"]["Quirks"]["ForgeUefiSupport"] = True
self.config["UEFI"]["Quirks"]["ReloadOptionRoms"] = True
# DEBUG Settings # DEBUG Settings
if self.constants.verbose_debug is True: if self.constants.verbose_debug is True:
print("- Enabling Verbose boot") print("- Enabling Verbose boot")

View File

@@ -169,12 +169,13 @@ class Constants:
self.xhci_boot = False self.xhci_boot = False
## Graphics Settings ## Graphics Settings
self.metal_build = False # Set MXM Build support self.metal_build = False # Set MXM Build support
self.imac_vendor = "None" # Set MXM GPU vendor self.imac_vendor = "None" # Set MXM GPU vendor
self.imac_model = "" # Set MXM GPU model self.imac_model = "" # Set MXM GPU model
self.drm_support = False # Set iMac14,x DRM support self.drm_support = False # Set iMac14,x DRM support
self.allow_ts2_accel = True # Set TeraScale 2 Acceleration support self.allow_ts2_accel = True # Set TeraScale 2 Acceleration support
self.force_nv_web = False # Force Nvidia Web Drivers on Tesla and Kepler self.force_nv_web = False # Force Nvidia Web Drivers on Tesla and Kepler
self.force_output_support = False # Force Output support for Mac Pros with PC VBIOS
## Miscellaneous ## Miscellaneous
self.disallow_cpufriend = False # Disable CPUFriend self.disallow_cpufriend = False # Disable CPUFriend