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 20:03:30 -05:00
screens add dynamic (context aware) temperature sources 2023-04-22 12:56:09 -05:00
.gitignore add 'ignore' directory, scratch files 2023-04-21 18:53:04 -05:00
gpustats.py add argparse/interval: make polling configurable 2023-04-22 20:03:30 -05:00
README.md add dynamic (context aware) temperature sources 2023-04-22 12:56:09 -05:00
requirements.txt add requirements.txt w/ tested versions 2023-04-21 11:57:37 -05:00
stats.css add dynamic (context aware) temperature sources 2023-04-22 12:56:09 -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 Only the statistic files and toggling Dark/Light mode are logged; metrics will be added with a configurable interval.