From 4ffe6bed9b26429430b98074dc18c7d7da02cc87 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 11 Dec 2022 17:28:37 -0700 Subject: [PATCH] build: Remove Force Web Drivers --- CHANGELOG.md | 2 ++ gui/gui_main.py | 14 ++------------ resources/build/graphics_audio.py | 1 - 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b840da913..b98bf9e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ - Revert AppleALC 1.7.6 update back to 1.6.3 - Resolves audio issues on certain Intel HDEF devices - Regression currently being investigated within AppleALC +- Remove `Force Web Drivers` option + - Avoids accidental use of non-Metal Web Drivers on Kepler GPUs ## 0.5.2 - Ventura Specific Updates: diff --git a/gui/gui_main.py b/gui/gui_main.py index bd30ec916..7e935d022 100644 --- a/gui/gui_main.py +++ b/gui/gui_main.py @@ -2612,23 +2612,13 @@ class wx_python_gui: self.set_terascale_accel_checkbox.Disable() self.set_terascale_accel_checkbox.SetValue(False) - # Force Web Drivers in Tesla/Kepler - self.force_web_drivers_checkbox = wx.CheckBox(self.frame_modal, label="Force Web Drivers") - self.force_web_drivers_checkbox.SetValue(self.constants.force_nv_web) - self.force_web_drivers_checkbox.Bind(wx.EVT_CHECKBOX, self.force_web_drivers_click) - self.force_web_drivers_checkbox.SetPosition(wx.Point( - self.disable_thunderbolt_checkbox.GetPosition().x, - self.set_terascale_accel_checkbox.GetPosition().y + self.set_terascale_accel_checkbox.GetSize().height)) - self.force_web_drivers_checkbox.SetToolTip(wx.ToolTip("This option will force Nvidia Web Driver support onto Nvidia Tesla and Kepler GPUs. This should only be used for development purposes.")) - - # Windows GMUX self.windows_gmux_checkbox = wx.CheckBox(self.frame_modal, label="Windows GMUX") self.windows_gmux_checkbox.SetValue(self.constants.dGPU_switch) self.windows_gmux_checkbox.Bind(wx.EVT_CHECKBOX, self.windows_gmux_click) self.windows_gmux_checkbox.SetPosition(wx.Point( - self.force_web_drivers_checkbox.GetPosition().x, - self.force_web_drivers_checkbox.GetPosition().y + self.force_web_drivers_checkbox.GetSize().height)) + self.set_terascale_accel_checkbox.GetPosition().x, + self.set_terascale_accel_checkbox.GetPosition().y + self.set_terascale_accel_checkbox.GetSize().height)) self.windows_gmux_checkbox.SetToolTip(wx.ToolTip("Enable this option to allow usage of the hardware GMUX to switch between Intel and Nvidia/AMD GPUs in Windows.")) # Hibernation Workaround diff --git a/resources/build/graphics_audio.py b/resources/build/graphics_audio.py index 1d0a4abdc..1d8bf3e43 100644 --- a/resources/build/graphics_audio.py +++ b/resources/build/graphics_audio.py @@ -241,7 +241,6 @@ class build_graphics_audio: # Used to enable Audio support for non-standard dGPUs support.build_support(self.model, self.constants, self.config).enable_kext("AppleALC.kext", self.constants.applealc_version, self.constants.applealc_path) - # Due to regression in AppleALC 1.6.4+, temporarily use 1.6.3 and set override if support.build_support(self.model, self.constants, self.config).get_kext_by_bundle_path("AppleALC.kext")["Enabled"] is True: self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -lilubetaall"