summaryrefslogtreecommitdiff
path: root/src/components/ConfigurationSection.tsx
diff options
context:
space:
mode:
authorxXJsonDeruloXx <danielhimebauch@gmail.com>2026-02-02 13:01:37 -0500
committerxXJsonDeruloXx <danielhimebauch@gmail.com>2026-02-02 13:01:37 -0500
commit93027ad87917d054c6309cf328e97c2e92b7c4bb (patch)
tree9f2036b760c49f5e9345ee6585bc622319703d77 /src/components/ConfigurationSection.tsx
parent97a70cd68813f2174fe145ee79784e509d11a742 (diff)
downloaddecky-lsfg-vk-feat/lsfg-vk-v2-support.tar.gz
decky-lsfg-vk-feat/lsfg-vk-v2-support.zip
feat: add lsfg-vk v2.0 supportfeat/lsfg-vk-v2-support
- Update Vulkan layer filenames for v2.0 - libVkLayer_LSFGVK_frame_generation.so - VkLayer_LSFGVK_frame_generation.json - Remove deprecated config fields (hdr_mode, experimental_present_mode) - Add new pacing field (frame pacing mode) - Update generated schema files - Remove removed fields from UI components - Bump version to 0.13.0-beta.1 Breaking changes: - HDR Mode setting removed (no longer in v2.0) - Present Mode override removed (no longer in v2.0) Still TODO: - Update remote_binary URL when v2.0 stable releases - Test installation and migration - Add migration guide for users
Diffstat (limited to 'src/components/ConfigurationSection.tsx')
-rw-r--r--src/components/ConfigurationSection.tsx22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 0734297..7b39dfb 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -3,8 +3,8 @@ import { useState, useEffect } from "react";
import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri";
import { ConfigurationData } from "../config/configSchema";
import {
- FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
- EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
+ FLOW_SCALE, PERFORMANCE_MODE, PACING,
+ DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK
} from "../config/generatedConfigSchema";
@@ -139,30 +139,12 @@ export function ConfigurationSection({
<PanelSectionRow>
<ToggleField
- label={`Present Mode (${(config.experimental_present_mode || "fifo") === "fifo" ? "FIFO - VSync" : "Mailbox"})`}
- description="Toggle between FIFO - VSync (default) and Mailbox presentation modes for better performance or compatibility"
- checked={(config.experimental_present_mode || "fifo") === "fifo"}
- onChange={(value) => onConfigChange(EXPERIMENTAL_PRESENT_MODE, value ? "fifo" : "mailbox")}
- />
- </PanelSectionRow>
-
- <PanelSectionRow>
- <ToggleField
label="Performance Mode"
description="Uses a lighter model for FG (Recommended for most games)"
checked={config.performance_mode}
onChange={(value) => onConfigChange(PERFORMANCE_MODE, value)}
/>
</PanelSectionRow>
-
- <PanelSectionRow>
- <ToggleField
- label="HDR Mode"
- description="Enables HDR mode (only for games that support HDR)"
- checked={config.hdr_mode}
- onChange={(value) => onConfigChange(HDR_MODE, value)}
- />
- </PanelSectionRow>
</>
)}