feat: add comprehensive ROCm GPU metrics support#12
Merged
simonCatBot merged 14 commits intomasterfrom Mar 31, 2026
Merged
Conversation
67cc0d3 to
b884efe
Compare
This commit adds detailed AMD GPU monitoring using ROCm tools: - Detects rocminfo/rocm-smi in PATH or /opt/rocm - Extracts GPU details from rocm-smi -a including: - Device ID, Driver version, VBIOS version, Device revision - Subsystem ID, GUID, PCI Bus address - GFX version, compute units, max/current clock speeds - GPU usage %, temperature, VRAM usage, power consumption - Creates GpuMetricsPanel component for detailed GPU display - Updates SystemMetricsDashboard with prominent GPU card: - GPU card with visual usage and VRAM progress bars - Hardware details section showing Device ID, Driver, VBIOS - Shows temperature, current clock speed, power stats - Removed System Info section - Falls back to systeminformation library if ROCm not available The GPU card now displays: - Device ID (e.g., 0x1586) - Driver version (e.g., 6.17.0-1012-oem) - VBIOS version (e.g., 113-STRXLGEN-001) - Device revision, Subsystem ID - PCI Bus address - GPU usage % and VRAM usage % with progress bars - Current clock speed (updated from rocm-smi) - Temperature, power consumption - GFX version, compute units Files added: - src/lib/system/rocm.ts: ROCm detection and metrics module - src/components/GpuMetricsPanel.tsx: GPU metrics UI component Files modified: - src/app/api/system/metrics/route.ts: integrate extended ROCm data - src/components/SystemMetricsDashboard.tsx: new layout with GPU details
b884efe to
191efb4
Compare
Owner
Author
|
/rerun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds detailed AMD GPU monitoring using ROCm tools.
Features
Changes
New Files
Modified Files
Screenshots
The GPU panel displays:
Testing
Tested on AMD RYZEN AI MAX+ PRO 395 with Radeon 8060S.
If ROCm is not installed, falls back to systeminformation library.
Security Notes