Commit Graph

512 Commits

Author SHA1 Message Date
Ilya Zlobintsev
fe0f8b5e52 fix: avoid crashing on non-numeric input in fan curve editor 2024-08-16 09:18:15 +03:00
Ilya Zlobintsev
48c4a8a102 feat: restart daemon if it crashes (just in case)
There hasn't been any real scenario of this happening, but it was
requested in https://github.com/ilya-zlobintsev/LACT/issues/359
2024-08-15 10:31:16 +03:00
Ilya Zlobintsev
88e9026c78
fix: avoid malloc_trim non non-gnu systems (#353) 2024-08-06 09:32:55 +03:00
Ilya Zlobintsev
4db593c73f
fix: defer committing clocks/fan settings changes until all the values have been written (#340)
* feat: defer committing settings until all the values have been written

* fix: reset fan curve after setting pmfw values

* chore: switch to amdgpu-sysfs tag
2024-06-16 00:06:51 +03:00
Ilya Zlobintsev
6af78fe97e
doc: add development build info to readme 2024-06-13 19:30:45 +03:00
Ilya Zlobintsev
ca3e54015a fix: only set PMFW options when they're different from the current value 2024-06-13 19:25:38 +03:00
Ilya Zlobintsev
0d675c5b3a chore: drop unused dependency 2024-06-08 11:12:19 +03:00
Ilya Zlobintsev
fa521fd8c7 feat: rearrange graphs in a grid 2024-06-08 11:08:14 +03:00
Ilya Zlobintsev
0062c9ab0e fix: set fan speed graph y axis label to rpm 2024-06-08 10:32:50 +03:00
Ilya Zlobintsev
cc06f61e52 chore: bump dependencies 2024-06-06 23:14:53 +03:00
Ilya Zlobintsev
bd15226229 fix: label text clipping 2024-06-06 23:11:41 +03:00
Ilya Zlobintsev
3f99eab263
feat: add fan speed plot (#338) 2024-06-06 23:06:00 +03:00
Ilya Zlobintsev
fd85122d4a
pkg: add ubuntu 24.04 package (#332) 2024-05-20 09:27:42 +03:00
Ilya Zlobintsev
ea63322083 feat: check /sys/bus/pci/devices for devices that don't have a drm entry initialized
this is yet another attempt to try to determine if LACT started before
drm sysfs is initialized.
2024-05-13 18:59:42 +03:00
Ilya Zlobintsev
aa670be9d6 fix: gracefully handle transient fan control errors 2024-05-11 12:59:27 +03:00
Mag Mell
974e6ff442
fix: fix press 'Enable Overclocking' will panic (#320) 2024-05-09 08:51:25 +03:00
Ilya Zlobintsev
0dce4b395e fix: apply power profile mode after the performance level 2024-04-24 18:25:13 +03:00
Ilya Zlobintsev
c9d708059a fix: find matching debugfs device by searching through all names
instead of relying on pci slot id symlinks, search through all devices
for a matching name, as the symlinks are not available on older
kernels.
2024-04-23 20:48:00 +03:00
Ilya Zlobintsev
6dc35200d7
feat: add support for dumping VBIOS to a file (#305)
* feat: vbios dump daemon implementation

* feat: vbios dump ui
2024-04-22 20:23:35 +03:00
Ilya Zlobintsev
06e061b88e perf: optimize plot drawing 2024-04-22 20:21:07 +03:00
Ilya Zlobintsev
50fea14480
feat: implement historical charts window (#301)
* feat: Implement graph widget in OC tab

* fix: Moved legend to lower left corner

* fix: Fix graph jumping around before getting data for 60 secs

* fix: Fix vertical part of graph jumping around

* chore: Refactoring GraphData to be it's separate struct

* chore: Rename Graph to Plot

* feat: Implement throttling histogram in Plot

* fix: Fix throttling data not being filtered out

* fix: Draw lines in front of throttling histogram and use deep orange non-transparent color

* feat: Cubic spline interpolation for plot

* chrone: Lightly refactor cubic sampling

* feat: Supersample the plot area and reconfigure sizes accordingly

* feat: WIP graphs window

* feat: improvements

* feat: add clockspeed plot

* feat: avoid using JSON to send graph info

* perf: trim clockspeed graph data

* chore: remove unused feature

* perf: use NaiveDateTime for the plot

* feat: add power usage plot

* fix: reset power plot

* dev: add benchmark for drawing plots

* perf: use raw timestamps instead of NaiveDateTime in plot

* fix: avoid running gtk tests in ci

* chore: switch away from git source for plotters-cairo

---------

Co-authored-by: Alik Aslanyan <inline0@pm.me>
2024-04-22 19:21:00 +03:00
Ilya Zlobintsev
d5af85020d
pkg: update the fedora package to build for fedora 40 (#303)
* pkg: update the fedora package to build for fedora 40

* pkg: update workflow

* fix: add new image to config
2024-04-21 18:36:05 +03:00
Ilya Zlobintsev
1576cca132 fix: add update fix to headless and libadwaita arch package builds 2024-04-06 13:00:21 +03:00
Ilya Zlobintsev
f4cf31d57e fix: add system update to arch linux package build script 2024-04-06 12:29:04 +03:00
Ilya Zlobintsev
76e5c2bcc4
fix: avoid freezing the UI when enabling/disabling overdrive (#300) 2024-04-06 12:12:57 +03:00
Ilya Zlobintsev
d9553a91a1
fix: set performance level after the clocks table, reset it to auto before applying a custom value (#298)
* fix: set performance level after setting custom clocks

* test
2024-03-30 22:25:39 +02:00
Username404-59
219d832b91
pkg: lact-daemon-openrc: Support setups without merged usr (#297) 2024-03-30 12:05:49 +02:00
Ilya Zlobintsev
114b165653 fix: skip config file events that happen right after writing the config to avoid unnecessary reloads 2024-03-23 11:53:58 +02:00
Ilya Zlobintsev
a0bc9fd502 feat: set higher process priority (nice value) in the default systemd unit 2024-03-21 19:46:40 +02:00
Ilya Zlobintsev
0ad46e2d08
feat: fan control hysteresis (#292)
* feat: implement a fan spindown delay setting

* chore: change request/response logging to the trace level

* feat: add fan speed change threshold setting

* feat: implement GUI for hysteresis settings

* fix: always set hysteresis settings
2024-03-20 23:45:24 +02:00
Ilya Zlobintsev
16c50970f6 feat: automatically reload configuration when the config file is changed 2024-03-17 13:47:45 +02:00
Ilya Zlobintsev
e74155515d
feat: use drm for getting the gpu device name when possible (#288) 2024-03-16 10:42:49 +02:00
Ilya Zlobintsev
a8711802f0
feat: clearer gpu/card model separation (#287) 2024-03-11 22:45:01 +02:00
Alik Aslanyan
72d6556906
fix: Consistently format GPU statistics in OC page (#282) 2024-03-04 08:41:26 +02:00
Alik Aslanyan
00f32477e7
fix: statistics jumping around in the OC page (#280) 2024-03-04 08:39:24 +02:00
Ilya Zlobintsev
36b48e41b4 chore: supress clippy warning 2024-03-03 23:27:32 +02:00
Ilya Zlobintsev
97b1b70946 chore: bump dependencies 2024-03-03 23:17:49 +02:00
Alik Aslanyan
5a78c72711
feat: improved error reporting, RX 7900 Fixes (#279)
* refactor: Add bunch of .context calls to get more detailed error messages

* refactor: Use serde-error to serialize error with proper backtrace in client/server boundary

* fix: Workaround weird driver bug with RX 7900 XTX and power limit
2024-03-03 21:47:25 +02:00
Ilya Zlobintsev
f55db8116a bump version to 0.5.4 2024-03-02 13:36:07 +02:00
Ilya Zlobintsev
d99cfdf3f3
feat: include git commit in version info (#249)
* feat: report git commit in version info, check commit for mismatches

* feat: use vergen to get commit info

* fix: install git in recipes

* fix: include git dir in pkger builds
2024-03-02 13:07:23 +02:00
Ilya Zlobintsev
9fc0eae90a chore: set opt-level and lto for smaller binary size 2024-03-02 11:58:20 +02:00
Ilya Zlobintsev
b32410acba
doc: fix kofi link 2024-03-02 11:23:52 +02:00
Ilya Zlobintsev
91d8ad7ec9
doc: create FUNDING.yml 2024-03-02 11:23:12 +02:00
Ilya Zlobintsev
121d2cf506
doc: add issue templates (#278)
* doc: add issue templates

* use form for bug report template

* add missing field

* separate description and system info fields
2024-03-02 11:12:30 +02:00
Ilya Zlobintsev
c058c62c77
doc: update README hardware support table (#277) 2024-03-02 10:52:13 +02:00
Ilya Zlobintsev
d1acdde89c feat: improve fan curve point adjustment, add ability to manually set the speed value 2024-02-29 21:31:52 +02:00
Ilya Zlobintsev
f1233c5b16 chore: bump version 2024-02-25 13:35:37 +02:00
Ilya Zlobintsev
4345548446 fix: dont fail release creation on artifact errors 2024-02-25 12:53:37 +02:00
Ilya Zlobintsev
b7e9dc76e6
feat: add package signing to fedora packages (#276) 2024-02-25 12:45:39 +02:00
Ilya Zlobintsev
c5ff5b3d01 fix: include name in the hwmon snapshot 2024-02-25 10:15:32 +02:00