| Previous | Next |
| DXGI_ERROR_NOT_CURRENT | DXGI_ERROR_DYNAMIC_CODE_POLICY_VIOLATION |
DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY
Locate the failing graphics boundary: hw protection outofmemory
The useful interpretation of DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY (0x887A0030) starts at the dxgi error boundary: creation or use of protected graphics resources exceeded the memory available to the hardware-protection path. In practical terms, inspect hardware-protected memory pool before changing application-wide graphics settings.
Evidence that makes the result actionable
| Capture item | Why it matters |
|---|---|
| Rejected condition | creation or use of protected graphics resources exceeded the memory available to the hardware-protection path |
| What to capture | protected-session type, protected resource dimensions, format, allocation count, adapter budget and protection capability queries |
| Current graph state | DXGI factory, adapter, device, resource or cache session |
| Supporting trace | DXGI debug messages, adapter LUID, driver version, device-removal reason where applicable and the exact API parameters |
| Object identity | hardware-protected memory pool |
A controlled comparison
- Capture the failing state. Record protected-session type, protected resource dimensions, format, allocation count, adapter budget and protection capability queries.
- Repeat with a smaller protected allocation set while leaving unprotected rendering unchanged.
The comparison with DXGI_ERROR_CANNOT_PROTECT_CONTENT is especially useful: DXGI_ERROR_CANNOT_PROTECT_CONTENT concerns unsupported protection capability rather than exhausted protected memory.
Correction and proof
Release protected resources, reduce their footprint and recreate the protected session according to the content-protection policy.
- debug-layer, ETW or driver diagnostics no longer report the rejected hardware-protected memory pool contract during the same scenario.
Implementation notes
Technical references
- Microsoft: DXGI error codes — background for the hardware-protected memory pool.
- Microsoft: DXGI overview
- Microsoft: Direct3D 12 shader cache StoreValue
- Microsoft: Handle device-removed scenarios
Looking for a different code? Search another status or error code.