LACT/README.md

119 lines
3.1 KiB
Markdown
Raw Normal View History

# Linux AMDGPU Control Application
2023-02-19 13:35:07 -06:00
<img src="res/io.github.lact-linux.png" alt="icon" width="100"/>
This application allows you to control your AMD GPU on a Linux system.
2020-11-20 03:04:05 -06:00
| | | |
|----------------------------------------------|----------------------------------------------|---------------------------------------------|
2021-03-02 09:38:12 -06:00
|![Screenshot](https://i.imgur.com/crEN4az.png)|![Screenshot](https://i.imgur.com/x7fTKpT.png)|![Screenshot](https://i.imgur.com/idAER4B.png)
2020-11-20 03:04:05 -06:00
Current features:
- Viewing information about the GPU
- Power/thermals monitoring
- Fan curve control
- Basic overclocking
Currently missing:
2021-02-27 01:06:51 -06:00
- Precise clock/voltage curve manipulation (currently can only set the maximum values)
# Installation
2021-03-24 11:18:54 -05:00
- Arch Linux: Install the [AUR Package](https://aur.archlinux.org/packages/lact/) (or the -git version)
- Debian/Ubuntu/Derevatives: Download a .deb from [releases](https://github.com/ilya-zlobintsev/LACT/releases/).
It is only available on Debian 12+ and Ubuntu 22.04+ as older versions don't ship gtk4.
- Fedora: an rpm is available in [releases](https://github.com/ilya-zlobintsev/LACT/releases/).
2021-03-24 11:18:54 -05:00
- Otherwise, build from source:
**Why is there no AppImage/Flatpak/other universal format?**
See [here](./pkg/README.md).
# Configuration
There is a configuration file available in `/etc/lact/config.yaml`. Most of the settings are accessible through the GUI, but some of them may be useful to be edited manually (like `admin_groups` to specify who has access to the daemon)
2021-03-24 11:18:54 -05:00
# Building from source
Dependencies:
- rust
- gtk4
- pkg-config
- make
- hwdata
2021-03-02 09:38:12 -06:00
Steps:
- `git clone https://github.com/ilya-zlobintsev/LACT && cd LACT`
- `make`
- `sudo make install`
# Usage
Enable and start the service (otherwise you won't be able to change any settings):
```
sudo systemctl enable --now lactd
```
2020-10-30 02:13:09 -05:00
You can now use the application.
2021-02-08 08:18:07 -06:00
2021-02-27 23:59:00 -06:00
# CLI
There is also a cli available.
- Getting basic information:
`lact cli info`
2021-02-27 23:59:00 -06:00
Example output:
```
GPU Model: Radeon RX 570 Pulse 4GB
GPU Vendor: Advanced Micro Devices, Inc. [AMD/ATI]
Driver in use: amdgpu
VBIOS Version: 113-1E3871U-O4C
VRAM Size: 4096
Link Speed: 8.0 GT/s PCIe
```
- Getting current GPU stats:
`lact cli metrics`
2021-02-27 23:59:00 -06:00
Example output:
```
VRAM Usage: 545/4096MiB
Temperature: 46°C
Fan Speed: 785/3200RPM
GPU Clock: 783MHz
GPU Voltage: 0.975V
VRAM Clock: 1750MHz
Power Usage: 38/155W
```
- Showing the current fan curve:
`lact cli curve status`
2021-02-27 23:59:00 -06:00
Example output:
```
Fan curve:
20C°: 0%
40C°: 0%
60C°: 50%
80C°: 88%
100C°: 100%
2021-03-02 09:38:12 -06:00
```
2021-03-03 00:21:29 -06:00
# Reporting issues
When reporting issues, please include your system info and GPU model.
2021-03-03 00:21:29 -06:00
If there's a crash, run `lact gui` from the command line to get logs, or use `journalctl -u lactd` to see if the daemon crashed.
2021-03-03 00:21:29 -06:00
2022-01-02 00:48:10 -06:00
# Alternatives
If LACT doesn't do what you want, make sure to check out [CoreCtrl](https://gitlab.com/corectrl/corectrl).