clbr / radeontop

GNU General Public License v3.0
785 stars 69 forks source link

two graphics #158

Closed taikai-zz closed 8 months ago

taikai-zz commented 8 months ago

How to monitor the status of two AMD graphics cards in a single machine?

clbr commented 8 months ago

Run two instances of radeontop, pass different -b (bus) to each.

taikai-zz commented 8 months ago

rocm-smi --showbus

========================= ROCm System Management Interface ========================= ==================================== PCI Bus ID ==================================== GPU[0] : PCI Bus: 0000:00:07.0 GPU[1] : PCI Bus: 0000:00:08.0

=============================== End of ROCm SMI Log ================================ radeontop -b 0000:00:07.0 radeontop -b 0000:00:08.0 I don't know if what I wrote is correct, but the detection status is still the same graphics card

The current solution is

Radeontop - p /dev/dri/renderD129

Radeontop - p /dev/dri/renderD128

clbr commented 8 months ago

Please see the man page for how to specify --bus. In any case, this seems solved, closing.