| Previous | Next |
| STATUS_GRAPHICS_INVALID_STRIDE | STATUS_GRAPHICS_INVALID_COLORBASIS |
STATUS_GRAPHICS_INVALID_PIXELFORMAT
The selected pixel format is not accepted
STATUS_GRAPHICS_INVALID_PIXELFORMAT is a Windows NTSTATUS value from the graphics/display facility. For STATUS_GRAPHICS_INVALID_PIXELFORMAT, it belongs to the WDDM kernel display stack rather than to a Win32 GDI error alone, so the useful context is usually the adapter, VidPN object, child device, present path, or primary allocation involved in the call.
Display paths support only certain pixel formats for primary scan-out, composition, or mode setting. This status means the pixel format supplied by the caller is invalid in that context, even if the adapter supports other formats for rendering or off-screen allocations.
Separate primary-surface support from general GPU texture support. A format that works for rendering may not be valid as a VidPN source primary or may be incompatible with the target path, private format metadata, or pixel-value access mode.
What to check for STATUS_GRAPHICS_INVALID_PIXELFORMAT
- Log the pixel format, source mode, target path, and allocation type together.
- Check whether the format is supported for primary scan-out, not only for rendering resources.
- Verify that private format and color-basis fields match the selected primary format.
References for STATUS_GRAPHICS_INVALID_PIXELFORMAT
- Microsoft: D3DKMDT display data types
- Microsoft: Introduction to Video Present Networks
- Microsoft: Display/graphics driver DDI overview
Looking for a different code? Search another status or error code.
