diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-24 10:06:34 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-24 10:06:34 -0400 |
| commit | ed804515981cd5176ac244a0fdaa301a55fa97f9 (patch) | |
| tree | 1229d381b5c04d4d50b72e4b9a3eb7a26ecbdc13 /src/components/ConfigurationSection.tsx | |
| parent | 402d8fb6856acd893a61d2052666d54058de64b0 (diff) | |
| download | decky-lsfg-vk-ed804515981cd5176ac244a0fdaa301a55fa97f9.tar.gz decky-lsfg-vk-ed804515981cd5176ac244a0fdaa301a55fa97f9.zip | |
add wsi and force enable vkbasalt env var args and ui
Diffstat (limited to 'src/components/ConfigurationSection.tsx')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 01b0ba1..55a27d2 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -2,9 +2,9 @@ import { PanelSectionRow, ToggleField, SliderField, DropdownItem } from "@decky/ import { ConfigurationData } from "../config/configSchema"; import { FpsMultiplierControl } from "./FpsMultiplierControl"; import { - FLOW_SCALE, TARGET_TOTAL_FPS, PERFORMANCE_MODE, HDR_MODE, + FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, - MANGOHUD_WORKAROUND, DISABLE_VKBASALT + MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, DEACTIVATE_WSI } from "../config/generatedConfigSchema"; interface ConfigurationSectionProps { @@ -170,6 +170,24 @@ export function ConfigurationSection({ onChange={(value) => onConfigChange(DISABLE_VKBASALT, value)} /> </PanelSectionRow> + + <PanelSectionRow> + <ToggleField + label="Force Enable vkBasalt" + description="Force vkBasalt to engage to fix framepacing issues in gamemode" + checked={config.force_enable_vkbasalt} + onChange={(value) => onConfigChange(FORCE_ENABLE_VKBASALT, value)} + /> + </PanelSectionRow> + + <PanelSectionRow> + <ToggleField + label="Deactivate WSI" + description="Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth" + checked={config.deactivate_wsi} + onChange={(value) => onConfigChange(DEACTIVATE_WSI, value)} + /> + </PanelSectionRow> </> ); } |
