Commit graph

168 commits

Author SHA1 Message Date
8f219a3255 Improve AMD 6800 handheld detection (#132)
Related to #131 tested on Aokzoe A1

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

* Fix Makefile

* Use PathBuf instead of format. Catch else fore /tmp/ default directory

* Restore logpath for deployment. Resolve warning from copy() not having err handled.

* Undo add #[cfg(debug_assertions)] in wrong place.
2022-11-29 00:04:03 +00:00