diff --git a/bottles/backend/managers/manager.py b/bottles/backend/managers/manager.py index dcd35fa674..fa13f21f2c 100644 --- a/bottles/backend/managers/manager.py +++ b/bottles/backend/managers/manager.py @@ -728,7 +728,6 @@ def get_programs(self, config: BottleConfig) -> List[dict]: "dxvk": _program.get("dxvk"), "vkd3d": _program.get("vkd3d"), "dxvk_nvapi": _program.get("dxvk_nvapi"), - "fsr": _program.get("fsr"), "gamescope": _program.get("gamescope"), "pulseaudio_latency": _program.get("pulseaudio_latency"), "virtual_desktop": _program.get("virtual_desktop"), diff --git a/bottles/backend/models/config.py b/bottles/backend/models/config.py index 77c0db1647..b2ba88a4f7 100644 --- a/bottles/backend/models/config.py +++ b/bottles/backend/models/config.py @@ -88,8 +88,7 @@ class BottleParams(DictCompatMixIn): gamescope_fullscreen: bool = True sync: str = "wine" fsr: bool = False - fsr_sharpening_strength: int = 2 - fsr_quality_mode: str = "none" + fsr_sharpening_strength: int = 8 custom_dpi: int = 96 renderer: str = "gl" discrete_gpu: bool = False diff --git a/bottles/backend/models/samples.py b/bottles/backend/models/samples.py index bc8226c7c2..7c899f5fff 100644 --- a/bottles/backend/models/samples.py +++ b/bottles/backend/models/samples.py @@ -44,9 +44,6 @@ class Samples: "ENABLE_VKBASALT": ("vkbasalt", True), "WINEESYNC": ("sync", "esync"), "WINEFSYNC": ("sync", "fsync"), - "WINE_FULLSCREEN_FSR": ("fsr", True), - "WINE_FULLSCREEN_FSR_STRENGTH": ("fsr_sharpening_strength", 2), - "WINE_FULLSCREEN_FSR_MODE": ("fsr_quality_mode", "none"), "GAMESCOPE": ("gamescope", False), "DRI_PRIME": ("discrete_gpu", True), "__NV_PRIME_RENDER_OFFLOAD": ("discrete_gpu", True), diff --git a/bottles/backend/wine/executor.py b/bottles/backend/wine/executor.py index aaac565fc0..8fe710ab83 100644 --- a/bottles/backend/wine/executor.py +++ b/bottles/backend/wine/executor.py @@ -38,7 +38,6 @@ def __init__( program_dxvk: Optional[bool] = None, program_vkd3d: Optional[bool] = None, program_nvapi: Optional[bool] = None, - program_fsr: Optional[bool] = None, program_gamescope: Optional[bool] = None, program_virt_desktop: Optional[bool] = None, ): @@ -87,16 +86,6 @@ def __init__( override_nvapi = NVAPIComponent.get_override_keys() + "=b" env_dll_overrides.append(override_nvapi) - if program_fsr is not None and program_fsr != self.config.Parameters.fsr: - self.environment["WINE_FULLSCREEN_FSR"] = "1" if program_fsr else "0" - self.environment["WINE_FULLSCREEN_FSR_STRENGTH"] = str( - self.config.Parameters.fsr_sharpening_strength - ) - if self.config.Parameters.fsr_quality_mode: - self.environment["WINE_FULLSCREEN_FSR_MODE"] = str( - self.config.Parameters.fsr_quality_mode - ) - if ( program_gamescope is not None and program_gamescope != self.config.Parameters.gamescope @@ -127,7 +116,6 @@ def run_program(cls, config: BottleConfig, program: dict, terminal: bool = False program_dxvk=program.get("dxvk"), program_vkd3d=program.get("vkd3d"), program_nvapi=program.get("dxvk_nvapi"), - program_fsr=program.get("fsr"), program_gamescope=program.get("gamescope"), program_virt_desktop=program.get("virtual_desktop"), ).run() diff --git a/bottles/backend/wine/winecommand.py b/bottles/backend/wine/winecommand.py index d90682e38a..8984d0d7e7 100644 --- a/bottles/backend/wine/winecommand.py +++ b/bottles/backend/wine/winecommand.py @@ -383,13 +383,6 @@ def get_env( # if params["aco_compiler"]: # env.add("ACO_COMPILER", "aco") - # FSR - if params.fsr: - env.add("WINE_FULLSCREEN_FSR", "1") - env.add("WINE_FULLSCREEN_FSR_STRENGTH", str(params.fsr_sharpening_strength)) - if params.fsr_quality_mode: - env.add("WINE_FULLSCREEN_FSR_MODE", str(params.fsr_quality_mode)) - # PulseAudio latency if params.pulseaudio_latency: env.add("PULSE_LATENCY_MSEC", "60") @@ -622,10 +615,8 @@ def _get_gamescope_cmd(self, return_steam_cmd: bool = False) -> str: gamescope_cmd.append("-S integer") if params.fsr: gamescope_cmd.append("-F fsr") - # Upscaling sharpness is from 0 to 20. There are 5 FSR upscaling levels, - # so multiply by 4 to reach 20 gamescope_cmd.append( - f"--fsr-sharpness {params.fsr_sharpening_strength * 4}" + f"--fsr-sharpness {params.fsr_sharpening_strength}" ) if params.gamescope_fps > 0: gamescope_cmd.append(f"-r {params.gamescope_fps}") diff --git a/bottles/frontend/cli/cli.py b/bottles/frontend/cli/cli.py index 6a7fb04452..2e56b47992 100644 --- a/bottles/frontend/cli/cli.py +++ b/bottles/frontend/cli/cli.py @@ -673,7 +673,6 @@ def run_program(self): program.get("dxvk") program.get("vkd3d") program.get("dxvk_nvapi") - program.get("fsr") program.get("gamescope") program.get("virtual_desktop") diff --git a/bottles/frontend/ui/bottles.gresource.xml b/bottles/frontend/ui/bottles.gresource.xml index 08e7a0414a..643ca8c8a1 100644 --- a/bottles/frontend/ui/bottles.gresource.xml +++ b/bottles/frontend/ui/bottles.gresource.xml @@ -40,7 +40,6 @@ dialog-rename.ui dialog-gamescope.ui dialog-vkbasalt.ui - dialog-fsr.ui dialog-mangohud.ui dialog-display.ui dialog-drives.ui diff --git a/bottles/frontend/ui/details-preferences.blp b/bottles/frontend/ui/details-preferences.blp index d92d861f57..8eee1f8694 100644 --- a/bottles/frontend/ui/details-preferences.blp +++ b/bottles/frontend/ui/details-preferences.blp @@ -98,26 +98,6 @@ template $DetailsPreferences: Adw.PreferencesPage { } } - Adw.ActionRow { - activatable-widget: switch_fsr; - title: _("FidelityFX Super Resolution"); - subtitle: _("Increase performance at the expense of visuals. Only works on Vulkan."); - - Button btn_manage_fsr { - tooltip-text: _("Manage FidelityFX Super Resolution settings"); - valign: center; - icon-name: "applications-system-symbolic"; - - styles [ - "flat", - ] - } - - Switch switch_fsr { - valign: center; - } - } - Adw.ActionRow row_discrete { visible: false; activatable-widget: switch_discrete; diff --git a/bottles/frontend/ui/dialog-fsr.blp b/bottles/frontend/ui/dialog-fsr.blp deleted file mode 100644 index f2769f7c8f..0000000000 --- a/bottles/frontend/ui/dialog-fsr.blp +++ /dev/null @@ -1,63 +0,0 @@ -using Gtk 4.0; -using Adw 1; - -template $FsrDialog: Adw.Window { - default-width: 500; - modal: true; - title: _("FidelityFX Super Resolution Settings"); - - ShortcutController { - Shortcut { - trigger: "Escape"; - action: "action(window.close)"; - } - } - - Box { - orientation: vertical; - - Adw.HeaderBar { - show-start-title-buttons: false; - show-end-title-buttons: false; - - Button { - label: _("_Cancel"); - use-underline: true; - action-name: "window.close"; - } - - [end] - Button btn_save { - label: _("Save"); - - styles [ - "suggested-action", - ] - } - } - - Adw.PreferencesPage { - Adw.PreferencesGroup { - Adw.ComboRow combo_quality_mode { - title: "Quality Mode"; - - model: StringList str_list_quality_mode {}; - } - - Adw.ActionRow { - title: _("Sharpening Strength"); - - SpinButton { - numeric: true; - valign: center; - - adjustment: Adjustment spin_sharpening_strength { - step-increment: 1; - upper: 5; - }; - } - } - } - } - } -} diff --git a/bottles/frontend/ui/dialog-gamescope.blp b/bottles/frontend/ui/dialog-gamescope.blp index 881eb6925c..c16b0aab77 100644 --- a/bottles/frontend/ui/dialog-gamescope.blp +++ b/bottles/frontend/ui/dialog-gamescope.blp @@ -107,6 +107,33 @@ template $GamescopeDialog: Adw.Window { } } + Adw.PreferencesGroup { + title: _("FSR"); + + Adw.ActionRow { + title: _("Enable"); + activatable-widget: switch_fsr; + + Switch switch_fsr { + valign: center; + } + } + + Adw.ActionRow { + title: _("Sharpening Strength"); + + SpinButton { + numeric: true; + valign: center; + + adjustment: Adjustment spin_sharpening_strength { + step-increment: 4; + upper: 20; + }; + } + } + } + Adw.PreferencesGroup { title: _("Miscellaneous"); diff --git a/bottles/frontend/ui/dialog-launch-options.blp b/bottles/frontend/ui/dialog-launch-options.blp index ebd35d227e..f543cc3d85 100644 --- a/bottles/frontend/ui/dialog-launch-options.blp +++ b/bottles/frontend/ui/dialog-launch-options.blp @@ -184,15 +184,6 @@ template $LaunchOptionsDialog: Adw.Window { } } - Adw.ActionRow action_fsr { - activatable-widget: switch_fsr; - title: "FSR"; - - Switch switch_fsr { - valign: center; - } - } - Adw.ActionRow action_gamescope { title: _("Gamescope"); activatable-widget: switch_gamescope; diff --git a/bottles/frontend/ui/meson.build b/bottles/frontend/ui/meson.build index 710a89c2be..817d6d923b 100644 --- a/bottles/frontend/ui/meson.build +++ b/bottles/frontend/ui/meson.build @@ -29,7 +29,6 @@ blueprints = custom_target('blueprints', 'dialog-vkbasalt.blp', 'dialog-display.blp', 'dialog-vmtouch.blp', - 'dialog-fsr.blp', 'dialog-mangohud.blp', 'dll-override-entry.blp', 'drive-entry.blp', diff --git a/bottles/frontend/views/bottle_preferences.py b/bottles/frontend/views/bottle_preferences.py index d09e22b8c5..dfaefbbf68 100644 --- a/bottles/frontend/views/bottle_preferences.py +++ b/bottles/frontend/views/bottle_preferences.py @@ -48,7 +48,6 @@ from bottles.frontend.windows.drives import DrivesDialog from bottles.frontend.windows.envvars import EnvVarsDialog from bottles.frontend.windows.exclusionpatterns import ExclusionPatternsDialog -from bottles.frontend.windows.fsr import FsrDialog from bottles.frontend.windows.gamescope import GamescopeDialog from bottles.frontend.windows.mangohud import MangoHudDialog from bottles.frontend.windows.protonalert import ProtonAlertDialog @@ -67,7 +66,6 @@ class PreferencesView(Adw.PreferencesPage): # region Widgets btn_manage_gamescope = Gtk.Template.Child() btn_manage_vkbasalt = Gtk.Template.Child() - btn_manage_fsr = Gtk.Template.Child() btn_manage_mangohud = Gtk.Template.Child() btn_manage_sandbox = Gtk.Template.Child() btn_manage_versioning_patterns = Gtk.Template.Child() @@ -90,7 +88,6 @@ class PreferencesView(Adw.PreferencesPage): switch_mangohud = Gtk.Template.Child() switch_obsvkc = Gtk.Template.Child() switch_vkbasalt = Gtk.Template.Child() - switch_fsr = Gtk.Template.Child() switch_nvapi = Gtk.Template.Child() switch_gamemode = Gtk.Template.Child() switch_gamescope = Gtk.Template.Child() @@ -146,7 +143,6 @@ def __init__(self, details, config, **kwargs): self.row_manage_display.connect("activated", self.__show_display_settings) self.btn_manage_gamescope.connect("clicked", self.__show_gamescope_settings) self.btn_manage_vkbasalt.connect("clicked", self.__show_vkbasalt_settings) - self.btn_manage_fsr.connect("clicked", self.__show_fsr_settings) self.btn_manage_mangohud.connect("clicked", self.__show_mangohud_settings) self.btn_manage_sandbox.connect("clicked", self.__show_sandbox_settings) self.btn_manage_versioning_patterns.connect( @@ -158,7 +154,6 @@ def __init__(self, details, config, **kwargs): self.switch_mangohud.connect("state-set", self.__toggle_mangohud) self.switch_obsvkc.connect("state-set", self.__toggle_obsvkc) self.switch_vkbasalt.connect("state-set", self.__toggle_vkbasalt) - self.switch_fsr.connect("state-set", self.__toggle_fsr) self.switch_nvapi.connect("state-set", self.__toggle_nvapi) # self.switch_latencyflex.connect('state-set', self.__toggle_latencyflex) self.switch_gamemode.connect("state-set", self.__toggle_gamemode) @@ -414,7 +409,6 @@ def set_config(self, config: BottleConfig): self.switch_mangohud.handler_block_by_func(self.__toggle_mangohud) self.switch_nvapi.handler_block_by_func(self.__toggle_nvapi) self.switch_vkbasalt.handler_block_by_func(self.__toggle_vkbasalt) - self.switch_fsr.handler_block_by_func(self.__toggle_fsr) self.switch_obsvkc.handler_block_by_func(self.__toggle_obsvkc) self.switch_gamemode.handler_block_by_func(self.__toggle_gamemode) self.switch_gamescope.handler_block_by_func(self.__toggle_gamescope) @@ -440,7 +434,6 @@ def set_config(self, config: BottleConfig): self.switch_mangohud.set_active(parameters.mangohud) self.switch_obsvkc.set_active(parameters.obsvkc) self.switch_vkbasalt.set_active(parameters.vkbasalt) - self.switch_fsr.set_active(parameters.fsr) self.switch_nvapi.set_active(parameters.dxvk_nvapi) self.switch_gamemode.set_active(parameters.gamemode) self.switch_gamescope.set_active(parameters.gamescope) @@ -552,7 +545,6 @@ def set_config(self, config: BottleConfig): self.switch_mangohud.handler_unblock_by_func(self.__toggle_mangohud) self.switch_nvapi.handler_unblock_by_func(self.__toggle_nvapi) self.switch_vkbasalt.handler_unblock_by_func(self.__toggle_vkbasalt) - self.switch_fsr.handler_unblock_by_func(self.__toggle_fsr) self.switch_obsvkc.handler_unblock_by_func(self.__toggle_obsvkc) self.switch_gamemode.handler_unblock_by_func(self.__toggle_gamemode) self.switch_gamescope.handler_unblock_by_func(self.__toggle_gamescope) @@ -590,10 +582,6 @@ def __show_vkbasalt_settings(self, widget): new_window = VkBasaltDialog(parent_window=self.window, config=self.config) new_window.present() - def __show_fsr_settings(self, widget): - new_window = FsrDialog(parent_window=self.window, config=self.config) - new_window.present() - def __show_mangohud_settings(self, widget): new_window = MangoHudDialog(parent_window=self.window, config=self.config) new_window.present() @@ -669,12 +657,6 @@ def __toggle_vkbasalt(self, widget, state): config=self.config, key="vkbasalt", value=state, scope="Parameters" ).data["config"] - def __toggle_fsr(self, widget, state): - """Toggle the FSR for current bottle""" - self.config = self.manager.update_config( - config=self.config, key="fsr", value=state, scope="Parameters" - ).data["config"] - def __toggle_nvapi(self, widget=False, state=False): """Install/Uninstall NVAPI from the bottle""" self.queue.add_task() diff --git a/bottles/frontend/windows/fsr.py b/bottles/frontend/windows/fsr.py deleted file mode 100644 index 1d863be916..0000000000 --- a/bottles/frontend/windows/fsr.py +++ /dev/null @@ -1,90 +0,0 @@ -# vkbasalt.py -# -# Copyright 2022 Bottles Contributors -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -from gi.repository import Gtk, GLib, Adw -from bottles.backend.logger import Logger - -logging = Logger() - - -@Gtk.Template(resource_path="/com/usebottles/bottles/dialog-fsr.ui") -class FsrDialog(Adw.Window): - __gtype_name__ = "FsrDialog" - - # Region Widgets - btn_save = Gtk.Template.Child() - combo_quality_mode = Gtk.Template.Child() - str_list_quality_mode = Gtk.Template.Child() - spin_sharpening_strength = Gtk.Template.Child() - - def __init__(self, parent_window, config, **kwargs): - super().__init__(**kwargs) - self.set_transient_for(parent_window) - - # Common variables and references - self.window = parent_window - self.manager = parent_window.manager - self.config = config - self.quality_mode = { - "none": _("None"), - "ultra": _("Ultra Quality"), - "quality": _("Quality"), - "balanced": _("Balanced"), - "performance": _("Performance"), - } - - # Connect signals - self.btn_save.connect("clicked", self.__save) - - self.__update(config) - - def __update(self, config): - parameters = config.Parameters - - # Populate entries - for mode in self.quality_mode.values(): - self.str_list_quality_mode.append(mode) - - # Select right entry - if parameters.fsr_quality_mode: - self.combo_quality_mode.set_selected( - list(self.quality_mode.keys()).index(parameters.fsr_quality_mode) - ) - - self.spin_sharpening_strength.set_value(parameters.fsr_sharpening_strength) - - def __idle_save(self, *_args): - print(list(self.quality_mode.keys())[self.combo_quality_mode.get_selected()]) - settings = { - "fsr_quality_mode": list(self.quality_mode.keys())[ - self.combo_quality_mode.get_selected() - ], - "fsr_sharpening_strength": int(self.spin_sharpening_strength.get_value()), - } - - for setting in settings.keys(): - self.manager.update_config( - config=self.config, - key=setting, - value=settings[setting], - scope="Parameters", - ) - - self.destroy() - - def __save(self, *_args): - GLib.idle_add(self.__idle_save) diff --git a/bottles/frontend/windows/gamescope.py b/bottles/frontend/windows/gamescope.py index 2e917411c6..6566130e6f 100644 --- a/bottles/frontend/windows/gamescope.py +++ b/bottles/frontend/windows/gamescope.py @@ -27,6 +27,8 @@ class GamescopeDialog(Adw.Window): spin_height = Gtk.Template.Child() spin_gamescope_width = Gtk.Template.Child() spin_gamescope_height = Gtk.Template.Child() + switch_fsr = Gtk.Template.Child() + spin_sharpening_strength = Gtk.Template.Child() spin_fps_limit = Gtk.Template.Child() spin_fps_limit_no_focus = Gtk.Template.Child() switch_scaling = Gtk.Template.Child() @@ -75,6 +77,8 @@ def __update(self, config): self.spin_height.set_value(parameters.gamescope_game_height) self.spin_gamescope_width.set_value(parameters.gamescope_window_width) self.spin_gamescope_height.set_value(parameters.gamescope_window_height) + self.switch_fsr.set_state(parameters.fsr) + self.spin_sharpening_strength.set_value(parameters.fsr_sharpening_strength) self.spin_fps_limit.set_value(parameters.gamescope_fps) self.spin_fps_limit_no_focus.set_value(parameters.gamescope_fps_no_focus) self.switch_scaling.set_active(parameters.gamescope_scaling) @@ -90,6 +94,8 @@ def __idle_save(self, *_args): "gamescope_game_height": self.spin_height.get_value(), "gamescope_window_width": self.spin_gamescope_width.get_value(), "gamescope_window_height": self.spin_gamescope_height.get_value(), + "fsr": self.switch_fsr.get_state(), + "fsr_sharpening_strength": int(self.spin_sharpening_strength.get_value()), "gamescope_fps": self.spin_fps_limit.get_value(), "gamescope_fps_no_focus": self.spin_fps_limit_no_focus.get_value(), "gamescope_scaling": self.switch_scaling.get_active(), diff --git a/bottles/frontend/windows/launchoptions.py b/bottles/frontend/windows/launchoptions.py index c711cdfa65..03a68a12b6 100644 --- a/bottles/frontend/windows/launchoptions.py +++ b/bottles/frontend/windows/launchoptions.py @@ -46,13 +46,11 @@ class LaunchOptionsDialog(Adw.Window): switch_dxvk = Gtk.Template.Child() switch_vkd3d = Gtk.Template.Child() switch_nvapi = Gtk.Template.Child() - switch_fsr = Gtk.Template.Child() switch_gamescope = Gtk.Template.Child() switch_virt_desktop = Gtk.Template.Child() action_dxvk = Gtk.Template.Child() action_vkd3d = Gtk.Template.Child() action_nvapi = Gtk.Template.Child() - action_fsr = Gtk.Template.Child() action_gamescope = Gtk.Template.Child() action_cwd = Gtk.Template.Child() action_virt_desktop = Gtk.Template.Child() @@ -96,7 +94,6 @@ def __init__(self, parent, config, program, **kwargs): self.toggled["dxvk"] = False self.toggled["vkd3d"] = False self.toggled["dxvk_nvapi"] = False - self.toggled["fsr"] = False self.toggled["gamescope"] = False self.toggled["virtual_desktop"] = False @@ -115,7 +112,6 @@ def __init__(self, parent, config, program, **kwargs): self.global_dxvk = program_dxvk = config.Parameters.dxvk self.global_vkd3d = program_vkd3d = config.Parameters.vkd3d self.global_nvapi = program_nvapi = config.Parameters.dxvk_nvapi - self.global_fsr = program_fsr = config.Parameters.fsr self.global_gamescope = program_gamescope = config.Parameters.gamescope self.global_virt_desktop = program_virt_desktop = ( config.Parameters.virtual_desktop @@ -130,9 +126,6 @@ def __init__(self, parent, config, program, **kwargs): if self.program.get("dxvk_nvapi") is not None: program_nvapi = self.program.get("dxvk_nvapi") self.action_nvapi.set_subtitle(self.__msg_override) - if self.program.get("fsr") is not None: - program_fsr = self.program.get("fsr") - self.action_fsr.set_subtitle(self.__msg_override) if self.program.get("gamescope") is not None: program_gamescope = self.program.get("gamescope") self.action_gamescope.set_subtitle(self.__msg_override) @@ -143,7 +136,6 @@ def __init__(self, parent, config, program, **kwargs): self.switch_dxvk.set_active(program_dxvk) self.switch_vkd3d.set_active(program_vkd3d) self.switch_nvapi.set_active(program_nvapi) - self.switch_fsr.set_active(program_fsr) self.switch_gamescope.set_active(program_gamescope) self.switch_virt_desktop.set_active(program_virt_desktop) @@ -156,9 +148,6 @@ def __init__(self, parent, config, program, **kwargs): self.switch_nvapi.connect( "state-set", self.__check_override, self.action_nvapi, "dxvk_nvapi" ) - self.switch_fsr.connect( - "state-set", self.__check_override, self.action_fsr, "fsr" - ) self.switch_gamescope.connect( "state-set", self.__check_override, self.action_gamescope, "gamescope" ) @@ -205,14 +194,12 @@ def __idle_save(self, *_args): program_dxvk = self.switch_dxvk.get_state() program_vkd3d = self.switch_vkd3d.get_state() program_nvapi = self.switch_nvapi.get_state() - program_fsr = self.switch_fsr.get_state() program_gamescope = self.switch_gamescope.get_state() program_virt_desktop = self.switch_virt_desktop.get_state() self.__set_override("dxvk", program_dxvk, self.global_dxvk) self.__set_override("vkd3d", program_vkd3d, self.global_vkd3d) self.__set_override("dxvk_nvapi", program_nvapi, self.global_nvapi) - self.__set_override("fsr", program_fsr, self.global_fsr) self.__set_override("gamescope", program_gamescope, self.global_gamescope) self.__set_override( "virtual_desktop", program_virt_desktop, self.global_virt_desktop @@ -346,13 +333,11 @@ def __reset_defaults(self, *_args): self.switch_dxvk.set_active(self.global_dxvk) self.switch_vkd3d.set_active(self.global_vkd3d) self.switch_nvapi.set_active(self.global_nvapi) - self.switch_fsr.set_active(self.global_fsr) self.switch_gamescope.set_active(self.global_gamescope) self.switch_virt_desktop.set_active(self.global_virt_desktop) self.action_dxvk.set_subtitle("") self.action_vkd3d.set_subtitle("") self.action_nvapi.set_subtitle("") - self.action_fsr.set_subtitle("") self.action_gamescope.set_subtitle("") self.action_virt_desktop.set_subtitle("") self.__set_disabled_switches() diff --git a/bottles/frontend/windows/meson.build b/bottles/frontend/windows/meson.build index 912be7e033..38c3600eff 100644 --- a/bottles/frontend/windows/meson.build +++ b/bottles/frontend/windows/meson.build @@ -14,7 +14,6 @@ bottles_sources = [ 'drives.py', 'gamescope.py', 'vkbasalt.py', - 'fsr.py', 'mangohud.py', 'display.py', 'generic_cli.py',