mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 03:20:16 +10:00
Add backend option to force output support
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user