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-22 09:35:52 -05:00
screens improve layout: decouple labels from values 2023-04-22 01:01:33 -05:00
.gitignore add 'ignore' directory, scratch files 2023-04-21 18:53:04 -05:00
gpustats.py improve layout: decouple labels from values 2023-04-22 01:01:33 -05:00
README.md shuffle requirements, consolidate Linux notes 2023-04-22 09:35:52 -05:00
requirements.txt add requirements.txt w/ tested versions 2023-04-21 11:57:37 -05:00
stats.css improve layout: decouple labels from values 2023-04-22 01:01:33 -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; more may be supported. Please file an issue if incompatibility is found!

Requirements

Only Linux is supported. Information is completely sourced from interfaces in sysfs.

It may be necessary to update the amdgpu.ppfeaturemask parameter to enable metrics.

This is assumed present for control over the elements being monitored. Untested without.

See this Arch Wiki entry for context.

Python

The Fedora base repositories provide the requirements with these packages:

  • python3-humanfriendly
  • python3-textual

See requirements.txt for other distributions

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.