btop icon indicating copy to clipboard operation
btop copied to clipboard

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

Open m1do-git opened this issue 1 year ago • 5 comments

Describe the bug

Symtom: PWR indicator shows 0W

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

  • btop version 1.3.2-1

  • rocm-smi-lib 6.0.2-1

To Reproduce

Open btop and show GPU box.

Expected behavior

GPU box show output consumption.

Screenshots

btop

Info (please complete the following information):

  • btop++ version: 1.3.2-1
  • rocm-smi-lib 6.0.2-1
  • Architecture: [x86_64]
  • Platform: [Linux]
  • (Linux) Kernel: 6.10.4-arch2-1
  • Terminal used: Kitty
  • Font used: FiraMono Nerd Font

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

m1do-git avatar Aug 14 '24 15:08 m1do-git

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

zepanv avatar Aug 31 '24 14:08 zepanv

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

masuteri avatar Sep 06 '24 19:09 masuteri

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

ItsLiyua avatar Sep 20 '24 06:09 ItsLiyua

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.

aristocratos avatar Sep 21 '24 22:09 aristocratos

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

zepanv avatar Sep 24 '24 12:09 zepanv

Will test this soon. Anyone get memory frequency displaying?

dm17 avatar Nov 07 '24 18:11 dm17

Everything seems to be reporting in my case.

Screenshot_20241108_062502

zepanv avatar Nov 09 '24 10:11 zepanv

Working in v1.4.0 with a RX 6800 XT:

imagen

Thanks @kalkafox for the fix

polirritmico avatar Dec 06 '24 01:12 polirritmico