meta: parallel contributions are outpacing a shared development line #215
Closed
opened 2026-11-21 18:32:30 +00:00 by raulmoracode
·
14 comments
No Branch/Tag specified
main
codex/indirect-large-backed-views
codex/word3-preflight-check
codex/vertex-table-two-records
codex/live-index-alias
codex/copied-vertex-buffer-srv
codex/windows-stage-test-output
codex/preserve-live-srv-retirement
codex/share-render-target-tracking
codex/sgd5-negative-offset-fixture
coverage-dashboard
codex/mesh-loose-root
codex/mesh86-cache-padding
codex/xmem-scatter-preflight
codex/mesh-depth-ps
codex/indirect-dispatch-refresh
codex/compute-container-index
codex/startup-compute-formatted-load
codex/compute-indirect-producer
codex/compute-atomic-soffset
codex/mesh-dual-handoff
codex/startup-run-sh-watcher-control
codex/queue31-page-alias
codex/indexed-indirect-compute-root
codex/typed-buffer-view-metadata
codex/translated-indexed-address-alias
codex/fixed-mesh-create-result
codex/xmem-section-lease
codex/startup-slot86-mesh-cache
codex/restore-mesh-barrier-iteration
codex/translated-indirect-upload-index
codex/xapu-completion-opt-in
codex/translated-indexed-rect
codex/translated-indexed-indirect
codex/startup-mesh-lds-integration
codex/startup-console-ms24
codex/startup-slot57-mesh-request
codex/indirect-copy-provenance
codex/present-color-producer-trace
codex/compute-dispatch-binding-trace
codex/translated-indirect-table-buffers
codex/indirect-copy-provenance-base
codex/mix-half-literal-source
codex/translated-indirect-draw
codex/xmem-scatter-diagnostics
codex/slot148-recording-upload
codex/slot70-loading-art-verified
codex/command-list-upload-arena
codex/recover-failed-command-list
codex/startup-heap-timing-notes
codex/align-audio-input-timeline
codex/synthetic-depth-export-control
codex/startup-texture1d-on-windows
codex/1629-packed-position-fixture
codex/cpu-srv-refresh
codex/stream-root-srv-draw
codex/audio-mixer-timer
codex/startup-reload-published-shader
codex/priority-integrate-1284
codex/guest-sixteen-page-record
codex/aot-placed-dxr-batch
codex/guest-directory-selection
codex/gamesave-enumerate-read
codex/readme-archive-to-pixels
codex/pe-placed-view-draw
codex/archive-directory-gpu
codex/slot133-dxr-build
codex/materialize-placed-vertex-view
codex/dstorage-directory-offsets
codex/xg-nine-bc-copy
codex/xg-slot10-bc64-arrays
codex/dxr-guest-address-readback
codex/gpu-va-high-bits
codex/clarify-diagnostic-startup-scope
codex/xg-six-levels
codex/typed-derived-blend
codex/english-legal-text-progress
codex/address-bc-4ks
codex/dstorage-bounded-file-read
codex/wide-srv-offsets-menu
codex/startup-memory-srv
codex/bound-view-tail
codex/language-selector-readback
codex/setup-menu-progress
codex/cpu-plane-refresh
codex/startup-ubyte-vertex
codex/presenter-window-selection
codex/startup-uniform-buffer-lane
codex/intro-loop-timing
codex/static-clzero-loops
codex/document-rtx-intro
codex/startup-insertq
codex/nv12-startup-texture
codex/stream-stage-draw
codex/startup-null-uav-format
codex/startup-draw-capture
codex/shorten-windows-checks
codex/dstorage-rfc1950
codex/startup-dump-fence
codex/pr1135-review-base
codex/startup-stream-requests
codex/startup-chroma-view
codex/readme-graphics-pipeline-streams
codex/static-crt-free-tls
codex/arc-140t-rtx-5080-laptop-gpu-reports
codex/main-startup-progress-entry
codex/signed-dxil-catalogue
codex/reloc-free-preferred-base
codex/quad-dpp-bit-mask
codex/raw-srv-bounds
codex/rx9070-31044-hardware-report
codex/gpu-page-source-provenance
codex/runtime-placeholder-interior
codex/gpu-copy-queue-tile-order
codex/pe-pin-external-providers
codex/xmem-placeholder-reservations
codex/xmem-shared-physical-pages
codex/pe-package-startup
codex/xmem-tools-memory-query
codex/cpu-stack-output-import
codex/pe-load-security-cookie
codex/record-three-bvh-retests
codex/cpu-rbp-frame-anchor
codex/xmem-default-startup
codex/record-rtx-3050-ti-9597
codex/docs-readme-start-here
codex/check-compute-mad24-truncation
codex/docs-discord-community
codex/bound-rcx-branch-mutants
codex/rtx5060ti-bvh-62114
codex/837-neutral-readme-disclaimer
codex/record-rtx-3070-ti
codex/title-neutral-public-wording
codex/exe-shadow-frame-submissions
codex/exe-shadow-runtime-chain
codex/readme-polish
codex/gpu-coverage-nov23
codex/spirv-minlod
codex/shadow-shim-device
codex/exe-two-shadow-frames
codex/shim-dispatch-cleanup
codex/fix-spirv-cache-probe
codex/sampler-use
codex/ballot-bit-extract
codex/packed-fma-release
codex/cpu-packed-fma-o2
codex/publish-coverage-dashboard
codex/mesh-cbv-binding-order
codex/spirv-window-fixture
codex/ps-e32-float-uint
codex/ps-cbuffer-reads
codex/fixed-profile-rescan
codex/shim-compute-integration
codex/readme-visible-coverage
codex/readme-research-navigation
codex/integrate-pr-256
codex/indexed-mesh
codex/sampled-coverage
codex/first-ms
codex/dual-ps
codex/ps-attribute
codex/compute-first
codex/ps-export
codex/readme-research-status
codex/ps-layout
codex/blast-window
codex/chart-caption
codex/reviewer-roles
codex/blast-aot
codex/archive-program
codex/crc-stream-program
codex/exe-image-data-chain
codex/local-cpu-fixture-coverage
codex/exe-bound-frame-chain
codex/exe-mapped-comparison
codex/contribution-dependencies
codex/exe-entry-aot
codex/bink-frame-heap-integration
docs/hardware-seven-reports
codex/bink-custom-heap
codex/bink-heap-callers
codex/discussions-entry-points
codex/gpu-community-batch-64
codex/ffx-scratch-writers
codex/generic-project-documentation
codex/ffx-dispatch-rcas
codex/four-windows-gpu-reports
codex/title-neutral-project-wording
codex/community-coverage-provenance
codex/rcas-packed-texels
codex/community-gpu-retests
codex/community-build-and-gpu-reports
codex/ffx-provider-loop
codex/ffx-recurrent-views
codex/ffx-recurrent-resource
codex/amd-wave64-reports
codex/ffx-backend-slots
codex/upscaler-device-init
codex/ffx-context-lifecycle
codex/ffx-version-query
codex/ffx-provider-contract
codex/typed-object-callback
codex/cpu-ordinal-import
codex/chained-cpu-ranges
codex/cpu-import-call
codex/cpu-direct-call
codex/cpu-leaf-aot
codex/community-project-status
codex/script-state-path-replay
codex/script-state-evidence
codex/bc7-resident-tail
codex/bcpack-mip-tail
codex/bc7-texture-draw
codex/asset-ranges
codex/pixel-constants
codex/pixel-aot
codex/pre-exe-workloads
codex/root-signature-device-coverage
engineering/packed-bvh-leaves
engineering/bvh-build-and-update
engineering/intake-root-roundtrip
community/gpu-check-release
community/english-contributor-entry
gpu-check-v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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#215
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by raulmoracode on 2026-11-21T18:32:30Z.
Current integration work
Maintainer update, 23 Nov 2026.
Mainline engineering tasks
rwZephyrsupplied the public reproducer and GPU readback and claimed the opt-in lowering and binding work. The original comparison binding stays in place and the host supplies the separate ordinary binding. The #656 ballot fix is on main.pe_mapand AOT agree on the request, exit status and full frame for two palettes. The stale-texture control must fail the pixel comparison. Register the WARP fixture in both Windows presets.Dependencies and work already underway
yummancito's #560 landed in899785eafter both Windows checks passed. The maintainer verification and independent RTX 3070 and WARP and AMD reports are on the PR. The baseline compares all 16,384 RGBA bytes and process exit, with mirrored-draw and unknown-request controls.RonLogichas a fork draft based on #560. It exercises two distinct frames on one device and queue. Acceptance requires the same two references in all three runners, a stale first-frame reference mismatch, and an early-failure case that publishes only the first frame.RonLogichas offered a source-built read-only MeshEXT fixture. Coordinate the read-only binding contract before starting overlapping work. Compare all output pixels for baseline, relocation and out-of-range cases and retain a stale-reference control. Report local stage measurements by stage and verification step.Maintainer
R0Y00coordinates shared interfaces and merge order. Claim a step in the linked issue or PR by naming the interface and dependencies you expect to touch. Link evidence back here with the tested SHA, exact command, observed result and next open question. For smaller independent work, see the good first issue list.The original integration proposal follows for context.
Problem
The repository is receiving more parallel changes than it has capacity to review, verify or integrate into a coherent direction. Each change is individually defensible under the current rule ("one pull request, one reviewable behavior"), but the rule says nothing about order. The result is breadth-first growth: many correct pieces, no vertical slice.
This is not a criticism of any contributor. It is a structural observation about the current throughput.
Evidence
Snapshot of
mainwhen this was written:docs/experiments.mdis edited by 17 of them.CMakeLists.txtis edited by 11 of them.tools/pe_map.cppby 5,tests/offscreen_check.cppby 4,tests/cpu/native_map_check.pyby 4.Recent examples of the resulting friction:
xmem.dll) and #189 (serve the Bink shim fromera_heap) pursue the same shim contract in different directionstests/intake/paths_check.py:118, which encoded "an unknown loader hash produces no findings"src/contains one 32-line runtime fileRisks
docs/experiments.mdandCMakeLists.txtare edited by almost every PR, so every merge invalidates several branches.docs/experiments.mdgrows faster than anyone can audit. Platform differences appear late, for example the Windows 10 in-box WARP failingpixel_aot_warpon the NLG NaN case.Proposed change
A lightweight development line plus a merge rule. No code changes, no new process tooling.
Three milestones, in order:
pe_mapplus a shared shim contract, TLS data, forwarded exports. Completion: a source-built DLL maps with every import and export resolved through one documented interface.Merge rule: every new pull request states which milestone it unblocks. If it unblocks none, it is welcome but goes to a visible
laterlist rather than competing with the current milestone. The maintainer still decides what merges; the rule only makes the cost visible.Two supporting practices:
Alternatives
Verification
The proposal works if, after two weeks:
None of this needs a bot or a new label. It can be written into
CONTRIBUTING.mdin one paragraph if the maintainer agrees.Scope
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by raulmoracode on 2026-11-21T18:34:01Z.
@R0Y00
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T18:39:18Z.
Thanks for raising the integration question. #183 and #221 have landed. The one new shared milestone is #210: run the same source-built EXE natively and through static recompilation, then compare import arguments, output bytes and exit codes for two inputs. Implementation, independent Windows verification and review are all welcome on that same path. Independent contributions can continue under the existing merge criteria.
Imported from R0Y00/Xbox2Windows. Originally posted by raulmoracode on 2026-11-21T18:42:23Z.
#210 is a good shared milestone. It is the first end-to-end comparison, and its completion condition can be checked rather than argued about. I will treat it as the line: independent verification and review on that path, including a Windows 10 19045 run with the full MSVC/SDK toolchain, since the current evidence is Windows 11.
One small guardrail from the original proposal is still worth keeping, and it does not restrict research: a new pull request states which milestone it serves. If it serves none, it can still be merged, but the cost is visible. That would have made duplicate directions show up before both were implemented.
I am not asking to close or delay anything that is already open, and I am happy to help with the #210 comparison or its Windows CI registration.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T18:53:36Z.
@raulmoracode, thanks for calling out the overlap. We’ll update the contributor guide and PR template. When claiming shared work, name the interface you expect to touch and link any work it depends on. When opening a PR, say which task it advances or which independent problem it solves.
Your Windows 10 build 19045 offer now has a merged reference. Please run #228 at
c04e65a8a9c1a6881edaf4bdd283d35e39dac8cein a clean checkout with x64 MSVC and the Windows SDK. From the repository root:For selector 0 the DLL should receive (0x100000303, 0xfffffffd), write 1103000000000000 and exit with 0x60d. For selector 1 the expected values are (0x30, 0x06), 3500000000000000 and 0x57. Both rows should report inversion detected. Please reply here with the Windows build, MSVC/SDK versions, commit and the two CTest rows, or the first failing command and diagnostic. That gives us an independent comparison on the same inputs as Windows CI.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T03:47:15Z.
A concrete change for concurrent CPU contributions landed in #444. A new translated MASM fixture can now register its differential CTest on its own first line (see CONTRIBUTING.md, under Share a reproducible finding). When resolving an existing CPU_FIXTURES insertion conflict, keep the registration in your fixture, using source or record mode as appropriate. Clean PRs with the existing mapping can land as written. This removes one shared edit from otherwise independent CPU changes.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T10:53:28Z.
The next comparison on the existing source-built EXE milestone is one observable draw from PE entry to exit. The current EXE already submits compute work under Windows,
pe_map, and AOT, including allocation failure. We can reuse its import trace and cleanup checks.For float-to-integer work already under #360, please compare #438 and #540 against merged #545 before adding another implementation. Existing independent PRs can continue through normal review. Please link source-built fixtures and publish aggregate counts or test logs.
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-22T11:32:46Z.
I ran the independent
SV_Positioncheck on WARP and an RTX 4070 at342969e. It reuses the existing full-screen triangle and RGBA32F readback with a 5×3 viewport at (2, 1) in an 8×8 target. The pixel inputs areTEXCOORD0, thenSV_Position. Red and green report position X and Y.Both adapters matched all 15 covered pixel centers and 49 clear pixels. Swapping X and Y failed at (2, 1), with
(1.5, 2.5)observed against(2.5, 1.5)expected. The source and test command are in #552.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T11:48:32Z.
The next GPU integration target is an entire shader stage. A Windows experiment used Leonida at f85582e2 as the external front end and SPIRV-Cross at 57e4efcc. All 26,503 archive records produced SPIR-V that passed Vulkan 1.2 validation. With stock HLSL emission, physical addressing was the first failure for 25,865 records and packed constant layout for 638.
With a local D3D12 binding prototype, the full vertex stage produced DXIL for 2,196 of 2,236 records; 2,144 built a pipeline on both the RTX 4060 Laptop and WARP. For the geometry stage, 195/195 produced DXIL and built pipelines on both adapters (four distinct compiled programs). A vertex program shared by two records drew two different triangles with a source-built pixel shader. On both adapters all 1,024 pixels matched the independent geometry reference in each draw, and reusing the first reference for the second draw detected 160 wrong pixels. Mesh, pixel and compute have only five sampled records each in this experiment. Pipeline creation and readback are tracked separately.
The bounded DWORD address window and its source-built positive and negative tests landed in #553. The whole-stage counts above used additional local prototype bindings. The next integration target is the complete mesh stage (9,282 records), with independent pixel readback before promoting the binding model. Contributors can help in parallel:
The Windows audit used build 26200.9974, NVIDIA 32.0.16.1656 and WARP 10.0.26100.9818. The D3D12 debug layer was enabled. Merged regression and reproduction commands · CI run.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T12:14:01Z.
The source-built mesh/pixel CBV swap mentioned above is now in #559. If you have an AMD adapter and would like to help, run the existing #559
mesh_cbv_order_hardwaretest, the #553 address-window hardware test, or both if your setup supports them. #559 should draw red at depth 0.5 and white at 0.625 after the swap, and reject the old color and depth references. #553 checks eight full-buffer results. Please put the tested SHA, exact command, adapter, driver, Windows build, debug-layer status, and first mismatch or capability skip on the PR you tested. Both fixtures are source-built.Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-22T16:31:32Z.
I can take a public, source-built regression for the SPIR-V-to-D3D12 mesh bridge if it fits the current plan. I have a local MeshEXT fixture that adds a read-only SRV mode to #553 and reuses the mesh readback harness from #557. The pinned SPIRV-Cross at
57e4efcemitted HLSL, DXC compiledms_6_6, and the RTX 4070 and WARP matched all 1,024 pixels for each of four cases: baseline, relocated offsets, unaligned read, and a read outside the SRV. An old-image control rejected the relocated draw at every pixel. The working branch uses only source-built data.The proposed interface is an optional read-only mode in
tools/spirv_address_window.pyand one optional CTest draw. The fixture targets the public bridge and descriptor bounds. Does this overlap with a fixture or binding change you already plan to publish from the whole-stage experiment? I will hold the PR until we settle that.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-22T17:09:43Z.
I’m prototyping a follow-up to #560. The same source-built EXE requests two distinct frames on one D3D12 device and queue, with exact readback references through native Windows, pe_map, and AOT. The controls reuse the first frame’s shader input and fail before the second submission. The existing draw_request/draw_frame imports and single-frame cases are preserved.
The draft on my fork targets the exact #560 head, so its diff contains just the follow-up. All five focused CTest entries passed in Debug and Release on RTX 4070 and WARP. Is anyone already working on persistent draw state for this fixture?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T12:15:58Z.
The local external-frontend experiment has finished the mesh, pixel and compute stages on Windows. The bridge uses Leonida f85582e, SPIRV-Cross 57e4efcc, the same
BRIDGE_WINDOW=4profile, and Windows SDK 10.0.26100.0 DXC with SM 6.6 and native 16-bit types. The machine ran Windows 11 build 26200.9974 with the D3D12 debug layer enabled, an RTX 4060 Laptop GPU on 32.0.16.1656 and WARP 10.0.26100.9818.Counts refer to archive occurrences. The output column requires a draw or dispatch, readback against an independent reference on both adapters, and a negative control. Identical DXIL and identical fixture inputs can reuse a measurement. The output-checked records cover 1 distinct mesh DXIL binary, 35 pixel binaries and 10 compute binaries. Other records have no output-correctness result here.
DXC had a 90-second budget and pixel/compute pipeline creation had a 45-second budget under parallel load. No attempted pipeline returned an explicit creation error. SPIRV-Cross reported the same HLSL lowering gap for
BallotBitExtracton 1,361 pixel and 807 compute records.One local mesh program was drawn through this same bridge with two controlled matrix bindings and a source-built pixel shader. Swapping the guest descriptors moved its triangle four pixels right. Both draws covered 276 pixels; all 1,024 pixels matched the CPU raster reference per draw and per adapter. Keeping the old reference for the swapped draw caught 172 differences on both RTX 4060 Laptop and WARP.
The independent public test in #559 has passed all four CI jobs and landed in
c4d5e8e. Two separate upload resources are exchanged at the root CBVs. The vertex depths change from 0.5 to 0.625 and the colors from red to white. Both the stale-color and stale-depth controls fail for the expected reason. AMD contributors can runctest --preset dev --no-tests=error -R "^mesh_cbv_order_" -Vand post the adapter, driver, Windows build, commit, debug layer and results. This test runs entirely from the public source.Imported from R0Y00/Xbox2Windows. Originally posted by rwZephyr on 2026-11-22T19:06:44Z.
#670 now has a source-built sampler-split prototype and independent readback on
edc2e54e7e75fcd7c0f13e98b47ba119d9a08268. The transformed fixture validated, compiled, and matched the two depth comparisons, ordinary sample, and all 13 guard words on RX 9070 XT and WARP. The wrong reference detected one mismatch on each. The full commands and source are in the linked issue. The open interface question is which component allocates the extra sampler slot and passes it to the host. AI-assisted.Imported from R0Y00/Xbox2Windows. Originally posted by grahamster2 on 2026-11-22T19:08:34Z.
I've claimed #671, the translated compute–mesh–pixel chain run from the PE entry (claim: https://github.com/R0Y00/Xbox2Windows/issues/671#issuecomment-7084139376). One shared provider edit: #560's test-only
tests/cpu/shim_draw_provider.cppgets three newX2W_SHIM_DRAW_CASEvalues (chain0,chain1,chain-stale) that dispatch to a new file,tests/cpu/shim_chain_gpu.cpp. Thedraw_request/draw_framesignatures, the EXE and the AOT import table stay unchanged, and so domesh_entry_draw.cppandoffscreen_check. This stacks on #560 and goes in after it. It's separate from RonLogic/Xbox2Windows#1, which changesshim_draw_gpu.cpp. If that lands first, I'll rebase onto it.