Commit Graph

69 Commits

Author SHA1 Message Date
Ilya Zlobintsev
496cec843e Remove unused GetPowerCap method 2021-03-02 16:20:48 +02:00
Ilya Zlobintsev
77d0eb3104 Add power cap adjustment 2021-03-02 16:18:51 +02:00
Ilya Zlobintsev
951f564895 Formatting 2021-03-02 15:13:40 +02:00
Ilya Zlobintsev
cd2f3ddd70 Show GPU usage and temperature on the OC page 2021-03-02 15:11:45 +02:00
Ilya Zlobintsev
7db3cbac35 Make socket permissions configurable 2021-03-02 10:01:08 +02:00
Ilya Zlobintsev
b2edcf60a8 Have a user agent for online PCI ID database updating 2021-03-01 22:31:30 +02:00
Ilya Zlobintsev
4d61971a08 Ask the user permission to use the online database 2021-03-01 15:10:53 +02:00
Ilya Zlobintsev
6b02b4a31c Make config json pretty 2021-03-01 13:54:50 +02:00
Ilya Zlobintsev
ce3f26865a Add support for getting the PCI ID database online 2021-03-01 13:50:35 +02:00
Ilya Zlobintsev
eead50ffae Formatting and cleanup 2021-03-01 10:36:56 +02:00
Ilya Zlobintsev
7aab85f123 Move PCI ID parsing to an external library 2021-03-01 10:31:27 +02:00
Ilya Zlobintsev
d19201aa6c Remove panic in test 2021-02-27 08:40:40 +02:00
Ilya Zlobintsev
431c788963 Fix settings not applying on application launch 2021-02-27 08:40:21 +02:00
Ilya Zlobintsev
d7d1d8e873 Basic, buggy support for Vega20+ clocks table format 2021-02-27 08:34:28 +02:00
Ilya Zlobintsev
60089e128a Change ClocksTable to be a enum for adaptability 2021-02-26 12:04:28 +02:00
dependabot-preview[bot]
b83af4a841 Rebase
Updates the requirements on [signal-hook](https://github.com/vorner/signal-hook) to permit the latest version.
- [Release notes](https://github.com/vorner/signal-hook/releases)
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/signal-hook/compare/v0.1.0...v0.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 12:04:18 +02:00
dependabot-preview[bot]
6a1d1872cb Update signal-hook requirement from 0.1 to 0.3 (#9)
* Update signal-hook requirement from 0.1 to 0.3

Updates the requirements on [signal-hook](https://github.com/vorner/signal-hook) to permit the latest version.
- [Release notes](https://github.com/vorner/signal-hook/releases)
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/signal-hook/compare/v0.1.0...v0.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix compatability with newer signal hook

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ilya Zlobintsev <ilya.zl@protonmail.com>
2021-02-25 21:00:43 +02:00
dependabot-preview[bot]
6dbd844cd0 Update rand requirement from 0.7 to 0.8 (#10)
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 20:55:14 +02:00
Ilya Zlobintsev
97df41f9fe Fix naming error 2021-02-16 18:21:54 +02:00
Ilya Zlobintsev
114735b6fe Refactor daemon_connection 2021-02-16 18:19:33 +02:00
ilyazzz
f2ab509be0 Merge branch 'master' into ui-rewrite 2021-02-12 08:48:16 +02:00
Ilya Zlobintsev
68bbd7fc15 Implement clock settings 2021-02-12 08:30:58 +02:00
Ilya Zlobintsev
dbd8f5e0d3 Update non-static info in GpuInfo on get_info() 2021-02-10 12:15:41 +02:00
Ilya Zlobintsev
e8e6dc4ed3 Only get gpu info once on application launch and properly handle cases where some features aren't supported 2021-02-09 12:08:20 +02:00
Ilya Zlobintsev
50d8d1a8c7 Restrict socket access 2021-02-09 12:08:20 +02:00
Ilya Zlobintsev
59c6a0e3ab Restrict socket access 2021-02-08 16:18:07 +02:00
Ilya Zlobintsev
c7852fed4d Make separate revealer for the apply button and show/hide it on demand 2021-02-08 10:44:56 +02:00
Ilya Zlobintsev
11b9844f9a Fix build under rust stable 2021-02-07 22:45:28 +02:00
Ilya Zlobintsev
3b4bbcc4c6 Add vulkan feature list 2021-01-31 11:26:09 +02:00
Ilya Zlobintsev
b7da2cbad5 Reworked the pci.ids parser 2021-01-21 09:41:19 +02:00
Ilya Zlobintsev
11bb5d60f9 Added a test for clocks table parsing 2021-01-20 23:06:10 +02:00
Ilya Zlobintsev
671cd59b00 Refactored clocks table parsing and added a test 2021-01-20 14:10:36 +02:00
Ilya Zlobintsev
b6068dde8c Fixed crash on invalid pp_od_clk_voltage 2021-01-13 21:57:38 +02:00
Simon Gündling
83fb3f5516 update vulkano to v0.20 (#6)
fixes compilation error see https://github.com/vulkano-rs/vulkano/issues/1464
2021-01-06 17:04:23 +02:00
neon-sunset
382ee38e66 Lazy fix to ensure there is no ParseIntError { kind: PosOverflow } and small naming fix (#5)
Changing voltage and PWM values to i64 is unnecessary, but it's fine as long as it doesn't break anything
2020-12-23 11:17:31 +02:00
neon-sunset
45ab06c661 Fix the parsing of gpu and memory clk/voltage table (#3)
* Fix the parsing of gpu and memory clk/voltage table

* Fix error handling

* Remove debug println

Co-authored-by: ilyazzz <ilya.zl@protonmail.com>
2020-12-17 10:16:15 +02:00
Ilya Zlobintsev
f0b081174f Remove the socket on daemon shutdown 2020-11-23 20:50:27 +02:00
Ilya Zlobintsev
bac483c619 Hopefully(?) fix crashes on gpus with some features not exposed 2020-11-23 20:13:10 +02:00
Ilya Zlobintsev
e308f6ff71 Reset power states on shutdown 2020-11-22 14:41:03 +02:00
Ilya Zlobintsev
6dc0f7b13f Save clocks/voltage modification 2020-11-22 13:29:05 +02:00
Ilya Zlobintsev
65780bb881 Implemented basic GPU/VRAM clocks and voltage tuning support 2020-11-22 11:58:40 +02:00
Ilya Zlobintsev
d66c7dca69 Added Power Levels reading support (pp_od_clk_voltage) 2020-11-20 17:29:38 +02:00
Ilya Zlobintsev
e58663f7a9 Implemented Power Profile management 2020-11-20 10:54:24 +02:00
Ilya Zlobintsev
d9dda8ed25 Switch to automatic fan control on exit 2020-11-16 08:57:56 +02:00
Ilya Zlobintsev
d884631f8a Power cap saving 2020-11-15 20:47:56 +02:00
Ilya Zlobintsev
239af5a2af Implemented GPU power cap modification 2020-11-14 09:09:28 +02:00
Ilya Zlobintsev
69aafd2a54 Fixed GPU model detection 2020-11-12 14:44:32 +02:00
Ilya Zlobintsev
fb9fb3f161 Updated GUI for multi-GPU support 2020-11-12 14:35:35 +02:00
Ilya Zlobintsev
6a9a4a12ca Config support for multi-GPU setups 2020-11-12 14:12:22 +02:00
Ilya Zlobintsev
d5d0829e4e Added pci.ids path for ubuntu and fixed crash for GPUs without hwmon interface 2020-11-11 17:25:37 +02:00