| Previous | Next |
| ERROR_GRAPHICS_RESOURCES_NOT_RELATED | ERROR_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE |
ERROR_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE
ERROR_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE identifies a collision between source records. Windows assigns source identifiers according to the number of sources reported when the display adapter starts, so later code should reference those IDs rather than inventing a new ID per path or per monitor.
Inspect startup capability data and every conversion between internal pipe numbers and D3DDDI_VIDEO_PRESENT_SOURCE_ID. Clone configurations legitimately reuse one source across multiple paths; they should not create duplicate source records. Also check sentinel handling, because casting an invalid negative value to an unsigned source type can make unrelated failures collide on the same large ID.
Source-ID mapping audit
- Map each hardware scan-out engine to one stable source ID.
- Keep path records separate from the unique source inventory.
- Validate IDs against the source count reported at startup.
- Log invalid and sentinel values before unsigned conversion.
Microsoft: assignment and use of source IDs
Microsoft: source mode sets keyed by source ID
Microsoft: multiple paths from one source
Looking for a different code? Search another status or error code.