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

Closed
opened 2026-11-27 16:23:45 +00:00 by R0Y00 · 2 comments
R0Y00 commented 2026-11-27 16:23:45 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T16:23:45Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6650335508 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3134). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T16:23:45Z. --- 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.
JVProg commented 2026-11-27 16:56:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by JVProg on 2026-11-27T16:56:01Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7223836271 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3134#issuecomment-7223836271). Originally posted by [JVProg](https://github.com/JVProg) on 2026-11-27T16:56:01Z. --- 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.
Leyukaka commented 2026-12-02 16:54:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-12-02T16:54:26Z.


#3874 carries @lambirou's #3139 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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7352627177 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3134#issuecomment-7352627177). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-12-02T16:54:26Z. --- #3874 carries @lambirou's #3139 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.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3134
No description provided.