startup: native final pass presents unwritten data (two flat colours); untranslated compute passes suspected #3900

Open
opened 2026-12-02 23:22:21 +00:00 by SimSalabimse · 1 comment
SimSalabimse commented 2026-12-02 23:22:21 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-12-02T23:22:21Z.


Summary

In the native path the final full-surface pass presents data nobody wrote. The presented surface is two flat colours, one per pixel, in a fixed split, with one channel exactly zero. Investigation is ongoing; this issue records what is measured so far.

What was measured

Two native-path runs of about 410 s each on the Windows test PC (Simsalabim), from the surface statistics at present:

  • From the first coloured frame to the end of the run the mean colour of the presented surface is the same in both runs: two pure colours at a fixed 55% / 45% split, one channel exactly zero, alpha 255.
  • A previous run showed the same split with the second colour black instead of the other pure colour.
  • The set of drawn pipelines, the clear shapes and the refusals of the pipelines that draw did not change between these runs, so no newly drawn pipeline explains the picture.
  • Compute work that feeds the passes is mostly not running: in the later run about 7.7k compute dispatches were translated, about 89k were refused and about 2.3M had no native translation (in the earlier run: about 8.6k, 68k and 1.9M).
  • Several scene passes are refused, including a three-target pass at a lower resolution than the present surface and a group of indirect draws writing a float and a uint target with depth.

What is inferred, not proved

A final pass samples an input (a render target or compute-written buffer from a refused pass or an untranslated dispatch) that holds unwritten data, and its output saturates to 0 or 1 per channel. This fits the split but has not been shown by a producer probe or a pixel dump.

Next step

Run the existing producer diagnostic (X2W_RED_PRODUCER_AUTO) or the draw-dump pixel probe (X2W_DRAW_DUMP_FRAME plus X2W_DRAW_DUMP_PIXEL) around the first steady coloured frames to name the pass that writes the surface and the input it reads.

  • #870 (startup progress)
  • #3477 (diagnostics)
  • No draft PR for this yet.

AI-Assisted

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6756680340 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3900). Originally posted by [SimSalabimse](https://github.com/SimSalabimse) on 2026-12-02T23:22:21Z. --- ## Summary In the native path the final full-surface pass presents data nobody wrote. The presented surface is two flat colours, one per pixel, in a fixed split, with one channel exactly zero. Investigation is ongoing; this issue records what is measured so far. ## What was measured Two native-path runs of about 410 s each on the Windows test PC (Simsalabim), from the surface statistics at present: - From the first coloured frame to the end of the run the mean colour of the presented surface is the same in both runs: two pure colours at a fixed 55% / 45% split, one channel exactly zero, alpha 255. - A previous run showed the same split with the second colour black instead of the other pure colour. - The set of drawn pipelines, the clear shapes and the refusals of the pipelines that draw did not change between these runs, so no newly drawn pipeline explains the picture. - Compute work that feeds the passes is mostly not running: in the later run about 7.7k compute dispatches were translated, about 89k were refused and about 2.3M had no native translation (in the earlier run: about 8.6k, 68k and 1.9M). - Several scene passes are refused, including a three-target pass at a lower resolution than the present surface and a group of indirect draws writing a float and a uint target with depth. ## What is inferred, not proved A final pass samples an input (a render target or compute-written buffer from a refused pass or an untranslated dispatch) that holds unwritten data, and its output saturates to 0 or 1 per channel. This fits the split but has not been shown by a producer probe or a pixel dump. ## Next step Run the existing producer diagnostic (`X2W_RED_PRODUCER_AUTO`) or the draw-dump pixel probe (`X2W_DRAW_DUMP_FRAME` plus `X2W_DRAW_DUMP_PIXEL`) around the first steady coloured frames to name the pass that writes the surface and the input it reads. ## Related - #870 (startup progress) - #3477 (diagnostics) - No draft PR for this yet. AI-Assisted
Leyukaka commented 2026-12-02 23:39:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-12-02T23:39:32Z.


We looked at what seems to be the same stage on our side. Our input reads back as zero rather than two colours, so treat this as a neighbouring data point, not a confirmation.

Measured

  • The final full-surface pass samples a scene colour texture that no translated pass wrote: it reads back as all zero before each composite.
  • The passes that do draw into that chain before it are post-process (bloom/upsample). They run with correct state, but their own inputs are black, so their targets come out unchanged.
  • In a recent run (with the #3776 refresh disabled locally to avoid the stall below), the native Mesh86 pipelines are created, but every dispatch is refused before execution: "material buffer is smaller than the shader's minimum read" and "an input buffer descriptor has zero records".

Inferred, not proved

  • The scene geometry comes from the mesh-shader pipelines (slot 57 / native Mesh86), so nothing upstream fills the chain. That points at mesh rather than compute as our first blocker.

Method

#3820 (open) adds an opt-in resource write trace and a targeted dump that name the writers of a given resource. Happy to share the exact steps.

If your runs stop around the 3D scene entry, see #3890.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7362270254 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3900#issuecomment-7362270254). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-12-02T23:39:32Z. --- We looked at what seems to be the same stage on our side. Our input reads back as zero rather than two colours, so treat this as a neighbouring data point, not a confirmation. **Measured** - The final full-surface pass samples a scene colour texture that no translated pass wrote: it reads back as all zero before each composite. - The passes that do draw into that chain before it are post-process (bloom/upsample). They run with correct state, but their own inputs are black, so their targets come out unchanged. - In a recent run (with the #3776 refresh disabled locally to avoid the stall below), the native Mesh86 pipelines are created, but every dispatch is refused before execution: "material buffer is smaller than the shader's minimum read" and "an input buffer descriptor has zero records". **Inferred, not proved** - The scene geometry comes from the mesh-shader pipelines (slot 57 / native Mesh86), so nothing upstream fills the chain. That points at mesh rather than compute as our first blocker. **Method** #3820 (open) adds an opt-in resource write trace and a targeted dump that name the writers of a given resource. Happy to share the exact steps. If your runs stop around the 3D scene entry, see #3890.
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#3900
No description provided.