Commit Graph

615 Commits

Author SHA1 Message Date
Ilya Zlobintsev
8994dff51f Merge with master 2025-01-05 15:08:23 +02:00
Ilya Zlobintsev
5d16d67ea9 chore: drop println 2025-01-04 18:13:25 +02:00
Ilya Zlobintsev
4e66975b02 feat: dynamically load libdrm for intel 2025-01-04 17:23:22 +02:00
Ilya Zlobintsev
8608f62e28 chore: disable currently unused xe headers 2025-01-04 16:35:30 +02:00
Ilya Zlobintsev
086ddae1bc fixes 2025-01-04 15:37:40 +02:00
Ilya Zlobintsev
e63e168afb Merge branch 'master' into feature/intel 2025-01-04 15:32:39 +02:00
Umio Yasuno
3afbcb2221
feat: dynamic loading of libdrm and libdrm_amdgpu (#438)
* feat: dynamic loading of libdrm and libdrm_amdgpu

* fix: libdrm_amdgpu_sys requires rustc 1.80.0 for exclusive_range_pattern

* feat: update libdrm_amdgpu_sys to 0.8.1

* fix: remove Rc wrapper for LibDrmAmdgpu

* pkg: bump rust version used to build packages

---------

Co-authored-by: Ilya Zlobintsev <ilya.zl@protonmail.com>
2025-01-04 15:04:07 +02:00
Ilya Zlobintsev
dfcfa8e10d refactor: GPU controller initialization 2025-01-04 14:54:06 +02:00
Ilya Zlobintsev
9c100b058d wip 2025-01-04 09:56:01 +02:00
Ilya Zlobintsev
02e4e400e0 feat: generate drm bindings for xe 2025-01-01 13:35:38 +02:00
Ilya Zlobintsev
bf73acbdc2 fix: more test fixes 2025-01-01 11:08:54 +02:00
Ilya Zlobintsev
3f24795415 chore: ignore clippy errors on bindgen file 2025-01-01 10:48:51 +02:00
Ilya Zlobintsev
bce6eb2043 refactor: exclude all system-dependent info in tests with conditional compilation 2025-01-01 09:45:50 +02:00
Ilya Zlobintsev
0f42435a0a Merge branch 'master' into feature/intel 2025-01-01 09:23:28 +02:00
Ilya Zlobintsev
1d44df1652
doc: document all configuration options (#436)
* doc: add configuration docs

* add missing fields to doc

* chore: minor doc update
2024-12-31 19:30:35 +02:00
Ilya Zlobintsev
e1457cad54
fix: apply pstates correctly when clocks settings are used (#437)
* fix: apply pstates after clocks table and other settings

* fix: take vram clock ratio into account for pstates
2024-12-31 19:03:39 +02:00
Ilya Zlobintsev
2def70c5de feat: show EUs and subslices in UI 2024-12-31 12:19:11 +02:00
Ilya Zlobintsev
1795ec9532 feat: intel DRM info 2024-12-31 11:00:48 +02:00
Ilya Zlobintsev
6d89c13927 fix: applying frequency settings on i915 2024-12-29 15:08:15 +02:00
Ilya Zlobintsev
b832087dfd wip i915 freq controls 2024-12-29 14:28:29 +02:00
Ilya Zlobintsev
29f04bd687 feat: basic gpu clock configuration 2024-12-26 16:44:51 +02:00
Ilya Zlobintsev
22bf7257f8 WIP: add initial intel xe/i915 support 2024-12-26 16:44:51 +02:00
Ilya Zlobintsev
08a3d5b90e dev: add test data for more RDNA2, RDNA1 and Sea Islands 2024-12-26 14:10:19 +02:00
Ilya Zlobintsev
5882cf7800 fix: save config on profile rule changes 2024-12-26 13:14:41 +02:00
Ilya Zlobintsev
f452ebed91 fix: don't check for the minimum temperature limit in custom fan curves,
as it is not reported correctly anywhere anyway
2024-12-26 13:08:59 +02:00
Ilya Zlobintsev
240d4b1477 fix: ignore temperature_key if GPU only has a single sensor 2024-12-26 13:00:44 +02:00
Ilya Zlobintsev
a7b29afe60 chore: dont show extra info in InfoRow when the value is unknown 2024-12-26 12:41:28 +02:00
Ilya Zlobintsev
4fe3c9882e fix: reload non-stats-based info in the UI when the profile changes 2024-12-26 12:37:36 +02:00
Ilya Zlobintsev
21df725c42 fix: avoid spamming error windows 2024-12-26 12:23:54 +02:00
Ilya Zlobintsev
64a2d3106b
feat: automatic profile switching based on rules (#424)
* feat: profile ordering

* feat: profile matching logic

* feat: automatic switching

* perf: optimize profile rules evaluation

* feat: detect gamemode process start

* feat: add benchmark for profiles matching

* perf: string interner, inline hot function

* feat: option to enable auto profile switching

* wip

* chore: change label

* chore: minor profile switching fixes

* chore: drop interner

* wip

* refactor: header messages

* feat: delay profile evaluation

* fix: moving profiles around

* feat: initial profile rule editor UI

* refactor: only create one RuleWindow instead of creating it per-row

* feat: add option to include profile watcher state in api response

* feat: ui for selecting process name

* feat: API endpoint to evaluate a single profile rule

* perf: store process names in a map to speed up profile evaluation

* feat: full configurability in the UI, many improvements

* fix: downgrade dependency to build on older rust

* fix: deleting currently active profile

* fix: populate profiles list when it's empty

* fix: pin project to rust 1.78

* fix: setting args

* fix: running benchmarks
2024-12-25 23:52:35 +02:00
Ilya Zlobintsev
f0a878909c
feat: configurable graphs period (#431)
* chore: update test snapshot

* feat: configurable graphs period
2024-12-22 15:13:46 +02:00
Ilya Zlobintsev
7d5d6b96e5 feat: bump amdgpu-sysfs with support for RDNA3 mobile power profile parsing 2024-12-20 00:09:47 +02:00
Ilya Zlobintsev
0625b55748
test: add tests for retrieving data from various debug snapshots (#429)
* test: add tests for retrieving data from various debug snapshots

* chore: add power profiles mode to snapshot, add rx 7700s test data

* fix: update rust workflow
2024-12-18 23:55:31 +02:00
Ilya Zlobintsev
571d5d9fcf pkg: update blueprint-builder link in deb builds 2024-12-07 21:14:22 +02:00
Red007Master
64ecff471f
doc: add example on how to change profile to API documentation (#425) 2024-11-27 10:21:32 +02:00
Ilya Zlobintsev
73adb1aba2 fix: always use applied clock offset values instead of reading them from NVML, bigger grace period for self-inflicted config changes 2024-11-24 16:45:25 +02:00
Twig6943
490929f94d
chore: update description in desktop entry (#423) 2024-11-24 15:20:05 +02:00
Ilya Zlobintsev
1ce97f682c chore: bump nvml-wrapper 2024-11-22 21:18:56 +02:00
Ilya Zlobintsev
f832369bab chore: clarify version mismatch message 2024-11-16 22:37:14 +02:00
Ilya Zlobintsev
a26bcec806 feat: show error when NVML is not loaded while the nvidia driver is present 2024-11-16 14:49:21 +02:00
Ilya Zlobintsev
885e32d2dd chore: avoid serializing null fields in device stats and info 2024-11-16 13:54:19 +02:00
Ilya Zlobintsev
419814ea38 chore: bump version 2024-11-16 13:37:36 +02:00
Ilya Zlobintsev
ebe3495cb5 fix: bump nvml-wrapper with workaround for multiple possible library
paths to account for weird nobara linux packaging
2024-11-16 13:22:05 +02:00
Ilya Zlobintsev
6527cd3904
doc: link Fedora Copr package in install instructions 2024-11-14 22:29:02 +02:00
Ilya Zlobintsev
3aa30714a2 chore: mark automatically created releases as draft 2024-11-14 22:01:07 +02:00
Ilya Zlobintsev
f513e0554c
pkg: update fedora copr spec (#412) 2024-11-14 21:55:28 +02:00
Ilya Zlobintsev
3fd7e0e22b
fix: fedora spec non-default builds (#410) 2024-11-14 19:39:45 +02:00
Ilya Zlobintsev
7119b401ad pkg: drop invalid copr trigger check 2024-11-14 10:20:47 +02:00
Ryan Bateman
0ac9d3b46b
pkg: Generate Spec Files for COPR on Release Publish (#406)
* COPR spec generation

* clean up testing specs, add autogenerated spec warning md file

* fix github release event var references

* coerce release url from other vars

* add extra config for hitting copr webhook on chore pr merge

* Address PR feedback

* initial set of spec files

* fix: include rust in spec BuildRequires

---------

Co-authored-by: Ilya Zlobintsev <ilya.zl@protonmail.com>
2024-11-14 10:15:22 +02:00
Ilya Zlobintsev
3e53e0336e
feat: add RDNA3 zero RPM setting (#393)
* feat: add zero rpm setting

* feat: update zero rpm interface

* chore: use upstream amdgpu-sysfs

* feat: include zero rpm files in debug snapshots

* doc: update readme

* doc: improve
2024-11-14 00:11:24 +02:00