Extensions/AMD SysMon
ComfyUI Extension

AMD SysMon

System monitor for the ComfyUI menu bar: CPU, RAM, swap, AMD GPU load, VRAM and temperatures, read from sysfs without NVML or rocm-smi.

By torx-bot·Created 16 days ago·Updated 16 days ago· 0
torx-bot/amd-sysmon
Nodes
On cloudLocal install
Stars0
Updated16 days ago
Readme

AMD SysMon

A single system monitor for ComfyUI on AMD hardware. CPU load, RAM, swap, GPU load, VRAM and temperatures, all in one strip in the top menu bar.

Existing monitors read GPU data through NVML, which does not exist on AMD. The usual workaround is running two extensions side by side — one for CPU and RAM, another for the GPU. This does both, and reads AMD data directly from sysfs: no rocm-smi subprocess, no output parsing that breaks when ROCm changes its formatting.

What it shows

| Badge | Source | Default | | --- | --- | --- | | CPU load | psutil | on | | RAM used | psutil | on | | Swap used | psutil | on | | GPU load | gpu_busy_percent | on | | VRAM used | mem_info_vram_used | on | | GPU temperature | amdgpu hwmon (junction, falling back to edge) | on | | CPU temperature | k10temp / coretemp | off | | DIMM temperature | JC42 sensors, where fitted | off | | NVMe temperature | nvme hwmon (Composite) | off |

Percentages colour at 70% and 90%. Temperatures stay neutral — a sensible limit differs too much between sensors to hardcode one. Hover any badge for detail: absolute values, and all temperature channels the card exposes.

Everything is toggled individually under Settings → AMD SysMon, along with the polling interval. Disabled groups are not read at all, which matters for DIMM sensors: they sit on the SMBus and are slow to answer.

Sensors the machine does not have are omitted rather than shown empty, so a board without DIMM sensors simply has no DIMM badge. Multiple AMD GPUs each get their own numbered badges.

Requirements

  • Linux with the amdgpu kernel driver
  • psutil (already present in a standard ComfyUI install)

Temperature readings need lm-sensors configured to the extent that the hwmon devices exist — on most distributions that is the case out of the box. DIMM temperatures additionally require modules with JC42-compatible sensors, which not all DDR4 kits have.

Not supported

NVIDIA GPUs. There is no NVML path here, deliberately: monitors for NVIDIA already exist and are maintained. On an NVIDIA machine the CPU, RAM and swap badges work and the GPU badges are simply absent.

Install

Through ComfyUI Manager, or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/torx-bot/amd-sysmon

Restart ComfyUI and hard-reload the browser tab.

Tested on

Radeon RX 7900 XTX (gfx1100, RDNA3), Ryzen 7 5700X, Linux Mint 22.3, ROCm 7.14, ComfyUI 0.31 with frontend 1.48.7.

The sysfs interfaces used are part of the amdgpu driver rather than any particular chip generation, so older and newer cards should work — but they have not been verified. Reports welcome, particularly from multi-GPU systems and RDNA4.

Known limitations

  • sysfs exposes no marketing name for the card, so tooltips identify GPUs by PCI address. Enough to tell two cards apart, not pretty.
  • gpu_busy_percent can read low in some power states. It is the interface other tools use as well, but it is a sampled figure, not an exact one.

Licence

MIT. See LICENSE.