aristocratos / btop

A monitor of resources
Apache License 2.0
21.34k stars 654 forks source link

[BUG] AMD GPU power usage displaying power usage at 0W #911

Open m1do-git opened 3 months ago

m1do-git commented 3 months ago

Describe the bug

Symtom: PWR indicator shows 0W

I've installed btop nad rocm from Arch official repo:

To Reproduce

Open btop and show GPU box.

Expected behavior

GPU box show output consumption.

Screenshots

btop

Info (please complete the following information):

Additional context

Contents of ~/.config/btop/btop.log

2024/08/14 (22:32:48) | ===> btop++ v.1.3.2 2024/08/14 (22:32:48) | WARNING: ROCm SMI: Failed to get maximum GPU temperature, defaulting to 110°C 2024/08/14 (22:32:48) | WARNING: ROCm SMI: Failed to get PCIe throughput

zepanv commented 3 months ago

Seeing the same behavior here.

btop++ version 1.3.2-1.1 rocm-smi-lib 6.0.2-1.1 Kernel: 6.10.7-2-cachyos

2024/08/30 (14:44:04) | ===> btop++ v.1.3.2 2024/08/30 (14:44:04) | WARNING: ROCm SMI: Failed to get maximum GPU temperature, defaulting to 110°C 2024/08/30 (14:44:04) | WARNING: ROCm SMI: Failed to get PCIe throughput

GPU is RX 7900 XT

masuteri commented 2 months ago

same here except clocks aren't reported either

btop version 1.3.0-1 rocm-smi-lib 5.7.0-1 kernel 6.10.8-2-liquorix-amd64

ItsLiyua commented 2 months ago

I also don't have a power draw report. Usage works fine tho.

btop 1.3.2-1 kernel 6.11.0-273-tkg-bore #1 SMP PREEMPT_DYNAMIC TKG Mon (running arch linux) rocm-smi-lib 6.0.2-1

aristocratos commented 2 months ago

Have you tried latest commits? See related bug fix: #819

Otherwise report to https://github.com/rocm/rocm_smi_lib if a some value isn't showing for a specific card. It's on AMD to add support.

zepanv commented 2 months ago

Can confirm the v1.4.0 release fixes the power display in my case. Thank you for making such an awesome program.

dm17 commented 3 weeks ago

Will test this soon. Anyone get memory frequency displaying?

zepanv commented 3 weeks ago

Everything seems to be reporting in my case.

Screenshot_20241108_062502