Commit Graph

211 Commits

Author SHA1 Message Date
Ilya Zlobintsev
ea6d4d2733 feat: include 7000 series fan control files in sysfs snapshot 2024-01-05 13:10:15 +02:00
Ilya Zlobintsev
f5cd0dc25f
feat: set the GPU to the lowest power state before applying a power limit if current consumption exceeds the new limit (#233)
* feat: attempt to clock down the GPU when setting a power limit lower than the current power consumption

* add clippy settings
2023-12-25 18:51:11 +02:00
Ilya Zlobintsev
10f1e8c25a
chore: update dependencies (#232)
* chore: update deps

* chore: bump
2023-12-23 10:26:54 +02:00
Ilya Zlobintsev
9053f1efb5
feat: add option to generate a debug snapshot of the SysFS (#231)
* feat: daemon implementation for generating sysfs snapshot

* feat: snapshot gui

* fix: dialog title

* chore: update bug reporting info
2023-12-23 10:10:50 +02:00
Ilya Zlobintsev
6790c7fa60 fix: normalize VDDC curve before applying it
See https://github.com/ilya-zlobintsev/LACT/issues/212#issuecomment-1867115975
2023-12-22 10:24:26 +02:00
Ilya Zlobintsev
4f163fb323 chore: better error reporting 2023-12-21 19:05:04 +02:00
Ilya Zlobintsev
1a12316cfe fix: avoid clearing the table if vddc curve is present 2023-12-21 09:26:16 +02:00
Ilya Zlobintsev
d6b4a30076 fix: add check for minimum system uptime when starting the daemon 2023-12-10 18:46:27 +02:00
Ilya Zlobintsev
e98df054de feat: use VBIOS version field from DRM when possible 2023-11-25 15:57:04 +02:00
Ilya Zlobintsev
030e827378 chore: print error info about failed daemon connection 2023-11-25 15:35:55 +02:00
Ilya Zlobintsev
a3c9397a18 chore: improve clocks configuration management 2023-11-21 22:36:06 +02:00
bisspector
55b7885f77 fix: fix voltage offset config apply (0 iq bug) 2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
c4856dfadd chore: bump version to 0.5 2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
bd1020fa1b feat: show active power state, better ui
feat: show active power state with an arrow instead of selection
2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
7ccacc25b7 feat: setting enabled power states 2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
6372f0059b feat: initial power states gui 2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
e692ecde99 feat: GetPowerStates daemon implementation 2023-11-21 22:36:06 +02:00
Ilya Zlobintsev
51e187ef2a feat: use new power1_input interface instead of average when it is available 2023-11-15 21:58:21 +02:00
Ilya Zlobintsev
ca3292fd5b chore: add more logging 2023-11-04 14:48:19 +02:00
Ilya Zlobintsev
df28a63678 fix: avoid resetting fan control mode when it is not available 2023-10-31 19:42:22 +02:00
Ilya Zlobintsev
d93f134f35 feat: show if resizeable bar is enabled 2023-10-21 17:38:32 +03:00
Ilya Zlobintsev
0107065364 chore: clippy fixes 2023-10-21 15:50:42 +03:00
Ilya Zlobintsev
b5424557db chore: bump dependencies 2023-10-14 13:57:39 +03:00
bisspector
9533234f7e
feat: added static fan control option (#198)
* fix: fixed the confirm apply dialog timer not stopping after choosing an option

* feat: added static fan control to the daemon and GUI

* fix: cleanup and validate static speed
2023-09-30 15:28:39 +03:00
Ilya Zlobintsev
31fd5454c3 chore: clean up dependency features 2023-09-25 23:04:00 +03:00
Ilya Zlobintsev
2fc395d284 chore: use LocalSet for daemon tasks, replace mutex/rwlock with refcell 2023-09-23 09:23:13 +03:00
Ilya Zlobintsev
e4d63caeee fix: use BTreeMap to store gpu controllers so the order of gpus is defined 2023-09-19 19:37:45 +03:00
Ilya Zlobintsev
d1a0690191 feat: bump amdgpu-sysfs with RDNA3 changes, change values to signed integers 2023-09-15 23:10:45 +03:00
Ilya Zlobintsev
8f6e1b2c77 bump version 2023-09-12 22:05:24 +03:00
Ilya Zlobintsev
6429659d56 chore: update dependencies, adopt breaking changes 2023-09-10 12:19:32 +03:00
Ilya Zlobintsev
4df22ba0a6 feat: print vbios date from drm 2023-06-03 09:33:59 +03:00
Ilya Zlobintsev
e800bf5798 feat: show vulkan driver info in gui 2023-06-03 09:27:38 +03:00
Ilya Zlobintsev
c04e78fef9 chore: bump dependencies 2023-06-03 08:34:06 +03:00
Ilya Zlobintsev
92eb100239 feat: bump version and report gui version 2023-05-14 13:09:15 +03:00
Ilya Zlobintsev
7f47339072
feat: settings confirmation (#163)
The goal of this PR is to have a confirmation dialog that the user has to click before the settings are saved onto disk. This is useful because when tweaking some settings (especially memory frequency), it's possible to crash your system, and if the settings are saved right away you end up with a soft-bricked system that will apply the broken settings on the next daemon start.
2023-05-14 12:55:24 +03:00
Ilya Zlobintsev
8c489a3fb9 chore: bump dependencies 2023-05-10 20:10:40 +03:00
Ilya Zlobintsev
c6a7907c35 chore: bump dependencies and switch to a tagged libdrm_amdgpu_sysfs version 2023-04-24 22:06:40 +03:00
Ilya Zlobintsev
806faa9de4 feat: retry GPU initialization when no GPUs were found 2023-04-24 21:30:18 +03:00
Ilya Zlobintsev
30327e3b48 Revert "fix: check for DEVTYPE=drm_minor when trying to find usable gpu paths instead of using the name"
This reverts commit 0bc59a02cc.
2023-04-24 20:55:05 +03:00
Ilya Zlobintsev
0bc59a02cc fix: check for DEVTYPE=drm_minor when trying to find usable gpu paths instead of using the name 2023-04-22 10:27:47 +03:00
Ilya Zlobintsev
b461106edd chore: switch to stable vulkano release 2023-04-05 20:32:18 +03:00
Ilya Zlobintsev
b66d4eb3f7 chore: bump dependencies 2023-03-26 18:29:35 +03:00
Ilya Zlobintsev
009d07d2f9 chore: bump version 2023-03-25 22:17:12 +02:00
Ilya Zlobintsev
f5269067db
feat: add support for not cleaning up clocks table on shutdown (#133) 2023-03-19 15:04:39 +02:00
Ilya Zlobintsev
0a4b7b208a chore: bump version 2023-03-18 14:31:30 +02:00
Ilya Zlobintsev
62a9de5b70
feat: add drm info (#132)
* wip drm info

* feat: gui for drm info

* chore: update dependencies in readme

* feat: add support for building without drm

* doc: add information about building with some features disabled

* fix: ci dependencies
2023-03-18 14:30:22 +02:00
Ilya Zlobintsev
ed1f57b6f9 chore: bump dependencies 2023-03-18 10:12:11 +02:00
Ilya Zlobintsev
531c82ae94 bump version 2023-03-18 10:06:31 +02:00
Ilya Zlobintsev
5d4776d394 feat: add support for configuring the minimum clockspeed and voltage 2023-03-18 10:03:46 +02:00
Ilya Zlobintsev
b702d29856 feat: reload configuration on dbus suspend/resume events 2023-03-05 10:29:35 +02:00
dependabot[bot]
072556cda9
chore(deps): bump tokio from 1.25.0 to 1.26.0 (#111)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-04 13:21:35 +02:00
Ilya Zlobintsev
36466b2c7d feat: gui for enabling overclocking 2023-03-04 13:11:05 +02:00
Ilya Zlobintsev
d93d46d48e feat: daemon implementation for creating module conf file with ppfeaturemask set 2023-03-03 08:47:30 +02:00
Ilya Zlobintsev
906a73e553 chore: bump version 2023-03-02 22:29:06 +02:00
Ilya Zlobintsev
26191861a5 refactor: reexport amdgpu-sysfs from lact-schema to avoid having to specify the version twice 2023-03-02 22:00:22 +02:00
Ilya Zlobintsev
98cb7ace24
Feature/power profile modes (#112)
* feat: daemon implementation of power profile modes

* feat: updated performance frame with manual mode support

* feat: WIP UI for power modes

* feat: setting power profile mode in UI

* feat: show power profile modes info

* fix: hide power profile modes when not available

* feat: basic power profile modes table support

* chore: use git amdgpu-sysfs source

* fix: basic modes table gui offset

* feat: use basic power profiles instead

* fix: invalid lowest clocks performance level name

* chore: remove git source
2023-03-02 21:55:17 +02:00
Ilya Zlobintsev
bf61001136 chore: bump version to 0.3 2023-02-28 10:38:08 +02:00
Ilya Zlobintsev
09e247a387 chore: add more debug logs 2023-02-28 08:07:47 +02:00
Ilya Zlobintsev
228e1907d4 fix: dont exit on config load failure 2023-02-27 23:00:06 +02:00
Ilya Zlobintsev
467785a904 fix: beter voltage offset handling 2023-02-27 20:50:50 +02:00
Ilya Zlobintsev
4e8b7d56cf feat: (hopefully) voltage offset support 2023-02-27 18:33:08 +02:00
Ilya Zlobintsev
498dc0ab05 feat: bump amdgpu-sysfs for clear functionality 2023-02-26 23:50:27 +02:00
Ilya Zlobintsev
72cd453c22 Bump amdgpu-sysfs to fix null bytes parsing on rx 6000 series GPUs
See
bba4251ad7
for more info
2023-02-26 12:41:15 +02:00
Ilya Zlobintsev
837d8bbb9c bump version to 0.2.2 2023-02-26 11:41:03 +02:00
Ilya Zlobintsev
0caebe6192 chore: bump versino to 0.2.1 2023-02-25 17:35:37 +02:00
Ilya Zlobintsev
60a9cdfeb5 feat: better handling of the scenario with no GPUs available
This should not happen often on real systems, but can be replicated when
running on a VM with no hardware acceleration. The GUI may still look
weird and have missing values, but you won't be able to change anything.
2023-02-25 14:04:24 +02:00
Ilya Zlobintsev
0720140b10 feat: configurable socket owners 2023-02-25 13:27:35 +02:00
Ilya Zlobintsev
5e0fb5913a update amdgpu-sysfs 2023-02-22 19:16:39 +02:00
Ilya Zlobintsev
7a6f2becac Revert "use fix branch for amdgpu-sysfs"
This reverts commit 8f17e65db3.
2023-02-22 19:15:28 +02:00
Ilya Zlobintsev
8f17e65db3 use fix branch for amdgpu-sysfs 2023-02-22 18:59:27 +02:00
Ilya Zlobintsev
c30c5c0c8a feat: clocks table editing daemon implementation 2023-02-21 21:18:05 +02:00
Ilya Zlobintsev
8d738191dd feat: update amdgpu-sysfs 2023-02-20 22:59:55 +02:00
Ilya Zlobintsev
fd81c7007c chore: clippy pedantic in lact-daemon 2023-02-20 09:04:20 +02:00
Ilya Zlobintsev
ede4886da9 feat: persist fan curve when toggling fan control, avoid applying fan settings when there is no fan 2023-02-20 08:44:19 +02:00
Ilya Zlobintsev
16b1b3d5e2 feat: properly set icon, use app id for names 2023-02-19 21:21:16 +02:00
Ilya Zlobintsev
26547f0123 chore: use lowercase logging 2023-02-19 20:48:39 +02:00
Ilya Zlobintsev
1b3cc4c5e7 feat: add and remove curve points 2023-02-19 20:46:24 +02:00
Ilya Zlobintsev
a78312b5c2 feat: new fan control ui 2023-02-19 18:38:47 +02:00
Ilya Zlobintsev
d86cf8da50 bump dependencies 2023-01-30 20:24:32 +02:00
Ilya Zlobintsev
1b57bfefc1 feat: further fan curve wip 2023-01-30 20:17:15 +02:00
Ilya Zlobintsev
d1399f3c0d chore: fix clippy 2023-01-28 09:06:20 +02:00
Ilya Zlobintsev
3ce5013172 chore: bump dependencies 2023-01-28 08:57:20 +02:00
Ilya Zlobintsev
50e32509f4 feat: report overdrive enabled in daemon 2023-01-22 18:19:35 +02:00
Ilya Zlobintsev
a83c69466d feat: config applying and saving rework 2023-01-22 18:08:01 +02:00
Ilya Zlobintsev
826f792a45 bump dependencies 2023-01-15 17:17:09 +02:00
Ilya Zlobintsev
cc9dd98f29 feat: gracefully shut down on more signals 2023-01-07 17:38:29 +02:00
Ilya Zlobintsev
d06fb359ea use amdgpu-sysfs from git 2023-01-07 17:11:23 +02:00
Ilya Zlobintsev
7fd74fdb09 feat: performance level 2023-01-07 12:12:59 +02:00
Ilya Zlobintsev
a221f1e31d move out clocks into a separate api call 2023-01-07 10:21:46 +02:00
Ilya Zlobintsev
b37240a6e1 feat: system_info daemon call 2023-01-06 18:50:03 +02:00
Ilya Zlobintsev
d830dbd1d9 chore: dont remove socket on start 2023-01-06 11:05:23 +02:00
Ilya Zlobintsev
ad0554fb5c feat: embedded daemon 2023-01-05 17:40:29 +02:00
Ilya Zlobintsev
de9786b59e feat: unified binary 2023-01-05 12:45:57 +02:00
Ilya Zlobintsev
0f635975bb new clocks levels logic 2022-12-31 15:32:59 +02:00
Ilya Zlobintsev
b39ae49e55 show power levels 2022-11-26 11:32:11 +02:00
Ilya Zlobintsev
d411cf425c better pong response 2022-11-24 16:34:19 +02:00
Ilya Zlobintsev
cd1a654973 vulkan lists 2022-11-24 15:53:38 +02:00
Ilya Zlobintsev
bcd846d801 feat: better vulkan driver info 2022-11-24 14:20:31 +02:00
Ilya Zlobintsev
8e096a5119 feat: show vulkan layers 2022-11-24 14:07:04 +02:00
Ilya Zlobintsev
7c4a1de9b3 feat: return clocks info 2022-11-24 14:04:44 +02:00
Ilya Zlobintsev
1e04c80254 wip 2022-11-23 11:28:48 +02:00
Ilya Zlobintsev
01eebc6d1f feat: support setting the fan curve 2022-11-21 15:42:14 +02:00
Ilya Zlobintsev
9be48ceb3c show fan curve in stats 2022-11-20 22:32:37 +02:00
Ilya Zlobintsev
41cc2cd266 somewhat working power cap 2022-11-20 20:09:36 +02:00
Ilya Zlobintsev
bb8094404d better log 2022-11-20 19:51:43 +02:00
Ilya Zlobintsev
94e35da8d4 add power cap reset 2022-11-20 19:18:47 +02:00
Ilya Zlobintsev
a7fac939ac feat: power limit settings 2022-11-20 16:26:48 +02:00
Ilya Zlobintsev
4068ebd349 somewhat working stats 2022-11-19 22:23:47 +02:00
Ilya Zlobintsev
d76c0fe48b feat: update dependencies 2022-11-19 15:19:08 +02:00
Ilya Zlobintsev
2f626c5b4c feat: proper feature and extension list 2022-11-18 21:16:35 +02:00
Ilya Zlobintsev
1a5e456c5b wip everything 2022-11-16 22:46:18 +02:00