From fc9ff66bc13d3029f3e643f58e79352b22e74f85 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 09:43:43 -0400 Subject: chore: rm unused asset --- assets/lsfg-vk.png | Bin 1779289 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 assets/lsfg-vk.png diff --git a/assets/lsfg-vk.png b/assets/lsfg-vk.png deleted file mode 100644 index 0395798..0000000 Binary files a/assets/lsfg-vk.png and /dev/null differ -- cgit v1.2.3 From 3009706795fcf6fb44d25c1458f24c0714822352 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 09:59:29 -0400 Subject: feat: mv edit and delete profile buttons to share one row --- src/components/ProfileManagement.tsx | 60 ++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx index 6e2a8f8..7504ca4 100644 --- a/src/components/ProfileManagement.tsx +++ b/src/components/ProfileManagement.tsx @@ -14,7 +14,7 @@ import { AppOverview, Router } from "@decky/ui"; -import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; +import { RiArrowDownSFill, RiArrowUpSFill, RiEditLine, RiDeleteBinLine } from "react-icons/ri"; import { getProfiles, createProfile, @@ -416,23 +416,49 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa - - Rename - - - - - - Delete - + + + + + + + + )} -- cgit v1.2.3 From 2e4f52af98e63d8437c7ea5805eafcb1ece77b94 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 10:14:59 -0400 Subject: chore: rm awk separator --- justfile | 2 +- src/components/ProfileManagement.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 054c113..83bcccb 100644 --- a/justfile +++ b/justfile @@ -8,7 +8,7 @@ build: python3 scripts/generate_ts_schema.py && sudo rm -rf node_modules && .vscode/build.sh test: - scp "out/Lossless Scaling.zip" deck@192.168.0.6:~/Desktop + scp "out/decky-lsfg-vk.zip" deck@192.168.0.6:~/Desktop clean: rm -rf node_modules dist \ No newline at end of file diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx index 7504ca4..d3d15a9 100644 --- a/src/components/ProfileManagement.tsx +++ b/src/components/ProfileManagement.tsx @@ -405,6 +405,7 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa label="" childrenLayout="below" childrenContainerWidth="max" + bottomSeparator="none" > -- cgit v1.2.3 From 4e5fa5f6fd174333ff651801b46ca82821f241ac Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 10:43:00 -0400 Subject: chore: update name and add more just recipies --- justfile | 8 +++++++- plugin.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 83bcccb..abd24c2 100644 --- a/justfile +++ b/justfile @@ -8,7 +8,13 @@ build: python3 scripts/generate_ts_schema.py && sudo rm -rf node_modules && .vscode/build.sh test: - scp "out/decky-lsfg-vk.zip" deck@192.168.0.6:~/Desktop + scp "out/Decky LSFG-VK.zip" deck@192.168.0.6:~/Desktop + +watch: + ssh deck@192.168.0.6 "journalctl -f" + +cef: + tail -f ~/.local/share/Steam/logs/cef_log.txt clean: rm -rf node_modules dist \ No newline at end of file diff --git a/plugin.json b/plugin.json index f8dd446..67bc281 100644 --- a/plugin.json +++ b/plugin.json @@ -1,5 +1,5 @@ { - "name": "decky-lsfg-vk", + "name": "Decky LSFG-VK", "author": "Kurt Himebauch", "flags": ["debug", "_root"], "api_version": 1, -- cgit v1.2.3 From 2b348fb00027766547084f2f348c62952956ac00 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 10:46:18 -0400 Subject: chore: cap LSFG-VK in FE to match plugin naming --- src/components/InstallationButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InstallationButton.tsx b/src/components/InstallationButton.tsx index 7892678..d0f2ce5 100644 --- a/src/components/InstallationButton.tsx +++ b/src/components/InstallationButton.tsx @@ -37,7 +37,7 @@ export function InstallationButton({ return (
-
Uninstall lsfg-vk
+
Uninstall LSFG-VK
); } @@ -45,7 +45,7 @@ export function InstallationButton({ return (
-
Install lsfg-vk
+
Install LSFG-VK
); }; -- cgit v1.2.3 From 2d718e686431b05e0767b1bd1efa1584487998d0 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 11:15:23 -0400 Subject: feat: always set no_fp16 false even on previous conf --- py_modules/lsfg_vk/config_schema.py | 12 ++++++------ py_modules/lsfg_vk/configuration.py | 2 +- py_modules/lsfg_vk/installation.py | 2 +- src/components/ConfigurationSection.tsx | 11 +---------- 4 files changed, 9 insertions(+), 18 deletions(-) diff --git a/py_modules/lsfg_vk/config_schema.py b/py_modules/lsfg_vk/config_schema.py index 807c798..1a6762b 100644 --- a/py_modules/lsfg_vk/config_schema.py +++ b/py_modules/lsfg_vk/config_schema.py @@ -182,7 +182,7 @@ class ConfigurationManager: "profiles": {DEFAULT_PROFILE_NAME: config}, "global_config": { "dll": config.get("dll", ""), - "no_fp16": config.get("no_fp16", False) + "no_fp16": False # Always enabled even if previously set } } return ConfigurationManager.generate_toml_content_multi_profile(profile_data) @@ -208,10 +208,9 @@ class ConfigurationManager: lines.append(f'dll = "{dll_path}"') lines.append("") - # Add no_fp16 field - no_fp16 = profile_data["global_config"].get("no_fp16", False) - lines.append(f"# force-disable fp16 (use on older nvidia cards)") - lines.append(f"no_fp16 = {str(no_fp16).lower()}") + # Add no_fp16 field - always set to false + lines.append(f"# FP16 acceleration (always enabled)") + lines.append(f"no_fp16 = false") lines.append("") # Add game sections for each profile @@ -345,7 +344,8 @@ class ConfigurationManager: elif key == "dll": global_config["dll"] = value elif key == "no_fp16": - global_config["no_fp16"] = value.lower() in ('true', '1', 'yes', 'on') + # Always enforce FP16 to be enabled (no_fp16 = false) + global_config["no_fp16"] = False # Handle game section elif in_game_section: diff --git a/py_modules/lsfg_vk/configuration.py b/py_modules/lsfg_vk/configuration.py index d4d60d4..b61a06d 100644 --- a/py_modules/lsfg_vk/configuration.py +++ b/py_modules/lsfg_vk/configuration.py @@ -252,7 +252,7 @@ class ConfigurationService(BaseService): profiles={DEFAULT_PROFILE_NAME: default_config}, global_config={ "dll": default_config.get("dll", ""), - "no_fp16": default_config.get("no_fp16", False) + "no_fp16": False } ) diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py index 763154f..a3b000f 100644 --- a/py_modules/lsfg_vk/installation.py +++ b/py_modules/lsfg_vk/installation.py @@ -353,7 +353,7 @@ class InstallationService(BaseService): default_config = ConfigurationManager.get_defaults_with_dll_detection(dll_service) default_global_config = { "dll": default_config.get("dll", ""), - "no_fp16": default_config.get("no_fp16", False) + "no_fp16": False } # Start with existing data diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 9afc650..b098b32 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -4,7 +4,7 @@ import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; import { ConfigurationData } from "../config/configSchema"; import { FpsMultiplierControl } from "./FpsMultiplierControl"; import { - NO_FP16, FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, + FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK } from "../config/generatedConfigSchema"; @@ -97,15 +97,6 @@ export function ConfigurationSection({ /> - - onConfigChange(NO_FP16, value)} - /> - - Date: Mon, 20 Oct 2025 11:23:00 -0400 Subject: chore: wording --- py_modules/lsfg_vk/config_schema.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py_modules/lsfg_vk/config_schema.py b/py_modules/lsfg_vk/config_schema.py index 1a6762b..3a96401 100644 --- a/py_modules/lsfg_vk/config_schema.py +++ b/py_modules/lsfg_vk/config_schema.py @@ -208,8 +208,7 @@ class ConfigurationManager: lines.append(f'dll = "{dll_path}"') lines.append("") - # Add no_fp16 field - always set to false - lines.append(f"# FP16 acceleration (always enabled)") + lines.append(f"# FP16 acceleration") lines.append(f"no_fp16 = false") lines.append("") -- cgit v1.2.3 From 8df144476589f10ce3d52bd59b125ba50fdc72bc Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 11:46:11 -0400 Subject: chore: hide wiki buttons --- package.json | 2 +- src/components/Content.tsx | 4 ++-- src/components/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4cc6b40..ee49d1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "decky-lsfg-vk", - "version": "0.11.2", + "version": "0.11.3", "description": "Use Lossless Scaling on the Steam Deck using the lsfg-vk vulkan layer", "type": "module", "scripts": { diff --git a/src/components/Content.tsx b/src/components/Content.tsx index d3c04d3..6efa8e2 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -135,8 +135,8 @@ export function Content() { {/* Wiki and clipboard buttons - always available for documentation */} - - + {/* */} + {/* */} {/* Plugin Update Checker */} {/* */} diff --git a/src/components/index.ts b/src/components/index.ts index 260d192..65a3252 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -4,7 +4,7 @@ export { InstallationButton } from "./InstallationButton"; export { ConfigurationSection } from "./ConfigurationSection"; export { FpsMultiplierControl } from "./FpsMultiplierControl"; export { UsageInstructions } from "./UsageInstructions"; -export { WikiButton } from "./WikiButton"; +// export { WikiButton } from "./WikiButton"; export { SmartClipboardButton } from "./SmartClipboardButton"; export { FgmodClipboardButton } from "./FgmodClipboardButton"; // export { ClipboardDisplay } from "./ClipboardDisplay"; -- cgit v1.2.3 From a7f7d5878a037fd59fb3257daf9d5e22c63ef9e8 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 20 Oct 2025 11:50:57 -0400 Subject: centralize index into src, comment out unused imports --- src/components/Content.tsx | 4 ++-- src/components/index.ts | 14 -------------- src/index.tsx | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 src/components/index.ts diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 6efa8e2..fdb8672 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -8,8 +8,8 @@ import { InstallationButton } from "./InstallationButton"; import { ConfigurationSection } from "./ConfigurationSection"; import { ProfileManagement } from "./ProfileManagement"; import { UsageInstructions } from "./UsageInstructions"; -import { WikiButton } from "./WikiButton"; -import { ClipboardButton } from "./ClipboardButton"; +// import { WikiButton } from "./WikiButton"; +// import { ClipboardButton } from "./ClipboardButton"; import { SmartClipboardButton } from "./SmartClipboardButton"; import { FgmodClipboardButton } from "./FgmodClipboardButton"; // import { ClipboardDisplay } from "./ClipboardDisplay"; diff --git a/src/components/index.ts b/src/components/index.ts deleted file mode 100644 index 65a3252..0000000 --- a/src/components/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export { Content } from "./Content"; -export { StatusDisplay } from "./StatusDisplay"; -export { InstallationButton } from "./InstallationButton"; -export { ConfigurationSection } from "./ConfigurationSection"; -export { FpsMultiplierControl } from "./FpsMultiplierControl"; -export { UsageInstructions } from "./UsageInstructions"; -// export { WikiButton } from "./WikiButton"; -export { SmartClipboardButton } from "./SmartClipboardButton"; -export { FgmodClipboardButton } from "./FgmodClipboardButton"; -// export { ClipboardDisplay } from "./ClipboardDisplay"; -// export { PluginUpdateChecker } from "./PluginUpdateChecker"; -export { NerdStuffModal } from "./NerdStuffModal"; -export { default as FlatpaksModal } from "./FlatpaksModal"; -export { ProfileManagement } from "./ProfileManagement"; diff --git a/src/index.tsx b/src/index.tsx index 799f2ff..bbe4cd3 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,7 @@ import { staticClasses } from "@decky/ui"; import { definePlugin } from "@decky/api"; import { GiPlasticDuck } from "react-icons/gi"; -import { Content } from "./components"; +import { Content } from "./components/Content"; export default definePlugin(() => { console.log("decky-lsfg-vk plugin initializing"); -- cgit v1.2.3