# GPU Alert Reference

> Every GPU failure mode, its Xid code, its early-warning thresholds, and the recovery ladder -- the decode table behind the alert rules.

**Date:** 2026-05-26
**Purpose:** Operational reference for all GPU failure modes, alert types, and early-warning metrics. This is the failure-mode reference behind the alert rules in `planes/control/alert-rules/` and the node's DCGM health scrape: what each signal means, what it predicts, and what to do. What the node reads, from which source and why, is in [GPU observability](https://github.com/onprem-ai/platform/blob/v5.10.4/docs/architecture/gpu-observability.md); this page covers what the hardware can fail into.

### Sources

- NVIDIA XID Errors: https://docs.nvidia.com/deploy/xid-errors/index.html
- NVIDIA GPU Debug Guidelines: https://docs.nvidia.com/deploy/gpu-debug-guidelines/index.html
- NVIDIA GPU Memory Error Management: https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/index.html
- NVIDIA DCGM Diagnostics: https://docs.nvidia.com/datacenter/dcgm/2.4/user-guide/dcgm-diagnostics.html
- NVIDIA DCGM Error Injection: https://docs.nvidia.com/datacenter/dcgm/latest/user-guide/dcgm-error-injection.html
- NVIDIA DCGM Field Constants: https://docs.nvidia.com/datacenter/dcgm/latest/dcgm-api/dcgm-api-field-constants.html
- NVML API Reference (clock throttle reasons): https://docs.nvidia.com/deploy/nvml-api/group__nvmlClocksEventReasons.html
- nvidia-smi Documentation: https://docs.nvidia.com/deploy/nvidia-smi/index.html
- NVIDIA System Management (NVSM): https://docs.nvidia.com/datacenter/nvsm/nvsm-user-guide/24.03/introduction.html
- NVSentinel Syslog Health Monitor: https://github.com/NVIDIA/NVSentinel/blob/main/docs/syslog-health-monitor.md
- Google Cloud GPU Troubleshooting: https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-gpus
- AWS re:Post GPU Xid Troubleshooting: https://repost.aws/knowledge-center/ec2-linux-troubleshoot-xid-errors
- NVIDIA Forums — Xid 62/154 GSP PMU halt on RTX PRO 6000: https://forums.developer.nvidia.com/t/364958
- NVIDIA Forums — RTX 5070 Ti Xid 79/119 cascade: https://forums.developer.nvidia.com/t/370539
- NVIDIA Forums — Blackwell GSP WPR2 recovery failure: https://forums.developer.nvidia.com/t/370603
- GPU Failure Prediction (Last9 blog): https://last9.io/blog/predicting-gpu-failures-before-they-cost-you/
- NVIDIA/open-gpu-kernel-modules#1028 — Xid 62/119/120 on GB203: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1028

## ECC Memory Errors

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| Xid 48 | Double Bit ECC Error (DBE) — uncorrectable memory corruption | CRITICAL | Drain node, reset GPU. If followed by Xid 63/64, row remap activates on reset. Persistent → RMA |
| Xid 63 | Row remapping event (Ampere+) / page retirement (older) | INFO→WARN | Alone: informational, reboot when convenient. With Xid 48: drain + reset immediately |
| Xid 64 | Row remapping **failure** — spare rows exhausted | CRITICAL | Reboot immediately. Continued failures → RMA. GPU has no self-repair capacity left |
| Xid 92 | High single-bit ECC error rate | WARN | NVIDIA says informational. But: sustained SBE rate >5/hr for >10 min predicts DBE 48-72hrs ahead |
| Xid 94 | Contained ECC error (Ampere+) — isolated to one app | WARN | Restart affected app. Others unaffected. Reset GPU when convenient |
| Xid 95 | Uncontained ECC error (Ampere+) — affects all apps | CRITICAL | MIG enabled: drain all instances + reset. No MIG: reboot immediately. Persistent → RMA |
| Xid 140 | Unrecovered ECC — driver can't mark pages for offlining | CRITICAL | Reset GPU. Persistent → contact vendor |

### ECC Early Warning

> Source: Last9 GPU failure prediction blog, NVIDIA GPU Debug Guidelines

SBE bursts from cosmic rays (20+ in a minute, then nothing for days) are normal.
Only alert when elevated SBE rate persists >10 minutes — that indicates cell degradation, not a cosmic event.
Use 1-hour windows for ECC rate trending, not 5-minute windows.

### RMA Thresholds

> Source: NVIDIA GPU Debug Guidelines, NVIDIA GPU Memory Error Management docs

- Page retirement (pre-Ampere): >60 retired pages per GPU lifetime
- Row remapping (Ampere+): `Remapping Failure Occurred: Yes` in nvidia-smi
- DBE after GPU reset: if Xid 48 recurs after reset → field diagnostics → RMA

## GSP (GPU System Processor) Errors

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| Xid 62 | PMU/microcontroller halt | CRITICAL | Report to NVIDIA + reset GPU. Known Blackwell issue |
| Xid 119 | GSP RPC timeout — host↔GPU firmware communication stalled | CRITICAL | GPU reset or power cycle. Known Blackwell/RTX 50-series issue |
| Xid 120 | GSP error — firmware exception on GPU processor | CRITICAL | Same as 119. Often appears together with 119 |
| Xid 154 | Recovery action changed — GPU signals it needs reset | META | Not an error itself. Check `nvidia-smi` for recovery status |

### Blackwell GSP Cascade Pattern

> Source: NVIDIA Forums #364958 (RTX PRO 6000), #370539 (RTX 5070 Ti), NVIDIA/open-gpu-kernel-modules#1028 (RTX 5080)

Known failure chain on RTX PRO 6000, RTX 5080, RTX 5070 Ti:

```
Xid 62 (PMU halt) → Xid 154 (reset required) → Xid 109 (ctx switch timeout)
  → Xid 119 (GSP RPC timeout) → Xid 120 (GSP error) → Xid 79 (fallen off bus)
```

On Blackwell, GSP timeout can leave GPU in unrecoverable "WPR2 already up" state
where `nvidia-smi --gpu-reset` and PCIe bus reset both fail. Only a full power cycle
(not just reboot — actual PSU power cycle) clears it.

`pcie_aspm=off` helps for PCIe-triggered falls but does NOT prevent GSP firmware hangs.
GSP hangs are a firmware bug — only a driver/firmware update from NVIDIA can fix them.

### GSP Workaround (non-Blackwell only)

> Source: AWS re:Post GPU troubleshooting, NVIDIA Forums #370603

On pre-Blackwell GPUs, GSP firmware mode can be disabled to fall back to CPU-side
RM management: `NVreg_EnableGpuFirmware=0`. Not available on Blackwell where GSP is
mandatory.

## PCIe Link Errors

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| Xid 79 | GPU has fallen off the bus — PCIe link down | CRITICAL | `nvidia-smi --gpu-reset` → PCIe rescan → reboot → power cycle |
| PCIe replay counter >8/min | Detected by DCGM health watches | WARN | Reseat GPU. Run PCIe diagnostics. Check riser cable and slot |
| PCIe link downtraining | Running at lower speed/width than expected | WARN | Gen5→Gen1 at idle is NORMAL. Gen5→Gen3 under load = problem |
| AER errors (kernel log) | Correctable/uncorrectable PCIe errors | INFO→WARN | Cosmetic on Blackwell (suppress with `pci=noaer`). With Xid 79 → real issue |

### Xid 79 Root Causes (Comprehensive)

> Source: NVIDIA XID Errors doc, GPU Debug Guidelines, Forums #370539, Last9 blog, incident 2026-05-26 on this hardware (RTX PRO 6000)

1. **PCIe ASPM link retrain failure** — Gen1↔Gen5 transition during power state change.
   Fix: `pcie_aspm=off pcie_port_pm=off`
2. **PSU overcurrent protection (OCP)** — multi-rail PSU hits per-rail current limit.
   GPU dies with ZERO log entries. Only visible at PDU-level power monitoring.
3. **Thermal emergency** — GPU hits hardware thermal limit and powers off.
4. **GSP firmware hang cascade** — Xid 62→119→120→79 chain (Blackwell-specific).
5. **Bad VBIOS** — known-bad firmware versions (e.g., 98.02.52.00.2 for RTX PRO 6000).
6. **PCIe slot/riser hardware failure** — bad contact, oxidation, mechanical stress.
7. **Motherboard PCIe controller bug** — Intel 600/700/800 series ACPI _DSM.USRG errors.
8. **Driver bug** — GPU reset path leaves stale state, subsequent access finds GPU gone.
9. **Kernel power management** — runtime PM suspends root port during GPU activity.
10. **Electrical noise / ground loop** — EMI from adjacent components.
11. **BIOS/UEFI PCIe settings** — incorrect Gen5 training, bad spread spectrum settings.
12. **Defective GPU silicon** — manufacturing defect in PCIe PHY.

### Xid 79 Recovery Ladder

```bash
# Step 1: GPU reset (no reboot)
sudo nvidia-smi --gpu-reset -i 0

# Step 2: PCIe bus rescan (if step 1 fails)
echo 1 | sudo tee /sys/bus/pci/devices/0000:01:00.0/remove
sleep 2
echo 1 | sudo tee /sys/bus/pci/rescan

# Step 3: Reboot
sudo reboot

# Step 4: Full power cycle (if reboot fails — Blackwell WPR2 state)
# Physical PSU power cycle or IPMI chassis power off/on
```

## Thermal Alerts

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| HW Thermal Slowdown (0x40) | GPU core too hot, clocks halved by hardware | WARN | Check fans, airflow, ambient. GPU protecting itself but performance tanked |
| SW Thermal Slowdown (0x20) | Driver reducing clocks to stay below max temp | INFO | Normal under sustained load. Alert only if temp keeps climbing |
| Thermal ramp >2C/min | Temperature rising fast — cooling failure | CRITICAL | Fan dead, airflow blocked, or liquid cooling pump failed |
| GPU thermal shutdown | Hardware emergency shutoff | CRITICAL | GPU powers off. Fix cooling before restarting |

### Thermal Monitoring

```bash
# Real-time temperature monitoring
nvidia-smi dmon -s p -d 5   # power + temp every 5s

# Check current throttle reasons
nvidia-smi -q -d PERFORMANCE
```

**Ramp rate thresholds:**
- <0.5 C/min: normal workload fluctuation
- 0.5-2.0 C/min: possible workload spike, verify
- >2.0 C/min: cooling system failure, act immediately

**Normal operating temps (datacenter GPUs):**
- GPU core: 60-83C under load (varies by model)
- HBM/memory: 80-95C under load (Blackwell runs hotter)
- >95C sustained: investigate cooling

## Power Alerts

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| HW Power Brake (0x80) | External power brake asserted by PSU | CRITICAL | PSU triggering OCP. Check PSU rating vs GPU TDP |
| HW Slowdown (0x08) | Clocks halved — power draw too high | WARN | Fast Trigger protection. Check power limit, PSU capacity |
| SW Power Cap (0x04) | Driver limiting clocks within power limit | INFO | Normal if power limit is set deliberately |
| Xid 54 | Auxiliary power not connected | CRITICAL | PCIe power cable unplugged or bad connection |
| Silent PSU OCP death | No log entries — GPU disappears | CRITICAL | Multi-rail PSU per-rail limit. Zero warning. Monitor at PDU level |

### Clock Throttle Reasons Bitmask

> Source: NVML API Reference (nvmlClocksEventReasons), DCGM Field Constants, nvidia-smi docs

```
0x01  GPU Idle (normal)
0x02  Applications Clocks Setting (normal)
0x04  SW Power Cap (normal if intentional)
0x08  HW Slowdown — ALERT: temp/power/fast-trigger
0x10  Sync Boost (normal for multi-GPU)
0x20  SW Thermal Slowdown (watch trend)
0x40  HW Thermal Slowdown — ALERT: cooling failure
0x80  HW Power Brake — ALERT: PSU OCP
```

Bits 0x08, 0x40, 0x80 are the ones that indicate hardware problems. The node's
`onprem_ai_gpu_throttle_reasons_bitmask` series carries this raw bitmask; the
throttle-reason names render beside it in the panel.

### PSU Sizing for GPUs

> Source: DCGM Diagnostics (Pulse Test), Last9 blog (silent PSU OCP failure mode)

RTX PRO 6000 Blackwell TDP: 250W (can spike to ~300W transient).
PSU must handle transient spikes without triggering OCP.
DCGM Level 4 "Pulse Test" specifically tests PSU transient response.

## NVLink Errors (Multi-GPU Systems)

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| Xid 74 | NVLink error — link between GPUs/NVSwitch failed | CRITICAL | Decode first DWORD bits (see below). Reseat cables. Reset GPU |
| Xid 137 | NVLink FLA privilege error | WARN | Firmware/driver issue. Reset GPU |
| SXID errors | NVSwitch-specific (in syslog, not Xid) | VARIES | NVSwitch fabric issues. Check with DCGM |
| Xid 121 | C2C link error (GB200 chip-to-chip) | CRITICAL | Grace Hopper/Blackwell C2C interconnect failure |

### Xid 74 DWORD Bit Decoding

> Source: NVIDIA GPU Debug Guidelines, Table 1

From the hex string in the Xid 74 message, check the first DWORD:
- Bits 4,5: ECC/Parity — likely HW issue. If >2x on same link → report bug
- Bits 21,22: Signal integrity — check mechanical connections
- Bits 8,9,12,16,17,24,28: Possible HW — reseat, run diags

## Other Notable Xids

| Alert | Description | Severity | Action |
|-------|-------------|----------|--------|
| Xid 13 | Graphics engine exception | WARN | Run DCGM diagnostics. Could be app or hardware |
| Xid 31 | GPU memory page fault | WARN | Usually application bug. Run Compute Sanitizer |
| Xid 43/46 | GPU stopped processing | CRITICAL | GPU hang. Reset required |
| Xid 45 | Preemptive cleanup (follows 94/95/48) | INFO | Symptom, not cause. Follow the primary Xid |
| Xid 57 | Error programming video memory interface | CRITICAL | Hardware failure likely |
| Xid 58 | Unstable video memory interface | CRITICAL | Hardware failure. RMA candidate |
| Xid 109 | Context switch timeout | WARN | GPU hung during ctx switch. Often follows Xid 62 on Blackwell |
| Xid 122-124 | SPI PMU RPC failures | WARN | InfoROM communication failure. Contact support |
| Xid 125 | InfoROM filesystem failure | CRITICAL | GPU can't read/write calibration data. Contact support |
| Xid 143 | GPU initialization failure | CRITICAL | GPU won't start. Driver/firmware/hardware |

## Monitoring Metrics — Early Warning Dashboard

> Source: Last9 blog (thresholds, health scoring), DCGM docs (metrics), NVIDIA GPU Debug Guidelines (RMA criteria)

| Metric | Tool | Alert Threshold | Predicts |
|--------|------|-----------------|----------|
| SBE rate (1hr window) | `nvidia-smi -q` / DCGM | >5/hr sustained >10 min | DBE within 48-72hrs |
| PCIe replay counter | DCGM | >8/min | PCIe link degradation → Xid 79 |
| Thermal ramp rate | `nvidia-smi dmon -s p` | >2C/min | Cooling failure → thermal shutdown |
| Clock throttle reasons | `nvidia-smi -q -d PERFORMANCE` | Bits 0x08, 0x40, 0x80 | PSU/thermal → potential Xid 79 |
| Row remap pending | `nvidia-smi -q` | `Pending: Yes` | Needs reboot to activate remap |
| Row remap failure | `nvidia-smi -q` | `Failure: Yes` | Self-repair exhausted → RMA |
| Power draw vs limit | `nvidia-smi dmon -s p` | >95% of limit sustained | PSU stress → potential OCP |
| GPU memory temp | DCGM / nvidia-smi | >95C sustained | HBM degradation acceleration |

## Diagnostic Tools

| Tool | Purpose | When to Use |
|------|---------|-------------|
| `nvidia-smi -q` | Full GPU state dump | First response to any alert |
| `nvidia-smi --gpu-reset` | Reset GPU without reboot | After Xid 48/94/95/119/120 |
| `nvidia-bug-report.sh` | Collect all logs for NVIDIA support | Before RMA or bug report |
| `dcgmi diag -r 2` | Quick hardware health check | Pre-job validation, post-incident |
| `dcgmi diag -r 4` | Full diagnostics including PSU pulse test | Suspected hardware failure |
| DCGM health watches | Continuous monitoring | Always-on: the node's exporter scrape |
| NVSentinel syslog monitor | Watches journald for Xid/SXID/fallen-off-bus | Optional supplement, not deployed here |

## Related

- [Alert Coverage by Hardware](/en/platform/docs/v5.10/concepts/alert-coverage/index.md) — which rules apply to which hardware.
- [GPU observability](https://github.com/onprem-ai/platform/blob/v5.10.4/docs/architecture/gpu-observability.md) — what the node reads, from which source, and why; what DCGM adds.
- [The observability principle](https://github.com/onprem-ai/platform/blob/v5.10.4/docs/architecture/metrics-and-observability.md) — how the planes divide the work.
- [Recorded incidents](https://github.com/onprem-ai/platform/blob/v5.10.4/docs/learnings/README.md) — the evidence behind the thresholds.
- NVIDIA XID Errors: https://docs.nvidia.com/deploy/xid-errors/index.html
- NVIDIA GPU Debug Guidelines: https://docs.nvidia.com/deploy/gpu-debug-guidelines/index.html
- NVIDIA GPU Memory Error Management: https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/index.html
- NVSentinel: https://github.com/NVIDIA/NVSentinel
