Commit graph

150 commits

Author SHA1 Message Date
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) 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) 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) 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) 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) fa96588948 Fix docker dev build tooling for libryzenadj.so 2023-02-10 23:36:22 -05:00
NGnius (Graham) 5ffa83983f Fix UI not updating when profile changes 2023-02-04 16:19:00 -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) 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
NGnius (Graham) 36ce024665 Improve the thing 2022-12-05 19:47:32 -05:00
NGnius (Graham) 892a0b0ab6 Update dependencies and create faster build profile for decky's CI 2022-12-05 18:51:49 -05:00
NGnius (Graham) 469d2a4eed Delete persistent settings files when persistence disabled; fix #55 2022-12-03 13:59:23 -05:00
NGnius (Graham) 9ef710a966 Fix auto_detect_provider to only return AutoDetect on default/unknown hardware 2022-12-03 13:58:08 -05:00
NGnius (Graham) 3766386726 Add hardware limits provider and auto detection with online updater (cached locally) 2022-12-02 21:12:13 -05:00
NGnius (Graham) 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
NGnius (Graham) 2b2a6eaf9d Add charge mode setting for SD, move static battery readings into driver 2022-11-21 20:58:35 -05:00
NGnius (Graham) 1466c4647b Add battery charge mode back-end support (untested) 2022-11-21 17:00:43 -05:00
NGnius (Graham) 31c72de11e Add and (mostly) test driver support 2022-11-19 15:21:09 -05:00
NGnius (Graham) 01c86eeafe Add some additional APIs endpoints for #48 and more 2022-11-12 23:17:13 -05:00
NGnius (Graham) 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
NGnius (Graham) 357a7cfe37 Test and perfect fix for non-persistent saving 2022-10-11 17:38:20 -04:00
NGnius (Graham) c13f35a4a1 Fix loading & saving non-persistent configs, hopefully 2022-10-04 20:49:02 -04:00
NGnius (Graham) 6878897784 Fix clock speeds defaulting too low at wakeup when not set 2022-09-13 17:09:51 -04:00
NGnius (Graham) ba021c8f93 Fix wake detection, add more debug logging 2022-09-11 11:37:26 -04:00
NGnius (Graham) e13b1d434c Increment to v1.0.2 2022-09-08 23:20:42 -04:00
NGnius (Graham) 1795c29603 Minor repo cleanup/reconfigure 2022-09-08 20:04:07 -04:00
NGnius (Graham) ce9c6dcd7b Use gameId, not appId, fixes #34 and actually follows my own advice 2022-09-08 20:01:01 -04:00
NGnius (Graham) 86471990bb Clamp JSON CPU count to available CPU count 2022-09-05 21:58:03 -04:00
NGnius (Graham) 7f60a00ee4 Configure for release 2022-09-05 21:55:40 -04:00
NGnius (Graham) aad7887b84 Reduce slider lag, fix frequency ordering mismatch, prepare for release 2022-09-05 21:36:16 -04:00
NGnius (Graham) 26e781df25 Re-add battery stats 2022-09-05 17:02:02 -04:00
NGnius (Graham) db3f4a85c0 Add experimental Decky CI back-end building, fix frequency controls crashing the kernel 2022-09-05 14:24:13 -04:00