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 21:59:05 -05:00
screens try to improve arrangement/formatting consistency 2023-04-22 21:59:05 -05:00
.gitignore add 'ignore' directory, scratch files 2023-04-21 18:53:04 -05:00
gpustats.py try to improve arrangement/formatting consistency 2023-04-22 21:59:05 -05:00
README.md update comment RE: logging 2023-04-22 21:36:39 -05:00
requirements.txt add requirements.txt w/ tested versions 2023-04-21 11:57:37 -05:00
stats.css +sub-headers, -repetition. -padding for fit 2023-04-22 21:32:35 -05:00
todo.md more notes on argparse/unit todos 2023-04-22 13:53:23 -05:00

amdgpu_stats

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

  • GPU Utilization
  • Temperatures (as applicable)
    • Edge
    • Junction
    • Memory
  • Core clock
  • Core voltage
  • Memory clock
  • Power consumption
  • Power limits
    • Default
    • Configured
    • Board capability
  • Fan RPM
    • Current
    • Target

Tested only on RX6000 series cards; more may be supported. Please file an issue if finding incompatibility!

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 This is logged:

  • stat names and their sysfs files; not values (yet?)
  • toggling Dark/Light mode