Commit Graph

512 Commits

Author SHA1 Message Date
Ilya Zlobintsev
1e7d0873ff feat: handle scenarios when only the fan PWM is present, without speed readings 2024-02-25 10:15:08 +02:00
Ilya Zlobintsev
487b35ec18
feat: display info about throttling (#274)
* feat: add throttling info

* fix: empty throttling text
2024-02-24 18:51:12 +02:00
Ilya Zlobintsev
54370e9b22
refactor: use blueprint for the info page (#273)
* feat: use blueprint for hardware info

* chore: unify padding

* fix: opensuse libadwaita build
2024-02-24 16:07:42 +02:00
Mershl
e91bc46a0f
fix: avoid selectable labels for dynamic info (#270)
Make InfoRow labels not selectable by default. Allow an override of the attribute in the template (for Software tab for example).

Motivation:
GTK will place the blinking cursor on the first selectable label of a view/tab. Placing the cursor on dynamic info like the current GPU Core Clock will show the cursor jumping around as the number of digits change a lot (best seen in the OC tab).

As the selection of a label is discarded on update of a label (which happens multiple times a second for a lot of the OC and Thermals values) the cursor is just a visual distraction rather than a feature.
2024-02-22 22:18:02 +02:00
Umio Yasuno
749bb1d91c
fix: Fix amdgpu_bo_cpu_map failed error in embedded mode (#264) 2024-02-10 08:28:56 +02:00
Ilya Zlobintsev
21dbbd81f9
fix: intermittent CI failures due to a pkger distro detection error
* debug: enable pkger tracing

* fix: manually specify distro names in pkger config
2024-02-10 08:27:53 +02:00
Ilya Zlobintsev
61041e4731
feat: OpenSUSE packaging (#262)
* feat: OpenSUSE packaging

* fix: dbus dependency

* fix: add libadwaita-devel

* doc: update readme
2024-02-07 22:00:40 +02:00
Ilya Zlobintsev
9d943bdce0
doc: add socket permission notes to README (#260) 2024-02-06 08:58:17 +02:00
Ilya Zlobintsev
e672ed4621
fix: segfault caused by incorrect usage of fork in the embedded daemon (#259)
Fixes https://github.com/ilya-zlobintsev/LACT/issues/204
2024-02-06 08:37:20 +02:00
Ilya Zlobintsev
1bbea44dc2 feat: compress debug snapshots into .tar.gz, include system info in them
GitHub does not allow plain .tar uploads but allows .tar.gz
2024-02-04 23:54:18 +02:00
Ilya Zlobintsev
519b4b1b15 chore: update dependencies, adopt breaking changes 2024-02-04 23:32:08 +02:00
Ilya Zlobintsev
f90a817085 chore: restructure Cargo.toml files to use workspace-level dependencies 2024-02-04 23:14:50 +02:00
Konstantin Fedotov
66c3f298c2
LACT OpenRC support (#256)
* Added example of OpenRC service

* Updated service so it runs lact from $PATH
2024-01-26 16:42:56 +02:00
Umio Yasuno
28c9f75969
feat: display current_gfxclk if available (#250)
* feat: display current_gfxclk if available

* fix: check current_gfxclk is not equal u16::MAX

* fix: update label
2024-01-26 09:48:02 +02:00
pastalian
0736664616
doc: add Gentoo installation (#252) 2024-01-23 13:14:53 +02:00
Ilya Zlobintsev
292c94a9c4 feat: add support for disabling overdrive 2024-01-22 19:56:05 +02:00
Ilya Zlobintsev
422343315d chore: update dependencies, switch to stable release of amdgpu-sysfs 2024-01-21 10:43:08 +02:00
Ilya Zlobintsev
8a85b2b8d6
feat: add support for custom fan curves and static fan speed on RDNA3 (#248)
* feat: add support for custom fan curves and static fan speed on RDNA3

* fix: use gpu-provided min and max fan speed values

* fix: set min temperature point too in static curve

* fix: reset fan curve when switching mode back

* fix: normalize fan speed values by taking min speed into account

* test

* Revert "test"

This reverts commit dbd37bdc0b.

* fix: dont use the upper range value as visibility trigger for oc scales

* fix visibility

* Revert "fix: normalize fan speed values by taking min speed into account"

This reverts commit 945cfd23e6.

* fix: get_adjustment_value

* doc: update README
2024-01-20 19:06:49 +02:00
FineFindus
a8c2c60f4a
feat: close VulkanFeaturesWindow with shortcut (#245) 2024-01-14 19:21:35 +02:00
Ilya Zlobintsev
20028cc101 feat: disable thermals controls on rdna3+ when overdrive is disabled, as it is not writeable 2024-01-14 12:24:52 +02:00
Ilya Zlobintsev
57d419c92f feat: use gpu-provided allowed range for voltage offset when it is available 2024-01-13 12:10:22 +02:00
Ilya Zlobintsev
4797ea54f7 feat: add support for regenerating initramfs on fedora 2024-01-13 11:33:14 +02:00
Ilya Zlobintsev
059b66b96d fix: bump amdgpu-sysfs-rs with fix for https://github.com/ilya-zlobintsev/LACT/issues/242 2024-01-12 19:41:13 +02:00
Ilya Zlobintsev
abef69c852 fix: make snapshot file read errors non-fatal 2024-01-12 19:17:24 +02:00
FineFindus
b107a83bb3
chore: add keywords to dektop file (#241) 2024-01-10 08:31:34 +02:00
Ilya Zlobintsev
8a05429c0f
doc: Update README.md 2024-01-08 09:15:21 +02:00
Ilya Zlobintsev
2faea931d2
feat: initial support for RDNA3 fan configuration (PMFW) (#239)
* wip

* feat: basic PMFW options gui

* bump amdgpu-sysfs

* test

* test 2

* test 3

* revert test

* fix: set pmfw settings last

* fix: always set pmfw values

* feat: reset pmfw button

* fix: reset button placement

* chore: cleanup

* chore: bump version

* feat: clean up pmfw settings on exit

* fix
2024-01-07 17:03:56 +02:00
Ilya Zlobintsev
ce1cd56444 doc: update information on initramfs in README 2024-01-07 11:25:31 +02:00
Ilya Zlobintsev
5610e72ab6 feat: automatically regenerate initramfs on arch and debian-based systems
https://github.com/ilya-zlobintsev/LACT/issues/236
https://github.com/ilya-zlobintsev/LACT/issues/190
2024-01-07 11:07:38 +02:00
Ilya Zlobintsev
ea6d4d2733 feat: include 7000 series fan control files in sysfs snapshot 2024-01-05 13:10:15 +02:00
Ilya Zlobintsev
b63ea9b16b chore: bump dependencies 2023-12-30 13:01: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
509640f133 fix: bump amdgpu-sysfs with 5000 series table vddc curve clearing fix
https://github.com/ilya-zlobintsev/LACT/issues/212
2023-12-20 22:59:21 +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
999418ad67
feat: add alternative headless and libadwaita builds (#227)
* feat: add packages for libadwaita version

* feat: package builds attempt

* fix: add cargo feature

* fix: workflow matrix

* fix: add missing images

* fix: condition target

* fix: depends

* feat: actually add the adwaita feature

* use multiple recipes

* add headless recipe

* fix: add conflicts to package manifests

* fix: only build the required crate in makefile

* fix: actually build headless in the headless recipe

* fix: add missing headless dependencies
2023-12-09 21:12:53 +02:00
Gabriele Musco
b751f6ff91
feat: install svg icon; fix some install permissions (#226)
Co-authored-by: Gabriele Musco <gabmus@disroot.org>
2023-12-02 09:17:49 +02:00
Gabriele Musco
a5230f7174
feat: new icon (#223)
Co-authored-by: Gabriele Musco <gabmus@disroot.org>
2023-12-01 22:48:12 +02:00
Neal Gompa (ニール・ゴンパ)
e216a51237
fix: set lactd to run without requiring graphical mode (#221)
The lact daemon is usable in a command-line environment, since it
can be interfaced with via the command line. As it's useful in
headless setups, alter the systemd service unit to permit it.
2023-11-25 21:56:59 +02:00
Neal Gompa (ニール・ゴンパ)
e9229ad7b0
fix: Use DESTDIR properly in the Makefile and introduce PREFIX (#220)
This allows for packaging tooling to use the Makefile properly.
2023-11-25 18:12:50 +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
pastalian
2009007c6b
fix: allow gui build without drm (#217)
lact-daemon with default features depends on drm, which breaks build
without drm.
2023-11-25 12:29:38 +02:00
David Marzal
0db71731d4
chore: install systemd service as non-executable (#218)
As per https://aur.archlinux.org/packages/lact#comment-945155
2023-11-25 12:23:47 +02:00
Ilya Zlobintsev
7e2791e79a
doc: add blueprint-compiler version info to build dependencies 2023-11-24 15:58:57 +02:00
Ilya Zlobintsev
3eb6a971c1 chore: bump dependencies 2023-11-21 22:50:53 +02:00