Teddy-Kun / amdgpu_top

Tool to display AMDGPU usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMDGPU_TOP

amdgpu_top is tool that display AMD GPU utilization, like umr or clbr/radeontop or intel_gpu_top.
The tool displays information gathered from performance counters (GRBM, GRBM2, CP_STAT), sensors, fdinfo, and AMDGPU driver.

amdgpu_top screenshot

Usage

cargo run -- [options ..]

Option

USAGE:
    cargo run -- [options ..] or <amdgpu_top> [options ..]

FLAGS:
   -d, --dump
       Dump AMDGPU info (name, clock, chip_class, VRAM, PCI, VBIOS)
   -J
       Output JSON formatted data
   -s <i64>, --ms <i64>
       Refresh period in milliseconds, used for `-J` option
   -p <i32>, --pid <i32>
       Specification of PID, used for `-J` option

OPTIONS:
   -i <u32>
       Select GPU instance

Command

key
g toggle GRBM
r toggle GRBM2
c toggle CP_STAT (Prefetch Parser, Micro Engine, Scratch Memory, ..)
p toggle PCI
v toggle VRAM/GTT Usage
f toggle fdinfo
n toggle Sensors
m toggle GPU Metrics
h change update interval (high = 100ms, low = 1000ms)
q Quit
P sort fdinfo by pid
M sort fdinfo by VRAM usage
G sort fdinfo by GFX usage
M sort fdinfo by MediaEngine usage
R reverse sort

Installation

Packages

Build from source

Dependencies:

  • libdrm2
  • libdrm-amdgpu1
git clone https://github.com/Umio-Yasuno/amdgpu_top
cd amdgpu_top
cargo install --locked --path .

Library

Reference

Alternatives

If amdgpu_top is not enough for you or you don't like it, try the following applications.

About

Tool to display AMDGPU usage

License:MIT License


Languages

Language:Rust 100.0%