PROPHET/OS

NAME

gpu: shows the live values of every graphics card, or only card n

SYNOPSIS

gpu [-l] [-v] [-a] [card]

DESCRIPTION

Shows the live values of every graphics card, or only card n: the load of its engines, the memory in use, temperature, power and its limit, the clocks of every domain and what holds them back, the performance state and the traffic over its link, read twice a second apart (the memory in use once this side hands it out). -l shows them again every second until q; -v adds the fixed details: the driver and the module, the identity, the firmware, the memory bus and the link; -a adds every characteristic the driver names: compute units and cores, engines and classes, PCI identity and windows, the link's caps, the memory's layout, the inforom and the power limits.

The tool knows no brand. It asks every card the same question (POS_GFX_GPU_INFO), and the card's driver fills what it knows: the firmware's version, the performance state (P0 the fastest), the memory and how much is free, the kind and width of the memory bus, the L2, the PCIe link, and the card's own identity. A line the card does not know stays away instead of showing a zero.

What only one brand can say goes through that brand's module and its own calls, POS_GFX_GPU_NVIDIA_CONTROL for the NVIDIA module.

card 0: NVIDIA RTX A3000 Laptop GPU
  driver      nvidia, module nvidia
  uuid        GPU-...
  firmware    94.04.4f.00.2a
  state       P0
  memory      6144 MiB, free ...

EXAMPLE

$ gpu
card 0: Bochs-VBE

SEE ALSO

lux, mods, top