summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--py_modules/lsfg_vk/config_schema_generated.py2
-rw-r--r--shared_config.py2
-rw-r--r--src/components/ConfigurationSection.tsx18
-rw-r--r--src/config/generatedConfigSchema.ts4
5 files changed, 14 insertions, 14 deletions
diff --git a/package.json b/package.json
index cf66a03..a798f8b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "decky-lossless-scaling-vk",
- "version": "0.7.2",
+ "version": "0.7.3",
"description": "Use Lossless Scaling on the Steam Deck using the lsfg-vk vulkan layer",
"type": "module",
"scripts": {
diff --git a/py_modules/lsfg_vk/config_schema_generated.py b/py_modules/lsfg_vk/config_schema_generated.py
index 8aa45a1..783e22f 100644
--- a/py_modules/lsfg_vk/config_schema_generated.py
+++ b/py_modules/lsfg_vk/config_schema_generated.py
@@ -119,7 +119,7 @@ def get_function_parameters() -> str:
mangohud_workaround: bool = False,
disable_vkbasalt: bool = False,
force_enable_vkbasalt: bool = False,
- deactivate_wsi: bool = False"""
+ deactivate_wsi: bool = True"""
def create_config_dict(**kwargs) -> ConfigurationData:
diff --git a/shared_config.py b/shared_config.py
index 3f27491..4a32776 100644
--- a/shared_config.py
+++ b/shared_config.py
@@ -119,7 +119,7 @@ CONFIG_SCHEMA_DEF = {
"deactivate_wsi": {
"name": "deactivate_wsi",
"fieldType": ConfigFieldType.BOOLEAN,
- "default": False,
+ "default": True,
"description": "Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth",
"location": "script"
}
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 57c75ad..c1fcf25 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -161,6 +161,15 @@ export function ConfigurationSection({
{!workaroundsCollapsed && (
<>
+ <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>
+
<PanelSectionRow>
<ToggleField
label="Enable WOW64 for 32-bit games"
@@ -219,15 +228,6 @@ export function ConfigurationSection({
}}
/>
</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>
</>
)}
</>
diff --git a/src/config/generatedConfigSchema.ts b/src/config/generatedConfigSchema.ts
index 1ce08f4..dfd80db 100644
--- a/src/config/generatedConfigSchema.ts
+++ b/src/config/generatedConfigSchema.ts
@@ -107,7 +107,7 @@ export const CONFIG_SCHEMA: Record<string, ConfigField> = {
deactivate_wsi: {
name: "deactivate_wsi",
fieldType: ConfigFieldType.BOOLEAN,
- default: false,
+ default: true,
description: "Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth"
},
};
@@ -148,7 +148,7 @@ export function getDefaults(): ConfigurationData {
mangohud_workaround: false,
disable_vkbasalt: false,
force_enable_vkbasalt: false,
- deactivate_wsi: false,
+ deactivate_wsi: true,
};
}