Commit graph

118 commits

Author SHA1 Message Date
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
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
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
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
5ffa83983f Fix UI not updating when profile changes 2023-02-04 16:19:00 -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
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
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
2b2a6eaf9d Add charge mode setting for SD, move static battery readings into driver 2022-11-21 20:58:35 -05:00
1466c4647b Add battery charge mode back-end support (untested) 2022-11-21 17:00:43 -05:00
31c72de11e Add and (mostly) test driver support 2022-11-19 15:21:09 -05:00
01c86eeafe Add some additional APIs endpoints for #48 and more 2022-11-12 23:17:13 -05:00
1610f18278 Refactor API processing to apply settings from single thread and queue API calls instead of locking 2022-11-09 22:09:05 -05:00
357a7cfe37 Test and perfect fix for non-persistent saving 2022-10-11 17:38:20 -04:00
c13f35a4a1 Fix loading & saving non-persistent configs, hopefully 2022-10-04 20:49:02 -04:00
6878897784 Fix clock speeds defaulting too low at wakeup when not set 2022-09-13 17:09:51 -04:00
ba021c8f93 Fix wake detection, add more debug logging 2022-09-11 11:37:26 -04:00
86471990bb Clamp JSON CPU count to available CPU count 2022-09-05 21:58:03 -04:00
aad7887b84 Reduce slider lag, fix frequency ordering mismatch, prepare for release 2022-09-05 21:36:16 -04:00
26e781df25 Re-add battery stats 2022-09-05 17:02:02 -04:00
db3f4a85c0 Add experimental Decky CI back-end building, fix frequency controls crashing the kernel 2022-09-05 14:24:13 -04:00