From dc6ad32e2cc188d7b9121244c0069d3c0d456e12 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 15 May 2022 20:46:02 -0600 Subject: [PATCH] TUI: Remove unused setting --- resources/cli_menu.py | 29 ----------------------------- resources/constants.py | 1 - 2 files changed, 30 deletions(-) diff --git a/resources/cli_menu.py b/resources/cli_menu.py index 268dab031..88056c181 100644 --- a/resources/cli_menu.py +++ b/resources/cli_menu.py @@ -545,34 +545,6 @@ be prepared if enabling. else: self.allow_wowl() - def allow_ivy(self): - utilities.cls() - utilities.header(["Allow Ivy iMac iGPU"]) - print( - """ -For iMac13,x systems with a Nvidia dGPU, the iGPU is disabled by default to -allow Delta Updates, FileVault, SIP and such on macOS Monterey. However due to -this, DRM and QuickSync support may be broken. - -Users can choose to override this option but be aware SIP must be -disabled to run root patches to fix DRM and QuickSync. - -Note: This does not apply for Big Sur, the iGPU can be renabled without -consequence -Note 2: This setting only affects iMac13,x with dGPUs - """ - ) - - change_menu = input("Allow Ivy iMac iGPU?(y/n/q): ") - if change_menu in {"y", "Y", "yes", "Yes"}: - self.constants.allow_ivy_igpu = True - elif change_menu in {"n", "N", "no", "No"}: - self.constants.allow_ivy_igpu = False - elif change_menu in {"q", "Q", "Quit", "quit"}: - print("Returning to previous menu") - else: - self.allow_ivy() - def disable_tb(self): utilities.cls() @@ -1168,7 +1140,6 @@ system_profiler SPHardwareDataType | grep 'Model Identifier' options = [ [f"Set ShowPicker Mode:\tCurrently {self.constants.showpicker}", MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).change_showpicker], [f"Set Wake on WLAN:\t\tCurrently {self.constants.enable_wake_on_wlan}", MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).allow_wowl], - [f"Set Ivy iMac iGPU:\t\tCurrently {self.constants.allow_ivy_igpu}", MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).allow_ivy], [ f"Set TeraScale 2 Accel:\tCurrently {self.constants.allow_ts2_accel}", MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).terascale_2_accel, diff --git a/resources/constants.py b/resources/constants.py index 31afdc6a0..08b48bef0 100644 --- a/resources/constants.py +++ b/resources/constants.py @@ -163,7 +163,6 @@ class Constants: self.imac_vendor = "None" # Set MXM GPU vendor self.imac_model = "" # Set MXM GPU model self.drm_support = False # Set iMac14,x DRM support - self.allow_ivy_igpu = False # Set iMac13,x iGPU support self.allow_ts2_accel = True # Set TeraScale 2 Acceleration support ## Miscellaneous