Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GPU summary doesn't look nice when not all GPUs report power #1011

Open
RenaKunisaki opened this issue Jan 9, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@RenaKunisaki
Copy link

Describe the bug

When a system has more than one GPU, but only one of them reports its power consumption, the bars in the CPU box don't look very nice.

To Reproduce

Run btop on a system with such configuration.

Expected behavior

The bars should be aligned, with the missing power information being empty.

Screenshots

2025-01-09-182036_1800x1061_scrot

Info (please complete the following information):

  • btop++ version: btop version: 1.4.0; Compiled with: g++ (14.2.1); Configured with: make STATIC= FORTIFY_SOURCE=true GPU_SUPPORT=true RSMI_STATIC=
  • Binary: from Artix repo
  • Architecture: x86_64
  • Platform: Artix Linux
  • (Linux) Kernel: 6.6.69-1-lts
  • Terminal used: lxterminal
  • Font used: Monospace Regular 15

Additional context

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

2025/01/09 (18:31:28) | ===> btop++ v.1.4.0
2025/01/09 (18:31:28) | DEBUG: Running in DEBUG mode!
2025/01/09 (18:31:28) | INFO: Logger set to DEBUG
2025/01/09 (18:31:28) | DEBUG: Using locale en_CA.UTF-8
2025/01/09 (18:31:28) | INFO: Running on /dev/pts/5
2025/01/09 (18:31:28) | DEBUG: Failed to initialize NVML, NVIDIA GPUs will not be detected: Driver Not Loaded
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get maximum GPU temperature, defaulting to 110°C
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get maximum GPU power draw, defaulting to 225W
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get maximum GPU temperature, defaulting to 110°C
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get VRAM utilization
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get GPU power usage
2025/01/09 (18:31:28) | WARNING: ROCm SMI: Failed to get PCIe throughput
2025/01/09 (18:31:28) | DEBUG: Failed to find Intel GPU sysfs path, Intel GPUs will not be detected
2025/01/09 (18:31:28) | DEBUG: Shared::init() : Initialized.
2025/01/09 (18:31:29) | DEBUG: Writing new config file
2025/01/09 (18:31:29) | INFO: Quitting! Runtime: 00:00:01

GDB Backtrace
N/A

@RenaKunisaki RenaKunisaki added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants