Archived
1
1
Fork 0
This repository has been archived on 2024-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
amdgpu_stats/README.md

43 lines
1.3 KiB
Markdown
Raw Normal View History

2023-04-21 05:42:38 +00:00
# amdgpu_stats
Simple TUI _(using [Textual](https://textual.textualize.io/))_ that shows AMD GPU statistics:
2023-04-21 22:45:40 +00:00
- GPU Utilization
- Temperature
- Core clock
- Core voltage
- Memory clock
- Power consumption
- Power limits
- Default
- Configured
- Board capability
- Fan RPM
- Current
- Target
2023-04-21 05:42:38 +00:00
*Note:* Tested _only_ on `RX6000` series cards -- will support more with help, please file an issue.
## Requirements
Only `Linux` is supported. Information is _completely_ sourced from interfaces in `sysfs`.
2023-04-21 17:39:34 +00:00
### Python
The Fedora base repositories provide the requirements with these packages:
- `python3-humanfriendly`
- `python3-textual`
See [requirements.txt](requirements.txt) for other distributions
### Kernel
2023-04-21 15:48:02 +00:00
It _may_ be necessary to update the `amdgpu.ppfeaturemask` parameter to enable data collection.
This is assumed for *control* over the elements being monitored. Untested without. See [this](https://wiki.archlinux.org/title/AMDGPU#Boot_parameter) for context
2023-04-21 15:48:50 +00:00
## Screenshots
Main screen:
2023-04-21 23:54:52 +00:00
![Screenshot of main screen](screens/main.png "Main screen")
2023-04-21 15:48:50 +00:00
Log screen:
2023-04-21 23:54:52 +00:00
![Screenshot of log screen](screens/logging.png "Logging screen")
2023-04-21 22:55:09 +00:00
Only the statistic files and toggling Dark/Light mode are logged; metrics will be added with a configurable interval.