Native graphics: recover a published disk pair after candidate PSO creation fails #3136

Closed
opened 2026-11-27 16:28:02 +00:00 by github-bot · 2 comments
Owner

@⁠R0Y00 on GitHub · 2026-11-27 16:23 UTC · original

Refs #3094 and #2981. The source-built runtime review reproduced an all-clear target when native candidate PSO creation was forced to return E_FAIL. The already-published disk pair drew 16 red / 16 clear with native disabled.

Use startup_native_graphics_draw, inject failure only at candidate CreateGraphicsPipelineState, and read back the same target in the same process. Require the published pair to recover, the successful native path to keep its normal behavior, and a missing or invalid disk pair to fail explicitly. Preserve published cache contents. Run WARP and available hardware, and report capability skips separately. Coordinate with the existing PR authors. Target codex/native-graphics-integration while #3094 is open. Comment here to claim.

**@⁠R0Y00** on GitHub · 2026-11-27 16:23 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3134) Refs #3094 and #2981. The source-built runtime review reproduced an all-clear target when native candidate PSO creation was forced to return E_FAIL. The already-published disk pair drew 16 red / 16 clear with native disabled. Use startup_native_graphics_draw, inject failure only at candidate CreateGraphicsPipelineState, and read back the same target in the same process. Require the published pair to recover, the successful native path to keep its normal behavior, and a missing or invalid disk pair to fail explicitly. Preserve published cache contents. Run WARP and available hardware, and report capability skips separately. Coordinate with the existing PR authors. Target codex/native-graphics-integration while #3094 is open. Comment here to claim.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 16:28:02 +00:00
Author
Owner

@⁠JVProg on GitHub · 2026-11-27 16:56 UTC · original

I'd like to claim this one and I'm starting on it now, on top of codex/native-graphics-integration.

Plan: reproduce with startup_native_graphics_draw by forcing E_FAIL only at the candidate CreateGraphicsPipelineState, then recover the published disk pair, with controls for the successful native path and for a missing or invalid disk pair. I'll check WARP and hardware and report skips separately. If someone on #3094 / #2981 is already changing this path, please tell me so we don't overlap.

I'm working with AI assistance.

**@⁠JVProg** on GitHub · 2026-11-27 16:56 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3134#issuecomment-7223836271) I'd like to claim this one and I'm starting on it now, on top of `codex/native-graphics-integration`. Plan: reproduce with `startup_native_graphics_draw` by forcing `E_FAIL` only at the candidate `CreateGraphicsPipelineState`, then recover the published disk pair, with controls for the successful native path and for a missing or invalid disk pair. I'll check WARP and hardware and report skips separately. If someone on #3094 / #2981 is already changing this path, please tell me so we don't overlap. I'm working with AI assistance.
Author
Owner

@⁠Leyukaka on GitHub · 2026-12-02 16:54 UTC · original

#3874 carries @⁠lambirou's #3141 to main with his commits, plus the same-process retry and fixture control that #2978 still asks for. @⁠JVProg, you claimed this on 11-27; since no PR was posted we picked it up, and your review or your extra test cases are welcome there.

**@⁠Leyukaka** on GitHub · 2026-12-02 16:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3134#issuecomment-7352627177) #3874 carries @⁠lambirou's #3141 to `main` with his commits, plus the same-process retry and fixture control that #2978 still asks for. @⁠JVProg, you claimed this on 11-27; since no PR was posted we picked it up, and your review or your extra test cases are welcome there.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3136
No description provided.