startup-runtime: video plays with wrong colours #1131

Open
opened 2026-11-24 01:45:26 +00:00 by denn0x · 12 comments
denn0x commented 2026-11-24 01:45:26 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by denn0x on 2026-11-24T01:45:26Z.


Problem

With X2W_XMEM_GPU_MIRROR=1 a YUV video is readable (before, it was solid green from all-zero planes), but its
colours are wrong. Likely candidates: chroma plane layout or offset, plane format (R8 vs R8G8), or the
colour-conversion constants seen by the translated pixel shader.

Done when

A synthetic NV12/planar YUV fixture renders through the same translated path with the expected colours, and the
fix is in the stand-in or translator.

Context: docs/startup-runtime.md (#1135). Do not attach game files, dumps or logs that contain addresses or names from an executable; describe results in terms of the component tested.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6572712206 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138). Originally posted by [denn0x](https://github.com/denn0x) on 2026-11-24T01:45:26Z. --- ## Problem With `X2W_XMEM_GPU_MIRROR=1` a YUV video is readable (before, it was solid green from all-zero planes), but its colours are wrong. Likely candidates: chroma plane layout or offset, plane format (R8 vs R8G8), or the colour-conversion constants seen by the translated pixel shader. ## Done when A synthetic NV12/planar YUV fixture renders through the same translated path with the expected colours, and the fix is in the stand-in or translator. Context: `docs/startup-runtime.md` (#1135). Do not attach game files, dumps or logs that contain addresses or names from an executable; describe results in terms of the component tested. AI-assisted (Claude Code).
R0Y00 commented 2026-11-24 06:50:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T02:09:09Z.


I reproduced a missing chroma plane on #1135 (e658fe24) with a source-built 8×4 NV12 image. XG reported one plane, accepted the Y write, and returned E_INVALIDARG for UV. The startup draw uploader also copied only subresource zero.

The candidate gives a single NV12 image two desktop copy footprints and uploads both. A source-built draw with separate R8 and R8G8 views compared all 32 RGBA pixels against an integer CPU reference, then repeated with swapped U/V bytes. Both cases matched on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), Windows 26200.9974, debug layer off. Invalid plane and short UV stride cases returned E_INVALIDARG. An experimental NV12 array produced mismatches, so the candidate explicitly reports it as unsupported. Candidate and tests

ctest --preset release --no-tests=error -R '^startup_nv12_draw_' -V passed 2/2. The fixture uses a source-built conversion shader. To connect this finding to the video, could the reporter share just the texture format, dimensions, plane index and SRV format at the luma/chroma binds? That distinguishes an NV12 image from separate R8/R8G8 resources. The issue remains open for that comparison.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7119807247 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7119807247). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T02:09:09Z. --- I reproduced a missing chroma plane on #1135 (`e658fe24`) with a source-built 8×4 NV12 image. XG reported one plane, accepted the Y write, and returned `E_INVALIDARG` for UV. The startup draw uploader also copied only subresource zero. The candidate gives a single NV12 image two desktop copy footprints and uploads both. A source-built draw with separate R8 and R8G8 views compared all 32 RGBA pixels against an integer CPU reference, then repeated with swapped U/V bytes. Both cases matched on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), Windows 26200.9974, debug layer off. Invalid plane and short UV stride cases returned `E_INVALIDARG`. An experimental NV12 array produced mismatches, so the candidate explicitly reports it as unsupported. [Candidate and tests](https://github.com/R0Y00/Xbox2Windows/commit/1232615336c21007fb33359c391026a1246d7cc7) `ctest --preset release --no-tests=error -R '^startup_nv12_draw_' -V` passed 2/2. The fixture uses a source-built conversion shader. To connect this finding to the video, could the reporter share just the texture format, dimensions, plane index and SRV format at the luma/chroma binds? That distinguishes an NV12 image from separate R8/R8G8 resources. The issue remains open for that comparison.
denn0x commented 2026-11-24 06:50:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by denn0x on 2026-11-24T04:01:45Z.


A second cause, in the translator rather than the uploader: the video pixel shader loads its plane descriptors with wide scalar loads. gfx2hlsl.descriptor() gave every descriptor in one load the load's base offset, so the descriptor at table offset 64 was merged into the one at 32 and two planes were sampled from the same SRV.

With 16ac9a22 (on #1135) the retranslated shader declares four SRVs at offsets 64, 32, 96 and 128. In my local run the intro video then plays in plausible colours. Cached translations of that shader need regenerating, because the old .hlsl keeps the merged binding.

This and #1177 look complementary: #1177 makes sure the chroma plane is uploaded, and this change makes the shader read it from its own SRV. I have not isolated which one is sufficient on its own for the source-built NV12 case. My local runtime build does not have #1177 merged yet.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7121639988 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7121639988). Originally posted by [denn0x](https://github.com/denn0x) on 2026-11-24T04:01:45Z. --- A second cause, in the translator rather than the uploader: the video pixel shader loads its plane descriptors with wide scalar loads. `gfx2hlsl.descriptor()` gave every descriptor in one load the load's base offset, so the descriptor at table offset 64 was merged into the one at 32 and two planes were sampled from the same SRV. With `16ac9a22` (on #1135) the retranslated shader declares four SRVs at offsets 64, 32, 96 and 128. In my local run the intro video then plays in plausible colours. Cached translations of that shader need regenerating, because the old `.hlsl` keeps the merged binding. This and #1177 look complementary: #1177 makes sure the chroma plane is uploaded, and this change makes the shader read it from its own SRV. I have not isolated which one is sufficient on its own for the source-built NV12 case. My local runtime build does not have #1177 merged yet.
R0Y00 commented 2026-11-24 06:50:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T04:19:29Z.


Open for one AMD or Intel GPU tester to claim. Please reply with the adapter you can test. The RTX 4060 Laptop and WARP plane-upload checks are already covered above. The startup team will handle the executable retest.

Use the source-built 8×4 NV12 fixture at #1177, commit 7dcdfdcd. From the configured Release build, run ctest --preset release --no-tests=error -R '^startup_nv12_draw_' -V. Report the commit, adapter, driver, Windows build, debug-layer setting, hardware outcome and first differing pixel if any. Include the swapped-U/V control and any capability skip separately. The expected result is a match to each control’s own CPU reference at all 32 pixels.

This result tests plane upload on another adapter. The wide scalar descriptor fix at 16ac9a22 needs its own comparison with regenerated translations; follow the author’s report for that work.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7121913714 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7121913714). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T04:19:29Z. --- **Open for one AMD or Intel GPU tester to claim.** Please reply with the adapter you can test. The RTX 4060 Laptop and WARP plane-upload checks are already covered above. The startup team will handle the executable retest. Use the source-built 8×4 NV12 fixture at #1177, commit `7dcdfdcd`. From the configured Release build, run `ctest --preset release --no-tests=error -R '^startup_nv12_draw_' -V`. Report the commit, adapter, driver, Windows build, debug-layer setting, hardware outcome and first differing pixel if any. Include the swapped-U/V control and any capability skip separately. The expected result is a match to each control’s own CPU reference at all 32 pixels. This result tests plane upload on another adapter. The wide scalar descriptor fix at `16ac9a22` needs its own comparison with regenerated translations; follow the [author’s report](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7121639988) for that work.
Alexofbulgaria commented 2026-11-24 06:50:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Alexofbulgaria on 2026-11-24T04:44:55Z.


I can provide an Intel Arc A770 retest of the source-built NV12 plane-upload fixture when I’m back at that desktop. Windows 11 Pro build 26300; Intel driver 32.0.101.9175 was installed, and I’ll verify the active driver after the required full shutdown/power-on before testing. I’m preparing the pinned Release build and will report the exact revision, adapter, driver, debug-layer state, normal and swapped-U/V results, and any capability skip or first mismatch. This is the synthetic fixture only; I’m not claiming a main-executable retest. Desktop access is pending, so please don’t hold up anyone who can test sooner.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7122301961 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122301961). Originally posted by [Alexofbulgaria](https://github.com/Alexofbulgaria) on 2026-11-24T04:44:55Z. --- I can provide an Intel Arc A770 retest of the source-built NV12 plane-upload fixture when I’m back at that desktop. Windows 11 Pro build 26300; Intel driver 32.0.101.9175 was installed, and I’ll verify the active driver after the required full shutdown/power-on before testing. I’m preparing the pinned Release build and will report the exact revision, adapter, driver, debug-layer state, normal and swapped-U/V results, and any capability skip or first mismatch. This is the synthetic fixture only; I’m not claiming a main-executable retest. Desktop access is pending, so please don’t hold up anyone who can test sooner.
R0Y00 commented 2026-11-24 06:50:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T05:02:09Z.


Thanks for offering the Arc A770 retest. Use main at or after #1177 (4b2d84e9) and build the Release targets startup_nv12_draw and d3d12_xs_shim.

ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V

Please include the normal readback and swapped-U/V control from that output and record any capability skip separately. Other adapters can test in parallel.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7122562558 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122562558). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T05:02:09Z. --- Thanks for offering the Arc A770 retest. Use main at or after #1177 (4b2d84e9) and build the Release targets startup_nv12_draw and d3d12_xs_shim. ~~~powershell ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V ~~~ Please include the normal readback and swapped-U/V control from that output and record any capability skip separately. Other adapters can test in parallel.
Alexofbulgaria commented 2026-11-24 06:50:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Alexofbulgaria on 2026-11-24T05:05:19Z.


Thanks — I’ll use the #1177 merge commit 4b2d84e91af0efe7cea24b840c711b3824a39cf0, build startup_nv12_draw and d3d12_xs_shim in Release, and run ^startup_nv12_draw_hardware$. I’ve updated the collection instructions to your reply. The A770 hardware run is still pending desktop access; I’ll post both normal and swapped-U/V readbacks with the verified active driver and any capability skip.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7122612230 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122612230). Originally posted by [Alexofbulgaria](https://github.com/Alexofbulgaria) on 2026-11-24T05:05:19Z. --- Thanks — I’ll use the #1177 merge commit `4b2d84e91af0efe7cea24b840c711b3824a39cf0`, build `startup_nv12_draw` and `d3d12_xs_shim` in Release, and run `^startup_nv12_draw_hardware$`. I’ve updated the collection instructions to your reply. The A770 hardware run is still pending desktop access; I’ll post both normal and swapped-U/V readbacks with the verified active driver and any capability skip.
Alexofbulgaria commented 2026-11-24 06:50:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Alexofbulgaria on 2026-11-24T06:01:29Z.


Additional NV12 hardware result — RTX 2070 Max-Q — 24 November 2026

I ran the source-built fixture on my Dell G7 7500 laptop while away from the desktop. The Intel Arc A770 run is still pending.

  • Source revision: 4b2d84e91af0efe7cea24b840c711b3824a39cf0 (#1177 merge), obtained as a source archive.
  • Adapter selected by the test: NVIDIA GeForce RTX 2070 with Max-Q Design.
  • NVIDIA driver: 32.0.15.8129, captured with this run.
  • Windows 11 Pro, build 26300.10075 from the earlier inventory of this laptop; the OS build was not recaptured in this bundle.
  • Release build, MSVC 19.44.35230.0, Windows SDK 10.0.26100.0. Both startup_nv12_draw and d3d12_xs_shim built successfully.
  • Debug layer: the fixture does not explicitly enable it; this report did not independently capture whether a layer was enabled externally.
ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V

Relevant full verbose output:

X2W_SHIM_DRAW_ADAPTER=hardware
adapter=NVIDIA GeForce RTX 2070 with Max-Q Design
NV12 pixels=32 chroma=UV mismatches=0
adapter=NVIDIA GeForce RTX 2070 with Max-Q Design
NV12 pixels=32 chroma=VU mismatches=0

Result: 1 passed, 0 failed, 0 skipped; CTest exit code 0. Both the normal and swapped-U/V controls matched their own CPU references at all 32 pixels. No first differing pixel or capability skip occurred.

This is additional NVIDIA evidence for the synthetic plane-upload fixture. It does not test the translated video shader/descriptor fix or establish game startup or gameplay.

AI-assisted setup and report preparation; the build and hardware test were executed locally on my laptop.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7123498235 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7123498235). Originally posted by [Alexofbulgaria](https://github.com/Alexofbulgaria) on 2026-11-24T06:01:29Z. --- ### Additional NV12 hardware result — RTX 2070 Max-Q — 24 November 2026 I ran the source-built fixture on my Dell G7 7500 laptop while away from the desktop. **The Intel Arc A770 run is still pending.** - Source revision: `4b2d84e91af0efe7cea24b840c711b3824a39cf0` (#1177 merge), obtained as a source archive. - Adapter selected by the test: NVIDIA GeForce RTX 2070 with Max-Q Design. - NVIDIA driver: `32.0.15.8129`, captured with this run. - Windows 11 Pro, build `26300.10075` from the earlier inventory of this laptop; the OS build was not recaptured in this bundle. - Release build, MSVC `19.44.35230.0`, Windows SDK `10.0.26100.0`. Both `startup_nv12_draw` and `d3d12_xs_shim` built successfully. - Debug layer: the fixture does not explicitly enable it; this report did not independently capture whether a layer was enabled externally. ```powershell ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V ``` Relevant full verbose output: ```text X2W_SHIM_DRAW_ADAPTER=hardware adapter=NVIDIA GeForce RTX 2070 with Max-Q Design NV12 pixels=32 chroma=UV mismatches=0 adapter=NVIDIA GeForce RTX 2070 with Max-Q Design NV12 pixels=32 chroma=VU mismatches=0 ``` **Result: 1 passed, 0 failed, 0 skipped; CTest exit code 0.** Both the normal and swapped-U/V controls matched their own CPU references at all 32 pixels. No first differing pixel or capability skip occurred. This is additional NVIDIA evidence for the synthetic plane-upload fixture. It does not test the translated video shader/descriptor fix or establish game startup or gameplay. AI-assisted setup and report preparation; the build and hardware test were executed locally on my laptop.
JohnConnorNPC commented 2026-11-24 06:50:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-24T06:42:24Z.


16ac9a22 is not on main, so a build of plain main still merges two of the video planes.

  • #1135 merged at 03:30:59Z with head da5884af (four commits). 16ac9a22 was authored at 04:00:46Z on top of da5884af and is the tip of denn0x:startup/runtime-stand-ins, so it was pushed after the merge. The commits API lists no pull request for it, git merge-base --is-ancestor 16ac9a22 origin/main fails, and tests/startup_translator_check.py is absent from main.
  • Checked on main at 99cde8d6: tools/startup/gfx2hlsl.py --pending on the request for the video pixel shader (three image_samples, two of them through one s_load_dwordx16) writes a manifest with tex2d table 0 32 and tex2d table 0 96 and no entry at 64, and the HLSL samples the same Texture2D twice. descriptor() there still returns s[1], s[2].
  • With the dword index added to the offset (the same change as 16ac9a22, made independently before I found that commit), the manifest has tex2d table 0 64, 32 and 96, and after regenerating the cached translations the intro video shows plausible colours here. Host: Linux, Wine with vkd3d-proton, NVIDIA RTX 4070 Ti SUPER, so this is a translation-layer observation, not a Windows result.

@denn0x, could you open a follow-up PR with 16ac9a22 and its test? It is your commit; I would rather not duplicate it. Until it lands, runs from main will keep reporting wrong colours whatever the plane upload does.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7124207906 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7124207906). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-24T06:42:24Z. --- `16ac9a22` is not on `main`, so a build of plain `main` still merges two of the video planes. - #1135 merged at 03:30:59Z with head `da5884af` (four commits). `16ac9a22` was authored at 04:00:46Z on top of `da5884af` and is the tip of `denn0x:startup/runtime-stand-ins`, so it was pushed after the merge. The commits API lists no pull request for it, `git merge-base --is-ancestor 16ac9a22 origin/main` fails, and `tests/startup_translator_check.py` is absent from `main`. - Checked on `main` at `99cde8d6`: `tools/startup/gfx2hlsl.py --pending` on the request for the video pixel shader (three `image_sample`s, two of them through one `s_load_dwordx16`) writes a manifest with `tex2d table 0 32` and `tex2d table 0 96` and no entry at 64, and the HLSL samples the same `Texture2D` twice. `descriptor()` there still returns `s[1], s[2]`. - With the dword index added to the offset (the same change as `16ac9a22`, made independently before I found that commit), the manifest has `tex2d table 0 64`, `32` and `96`, and after regenerating the cached translations the intro video shows plausible colours here. Host: Linux, Wine with vkd3d-proton, NVIDIA RTX 4070 Ti SUPER, so this is a translation-layer observation, not a Windows result. @denn0x, could you open a follow-up PR with `16ac9a22` and its test? It is your commit; I would rather not duplicate it. Until it lands, runs from `main` will keep reporting wrong colours whatever the plane upload does.
R0Y00 commented 2026-11-24 06:50:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T06:47:29Z.


The reopen/retranslate check explains why the #1177 source-built NV12 fixture can pass while the translated startup shader still binds two samples to the same view. Update: #1286 now carries denn0x's original correction and synthetic controls. Please put any independent review or binding comparisons on that PR so the fix stays in one place. The Intel NV12 retest remains useful as independent coverage.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7124293825 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7124293825). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T06:47:29Z. --- The reopen/retranslate check explains why the #1177 source-built NV12 fixture can pass while the translated startup shader still binds two samples to the same view. Update: #1286 now carries denn0x's original correction and synthetic controls. Please put any independent review or binding comparisons on that PR so the fix stays in one place. The Intel NV12 retest remains useful as independent coverage.
Alexofbulgaria commented 2026-11-24 14:03:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Alexofbulgaria on 2026-11-24T14:02:35Z.


Requested Intel Arc A770 NV12 retest — 24 November 2026

The promised A770 hardware run is complete, following the maintainer’s instructions.

  • Source: 4b2d84e91af0efe7cea24b840c711b3824a39cf0, the #1177 merge commit, verified with git rev-parse HEAD.
  • Hardware: Intel Arc A770; Core i9-12900HK; Windows 11 Pro 26300.9974.
  • Active Intel driver: 32.0.101.9175, verified after the required full shutdown/power-on.
  • Build: Release, MSVC 19.44.35230.0, CMake 3.31.6-msvc6, Windows SDK 10.0.26100.0, DXC 1.9.2602.17. Both requested targets built successfully.
  • Debug layer: not explicitly enabled by this fixture; an externally forced debug-layer state was not independently captured.

Commands:

cmake --preset release -DCMAKE_TRY_COMPILE_CONFIGURATION=Release
cmake --build --preset release --target startup_nv12_draw d3d12_xs_shim --parallel 4
ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V

Relevant complete verbose output:

X2W_SHIM_DRAW_ADAPTER=hardware
adapter=Intel(R) Arc(TM) A770 Graphics
NV12 pixels=32 chroma=UV mismatches=0
adapter=Intel(R) Arc(TM) A770 Graphics
NV12 pixels=32 chroma=VU mismatches=0

Result: 1 passed, 0 failed, 0 skipped; CTest exit code 0. Normal UV and swapped U/V each matched their own CPU reference at all 32 pixels. There is no first differing pixel or capability skip to report. Both Release build targets completed with exit 0; no collection step timed out.

Configuration note: CMake warned that the Python-driven tests were disabled because the configured out/pe-env/Scripts/python.exe was absent. Those tests were not run. The selected NV12 hardware CTest was registered, executed and passed; its full verbose log supplies the adapter and both pixel results, because JUnit text may be truncated.

This adds independent Intel evidence for the source-built single-image NV12 plane-upload fixture. It does not retest the separate descriptor/translated-shader correction in #1286 or establish main-executable startup or gameplay. My earlier RTX 2070 Max-Q result covered the same pinned fixture on NVIDIA.

AI-assisted setup, log verification and report preparation; the build and hardware test were executed locally on my A770 desktop.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7133743088 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7133743088). Originally posted by [Alexofbulgaria](https://github.com/Alexofbulgaria) on 2026-11-24T14:02:35Z. --- ### Requested Intel Arc A770 NV12 retest — 24 November 2026 The [promised A770 hardware run](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122612230) is complete, following the [maintainer’s instructions](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122562558). - Source: `4b2d84e91af0efe7cea24b840c711b3824a39cf0`, the #1177 merge commit, verified with `git rev-parse HEAD`. - Hardware: Intel Arc A770; Core i9-12900HK; Windows 11 Pro `26300.9974`. - Active Intel driver: `32.0.101.9175`, verified after the required full shutdown/power-on. - Build: Release, MSVC `19.44.35230.0`, CMake `3.31.6-msvc6`, Windows SDK `10.0.26100.0`, DXC `1.9.2602.17`. Both requested targets built successfully. - Debug layer: not explicitly enabled by this fixture; an externally forced debug-layer state was not independently captured. Commands: ```powershell cmake --preset release -DCMAKE_TRY_COMPILE_CONFIGURATION=Release cmake --build --preset release --target startup_nv12_draw d3d12_xs_shim --parallel 4 ctest --preset release --no-tests=error -R '^startup_nv12_draw_hardware$' -V ``` Relevant complete verbose output: ```text X2W_SHIM_DRAW_ADAPTER=hardware adapter=Intel(R) Arc(TM) A770 Graphics NV12 pixels=32 chroma=UV mismatches=0 adapter=Intel(R) Arc(TM) A770 Graphics NV12 pixels=32 chroma=VU mismatches=0 ``` **Result: 1 passed, 0 failed, 0 skipped; CTest exit code 0.** Normal UV and swapped U/V each matched their own CPU reference at all 32 pixels. There is no first differing pixel or capability skip to report. Both Release build targets completed with exit 0; no collection step timed out. Configuration note: CMake warned that the Python-driven tests were disabled because the configured `out/pe-env/Scripts/python.exe` was absent. Those tests were not run. The selected NV12 hardware CTest was registered, executed and passed; its full verbose log supplies the adapter and both pixel results, because JUnit text may be truncated. This adds independent Intel evidence for the source-built single-image NV12 plane-upload fixture. It does not retest the separate descriptor/translated-shader correction in #1286 or establish main-executable startup or gameplay. My earlier [RTX 2070 Max-Q result](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7123498235) covered the same pinned fixture on NVIDIA. AI-assisted setup, log verification and report preparation; the build and hardware test were executed locally on my A770 desktop.
R0Y00 commented 2026-11-24 15:02:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T14:23:35Z.


Thanks for the Intel Arc A770 retest. At the #1177 merge commit, both synthetic UV and VU paths matched all 32 pixels on driver 32.0.101.9175, with no CTest skip. This fills the requested Intel check for the source-built fixture. For any remaining playback-color report, please link a current build that includes #1286 and report the translated binding or the first visible mismatch separately.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7134299110 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7134299110). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T14:23:35Z. --- Thanks for the Intel Arc A770 retest. At the #1177 merge commit, both synthetic UV and VU paths matched all 32 pixels on driver 32.0.101.9175, with no CTest skip. This fills the requested Intel check for the source-built fixture. For any remaining playback-color report, please link a current build that includes #1286 and report the translated binding or the first visible mismatch separately.
Lifither commented 2026-11-24 20:01:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T19:18:00Z.


Polaris NV12 hardware retest following the requested fixture procedure.

  • Upstream ddeaa5ebd11cfc03248c72e5d0dbbe7d005bd20b, Windows 11 x64 build 26300.9974, Release, clang-cl 23.1.6 with /EHa, Windows SDK 10.0.26100.
  • Radeon RX 590 Series (1002:67df), driver 31.0.21923.1000, and WARP, Microsoft Basic Render Driver, version 10.0.26100.9818. This fixture did not report debug-layer status.
cmake --build <build> --target startup_nv12_draw
ctest --test-dir <build> --no-tests=error -R '^startup_nv12_draw_(hardware|warp)$' -V

Both adapters matched all 32 pixels in each chroma order (UV and swapped VU), with 0 mismatches per case. The invalid plane and short pitch were refused as expected. Both CTests passed, with zero failures and zero skips.

Source-built fixtures only. Codex assisted with the build, test runs, and reporting.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7141893895 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7141893895). Originally posted by [Lifither](https://github.com/Lifither) on 2026-11-24T19:18:00Z. --- Polaris NV12 hardware retest following the [requested fixture procedure](https://github.com/R0Y00/Xbox2Windows/issues/1138#issuecomment-7122562558). - Upstream `ddeaa5ebd11cfc03248c72e5d0dbbe7d005bd20b`, Windows 11 x64 build 26300.9974, Release, clang-cl 23.1.6 with `/EHa`, Windows SDK 10.0.26100. - Radeon RX 590 Series (1002:67df), driver 31.0.21923.1000, and WARP, Microsoft Basic Render Driver, version 10.0.26100.9818. This fixture did not report debug-layer status. ```powershell cmake --build <build> --target startup_nv12_draw ctest --test-dir <build> --no-tests=error -R '^startup_nv12_draw_(hardware|warp)$' -V ``` Both adapters matched all 32 pixels in each chroma order (UV and swapped VU), with 0 mismatches per case. The invalid plane and short pitch were refused as expected. Both CTests passed, with zero failures and zero skips. Source-built fixtures only. Codex assisted with the build, test runs, and reporting.
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#1131
No description provided.