Commit graph

175 commits

Author SHA1 Message Date
NGnius (Graham) 4eaf6fae2b Add all back-end functionality for interacting with variants on the front-end 2024-01-06 13:26:35 -05:00
NGnius (Graham) 437f5beb71 Refactor SD LED functionality even more; move to different project and expand scope 2023-12-29 00:34:02 -05:00
NGnius (Graham) 508c6ceb9e Community settings WIP 2023-12-22 16:26:50 -05:00
NGnius (Graham) 310af1b3ae Fix ryzenadj build error with feature flag, try fix game start callbacks, start LED lib refactor 2023-12-17 16:13:59 -05:00
NGnius (Graham) df71a619d9 Update limits config to correctly detect OLED with newer firmware's CPU name 2023-12-16 14:40:36 -05:00
NGnius (Graham) 30ad80f031 Add ppt divisor to get_ppt instead of just setter 2023-12-11 17:52:22 -05:00
NGnius (Graham) a2d5103f12 Improve generic support, add Framework 13 AMD support for test platform (ryzenadj v0.14 update not included) 2023-12-10 23:15:31 -05:00
drokath 8f219a3255 Improve AMD 6800 handheld detection (#132)
Related to #131 tested on Aokzoe A1

Co-authored-by: Vincent Guilbert <vrguilbert@gmail.com>
Reviewed-on: #132
Co-authored-by: drokath <vrguilbert@gmail.com>
Co-committed-by: drokath <vrguilbert@gmail.com>
2023-11-29 01:47:25 +00:00
NGnius (Graham) 0b8e3deb92 Fix reset value for max charge level 2023-11-26 17:27:05 -05:00
NGnius (Graham) d481f13144 Make settings variant map use u64 instead of strings since no longer restricted by JSON 2023-11-26 09:50:56 -05:00
NGnius (Graham) 04a94c902f Update limit enum names used in ron 2023-11-26 09:50:13 -05:00
NGnius (Graham) e0ddee9e07 Update .json to .ron in various places, fix tests 2023-11-18 15:55:53 -05:00
NGnius (Graham) 396a52da5e Use decky-provided settings directory 2023-11-18 15:31:45 -05:00
NGnius (Graham) 3aa9680bae Add multi-profile per-game functionality for #82, change to JSON to RON format 2023-11-18 15:18:45 -05:00
NGnius (Graham) a90932d813 Replace pt_oc functionality with cross-provider equivalent (& resultant refactor) 2023-10-24 18:36:07 -04:00
NGnius (Graham) a8ad9a9e62 Demote log level of max_charge_lvl check to debug 2023-10-18 22:56:13 -04:00
NGnius (Graham) 46659a474d Unset battery charge limit properly, fix #127 2023-10-09 11:19:39 -04:00
NGnius (Graham) 05f927dc0f Fix Deck CPU min clock min value being saved and shown in UI with clamped value 2023-09-04 17:49:25 -04:00
NGnius (Graham) 40b46337b4 Try resetting clocks as well as forcing them to min/max range 2023-09-04 17:46:19 -04:00
NGnius (Graham) 579ee2ee85 Change sysfuss to online dependency 2023-08-29 19:06:00 -04:00
NGnius (Graham) decc0cd73d Merge branch 'dev' 2023-08-28 17:13:28 -04:00
NGnius (Graham) 33c41c3e3d Unset slow memory properly, if the kernel behaved as documented 2023-08-24 21:22:43 -04:00
NGnius (Graham) 5f6370e778 Make CPU reset workaround skip resume from sleep 2023-08-24 20:02:31 -04:00
NGnius (Graham) 5eceb7e4b7 Fix sysfs class/entity searching by capabilities so that everything no longer just fallbacks to stable-only defaults 2023-08-08 20:55:19 -04:00
NGnius (Graham) 79484e15a2 Improve current limits settings for newer kernels 2023-08-07 20:20:11 -04:00
NGnius (Graham) 594f69b24c Improve battery hwmon searching for newer kernels 2023-08-07 20:09:04 -04:00
NGnius (Graham) 91d8eee96d Update version to beta1 2023-08-07 17:09:36 -04:00
NGnius (Graham) 3cbde30e09 Reduce periodic network activity to 1 request instead of 5 2023-08-07 17:08:24 -04:00
NGnius (Graham) cb3ec8d3a2 Fix message dismissing not saving 2023-08-07 16:12:22 -04:00
NGnius (Graham) b7cf8b8caf Use incompatible hwmon for battery in the unlikely event the hwmon still has the correct name. version to alpha2 2023-08-07 15:57:08 -04:00
NGnius (Graham) 64cb4193f9 Improve sysfs calls from providers to intelligently find the correct entry to fix #114 2023-08-06 14:49:24 -04:00
NGnius (Graham) 33e8c7ccc5 Add dev messages functionality 2023-07-03 22:01:00 -04:00
NGnius (Graham) 907594fade Make current and charge power hidden by default 2023-06-17 12:34:52 -04:00
NGnius (Graham) f68abbfd1b Add UI elements for battery inrush power 2023-06-16 22:00:57 -04:00
NGnius (Graham) 4ac9303754 Add battery power API 2023-06-10 16:27:13 -04:00
NGnius (Graham) 441a635163 Add workaround for CPU clocks not being unset by kernel correctly, fixes #107 2023-05-29 19:40:57 -04:00
NGnius (Graham) 8c77630fb4 Add basic event commands 2023-05-28 10:34:20 -04:00
NGnius (Graham) f8ea999604 Refactor steam_deck to modularize system interactions 2023-05-25 21:03:31 -04:00
NGnius (Graham) a4e1ece099 Update h2 2023-04-29 10:41:47 -04:00
NGnius (Graham) 2c1321b544 Merge branch 'dev' 2023-04-02 22:47:59 -04:00
NGnius (Graham) 533beaf289 Fix loading battery settings from json, update some deps 2023-04-02 13:36:33 -04:00
NGnius (Graham) 2f8c0a0172 Fix unecessary calls to on_set() from battery vibe checks and reset ppt to default instead of max 2023-04-01 20:43:26 -04:00
NGnius (Graham) d654e3ee06 Remove redundant sysfs commit 2023-04-01 20:18:16 -04:00
NGnius (Graham) 0d68ae996c Reset PPT to max when limits disabled 2023-04-01 20:11:02 -04:00
NGnius (Graham) 68f8bfbc7f Merge branch 'dev' 2023-04-01 10:51:22 -04:00
NGnius (Graham) 47d457dd2a Upgrade limits_* versions 2023-04-01 10:49:22 -04:00
NGnius (Graham) 8f61e22c81 Expand limits json with additional data 2023-03-31 18:07:58 -04:00
NGnius (Graham) c374212b13 Only convert game ID to number in a language that doesn't have horrible number types 2023-03-31 17:25:29 -04:00
NGnius (Graham) 1d57edfd80 Remove blocking net request in main thread to speed up startup for slow connections 2023-03-28 22:49:15 -04:00
NGnius (Graham) 54393cd0cb Cargo fmt 2023-03-27 21:11:22 -04:00
NGnius (Graham) 2c0cac125c Add version file 2023-03-27 21:11:03 -04:00
NGnius (Graham) 1fbdd69771 Fix link opening 2023-03-27 20:48:06 -04:00
NGnius (Graham) 27afa31520 Only apply manual power_dpm_force_performance_level when actually necessary #87 2023-03-27 20:24:21 -04:00
NGnius (Graham) 69f6b800be Fix profile loading on latest SteamOS stable update 2023-03-26 21:16:13 -04:00
NGnius (Graham) f42efab0b0 Add battery charge limit functionality 2023-03-26 10:50:38 -04:00
NGnius (Graham) 68e86c0778 Use profile filename instead of profile name to detect profile change 2023-03-25 13:46:58 -04:00
NGnius (Graham) 1175780951 Fix system default name not getting set correctly after another profile, possibly fixes #78 and maybe related to #86 2023-03-24 00:03:16 -04:00
NGnius (Graham) 39f53d76ac Move to libryzenadj from my custom bindings 2023-03-22 22:15:36 -04:00
NGnius (Graham) 0b0db2faa9 Make docker build libryzenadj instead of including old version 2023-03-22 21:46:55 -04:00
NGnius (Graham) ecaa92b821 Fix missing dependencies causing build failure in Docker 2023-03-22 21:45:38 -04:00
NGnius (Graham) 40f8378eda Update hit count to have start time 2023-03-20 17:53:50 -04:00
NGnius (Graham) 33cd064667 Merge branch 'dev' for v1.2.0 2023-03-04 10:35:30 -05:00
NGnius (Graham) 5c8ea50d83 Update dependencies and version 2023-03-04 10:32:58 -05:00
NGnius (Graham) 7acff88b14 Only commit Deck CPU & GPU frequency settings when no errors occur 2023-02-26 13:04:09 -05:00
NGnius (Graham) 2b94298e8c Rename backend binary and shorten V_INFO 2023-02-23 21:07:17 -05:00
NGnius (Graham) fb577620dd Improve error information and update libs 2023-02-23 20:55:12 -05:00
NGnius (Graham) 37f96a5cdd Update to usdpl v0.10 and change ~/.config/powertools to not require su perms 2023-02-21 21:28:59 -05:00
NGnius (Graham) 66f367e1d2 Enable all-cpu governor dropdown by default for SD 2023-02-20 14:42:38 -05:00
NGnius (Graham) 6d88d6e44f Push default SD min GPU clock higher to avoid conservative boosting behaviour 2023-02-20 12:41:13 -05:00
NGnius (Graham) b5a7cf5914 Add pt_oc tests and auto-update json (test) fn 2023-02-20 12:04:44 -05:00
NGnius (Graham) 9da7de788e Add ability to disable setting clock to min-max on resume from sleep for SD 2023-02-20 11:56:36 -05:00
NGnius (Graham) 0483ee1617 Fix SMT toggle always reenabling (fix #73) 2023-02-14 21:59:05 -05:00
NGnius (Graham) b32c5c9d31 Configure for v1.2.0 work 2023-02-11 20:00:07 -05:00
NGnius (Graham) 4bf548152f Merge branch 'dev' 2023-02-10 23:36:40 -05:00
NGnius (Graham) fa96588948 Fix docker dev build tooling for libryzenadj.so 2023-02-10 23:36:22 -05:00
NGnius (Graham) c9557736ef Bump version to v1.1.1 2023-02-10 17:26:16 -05:00
NGnius (Graham) f879c82f33 Merge branch 'dev' 2023-02-04 16:19:28 -05:00
NGnius (Graham) 5ffa83983f Fix UI not updating when profile changes 2023-02-04 16:19:00 -05:00
NGnius (Graham) 1ca1148a4c Merge branch 'dev' 2023-02-03 17:40:03 -05:00
NGnius (Graham) ec97003e38 Rename 'Persistent' toggle to 'Persistent Profile' 2023-02-03 17:03:50 -05:00
NGnius (Graham) e63310f62e Add global governor dropdown (hidden for default SD config) 2023-02-02 20:20:16 -05:00
NGnius (Graham) 286ad30378 Enable auto-detection when loading a new settings file 2023-01-31 20:41:48 -05:00
NGnius (Graham) 11c1fc0ddc Set settings twice when dirty, to be extra sure settings are set when set and not unset when set set set set 2023-01-29 12:00:08 -05:00
NGnius (Graham) f4e94d9e7d Fix auto_detect ignoring persistence bool 2023-01-29 11:33:44 -05:00
NGnius (Graham) 5481587167 Fix missing translation for Defaults button 2023-01-29 11:09:42 -05:00
NGnius (Graham) ce5b0ed926 Update USDPL and fix other front-back communication inconsistencies 2023-01-21 18:15:26 -05:00
NGnius (Graham) ea89de01d7 Fix incorrect CPU defaults loaded by defaults button 2023-01-18 21:05:04 -05:00
NGnius (Graham) aff5005ca9 Allow max == min, fix SMT bug, compile missing .mo files 2023-01-18 17:59:34 -05:00
NGnius (Graham) 8332649e45 Disallow setting max < min and min > max because the kernel now does too 2023-01-16 18:46:40 -05:00
NGnius (Graham) ab2eea5fb4 Bump version to 1.0.6 (front) and 1.0.5+1 (back) 2023-01-11 19:58:19 -05:00
NGnius (Graham) 8bc9c7b2d8 Add support for user-translated strings in the UI 2023-01-10 20:54:33 -05:00
NGnius (Graham) 8c763f241f Improve SMT heuristic when loading from saved 2023-01-05 21:35:53 -05:00
NGnius (Graham) fbb68e0d51 Fix SMT behaviour paper cuts 2023-01-05 21:16:37 -05:00
NGnius (Graham) 13bf31611d Send front-end logs to back and improve Steam Deck driver display 2023-01-04 19:42:59 -05:00
NGnius (Graham) cda1111cd3 Add driver in debug UI and misc config stuff 2023-01-02 21:22:53 -05:00
NGnius (Graham) 500fde964c Implement RyzenAdj driver for AMD 2023-01-02 18:47:14 -05:00
NGnius (Graham) 5614937012 Implement full generic driver to simplify custom implementations 2023-01-02 09:04:07 -05:00
NGnius (Graham) 3031a1c9bf Groundwork for RyzenAdj and fix some system defaults 2022-12-31 16:28:37 -05:00
NGnius (Graham) 1dc0acca8e Combine SD advance mode back into regular SD driver, implement custom clock file support 2022-12-30 23:27:22 -05:00
NGnius (Graham) 5fe4e9d15d Complete switch to linux kernel SMT toggle #48 2022-12-24 10:21:27 -05:00