Archived
1
1
Fork 0
A Python module/TUI that provides AMD GPU statistics
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.
Find a file
2023-04-21 18:54:52 -05:00
screens move screenshots to subdir 2023-04-21 18:54:52 -05:00
.gitignore add 'ignore' directory, scratch files 2023-04-21 18:53:04 -05:00
gpustats.py improve AMDGPU detect, consolidate funcs/imports 2023-04-21 18:45:42 -05:00
README.md move screenshots to subdir 2023-04-21 18:54:52 -05:00
requirements.txt add requirements.txt w/ tested versions 2023-04-21 11:57:37 -05:00
stats.css space -> tab 2023-04-21 00:58:51 -05:00

amdgpu_stats

Simple TUI (using Textual) that shows AMD GPU statistics:

  • GPU Utilization
  • Temperature
  • Core clock
  • Core voltage
  • Memory clock
  • Power consumption
  • Power limits
    • Default
    • Configured
    • Board capability
  • Fan RPM
    • Current
    • Target

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.

Python

The Fedora base repositories provide the requirements with these packages:

  • python3-humanfriendly
  • python3-textual

See requirements.txt for other distributions

Kernel

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 for context

Screenshots

Main screen: Screenshot of main screen

Log screen: Screenshot of log screen Only the statistic files and toggling Dark/Light mode are logged; metrics will be added with a configurable interval.