CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
123 lines
2.7 KiB
Markdown
123 lines
2.7 KiB
Markdown
---
|
|
name: amdsmi-output-verification
|
|
description: A checklist for verifying whether AMD SMI is reporting GPU information correctly.
|
|
---
|
|
|
|
# AMD SMI Output Correctness Verification
|
|
|
|
Use this checklist whenever AMD SMI appears to report incorrect GPU information. The goal is to distinguish a real AMD SMI defect from a driver, firmware, environment, documentation, or expectation mismatch.
|
|
|
|
## Test Metadata
|
|
When running a test, include the following metadata to help with triage and debugging:
|
|
- Date:
|
|
- Host:
|
|
- OS:
|
|
- Kernel:
|
|
- ROCm version:
|
|
- AMD SMI version:
|
|
- AMDGPU driver version:
|
|
- Bare metal / container / VM:
|
|
- GPU model:
|
|
- GPU count:
|
|
|
|
## Commands To Capture
|
|
|
|
Capture raw output, without editing values.
|
|
|
|
```sh
|
|
amd-smi version
|
|
amd-smi list
|
|
amd-smi static
|
|
amd-smi metric
|
|
amd-smi monitor
|
|
rocminfo
|
|
rocm-smi
|
|
lspci -nn
|
|
lspci -vv
|
|
dmesg
|
|
```
|
|
|
|
Also capture relevant sysfs values:
|
|
|
|
```sh
|
|
find /sys/class/drm -maxdepth 4 -type f
|
|
```
|
|
|
|
For each tested GPU, inspect the matching card path under:
|
|
|
|
```sh
|
|
/sys/class/drm/card*/device
|
|
```
|
|
|
|
Useful files often include:
|
|
|
|
- `vendor`
|
|
- `device`
|
|
- `subsystem_vendor`
|
|
- `subsystem_device`
|
|
- `revision`
|
|
- `product_name`
|
|
- `product_number`
|
|
- `serial_number`
|
|
- `mem_info_vram_total`
|
|
- `mem_info_vram_used`
|
|
- `gpu_busy_percent`
|
|
- `pp_dpm_sclk`
|
|
- `pp_dpm_mclk`
|
|
- `pp_power_profile_mode`
|
|
|
|
Availability varies by GPU, driver, kernel, and permission level.
|
|
|
|
## Fields To Compare
|
|
|
|
| Field | AMD SMI value | Baseline value | Baseline source | Result | Notes |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| GPU name | | | | | |
|
|
| ASIC name | | | | | |
|
|
| Vendor ID | | | | | |
|
|
| Device ID | | | | | |
|
|
| Subsystem ID | | | | | |
|
|
| Revision ID | | | | | |
|
|
| PCI BDF | | | | | |
|
|
| VRAM total | | | | | |
|
|
| Memory type | | | | | |
|
|
| VBIOS version | | | | | |
|
|
| Firmware versions | | | | | |
|
|
| Driver version | | | | | |
|
|
| ROCm version | | | | | |
|
|
| Temperature | | | | | |
|
|
| Power | | | | | |
|
|
| Clocks | | | | | |
|
|
| Utilization | | | | | |
|
|
| ECC/RAS support | | | | | |
|
|
| Process reporting | | | | | |
|
|
|
|
## Result Labels
|
|
|
|
- Correct: AMD SMI matches trusted baseline.
|
|
- Missing: AMD SMI does not expose a value that appears available elsewhere.
|
|
- Unsupported: AMD SMI explicitly reports the field is unsupported.
|
|
- Incorrect: AMD SMI reports a value that conflicts with trusted baseline.
|
|
- Misleading: AMD SMI value is technically present but ambiguous, mislabeled, or
|
|
likely to confuse users.
|
|
- Environment-dependent: result changes depending on permissions, container,
|
|
VM, kernel, or driver state.
|
|
|
|
## Finding Template
|
|
|
|
### Incorrect or Misleading Field
|
|
|
|
- GPU:
|
|
- ROCm version:
|
|
- AMD SMI version:
|
|
- Environment:
|
|
- Field:
|
|
- AMD SMI command/API:
|
|
- AMD SMI value:
|
|
- Expected value:
|
|
- Baseline source:
|
|
- Why baseline is trusted:
|
|
- Reproducibility:
|
|
- Severity:
|
|
- Suggested fix:
|