| Previous | Next |
| ERROR_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED | ERROR_GRAPHICS_INVALID_VIDPN_TARGETMODESET |
ERROR_GRAPHICS_INVALID_VIDPN_SOURCEMODESET
ERROR_GRAPHICS_INVALID_VIDPN_SOURCEMODESET (0xC0262308) is returned when WDDM rejects a VidPN source mode-set object. A source mode describes the primary surface format and other properties from which one display source is scanned out; it is not the physical monitor mode advertised by EDID.
Why the distinction matters
A VidPN keeps separate source and target mode sets. The source set is constrained by the selected topology and by modes already pinned on related paths. During cofunctional-modality enumeration, the miniport must preserve a pivot or already pinned mode and supply choices that remain compatible with those constraints.
Driver-side checks
- Acquire the source mode-set handle from the VidPN interface for the correct source ID; do not retain it after its corresponding release call.
- Create each
D3DKMDT_VIDPN_SOURCE_MODEthrough the manager-provided creation routine and preserve the manager-assigned mode ID. - When rebuilding choices after a topology change, construct a replacement mode set rather than trying to edit a stale set in place.
- Validate the source mode type and surface format against the current source, pinned mode, and clone constraints before adding it.
Not the same as an EDID failure
Bad EDID can eventually make a configuration impossible, but this status specifically identifies an invalid WDDM source-mode-set object or association. Check the VidPN objects and the driver enumeration flow before treating the monitor descriptor as the immediate fault.
Microsoft: VidPN objects and interfaces
Microsoft: enumerating cofunctional source and target modes
Microsoft: graphics status codes
Looking for a different code? Search another status or error code.