Site icon EfmSoft

What does HRESULT 0xC026233A (ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE) mean?

 
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 itemWhy it matters
Rejected conditionthe submitted primary-surface width or height cannot represent the selected source mode
What to capturesurface size, source mode, visible region, rotation, scaling and format
Current graph stateVidPN, topology, source and target mode sets, and the present path connecting them
Supporting tracesource and target IDs, topology generation, path descriptors, pinned modes, mode-set handles and monitor timing data
Object identitysource-mode primary surface geometry

A/B test for the exact condition

  1. Capture the failing state. Record surface size, source mode, visible region, rotation, scaling and format.
  2. 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


Looking for a different code? Search another status or error code.

Exit mobile version