| Previous | Next |
| ERROR_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY | ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE |
ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE
Why this is not a generic GPU failure: graphics invalid primarysurface size
ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE, value 0xC026233A, is produced by vidpn when the submitted primary-surface width or height cannot represent the selected source mode. The investigation should stay attached to source-mode primary surface geometry and to the exact generation in which it was obtained.
What distinguishes this value: “Specified primary surface size is invalid.” Capture evidence for that condition directly so a similar result from the same facility is not confused with this result.
The smallest evidence set
| Capture item | Why it matters |
|---|---|
| Rejected condition | the submitted primary-surface width or height cannot represent the selected source mode |
| What to capture | surface size, source mode, visible region, rotation, scaling and format |
| Current graph state | VidPN, topology, source and target mode sets, and the present path connecting them |
| Supporting trace | source and target IDs, topology generation, path descriptors, pinned modes, mode-set handles and monitor timing data |
| Object identity | source-mode primary surface geometry |
A/B test for the exact condition
- Capture the failing state. Record surface size, source mode, visible region, rotation, scaling and format.
- Submit the exact pinned source-mode size and compare with the rejected dimensions.
The comparison with ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE is especially useful: ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE concerns the visible region inside the surface.
Safe remediation
Calculate primary-surface geometry from the selected source mode and transformation rules.
- debug-layer, ETW or driver diagnostics no longer report the rejected source-mode primary surface geometry contract during the same scenario.
Technical references
- Microsoft: Introduction to Video Present Networks — background for the source-mode primary surface geometry.
- Microsoft: VidPN objects and interfaces
- Microsoft: Enumerating cofunctional VidPN modes
- Microsoft: Determining VidPN support
Looking for a different code? Search another status or error code.
