P0: main executable startup progress #864
Open
opened 2026-11-23 15:05:38 +00:00 by R0Y00
·
268 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#864
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 R0Y00 on 2026-11-23T15:05:38Z.
Mesh86 graphics checkpoint · 2 December 2026
Local Release build on
mainate1161e43plus unmerged C++ changes, on Windows 11 with RTX 4060 Laptop GPU (driver 616.56). With a fixed save, scripted input, a warm C++ shader cache and Opus enabled, all four sampled Mesh86 PSOs recorded direct slot 129 dispatches. Eight sampled command lists reached their GPU fences. The latest run sampled 48 dispatches with zero pixel shader invocations. Visible 3D scene output remains unverified.Graphics checkpoint · 1 December 2026
#3638 merged into
mainata0e126c2. It adds the native C++ Mesh86 material and Texture1D binding path, directDispatchMeshforwarding, and diagnostics that correlate the PSO and group counts with a command-list record and queue submission.The first current blockers are the 128-byte root SRV at root parameter 3 (#3639) and the roughly 174 MiB raw placed SRV at root parameter 0, byte offset
0xAC0(#3640). #3641 tracks the next end-to-end scene readback and presentation proof. The earlier broad issues #3541 and #3545 point to these follow-ups.Main executable checkpoint · 30 November 2026
Manual retest of
mainat35a3f6d6with asynchronous native Compute translation, a copy of the existing save profile, a warm C++ shader cache, native-only translation and Opus enabled. Full GPU command capture, per-call tracing and the D3D12 debug layer were disabled for this run.Tracking watchdog stalls #3451 and the first verified 3D scene draw #3541.
Main executable checkpoint · 28 November 2026
The native C++ path reached the loading and settings UI. Visible 3D scene motion and repeatable character movement or turning remain unverified.
2bd936f7b80513fd63a30dc1, the compiler PR #3091 still has conflicts and the runtime PR #3094 is stacked on it.Contributor handoff. The gradient investigation is claimed. The textured-band source fixture and shared upload fixes and the sampler and BC7 display upload fix are on
main. The source fixture reproduces alternating bands when row pitch is wrong. The original executable’s textured draw and central illustration still need a matched retest. The watcher invalidation task #3133 has overlapping candidates #3137 and #3138. The PSO fallback task #3134 has candidate #3139.Next executable milestone. On a fixed profile and input sequence, identify a submitted draw that writes visible scene color, trace it through presentation, then demonstrate a repeatable movement or turning response. Keep the loading-path stop and the UI rendering defects independently reproducible.
Main executable progress · 26 November 2026
a6c8d80d, host RTX 4060 Laptop driver 616.56, default adapter and project debug layer off. The presenter title and device log both identified the tested revision. With the same saved profile and graphics requests precompiled for cache revision 14, two distinct loading illustrations appeared at 138 and 148 s on the recording clock. Credits were visible over a solid red background at 275 s. Visible 3D scene motion and character control remain unverified.0xe06d7363). Its throw cause and any connection to the red scene remain open. Main development owns the matched local retest.940cd178, the local saved-profile replay displayed two loading illustrations and reached title and credit cards with a red background. It stopped on a read access violation at 202.60 s. The combined source-built GPU and upload checks passed on hardware and WARP. Configuration and resultsb9c9f624moved focus between menu items, opened a submenu and returned with B. Subsequent loading stopped in that run. Independent navigation report0631667d, all four translated pipelines loaded and 2,674 draws were recorded; the presented surface stayed black. A separate diagnostic cache substituted green at the zero-valued colour input. The current draw, following textured draw and presenter carried green through. The input writer and menu rendering remain unverified. Latest controlled report · Earlier RX 590 runEarlier startup results and milestones
Evidence
Intro playback timing (i9-14900HX / RTX 4060 Laptop). In two completed runs with the same startup configuration, 449 Bink frame advances yielded 448 intervals. With five counted
CLZEROloops translated locally, the interval total fell from 32.188 s to 14.937 s (13.92 to 29.99 frame advances/s). Intervals longer than 100 ms fell from 11 to zero. An additional attempt stopped during texture creation withE_OUTOFMEMORY. This comparison measures intro decoder timing. Gameplay frame rate remains unmeasured, and the audio issue stays open. Source-built loop comparison #1230Earlier WARP run. The local run created 53 compute and six graphics pipelines, completed 22 texture uploads with byte-matched readbacks, created six structured buffer views and queried queue timestamp frequency. Execution then stopped at a CPU CLZERO instruction.
Storage and pipeline-cache fallback. Real DirectStorage requests consumed complete RFC 1950 streams and produced 65,536 bytes each. The title attempted to rebuild pipelines after receiving a null pipeline and
E_NOTIMPLfor unsupported serialized cache data. Captured requests with unresolved shader bindings are still counted as misses. The latest WARP run also completed 13 single-texel uploads and CPU readbacks. CPU shader-input refresh fixture #1110Texture and buffer setup. The 128-byte constant-buffer input was copied into a 256-byte diagnostic upload allocation. For a nonuniform R8 texture, the default and explicit 4KB_S layouts agreed at all 32,768 texels in the public texture-computer comparison. The local WARP texture matched the detiled bytes on CPU readback. Input coherency at GPU submission and main-executable pixel output still need verification. An independent source-built graphics stream test ran six fenced draws on RTX and WARP. Fixture PR #1099
Graphics startup. The first graphics stream contains native shader programs in XDAT containers. The vertex and pixel stages were decoded and translated locally. Six calls to desktop
CreatePipelineStatereturnedS_OK. A projected sampler was created and copied, and a page pool was registered as metadata. Draw, fence completion and pixel readback for the main executable are still open.Maintainer diagnostic. The executable reaches D3D12 initialization using a local diagnostic runtime and translated compute shaders. All four query heaps and readback buffers returned
S_OK. The title also created five desktop indirect command signatures, including a three-DWORDDispatchXmapped toDISPATCH. XCL API reference The count includes pipeline 43 in its WARP creation-only configuration. The local WARP backend reports a native width of 4 and refuses the forced-wave32 pipeline that creates successfully on RTX 4060 Laptop. GPU submission, output comparison and a rendered frame in this runtime are still pending. The source-built comparison and runtime baseline are tracked in #165 and #1054. Signed DXIL indexing from source-built PE inputs is covered by #1042.Independent startup checkpoint. @denn0x reported desktop command-list execution and 2,414 black presents with a separate local diagnostic harness. The report is an independent integration reference. The first verified rendered frame remains open. Sanitized contributor report
Full-package DXIL compilation. A separate local DXC scan produced at least one compiled route for 26,500 of 26,503 records, including 25,595 same-stage results. The scan includes fallback routes and measures compilation. Pipeline creation, execution and output checks have their own evidence. Archive record counting
Updates and claims
Main development updates this table when the verified startup boundary changes. The maintenance chat updates the task rows in #874 when someone claims a task, posts a retest or merges a PR. Report the revision, Windows build, adapter and driver when applicable, exact command, observed result and first mismatch or capability skip. Share source-built fixtures, sanitized summaries and PR links. Keep local inputs and private diagnostics off GitHub.
Original startup checklist
Goal
Make the main executable the top development priority. Establish how far one reproducible startup attempt on x64 Windows gets and identify the first blocker. Availability has been reported. Execution of the title's CPU code, full-game startup and frame rate remain unverified.
First pass
Done when
This issue contains a reproducible record for the first trustworthy attempt, including the command or public reproduction steps, last confirmed stage, and either the first blocker or evidence of the next reached boundary. A blocker counts as a result. Follow-up fixes belong in focused, linked issues or PRs.
To claim a slice, comment here with the stage, environment and any overlapping work. Use Discord to coordinate and keep claims, evidence and decisions on GitHub. Keep executables, game files, dumps, distribution links and private logs out of GitHub and Discord.
Related baseline: #165 covers a source-built startup fixture.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T15:20:40Z.
P0 local checkpoint on
fc89b9e, Windows x64 build 26200, MSVC 19.51, Release.tools/intake_exe.pycompleted static intake. It indexed the x64 exception table and found two TLS callbacks. The direct-import comparison found 37 unresolved entries before the desktop shims and 32 after checking the builtxmem.dllandd3d12_xs.dllexport tables.Two fresh child processes calling
pe_map_imagewith a System32 resolver and only the project's two explicit shims returned the same result: 165 imports bound, mapper status 5,unresolved import xmem.dll!XMemAllocDefault. The shim loaded, but its export lookup failed. This locates the current boundary at IAT binding, before the TLS/entry run. The source-built loader checks passed, including a TLS-data rerun with a short temporary directory after a path-name error in the first run.I am following the first missing ABI locally. Community work is available in #875 (the XMem default allocation pair), #874 (D3D12 virtual-memory configuration), and the #165 TLS follow-up. The next integrated checkpoint is the same mapping probe after a source-built, independently reviewable provider change.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T15:25:46Z.
The first provider change is in #879. The source-built XMem suite passed 4/4 in Release. With the rebuilt shim, two fresh mapping probes reached the same next boundary: 166 imports bound, then mapper status 5 at
xmem.dll!XMemAllocatePhysicalPages. The physical-page allocation contract is now tracked in #880. The loader still stops at import binding.Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T15:18:49Z.
Claiming the loader TLS initialization slice listed above.
dev(/Od) andrelease(/O2) presets.pe_map_image/pe_map_releaseintools/pe_map.cpp(carrier-served TLS template, callback list in table order), compared withLoadLibraryW. No change tope_map.cppis planned; this is a fixture and harness change.cpu_native_tls_value(tests/cpu/tls_value.cpp,tests/cpu/native_tls_value_check.py), with an initialized template larger than one page with distinct words on each side of the page boundary, and a second TLS callback. Both callbacks verify the template and are recorded in order on the initial thread and on two concurrent workers. A write on one thread must not reach another thread's copy or the template in the loaded image. Negative controls patch copies of the built DLL: swapped callback entries and a template whose second page is zeroed. Both must be rejected with a diagnostic under both loaders.cpu_native_tls_data(tests/cpu/tls_data.cpp) already covers data kinds without explicit callbacks, so this does not duplicate it.I'll report the tested commit, commands and results here with the PR link.
Parallel work: #872 (one-command console-EXE conversion driver) is a different #870 stage. This slice covers loader TLS template and callback initialization only and does not overlap its stages or files.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T15:44:12Z.
Loader TLS slice result: #883.
Tested: commit
02cd2ac(branch rebased onorigin/main). Windows 10 Pro 10.0.19045.6466 (cmd /c ver), MSVC 19.44.35207.1 x64, CMake/Ninja. Source-built inputs only.Commands:
The same three commands with
release, thentests/form_coverage_check.py,tests/docs_links_check.pyandtests/bidi_controls_check.py.Expected vs observed:
Template spans a page boundary: dev RVA 0x6e8c0, 8224 bytes, boundary RVA 0x6f000. Release RVA 0x16290, boundary RVA 0x17000. The words on each side are distinct. Observed as expected.
Callback order: on every notification (process attach and detach on the initial thread, thread attach and detach on two concurrent workers), both loaders call caller 1, then caller 3, then the entry point. The table order is 1, 3. Native and
pe_mapper-thread sequences are equal.Values: every callback and entry-point call on attach sees a fresh template copy (7, no changed words). The initial thread writes 20, worker A writes 50 and worker B writes 60, and each write stays on its own thread. B starts after A's write and still sees the template. A still sees 50 after B's write. The template in the loaded image matches the file at the end. Observed under both loaders, in dev and release.
Negative controls, both rejected under native and
pe_map, in both presets:callback order: ('main', 1) ran callers [3, 1, 2]template: main observed 0x6380007, expected 0x7(1592 words differ in dev, 1196 in release)A mutation that removes the order check makes the test fail. No capability skips.
Scope: this checks the TLS stage ahead of the current boundary. Per the 15:20Z and 15:25Z checkpoints, the mapping probe still stops at import binding (#880). This does not move that boundary and makes no claim about the executable's TLS or entry run. The two-callback case was chosen because static intake reported two TLS callbacks. No
pe_map.cppchange.Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T15:48:03Z.
Independent local binding checkpoint, not a startup claim.
Environment: Windows 11 Pro 26200, Ryzen 5 5500, GTX 1660 SUPER driver 32.0.16.1074, MSVC 19.52, DXC 10.0.26100. Repository at
fc89b9eplus merged #879; the probe shim is the localxmem-physical-pagesbranch (7dcc36d,3d206a1).Static, file reads only: the package's main executable is AMD64 PE32+ with its entry in
.textand two TLS callbacks. It has 68 import modules and 587 import symbols. With it present,pe_inventory.pyreports 17 PE images and 1,924 import edges; 1,807 imports resolve to a desktop provider and 117 report provider not found.xmem_attribute_scan.pyreports 6 XMemAlloc/XMemFree sites, 0 constant words, 0 constant-null, and 6 locations whose attribute path is not fully constant.Bounded binding probe: a child process called
pe_map_imagewith a System32 resolver plus the built desktopxmem.dllandd3d12_xs.dll. It bound 171 imports, returned mapper status 5, and stopped atunresolved import xmem.dll!XMemIsToolsMemAvailable. Nope_map_run, TLS callback or entry point was executed.Observation: #879 binds the default pair; the local physical-page pair binds
XMemAllocatePhysicalPagesandXMemFreePhysicalPagesand moves the first blocker past them. Hypothesis:XMemIsToolsMemAvailableis the next import contract; its semantics are not established here. #880 is claimed by rasptum, so the branch is independent probe evidence, not a competing implementation.The candidate-specific probe is local-only. The shim side has a public, source-built reproduction:
cpu_native_xmem_physicalin the branch. Sanitized: no game files, names, paths, hashes, dumps or private logs.AI-assisted probe.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T16:00:02Z.
Next-boundary evidence for
XMemIsToolsMemAvailable. This is evidence, not a shim proposal.The public reimplementation at omonkeyz/xbox-emulator
f89e410implements it incrates/compat/xmem/src/stats.rs:355astools_available(false), and itstransfer_memory_follows_console_flowtest asserts 0 (FALSE) on a desktop. The same file (stats.rs:330-352) records the console flow: console mode 0x68 permits TRUE only after the tools partition handle succeeds; system type 0x60 returns FALSE; otherwise it reads the device tools flag (IOCTL 0x1500e8), which has no PC device and stays unset.A desktop shim without a tools partition should therefore return FALSE. A source-built fixture could import
XMemIsToolsMemAvailableby name, call it twice, and assert FALSE with no state change; that would advance the binding probe past this import.The local probe still stops here: 171 imports bound, status 5,
unresolved import xmem.dll!XMemIsToolsMemAvailable. I have not changed the shim. Should this be a separate slice after #880, or wait for rasptum's physical-page work?AI-assisted evidence.
Imported from R0Y00/Xbox2Windows. Originally posted by descent81 on 2026-11-23T16:03:22Z.
I'll take the reserve-only desktop
XMemVirtualAllocstartup slice on Windows x64. It adds the named export and a source-built native/pe_map comparison for aligned, uncommitted address-space reservations, rollback on refusal and release/reuse. It uses the two call shapes reported in #874 as the scope for a proposed desktop policy. This touches the xmem export table shared with #880, so I'll preserve existing ordinals and keep physical pages and the D3D12 configuration export out of the change. I'll coordinate the merge order in the PR.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T16:04:02Z.
Please keep the production XMem edit behind #880 and the current startup integration. A source-built caller/recording-provider fixture can proceed independently: import the name and record both BOOL outcomes and what the caller does next. Make the desktop-without-a-tools-partition case explicit. The cited reimplementation checks one console mode before its partition lookup, so its desktop result alone does not settle the console ordering or show that this startup caller can continue on FALSE.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T16:15:00Z.
Physical-page slice (#880): #892.
Tested behavior: the desktop
xmem.dllnow exportsXMemAllocatePhysicalPages/XMemFreePhysicalPages. A source-built EXE that imports them by name gives the same exit code under the Windows loader and underpe_map_run. Mutation variants and a missing-provider control fail as expected. 19/19 in dev and in release on Windows 10 19045, commit729bfa1. The Microsoft samples establish the 64 KiB pairing, the in/out count with a page array, and the BOOL result. Failure-state and release rules are proposed desktop policy.Open questions:
XMEM_2MB_CLUSTERS.triggered02 reported (their observation, from a local probe with both pairs bound) that the next unresolved import is
xmem.dll!XMemIsToolsMemAvailable. I have not reproduced it. Nope_map_run, TLS callback or entry point of the executable was run.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T16:23:40Z.
@triggered02 thanks for the probe and the reimplementation citation. Following R0Y00's 16:04Z note, I'll take the fixture-only slice for
xmem.dll!XMemIsToolsMemAvailable.xmem.dlledit until #880/#892 lands;src/xmem_shim.*is untouched.BOOL XMemIsToolsMemAvailable(void)as imported by name, served by the recording provider. The caller runs under the Windows loader and underpe_map_image/pe_map_run(tools/pe_map.cpp), and the check compares them.devandreleasepresets.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T16:29:03Z.
Source-built caller/recording-provider fixture is in #900. It records both outcomes and the synthetic caller's next path:
0x7b11for a tools partition and0x7a21for desktop without a tools partition, with native andpe_mapmatching. The withheld-provider control stops before entry. No productionxmemedit is included. The fixture does not claim the console ordering or that the real startup caller continues on FALSE; that remains open.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T16:29:45Z.
Opened #900 before seeing rasptum's 16:23Z claim; closing it to avoid duplicate review. The branch and tested fixture remain available for rasptum to reuse or credit. No production xmem edit was included.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T16:30:39Z.
@triggered02 thanks, and sorry for the crossed timing. Your #900 was finished and tested before my claim landed, so please reopen it. I'm releasing the
XMemIsToolsMemAvailableslice to you and won't open a competing PR. Happy to review #900 once it's back up.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T16:37:06Z.
Consolidating the tools-memory fixture into Holastor's #896, which the maintainer reviewed with the
finish_exe/mapped-count guidance. I closed my duplicate #900; the branch and tested results remain available.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T16:34:54Z.
Thanks to Holastor and triggered02 for the independent fixtures in #896 and #900, and to rasptum for coordinating ownership. Following triggered02's consolidation note below, #896 is the single landing PR. The shared acceptance is both controlled BOOL outcomes under Windows and pe_map, with the selected path and call count checked in each process, repeated calls to check consistency, and a missing-provider control before entry. The native child should exit cleanly with a live worker and the same EXE should still return to the mapped host. #900's independent recorded outcomes and missing-provider result are linked from its closing comment. Production tools-memory behavior remains a separate question.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T16:45:27Z.
Two startup prerequisites landed with source-built evidence. #892 adds the desktop allocation/release registry for 64 KiB page identifiers, with ownership, count and missing-export controls under both loaders (#880 completed). #899 verifies loader-time initialization of the default x64 cookie with a CRT-free DLL and EXE. #891 also recorded the configuration input and reservation-call order; the production configuration effect remains open in #874. #896 is the consolidated tools-memory fixture. Its two controlled BOOL outcomes are evidence about the fixture; production behavior stays open.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T16:52:48Z.
Withdrawn: posted by mistake after the slice was released. #896 is the single landing PR, and #911 is closed as a duplicate.
Original comment
XMemIsToolsMemAvailablecaller/recording-provider fixture: #911. It is fixture-only. There is noxmem.dllchange.Tested: commit
270359e, Windows 10 Pro 10.0.19045.6466, MSVC 19.44 x64,devandrelease. CTestcpu_native_xmem_tools_mem_callerpassed 1/1 in each preset.pe_mapresolver requests it.0x7100) under both the Windows loader andpe_map, with identical call records.0x7101) under both loaders.0xf02);0xf01);0xc0000139/unresolved import xmem.dll!XMemIsToolsMemAvailable) with no calls.Thanks to triggered02 for the evidence behind the FALSE choice. This does not settle the console ordering, and it does not show that the real startup caller continues on FALSE. The binding boundary has not moved.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:17:16Z.
@thegl0w, please take the first shared-backing implementation as you proposed on #880. @stan495 agreed to leave you this slice, and the earlier #901 controls are available as review evidence. Start with the contiguous 64 KiB path and tie backing lifetime to #892's live grants. #902 is the source-built call recorder. The implementation needs its own controls: map one granted page at two reserved addresses, write through either address and read through the other, then unmap/remap and check the bytes persist while the grant is live. An unowned page or mixed invalid release must fail with existing mappings, bytes and live grants intact. State and test what release does while views remain active. Scatter, transfer and the reservation policy can follow separately. Please keep #874's device configuration investigation independent and share source-built traces only.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T17:31:17Z.
Independent import-binding check on Windows 10 22H2 (19045.6456), MSVC 19.44 x64, Release. I ran
pe_map_imagein a fresh child with System32 and the source-built desktopxmem.dllandd3d12_xs.dllfrom each revision.mainata8a88e1xmem.dll!XMemIsToolsMemAvailablecba6969xmem.dll!XMemMapPhysicalPagesxmem.dll!XMemIsToolsMemAvailableAll cases returned mapper status 5. A second run of each unmodified build reproduced the result. The five shared XMem shim checks passed on both revisions, and the new tools-memory check passed on #923.
This confirms that #923 advances binding to the contiguous mapping import exercised by #902. No TLS callback, entry point, or imported function in the mapped EXE ran. The result leaves the production mapping work with the existing #880 follow-up.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:31:32Z.
#902 is merged and available as the source-built caller and recorder. @thegl0w, the local Windows prototype also gives the production tests a small data-plane control: allocate two 64 KiB pages, map them contiguously, write distinct words (0x123 and 0x456), then scatter the same two pages to two reservations in reverse order and check both words there. Write through the second view and verify the first sees it. Try a scatter with a valid page first and an unowned page second, check the existing view and that the first new destination remains reusable, then unmap and remap to verify both words persist. The prototype refuses release while a view is active, accepts it after unmapping, and refuses later use of the released identifiers. Please run the equivalent controls against the production #892 grant registry. Keep that lifetime policy explicit and test it separately from the #902 recording assertions. If you find evidence for XMemTransferMemory, record the partition and observable effect separately before adding the export.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:39:42Z.
A source-built EXE → DLL → DLL package loaded in the local startup check. Three interfaces can now move in parallel with that check.
Please post public interface references or source-built results in the existing threads.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T17:45:22Z.
Taking the audio slice from the 17:39Z note, unless someone already has it.
chad.dll(5XDsp*),xapu.dll(5XApu*) andacphal.dll(9AcpHal*/Apu*). For each import it records the public signature source (pinned URL or commit, or none), a candidate desktop replacement (or "none known"), and a status: signature and replacement, signature only, or needs evidence. Imports without a public signature stay explicitly unresolved, with no guessed signatures.pe_map, following the #896/#902 recorder pattern. There is no productionchad/xapu/acphalshim, and any desktop behavior is labelled proposed policy.devandreleasepresets.If the public evidence is too thin for a caller, I'll post only the inventory here.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T17:46:06Z.
Evidence for
XMemTransferMemoryand working-set selector0x2000000aFollowing @R0Y00's note regarding
XMemTransferMemory, here is the call-site evidence and observable ABI contract observed in static intake:1. Context and Sequence
The call occurs in an out-of-memory recovery routine (triggered when an allocation or I/O operation returns
ERROR_NOT_ENOUGH_MEMORY/0x8007000e):XMemIsToolsMemAvailable()is verified first. If zero is returned, execution aborts (int3).0x2000000a):XMemGetWorkingSetStatisticsis called with selectorecx = 0x2000000aand a 128-byte stack buffer (rdx). A return value of zero (FALSE) aborts (int3).+0x10(budget total, qword) and+0x18(budget current usage, qword).total - usageis non-zero, it rounds up the byte count to a 2 MiB boundary (+0x1fffff & ~0x1fffff) and clamps to a 16 MiB maximum (0x1000000).rcx:1(partition selector; 1 indicates transfer from tools/devkit memory partition to the title partition).rdx: transfer size in bytes (2 MiB-aligned,\le16 MiB).r8andr9are unreferenced in this call sequence (2-parameter ABI).BOOLineax(test eax, eax; jne continue; int3). Non-zero indicates success;FALSEtriggers an immediate abort.Claim:
XMemTransferMemorySource-Built Contract Fixturexmem.dll!XMemTransferMemoryABI contract and call recorder.src/xmem_shim.*.BOOL XMemTransferMemory(UINT32 partition, UINT64 byte_count)intests/cpu/transfer_mem_provider.cpprecorded bytests/cpu/transfer_mem_caller.asm.tools/pe_map.cpp.tests/cpu/exe_startup.asmandcpu_exe_io!finish_exe.CPU_CRC_TEST_LIVE_WORKER=1.partition == 1, valid size and 2 MiB alignment).0or2).Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T17:46:33Z.
Taking the first XG helper slice from the 17:39Z comment: evidence plus a source-built caller first. There is no production
xg_xs.dllbinding in this slice.Interface. The XG texture address computer as a caller sees it: describe a 2D texture, create a computer, read
GetResourceLayout(SizeBytes,BaseAlignmentBytes,MipLevels,Planes, per-mip offsets and pitch), then write texels atGetTexelElementOffsetBytes. The call shape and field names come from public MIT code, microsoft/DirectXTexAuxiliary/DirectXTexXboxTile.cpp,DirectXTexXboxImage.cppandDirectXTexXboxDetile.cppat a8e5dbf. That code callsXGCreateTexture2DComputer,XGComputeOptimalSwizzleModeandGetResourceLayout.What is and isn't public. I found no public signature or behavior for the two imported names,
XGCreateTextureComputerandXGSuggestSwizzleMode, and I won't guess one. The fixture uses repo-local structs that carry the documented field names, not the console ABI. Console swizzle layouts are out of scope.Deliverable. A test-only provider maps the computer to desktop D3D12
GetCopyableFootprintswith linear layout only (proposed desktop policy, labelled as such). A DirectXTex-shaped caller fills a mipmapped texture through it, the provider uploads it to a D3D12 texture, and a bit-exact readback is compared against the source. Controls:Separate
_warpand_hardwareCTests, with 77 skips reported separately.Environment. Windows 10 Pro 10.0.19045, MSVC VS2022 x64,
devandrelease, WARP and RTX 3060. I'm keeping this separate from #874's configuration result.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T17:53:12Z.
PR #935 implements the source-built contract fixture and recording provider for
xmem.dll!XMemTransferMemoryfollowing this slice claim.Imported from R0Y00/Xbox2Windows. Originally posted by thegl0w on 2026-11-23T17:58:49Z.
Thanks @R0Y00. I'm keeping the production mapping slice and will build it against #892's grant registry, starting with the contiguous 64 KiB path. #902's recorder covers the call shapes.
The controls I'll include:
Scatter, transfer and the reservation policy stay separate. I'm not starting right away, so I'll post here when work begins. If someone needs this slice sooner, say so and I'll hand it over.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:07:49Z.
#930 and #934 have landed. @thegl0w, thank you for defining the alias and rollback checks. The production implementation is now in #934. If you have a branch underway, please bring over any missing controls or run an independent review of that implementation. Reservation integration continues in #888.
The remaining provider work can proceed in parallel here and in the existing threads.
Please keep local executables and traces private and post source-built results and public references in the linked threads.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T18:12:33Z.
Confirmed. PR #935 is updated in
51ad45bas the standalone argument recorder with the ordered six-call trace, changed-first-call control, and explicit test-provider policy labeling.I will follow up with the prerequisite and failure path caller (
transfer_chain_caller) in a separate focused PR once #935 lands:Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T18:14:49Z.
Audio inventory and caller: #947. It is fixture-only, with no production
chad/xapu/acphalbinding.Inventory of the 19 unresolved imports:
acphal.dll!ApuAllocand!ApuFree, from MIT call sites in DirectXTK12 atf3555e3. These show anHRESULTreturn, avoid**output, a second argument passed asnullptrwhose type is not public, aUINT32size, an alignment constant whose width is not public, andApuFree(void*)with its result discarded.XDsp*, all 5XApu*, the 3AcpHal*calls,ApuCreateHeap,ApuIsVirtualAddressValid,ApuMapApuAddressandApuMapVirtualAddress. Microsoft's reference pages are NDA-gated. The MIT GDK Learn index confirms theXDsp*/XApu*names but has no signatures. No desktop counterpart is known for the stream, command-queue and SHAPE-context interfaces.Caller (
cpu_native_apu_alloc_caller): it runs against a test-only provider whose 64 KiB arena is proposed policy.E_OUTOFMEMORYand leaves the output untouched.ApuFree.pe_mapboth exit0x8A0with identical recorded results.0xF02), and withholding either import stopspe_mapbefore entry.Tested: commit
f14e3f6, Windows 10 Pro 10.0.19045.6466, MSVC 19.44 x64. The test passed 1/1 in bothdevandrelease, and the docs link, bidi and hardware-report checks passed. This does not establish the console error codes, the heap size, or any ordering relative toApuCreateHeap.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T18:16:23Z.
The #947 inventory, grouped by the two sub-areas so a contributor can claim either one. Full table with pinned sources:
docs/experiments.md, "Audio-side import inventory", in #947.ACP address and memory (
acphal.dll, 9 imports)ApuAllocf3555e3:HRESULT,void**output, second argument passed asnullptr(type not public),UINT32size, alignment constant (width not public)ApuFreevoid*; result discardedApuCreateHeapApuAllocdraws fromApuIsVirtualAddressValid,ApuMapApuAddress,ApuMapVirtualAddressAcpHalCreate,AcpHalAllocateShapeContexts,AcpHalReleaseShapeContextsXApu/XDsp command queue (
xapu.dllandchad.dll, 10 imports)XApuConnect,XApuDisconnect,XApuEnqueueCommand,XApuDequeueResult,XApuGetResultCountf8c3438: page paths plus struct and enum names (for exampleXApuConnectInputParameters,XApuResult). No signatures.XDspConnectWithMaximumStreamLimit,XDspDisconnect,XDspActivate,XDspDeactivate,XDspSubmitCommandXDspActivationParameters,XDspCommand,XDspStreamHandle. No signatures.No desktop counterpart is known for the command queue. Desktop XAudio2 and WASAPI mix and play audio but do not expose this interface, and desktop XAudio2 has no XMA decoder.
My caller in #947 sits in ACP address and memory. It covers
ApuAlloc, withApuFreeused only to release that block. I'm not claiming the rest of either sub-area, so both are open for the slices R0Y00 described.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:18:59Z.
Startup integration update from Windows testing. The main executable has not run. The next work has independent checks and can proceed in parallel.
Claim a slice here or on its existing issue, with the exact source-built inputs, command, adapter/OS where relevant and expected output.
Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-23T18:23:33Z.
Main-image TLS slot 0, and the DStorage stop right after it
Environment: our own loader (
pe_map), Windows 11 build 26300, MSVC 14.51 x64, Debug and Release. Inputs are source-built images only; no game files, dumps or logs are involved. We map the retail main image with--run-exe --as-main-imagein our tree, and the two items below are what that path forced us to fix. #883 covers the TLS template, callback order and per-thread values; it states it makes no claim about the image's own TLS slot, so this is the missing half.1. The image has to own TLS slot 0, and every thread has to get the block.
Code compiled with
/GAreads its thread-local state through slot 0 without looking at_tls_index: on the retail main executable the pattern ismov rax, gs:[58h]thenmov rsi, [rax], with no index load. An image that believes it is the executable therefore reads whatever the loader left in slot 0. If that is the loader's own block, the image's writes land in the host's block — in our case the first read was wrong and the write walked past a heap allocation smaller than the image's template.Expected vs observed, our fixture (
crt_tls_main, a CRT-bearing EXE with a0x1400-bytethread_localarray, a real TLS directory, mapped as the main image):tls_in_slot0nonoyesyesWhat we had to do, per thread, because the title creates its own threads:
DLL_THREAD_ATTACHcallback — save whatever that thread had in slot 0, install the image's block, and record the pair by thread id and TEB (a terminated thread's id is reused, so the id alone cannot tell a new thread from a dead one);DLL_THREAD_DETACH. Measured: that callback runs before the image's own CRT callback for the same thread, and that callback frees whatever it finds in slot 0 as if it were its own. Returning the host block there makes the image free a block it does not own, then the host CRT frees it again and the process dies withSTATUS_HEAP_CORRUPTIONat exit. Clear the slot instead and keep the host block in the per-thread table;2. A CRT EXE that returns from
mainnever runs your teardown, and a globalExitProcesshook is worse.CRT startup ends the process itself, so everything a loader does after its run call returns is unreachable on that path, and a borrowed slot 0 is never returned. Two measured points:
ExitProcessworks: walk the import descriptors of the mapped copy,VirtualProtectthat one IAT entry, keep the original pointer, and chain to it after your teardown. It cannot affect any other module in the process.ExitProcessitself does not: it also changes the host's exit path, and a CRT EXE that returns frommainthen died withSTATUS_HEAP_CORRUPTIONduring the host's own teardown, because the patch sits in the middle of the CRT's exit sequence rather than at its end.Order that worked: return the borrowed slot 0 → remove the C++ exception shim for the image if you installed one → restore the main-image state → one log line. Our fixture (
crt_tls_exit) exits withExitProcesswhile a worker thread still holds a borrowed slot 0, and asserts on stderr —tls_in_slot0=yes,worker_running=yes,exit_path=ExitProcess,exit-cleanup: ran tls_restored=1 displaced=2 host_tls=yes heap_valid=yes— because a process that exits cannot report afterwards.3. The stop after that, on our side: the storage factory.
Past CRT constructor slot 188 of 1,115 our process now stops at an
int3in the function that calls the storage factory. Static read of that function (our copy, RVA0x1D8E4D0–0x1D8E526):0x1D8E4F0 call XCRDAPI!DStorageGetFactory, then two tests — the out pointer must be non-null and the HRESULT must be zero — and the next call goes through the factory's[+0x40]with0x2000000, i.e. vtable slot 8,SetStagingBufferSize. Two consequences for anyone shimming it: return a real object, and make slot 8 succeed. A stub that returnsS_OKwithout writing the out pointer hits the sameint3; that is how we first failed.One caveat we cannot settle: we do not know which factory IID the title passes. Two IIDs appear in the implementations we compared —
fb3b54ac-bf82-463a-b777-73195837864dand62959d11-d45f-4884-a0a3-f7862ea243ae— so our shim accepts both and refuses only an unrecognised IID (E_NOINTERFACE, out pointer cleared). If someone here has a runtime trace of the IID at that call site, that would settle it.Scope: synthetic fixtures and a static read of one function. Nothing here was measured on console hardware, and none of it says anything about the title's behaviour beyond the two stops.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-23T18:23:38Z.
Following up on our comment above: we posted the same two results to a project bringing up the same kind of title — ItsNotRexed/Leonida#8282 (finding: main-image TLS slot 0 with the per-thread method and the two pitfalls; and the storage factory stop,
[factory+0x40]with0x2000000= slot 8, factory object must be real and the HRESULT zero). The first part is what makes a loader's own TLS notifications actually reach the image's thread-local state; the second is the assertion immediately after it. No reply needed here.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T18:28:26Z.
Claiming the DirectStorage typed factory/queue adapter slice from R0Y00's 18:07Z/18:18Z notes on
#870.Scope: public Xbox vs PC contract comparison (Microsoft Learn GDK docs + MIT
microsoft/DirectStorage, pinned) plus a source-built caller and test-only typed factory/queue adapter fixture.Coverage: successful read with exact readback, PC
IDStorageFactoryIID refusal (E_NOINTERFACE, sentinel output pointer untouched), and a delayed-submit negative control beforeSubmit().Boundary: no production
xcrdapi.dllbinding; console IIDs are unpublished so the fixture uses explicitly labelled repo-local test IIDs.Also noting MoonYueya's 18:23Z loader observation (caller reading
[factory+0x40]/ vtable slot 8 with a real factory object andS_OKreturn) as an unverified external observation for follow-up layout checks.Environment: Windows 10 Pro 10.0.19045, MSVC VS2022 x64 (
devandreleasepresets).AI-assisted (Antigravity)
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:29:00Z.
Thanks for the source-built TLS and exit-path checks. Please open a focused PR for the main-image TLS slot and per-thread initialization if that work is ready for review. Please link the synthetic commands and expected outputs. An exit-path change can be reviewed separately if it does not depend on the TLS change.
The main executable has not run in this integration tree.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T18:31:51Z.
Scope update for the XG claim above (https://github.com/R0Y00/Xbox2Windows/issues/870#issuecomment-7109162352), following the 18:29Z note. I'm switching to a source-built comparison of swizzle selection against AMD's addrlib (MIT), which is the public, supported swizzle selector for this GPU family (gfx10.3
Addr2GetPreferredSurfaceSetting/Addr2ComputeSurfaceInfo). DirectXTex only forwards selection to XG's ownXGComputeOptimalSwizzleMode, so it can't serve as the reference.out/as an optional local dependency and never vendored. The URL, SHA and license go indocs/experiments.mdand the PR. The tests return 77 when addrlib isn't configured, so CI will skip them unless it is present.If you'd prefer a different reference implementation, please say so here.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T18:37:04Z.
Memory transfer prerequisite and failure chain slice result: #955.
XMemTransferMemoryprerequisite query, working-set statistics evaluation (0x2000000A), budget checking, and transfer failure isolation before startup dispatch.out/pe-env).06831afXMemIsToolsMemAvailablereturnsTRUE,XMemGetWorkingSetStatistics(0x2000000A) reports 32 MiB total / 16 MiB used, and memory transfer executes a 16 MiB transfer under test-provider policy partition 1. Returns exit code0x870under both loaders, including with a live worker thread underCPU_CRC_TEST_LIVE_WORKER=1.XMemIsToolsMemAvailablereturningFALSEblocks sequence immediately; transfer is never called (transfer_calls == 0, exit code0x101).XMemGetWorkingSetStatisticsreturningFALSEaborts sequence; transfer is never called (transfer_calls == 0, exit code0x102).total <= used) skips transfer (transfer_calls == 0, exit code0x103).transfer_calls == 1, exit code0x104); no unbacked ownership transfer is reported.0x2000000Ato0x2000000Bin the caller binary fails the statistics query, aborting before transfer with exit code0x102under both loaders.XMemIsToolsMemAvailable,XMemGetWorkingSetStatistics, orXMemTransferMemorystopspe_mapbefore entry withSTATUS["unresolved"]naming the missing export.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:45:49Z.
@rasptum The optional pinned AddrLib comparison fits the XG slice. Please record the chip family/revision and initialization inputs as well as the commit, license, resource descriptors, returned swizzle and status. Use a fixed reference table on the selected PC gfx10.3 profile, plus the forced-linear, tiled and explicit-pitch controls. Label the outcomes as AddrLib observations. A match establishes the chosen PC reference behavior; the Xbox-specific XG selection and inputs still need separate evidence. Keep the existing build independent of the optional dependency and report its absence as a skip.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T18:48:09Z.
Windows 10 binding checkpoint after #923, #934 and #945, on
mainat0f0c3eb(22H2 19045.6456, MSVC 19.44 x64, Release).The same System32 + source-built desktop shim probe as the previous check now binds 174 imports, including
XMemMapPhysicalPagesandXMemMapPhysicalPagesScatter. Both runs return status 5 atxmem.dll!XMemTransferMemory. The previous #923 build bound 172 and stopped atXMemMapPhysicalPages.The seven focused Release XMem tests passed, including the source-built
xmem_shim_mapped_pagescoverage. The binding probe stopped before TLS callbacks or executable entry. #935 and #955 cover transfer with source-built callers. This checkpoint identifies the missing production export without establishing the caller's runtime behavior.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:57:50Z.
The main integration has now repeated a local pe_map run through both startup TLS callbacks and into the executable entry. Pre-device graphics configuration and the two reserve-only allocations returned successfully. A first reserve-and-commit case now also advances in both runs. The next protection/attribute combination is still refused and the executable stops before device creation. The separate source-built test for the first commit case checks zero initialization, boundaries, release and failure propagation. These observations do not establish executable startup completion.
The next independent XMem check is the second commit combination. @descent81, your #888 reserve-only scope can stay as it is. If you or another contributor already has a synthetic protection/mapping comparison for the second case, please link that work here so we can use one fixture. Otherwise one person can claim the source-built check for CPU accessibility and write protection, whether a live shared-page view is required, and what failed allocation or reprotection leaves intact. Please keep inputs synthetic and report the first observable discrepancy. Device/queue validation remains in #874.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T19:01:13Z.
DirectStorage factory and queue adapter slice result: #963.
XCRDAPI!DStorageGetFactoryconsole factory interface ({62959d11-d45f-4884-a0a3-f7862ea243ae}), 32 MiB staging buffer configuration (SetStagingBufferSize, slot 8), console queue creation (CreateQueue, slot 10) underIDStorageQueueX({3c02cb0c-c050-4195-99a1-a1ce94ba33c5}), and delayed-submit negative control before startup dispatch.out/pe-env).306c02dDStorageGetFactoryacquiresIDStorageFactoryX, configures 32 MiB staging buffer, createsIDStorageQueueXwithDSTORAGE_QUEUE_DESC, enqueues request, verifies completion is pending before submit, submits viaSubmit(), and cleanly releases objects. Exits with code0x870under both loaders, including with a live worker thread underCPU_CRC_TEST_LIVE_WORKER=1.queue_calls == 0, exit code0x301).queue_calls == 0, exit code0x303) with staging buffer configuration intact.Submit(). CallingSubmit()completes the staged request and sets completion.E_NOINTERFACE, aborting with exit code0x301under both loaders.DStorageGetFactorystopspe_mapbefore entry withSTATUS["unresolved"]naming the missing export.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T19:01:33Z.
Claimable startup task: committed-memory checks on Windows
Build a small original x64 fixture that reserves and commits ordinary Windows pages while enforcing an emulated guest alignment of 64 KiB or 2 MiB. Check address alignment, range rounding, zero-fill, cross-page read/write, release, and preservation of a host failure code. Include failure controls for overflow and unsupported protection.
Please post the Windows build and exact command, then open a focused fixture PR. This scope is CPU backing only. #888 covers the existing reserve-only phase and #874 covers GPU address binding. The main integration already has a local implementation, so claim the independent check here before starting. Use source-built inputs only and place test output under out/.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T19:03:50Z.
I’ll take the committed-memory fixture from the 19:01 UTC request. I’ll build a source-built x64 CTest on Windows 10 22H2 (19045), MSVC 19.44 x64, and verify it in Debug and Release.
It will reserve and commit ordinary Windows pages at 64 KiB and 2 MiB guest alignments, then check rounding, zero-fill, writes and readback across a host-page boundary, and release. The controls will cover rounding overflow, unsupported protection, and preservation of a real Win32 allocation error. Scope is CPU backing only and will leave #888’s reserve-only and #874’s GPU binding work separate.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T19:09:46Z.
The committed CPU memory fixture is verified locally on Windows 10 22H2 (19045.6456), MSVC 19.44 x64, SDK 10.0.26100. Debug and Release both passed the new fixture and four neighboring Windows memory checks.
The same commands passed with
release. At both 64 KiB and 2 MiB alignment, 4,101 bytes rounded to 8,192 committed bytes, with a third page still reserved. Full zero-fill, cross-page readback, and release passed. Overflow (534), unsupported protection (87), and a real host commit beyond the reservation (487) all preserved the live pages and the reserved tail. The source-built test and reproduction are ready for the focused fixture PR.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T19:16:43Z.
Claiming the 18:57Z second-commit check: a source-built x64 Windows fixture comparing ordinary committed pages against a live shared-page view for CPU read/write accessibility, write-protection transitions, and what failed allocation or reprotection leaves intact.
Inputs will be synthetic only; I will report the first observable discrepancy if ordinary commit and a live shared-page view diverge.
Scope is separate from Jess-Doit's first-commit fixture (
xmem_committed_memory), #888 (reserve-only), and #874 (device/queue).Environment: Windows 10 Pro 10.0.19045, MSVC VS2022 x64 (
devandreleasepresets).AI-assisted (Claude Code)
Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-23T19:17:52Z.
Thanks for the offer. We are going to decline the focused PR, and the reason is ownership rather than readiness: our slot handling is entangled with our own host's TLS layout, so a patch from us would cost you more to review than lifting the rule and the fixture below into
pe_mapin whatever shape fits. Everything the PR would have contained is inline here, and we would gladly review your version.The rule. Image code built with
/GAreads thread-local state through slot 0 without loading_tls_index: on this title the pattern ismov rax, gs:[58h]thenmov rsi, [rax], with no index load. So the main image has to own slot 0 in every thread; if the loader's own block is there, the image reads and writes the host's block.The two fixtures we use (source-built, in our tree):
crt_tls_main: a CRT-bearing EXE with a real TLS directory and athread_localarray of0x1400bytes (larger than one page, initialised to0xFF), mapped as the main image.crt_tls_exit: the same shape, plus one worker thread that is still alive when the image callsExitProcess.Commands and expected output (Windows 11 build 26300, MSVC 14.51, Debug and Release; each line below is the assertion in our tree):
The exit fixture asserts on that stderr line because a process that has already exited cannot report afterwards; its exit code is 7 and is deliberately not what we test.
What the loader has to do, per thread (the title creates its own threads, so attach-time delivery is not enough):
DLL_THREAD_ATTACHcallback — record what that thread had in slot 0, install the image's block, and key the record by thread id and TEB (a terminated thread's id is reused, so the id alone cannot tell a new thread from a dead one);Two pitfalls, both measured. First: do not return the host block in
DLL_THREAD_DETACH. That callback runs before the image's own CRT callback for the same thread, and that callback frees whatever it finds in slot 0 as if it were its own; handing the host block back there makes the image free a block it does not own, the host CRT frees it a second time, and the process dies withSTATUS_HEAP_CORRUPTIONduring exit. Clear the slot instead and keep the host block in your per-thread table until the exit path. Second: a CRT EXE that returns frommainentersExitProcessitself, so everything after your run call is unreachable and the borrowed slot is never returned. Rewriting the mapped image's own import slot forExitProcessworks — walk the import descriptors of the mapped copy,VirtualProtectthat one IAT entry, keep the original pointer and chain to it after your teardown. A Detours-style patch onExitProcessitself does not: it also changes the host's exit path, and our CRT EXE then died withSTATUS_HEAP_CORRUPTIONduring the host's own teardown, because the patch sits in the middle of the CRT's exit sequence rather than at its end. Order that worked for us: return the borrowed slot 0, remove the C++ exception shim for the image if one is installed, restore the main-image state, log one line.Two negative controls we reproduced while developing this: (a) leave the loader's own block in slot 0 — the same fixture reports
tls_in_slot0=noand the heap check fails after the full array write; (b) return the host block on thread detach — the exit fixture dies withSTATUS_HEAP_CORRUPTIONin teardown instead of printing the cleanup line.Limitation, stated rather than hidden: this is a loader-level result. It is synthetic fixtures plus one shipped DLL run from a read-only copy on the mapped-DLL path; the main executable has not completed a run in our tree either — we are past the TLS assertions and the storage-factory assertion, but our startup gate still fails later, so nothing here is a startup result or a statement about console hardware.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-23T19:18:41Z.
没额度了喵,抱歉喵。
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T19:19:52Z.
Claimable startup task: test a scoped content-root mapping
Build a small source-built Windows EXE that opens a synthetic archive through a configured guest drive and checks that the path resolves to the intended package root. Keep the actual startup integration in the main development lane.
The independent fixture should cover a valid guest path, a missing file, an already occupied drive, and cleanup after both success and failure. Use a free test letter or a process-local path resolver. Preserve the caller's existing drives and handle content paths separately from save/config writes. Include an exact reproduction command and Windows build.
Please claim the fixture here before opening a PR. Use generated data only.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T19:24:38Z.
Claiming the main-image TLS slot 0 and per-thread initialization slice R0Y00 asked for at 18:29Z. It builds on #883 and #920.
/GAimage code reads its TLS block through slot 0 without loading_tls_index, so the main image must own slot 0 in every thread. MoonYueya offered to review. I'll write our own source-built fixtures and won't copy their tree.pe_map_runintools/pe_map.cpp.DLL_THREAD_ATTACH, it saves each thread's slot 0 and installs the image's block. This covers the calling thread, a sweep of threads that already exist, and new threads./GAEXE with a0x1400-byte initialized__declspec(thread)array, compared against a normal Windows launch.pe_map_runmust reporttls_in_slot0=no; a reused thread ID must not reuse a stale record; the host's slot 0 must be restored.ExitProcessexit path (IAT hook, worker alive at exit) stays separate, as R0Y00 suggested. This is also separate from #961 (ordinal-only imports).devandrelease.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T19:24:55Z.
I’ll take the scoped content-root fixture from the 19:19 UTC request. I’ll use a source-built x64 Windows EXE, a process-local resolver and generated archive bytes under the build output. It will read the package-root file, verify a missing content path stays missing even when a save/config decoy exists, refuse an occupied drive, and check that the scoped mapping is gone after both success and failure. The test leaves Windows drive assignments intact.
I’ll verify on Windows 10 22H2 (19045), MSVC 19.44 x64, in Debug and Release. Scope is the independent fixture.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T19:30:47Z.
The scoped content-root fixture passed on Windows 10 22H2 (19045.6456), MSVC 19.44 x64, SDK 10.0.26100, in Debug and Release.
The same commands passed with
release. The process-local guest drive opened the generated package bytes read-only and refused a host letter already in use. A save/config decoy did not satisfy a missing content file. Both scopes released their mapping, the host drive mask stayed unchanged, and the generated files were removed. The wrong-root, occupied-drive and retained-mapping controls each failed at the expected check.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T19:36:45Z.
XG swizzle-selection comparison: #979. It is test-only, with no production
xg_xs.dllbinding. The results are AddrLib observations: a match establishes the chosen PC reference behavior only, and the Xbox-specific XG selection and its inputs still need separate evidence.src/amd/addrlibatmesa-25.1.0(5c142e46), MIT, used as an optional local dependency (tools/fetch_addrlib.py).GB_ADDR_CONFIG0x444.SW_64KB_R_X. Small single-mip textures selectSW_4KB_D_X. Depth selectsSW_64KB_Z_X. The 4096x1 row selectsSW_LINEAR.SW_LINEARfor colour, and depth is refused withADDR_INVALIDPARAMS;Tested: commit
8e8bf20, Windows 10 Pro 10.0.19045.6466, MSVC 19.44 x64.devandreleasefull builds passed, and the targeted CTests passed 4/4 in each preset. The docs-links, bidi and hardware-report checks passed.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T19:41:34Z.
#974 has merged at
23d2e93bwith both Windows and both Linux jobs passing. I also built and ran the source-built fixture independently with /Od and /O2. Both the 64 KiB and 2 MiB base alignments committed exactly 8,192 bytes for the 4,101-byte request, with zero fill, cross-page readback, successful release and the original pages intact after all three refusal cases. This records CPU backing for the first claim. The other protection configuration and the live device/queue work on #874 remain separate.Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T19:44:11Z.
Second-commit check result: #981.
MEM_PRIVATE) acceptMEM_DECOMMITand lose their bytes, and can't be aliased at a second address. A live shared-page view (MEM_MAPPED, through the desktopxmem.dllphysical-page pair and mapping) refusesMEM_DECOMMITwithERROR_INVALID_PARAMETER(87) without disturbing the view. It aliases at a second address with per-viewVirtualProtect(a write to the read-only view faults while the read-write view's writes show through it), and it keeps its bytes across unmap/remap.ctest -R '^xmem_commit_protection$'and the neighbouringxmem|era_heap|desktop_memoryset pass in dev and release, rebased on23d2e93. The fixture is synthetic, and the desktop choices are labelled proposed policy. It's separate from Jess-Doit'sxmem_committed_memory.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T19:51:01Z.
XMemTransferMemoryruntime export: #984.xmem.dll!XMemTransferMemory@13) identified in the runtime import binding preflight checkpoint.!= 1(tools partition), zero size, unaligned size (not 2 MiB aligned), or sizes exceeding 16 MiB withERROR_INVALID_PARAMETER(87).XMemIsToolsMemAvailable() == FALSEper #896 / #955), returnsFALSEwithERROR_NOT_SUPPORTED(50) and never reports unbacked ownership transfer.a8bbb46, Windows 11 x64, MSVC 19.51, CMake/Ninja. The same commands passed withrelease(12/12xmem_shim_*tests passed in both presets). Thedocs_links_check,bidi_controls_check,form_coverage_check, andxmem_attribute_scan_checkchecks all passed.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T20:03:08Z.
#981 has merged at
79e25a9f. The source-built Windows Release rerun passed the second protection case and its three neighbouring XMem tests (4/4). For the tested desktop paths, private commit accepted decommit, while the shared section view refused it with 87, retained bytes across remap, and kept protection local to each alias. The write through the read-only view faulted without changing its bytes. This records the two Windows backing behaviors for the protection claim.Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T20:03:44Z.
Main-image TLS slot 0 and per-thread initialization: #988. @MoonYueya, it lifts your rule and fixture design into
pe_map, and your offered review would be very welcome.Tested: commit
a472aba, Windows 10 Pro 10.0.19045.6466, MSVC 19.44.35207.1 x64,devandrelease. Inputs are source-built only.Interface:
pe_map_run_mainintools/pe_map.cpp;pe_map_runis unchanged.DLL_THREAD_ATTACH.DLL_THREAD_DETACHafter the image's callbacks and before ntdll frees the blocks, and on release for the threads still alive.Command:
The
releasepreset is the same.Expected and observed (CRT-free
/GAEXE with a0x1400-byte0xFFarray, hosted by a CRT-free host that owns slot 0):pe_map_runreportstls_in_slot0=noeverywhere.host_tls.cpu_native_{tls,tls_value,tls_data,exe_tls,exe_start,startup,lifetime,load_cookie}tests passed 9/9 per preset on main with #961.Not covered: the CRT
ExitProcessexit path (hook on the image's own import) and a worker alive at exit, per R0Y00's suggestion to review that separately. Also not covered: more than one main image, and threads that attach during the process-attach callbacks. This is a loader-stage result, not a startup result.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T20:12:02Z.
#983 has merged at
d7c52d23. The source-built resolver passed in independent /Od and /O2 runs. The package bytes matched, the save/config decoy stayed outside the lookup, an occupied host letter was refused, and both scopes cleaned up. The fixture resolver leaves the host drive table intact. This completes the standalone content-root acceptance case.Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T20:30:49Z.
Claiming the audio ACP address and memory slice per the request above, building on @rasptum's inventory in #947.
acphal.dll!ApuAlloc,!ApuFree,!ApuMapVirtualAddress,!ApuMapApuAddress,!ApuIsVirtualAddressValid).ApuAllocandApuFree: public call shape from MIT Microsoft/DirectXTK12 (SoundEffect.cpp,WaveBankReader.cpp,SoundStreamInstance.cpp).ApuMapVirtualAddress: translates a CPU virtual address (const void*) to an APU device address (UINT64/APU_ADDRESS).ApuMapApuAddress: translates an APU device address (UINT64) back to a CPU virtual address (void*).ApuIsVirtualAddressValid: returnsBOOLindicating whether a pointer belongs to an active APU allocation.tests/cpu/apu_address_caller.asm) and controlled test recording provider (tests/cpu/apu_address_provider.cpp) in an isolated fixture without editing productionsrc/files.ApuMapApuAddress(ApuMapVirtualAddress(ptr)) == ptrfor anApuAlloc-allocated block.ApuMapVirtualAddress(ptr + offset) == apu_addr + offset.ApuIsVirtualAddressValid(ptr)reportsTRUEwhile the block is live andFALSEafterApuFree(ptr).FALSEfromApuIsVirtualAddressValid, 0 fromApuMapVirtualAddress, andnullptrfromApuMapApuAddress.pe_mapbefore entry withSTATUS["unresolved"].pe_map.devandreleasepresets. Source-built fixtures only.I'll report the tested commit, commands, and results here with the PR link once verified.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T20:38:02Z.
ACP address and memory slice result: #1000.
Tested: commit
5f0aa84(rebased onupstream/mainataabbedd8), Windows 11 x64 (build 26200), MSVC 19.51, CMake/Ninja. Source-built inputs only.Commands:
The same commands passed with
release(1/1 tests passed in both presets, ~0.18s), followed bydocs_links_check.py(13 files, 211 links),bidi_controls_check.py(836 files),form_coverage_check.py, andhardware_reports_check.py.Expected vs observed:
ApuAlloc(4 KiB, 2 KiB aligned) translates to an APU device address viaApuMapVirtualAddress, andApuMapApuAddresstranslates it back to the exact identical CPU pointer (ApuMapApuAddress(ApuMapVirtualAddress(ptr)) == ptr). Observed as expected under both the Windows native loader andpe_map(exit code0x8A1).ApuMapVirtualAddress(ptr + 0x400) == apu_addr + 0x400andApuMapApuAddress(apu_addr + 0x400) == ptr + 0x400). Observed as expected.ApuIsVirtualAddressValid(ptr)returnsTRUE(1) while the allocation is live, and returnsFALSE(0) afterApuFree(ptr). Subsequent mapping calls (ApuMapVirtualAddressandApuMapApuAddress) return 0 andnullptr. Observed as expected.0x5A17A0C1and0x0A0D10C0D) is verified upon readback.FALSE/ 0 /nullptr.APU_TEST_FAULTY) is caught and exits0xF04at Step 4 under both loaders.ApuMapVirtualAddress,ApuMapApuAddress, orApuIsVirtualAddressValidstopspe_mapat import resolution before entry withSTATUS["unresolved"]naming the missing export.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T21:03:47Z.
Windows 10 binding checkpoint on
mainat1ccc326, after #984 and #968, with MSVC 19.44 x64 Release.With System32 and the source-built desktop XMem and D3D12 shims, the probe bound 298 imports in two matching runs. The first unresolved import was
chad.dll!XDspActivate(status 5). Withholding justD3D12ConfigureVirtualMemoryXrestored the prior 217-import stop. The revised probe preserves on-disk ordinal imports when the static parser provides a name annotation. All three focused XMem checks passed.This is an import-only result. The probe ended before TLS or entry. It gives the existing optional audio-provider work a Windows 10 baseline. Prior provider checkpoint
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T21:13:41Z.
I’ll reproduce the optional audio-provider integration on Windows 10 22H2 (19045) using the pinned TomBox f89e4106 revision. The scope is the chad, xapu and acphal exports and source-built command/lifetime checks, followed by the same import-only probe with the reviewed provider DLLs. The GPL providers stay in their external checkout. This leaves the existing ACP and startup implementations with their current contributors.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T21:26:39Z.
Independent Windows 10 22H2 check for the optional audio providers in the startup checkpoint.
f89e4106(chad,xapu,acphal) with Rust 1.91.1 x64 MSVC. All 19 required exports resolved. The source-built caller checked a generated XDsp FFT, rejection of invalid input, and ordered XApu start/reset/stop results from the worker. All three DLLs stayed pinned after the normal load references were released and through child exit.1ccc326, two fresh import-only runs on Windows19045.6456advanced from 298 to 303 bound imports. The five new bindings were inchad.dll. Both runs then returned mapper status 5 atxg_xs.dll!XGCreateTextureComputer. Withholding onlychad.dllreproduced the 298-import baseline atchad.dll!XDspActivate.The probe stopped before title TLS callbacks or entry point and before it reached any XApu or ACP HAL imports. The audio DLLs were built and tested separately from Xbox2Windows. #979 gives an independent PC AddrLib reference for swizzle selection, while the
XGCreateTextureComputerbinding is still open in this test configuration.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T21:32:10Z.
Thanks for the independent Windows 10 run. The withheld-
chad.dllcontrol establishes the five extra bindings for this pinned provider set. The separate source-built caller gives FFT, invalid-input, queue-order and module-lifetime evidence. The import-only run stopped atXGCreateTextureComputer, before TLS, entry, or any XApu/ACP import calls. Keep this result linked as external-provider evidence and keep the startup issue open. A follow-up on the same configuration can reuse #979 as the layout reference, with an independent source-built factory and layout comparison before considering a new binding.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T21:37:10Z.
Follow-up to the optional audio checkpoint. I built the external TomBox
xg_xsatf89e4106with Rust 1.91.1 x64 MSVC on Windows 1019045.6456, with console forwarding disabled.XGCreateTextureComputerto check a generated three-mip RGBA8 texture. All 147 texels copied back in each of the linear and automatic tiled cases. Reading the tiled output with the linear reference disagreed on 139 of 147 texels. Zero width returnedE_INVALIDARGand preserved the output pointer.1ccc326and the same audio providers, two fresh import-only runs advanced from 303 to 304 bound imports.XGCreateTextureComputerresolved. Both runs then returned mapper status 5 atxg_xs.dll!XGSuggestSwizzleMode, which is absent from the built DLL. Withholding only XG reproduced the full 303-import baseline. The probe stopped before title TLS callbacks or entry point.The synthetic measurements describe TomBox's layout and copy behavior. DirectXTex #498 has a public reproducer for the next import's descriptor, flags and output arguments. XCL's implementation identifies its behavior as inferred. Flag handling and the returned layout encoding remain to be verified for this export.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T21:43:54Z.
Static caller follow-up to the 304-import checkpoint. Both verified direct calls to
XGSuggestSwizzleModepass literal selector0and use the descriptor's ownLayoutfield as the output pointer. The descriptor enters withLayoutset to unknown. The shared status helper checks selected DXGI failures, and the higher-level callers I traced continue with the descriptor without branching on the returned HRESULT. One path passes a copy of that descriptor toXGCreateTextureComputer.This gives a concrete source-built fixture shape. Exercise the aliased output with flag
0, compare a separate output, and use the resulting layout in the texture-computer call. DirectXTex #498 shows the three-argument shape with a separate output. The exact flag-zero mode selection and returned encoding still need a reference for this export. This check was static and the import-binding checkpoint remains at 304.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T21:51:52Z.
Thanks for the independent source-built XG layout comparison and the missing-provider control. Please take the next public fixture on this thread. Use one generated texture descriptor with an unknown input layout, compare a separate output with an output aliased to the descriptor field, and feed the resulting layout to the texture computer. Compare levels and texels and keep distinct linear/tiled and invalid-descriptor controls. Use the public DirectXTex example for the three-argument call shape and #979 as a pinned PC layout reference. Flag semantics and the encoding of the Xbox layout result still need independent evidence before we bind a production export. The import-only result stays separate from fixture execution.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T22:00:56Z.
I'll take the source-built XG swizzle mode and texture computer fixture for #870.
Scope:
xg_xs.dll!XGSuggestSwizzleModeandxg_xs.dll!XGCreateTextureComputer.0with both a separate output pointer and an output pointer aliased to the descriptor's ownLayoutfield.XGCreateTextureComputerand verify mip level strides and texel round-tripping.E_INVALIDARGwith output preserved), and missing-provider execution control under the PE runner.Flag semantics, desktop layout mapping, and the exact returned swizzle encoding remain qualified as fixture choices per DirectXTex #498, #970 and #979.
AI-assisted (Antigravity).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T22:06:05Z.
Holastor, thanks for taking the source-built fixture. Jess-Doit's existing XG work already provides the independent texture-computer comparison and missing-provider control. Please coordinate a single fixture here: use that comparison as the cross-check for the new separate-versus-aliased output and the round trip. Jess-Doit, an independent review against #979 or a run of Holastor's candidate would cover the second check without creating another provider. If you already have a fixture branch, please link it here so the owners can combine the work.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T22:12:13Z.
I'll take the remaining
acphal.dllslice:AcpHalCreate,AcpHalAllocateShapeContexts,AcpHalReleaseShapeContextsandApuCreateHeap. This does not overlap #1000 (address and memory exports) or the XApu/XDsp queue work.out/pe-env),devandreleasepresets.f8c3438listsAcpHal,Audio Processing UnitandShapeContextsmember pages, plus per-type context pages (ShapeDmaContext,ShapeEqCompContext,ShapeFiltVolContext,ShapePcmContext,ShapeSrcContext,ShapeXmaContext,ShapeFlowGraph). Names only: no layouts, counts or argument lists.f3555e3namesApuCreateHeaponly in anApuAllocfailure diagnostic, as the heapApuAllocdraws from. No call site.pe_map:ApuAllocthen draws from, so heap exhaustion is observable through the #1000 call shape;pe_mapbefore entry with the named unresolved import.acphal.dllexport, since there is no public signature to bind.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T22:12:17Z.
Claiming the XApu/XDsp command-queue slice of the audio work, per the request above. This leaves the ACP address and memory slice with @Holastor in #1000.
xapu.dll!XApuConnect,!XApuEnqueueCommand,!XApuGetResultCount,!XApuDequeueResult,!XApuDisconnect, thenchad.dll!XDspActivate,!XDspConnectWithMaximumStreamLimit,!XDspSubmitCommand,!XDspDisconnect,!XDspDeactivate.f8c3438names all ten functions and their type names (XApuConnectInputParameters,XApuConnectOutputParameters,XApuCommandId,XApuResult,XDspClientHandle,XDspStreamHandle,XDspCommand,XDspStatus). It lists every one of them underrestricted, so it gives no signature, field layout, enum value or error code.f3555e3has noXApu*orXDsp*reference.tests/cpu/xapu_queue_caller.asm) and a test-only recording provider (tests/cpu/xapu_queue_provider.cpp), in the #947/#1000 fixture layout, with no edits tosrc/.pe_mapat import resolution before entry, and the provider records no calls.pe_map, indevandrelease.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T22:13:07Z.
The source-built flag-zero factory fixture requested above passed on Windows 10
19045.6456in Debug and Release. With #979's pinned PC AddrLib profile, separate output preserved the descriptor and aliased output changed only its layout field. Both fed the same layout to the test texture computer and matched all eight mips and 21,845 generated texels. A stale linear map disagreed on every tiled texel, zero width preserved both outputs, and the mutation caughtS_OKwith no layout write. The four XG CTests passed with AddrLib and skipped with exit 77 without it.In a separate synthetic run, external TomBox
f89e4106accepted the fixture's explicit PC layout word inXGCreateTextureComputerand copied all texels. This shows the texture-computer handoff with those inputs. The flag-zero result from the exact XboxXGSuggestSwizzleModeexport still needs an independent reference. The smallest comparison is the same descriptor with selector zero and both output forms against an authorized runtime that exports the function. The private 304-import checkpoint remains atXGSuggestSwizzleMode.AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T22:18:07Z.
Windows 10 local startup checkpoint on
mainat64ecc87, after #984 and #968. This is not a startup claim.Environment: Windows 10 Pro 22H2 (19045.6466), MSVC 19.44.35207.1 x64, Release build of
pe_map,xmem_shimandd3d12_xs_shim. Providers are System32 plus the source-built desktopxmem.dllandd3d12_xs.dll. No external audio, XG or DirectStorage providers were loaded.Import binding (2 of 2 runs identical). 298 bound imports, mapper status 5, first unresolved import
chad.dll!XDspActivate. This matches the 298-import result at1ccc326.Package preflight. 8 images in load order, 541 external bindings. 22 externals are missing, all from the main executable:
acphal.dll: 9 (AcpHalAllocateShapeContexts,AcpHalCreate,AcpHalReleaseShapeContexts,ApuAlloc,ApuCreateHeap,ApuFree,ApuIsVirtualAddressValid,ApuMapApuAddress,ApuMapVirtualAddress)chad.dll: 5 (XDspActivate,XDspConnectWithMaximumStreamLimit,XDspDeactivate,XDspDisconnect,XDspSubmitCommand)xapu.dll: 5 (XApuConnect,XApuDequeueResult,XApuDisconnect,XApuEnqueueCommand,XApuGetResultCount)xcrdapi.dll!DStorageGetFactoryxg_xs.dll:XGCreateTextureComputer,XGSuggestSwizzleModeD3D12ConfigureVirtualMemoryXandXMemTransferMemoryare no longer missing. The real-execution mode still refuses to run while externals are missing.Diagnostic execution (2 of 2 runs identical, 60 s cap). This used a local, private harness that is not in the repository. It follows the
pe_run_package.pyplan but binds each of the 22 missing externals to a stub that terminates the process if called, and it logsxmem.dllcalls. No diagnostic return values were injected.D3D12ConfigureVirtualMemoryXran through the reald3d12_xs.dllexport. No stub was hit. The entry stage was confirmed from thepe_map_runreturn address on the stack, which follows the entry call, not the TLS loop.XMemVirtualAlloccalls, as (allocation type, attributes, protection):0x20402000,0x21,0x4→ reservation returned0x20402000,0x3,0x801→ reservation returned0x20003000,0x183,0x22004→ NULL. This is the first refused call. The reserve-only desktop profile from #888/#945 accepts only the startup-reserve type.0x80000003(breakpoint) and the process exited with that code. None of the 22 stubs was called.First blocker on this configuration: the first
XMemVirtualAllocthat combines reserve and commit (type0x20003000, attributes0x183, protection0x22004), called from the entry point. The 22 missing externals were not called before this point. Whether the title then calls any of them remains untested.AI-assisted (Claude).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T22:18:08Z.
@rasptum, the XApu queue fixture is yours to take. Please keep XApu and XDsp as separate reviewable stages and have the recording provider verify command IDs, result order and output sentinels after refusal. The proposed symbols and signatures are fixture policy until there is an independent reference. #1000 remains the separate ACP slice.
@Jess-Doit, thanks for turning the layout handoff into #1032. The pinned PC comparison covers separate/aliased output and catches the stale linear result. We'll review that source-built slice on its own; a native selector-zero result for the exact export is still the follow-up.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T22:19:05Z.
I have implemented the coordinated source-built fixture combining
XGSuggestSwizzleModeandXGCreateTextureComputerin #1034 (branchHolastor:xg/suggest-swizzle-mode).Key highlights:
XGSuggestSwizzleModewith selector flag0comparing a separate output pointer against an output pointer aliased in-place to the descriptor's ownLayoutfield (&desc.Layout), both selecting0x105per the #979 gfx10.34KB_D_Xlayout reference.XGCreateTextureComputerfor a generated 3-mip RGBA8 texture (28x4,14x2,7x1= 147 texels).CopyIntoSubresource->CopyFromSubresource) verifies 147/147 texels (100% round-trip fidelity).Layout = 1) verifies 0 disagreements against linear layout.Width == 0returnsE_INVALIDARG(0x80070057) leaving output sentinels intact for both APIs.pe_map, withheld provider stops withSTATUS["unresolved"]) and separated mutant controls (clobber-> exit0xE01, dummylinearfallback -> exit0xE04). Passed 30/30 runs in bothdevandrelease.AI-assisted (Antigravity).
Imported from R0Y00/Xbox2Windows. Originally posted by denn0x on 2026-11-23T22:51:54Z.
Sanitized record of a local startup attempt on the main executable, plus the interface observations that got it there. No binaries, dumps, addresses or logs are attached; everything below is either an ABI shape or a count. Happy to turn any item into a source-built fixture or a focused PR — say which ones are most useful.
Setup.
mainat64ecc873plus local, unpublished, opt-in stand-ins for the imported DLLs (memory, D3D12 device object, texture computer, DirectStorage, audio HAL). Windows 11 build 26300, MSVC from Build Tools 18, static CRT. The executable runs under a small debugger that refuses socket/DNS handle opens, so the run is offline.Boundary reached (observed). PE load, imports, runtime initialization and the entry point are passed. The executable creates its device, queues, about 71,000 pipeline objects and its resources, enters its main loop and presents frames continuously (about 14 per second under the debugger; 2,414 presents in 167 s; stable until the timeout). Current blocker: GPU work. Command lists are recorded and executed on a desktop device, and the shaders of the first screen run through a translator (below), but the picture is still black: the per-pipeline blend/raster state blocks are not decoded yet. No claim beyond that.
D3D12 object interface (observed unless marked H).
ID3D12Deviceorder; console-only methods follow.SetPipelineState(25); from desktop slot 28 on, desktop + 4. Verified by argument shape and effect:SetDescriptorHeaps32,SetComputeRootSignature33,SetGraphicsRootSignature34, root descriptor tables 35/36,SetGraphicsRoot32BitConstants40,SetGraphicsRootShaderResourceView44,IASetIndexBuffer47,IASetVertexBuffers48,OMSetRenderTargets50,ClearRenderTargetView52. The per-frame reset takes the allocator only and sits at 139.v0 + v2 - v1(checked against the vertices of a full-screen rectangle).CreatePipelineStateaccepts the stream unchanged.s_inst_prefetch.SetFrameIntervalX/ScheduleFrameEventX/WaitFrameEventXshapes in #1014; the wait's token is passed to the present call. A fence method returns the address of the completed value and the caller waits on that memory.Descriptors (observed).
CopyDescriptors. A desktop mirror cannot see those copies. Writing a small id token into the caller's descriptor memory at view creation and reading tokens back at bind time follows them reliably (0 of 96 table entries were visible to a desktop-side shadow, all were recovered from tokens).Shader entry state (observed on six programs of 15–58 instructions; H where marked).
s0:s1point to a table of 16-byte buffer descriptors, one per vertex stream;s2is the base vertex;v0the vertex index. User data starts ats8in root-parameter order: a table is one 32-bit pointer, each 32-bit constant one register, a root descriptor two registers. The directly-indexed-heap root flags appear to add one register each (H, one sample).m0;v0/v1are the perspective-center barycentrics; compressed colour exports pack two binary16 values per register.Textures (observed).
CopyIntoSubresource(base, plane, subresource, linear, rowPitch, slicePitch)shape used by public DirectXTex code (#1034). If the provider reports a linear layout, the caller's uploads land linear and need no detiling.Translator note. For the first screen I wrote a small per-lane translator on top of
tools/disasm_rdna2.py(pure Python, no LLVM): registers becomeuintvariables, exec/vcc keep the lane bit, scalar registers are tracked symbolically so pointer and descriptor values become HLSL resources, and the output uses its own root signature (constants + one SRV table) instead of the caller's. The three vertex/pixel pairs of that screen translate and compile withfxc. I can submit it as atooling:PR with hand-assembled source-built fixtures if that is wanted.Checked by: recording every command-list call of two frames with the argument memory, replaying the decoding offline, and running the result on a desktop device with the debug layer on. Items 11–12 rest on few samples.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T23:01:40Z.
ACP HAL create, shape-context and heap slice result: #1047. Fixture-only, with no production
acphal.dllexport.ApuCreateHeap,AcpHalCreate,AcpHalAllocateShapeContexts,AcpHalReleaseShapeContexts, withApuAlloc/ApuFreeused to observe the heap.19045.6466), MSVC 19.44.35207.1 x64, CMake/Ninja, Python 3.13.13 (out/pe-env; my claim said 3.11, which was wrong). Tested commit8e9393a5onorigin/main62b55f9.ApuCreateHeapdiagnostic.--preset release.pe_mapboth exit0x8AC, and the provider records match the expected counts exactly.ApuAlloc, andApuAllocbefore any heap is refused.0xF07. Each withheld export:pe_mapstops before entry. Missing provider:pe_mapstops before entry and the Windows loader exits0xC0000135.cpu_native_apu_addressandcpu_native_apu_alloc_calleralso pass in both presets. No capability skips.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T23:23:43Z.
I'll take the reserve+commit
XMemVirtualAllocslice from my checkpoint above (the first refused call in the entry point).What a static read of the caller shows (file reads only, nothing executed):
XMemVirtualAlloc(NULL, size, 0x20003000, attributes, protection)for the others.0x183with protection0x22004. One slot uses0x283with0x2404.int3and continues with a null base.Scope:
XMemVirtualAllocinsrc/xmem_mapped_pages.cppwith a strict reserve+commit profile: null address, type0x20003000, a nonzero size that is a multiple of 64 KiB, and only the observed attribute/protection pairs. The block is committed, zero-filled and readable and writable by the CPU. Large pages and the console-specific protection bits are dropped on desktop. I'll label that as a proposed desktop policy, not a confirmed contract.ERROR_INVALID_PARAMETERrefusal, and the #888/#945 reserve-only cases stay unchanged. No export or ordinal changes.pe_map: commit, write and read back across the whole block, check the zero fill,VirtualQuerystate and protection, and release withVirtualFree. Controls change one variable from an accepted call (type withoutMEM_COMMIT, unobserved attribute or protection, a non-null address, size 0 or not a multiple of 64 KiB). Each control is paired with an accepted call in the same run, so a refusal can only come from the changed variable. Plus a missing-provider control.GPU visibility (what the
0x2000/0x20000protection bits ask for) stays open and is not part of this change. @denn0x, if your memory stand-in handles this call differently (alignment, zero fill, GPU access), a short note on what it does would make a useful cross-check.Environment: Windows 10 19045.6466, MSVC 19.44 x64, RTX 3060.
AI-assisted (Claude).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T23:29:29Z.
Please proceed with the source-built reserve-and-commit check. Keep it distinct from the reserve-only work and coordinate the implementation with the existing startup work so there is one production path. For each supported desktop configuration, check CPU access, zero-fill, alignment, boundary writes and release, and include neighboring unsupported requests plus a host allocation failure. Label any attributes without independent evidence as a desktop policy and keep the public report to the synthetic fixture and observed behavior.
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-23T23:37:37Z.
AI-assisted (Claude Code).
I'll take the GameInput slice. It doesn't overlap the ACP HAL, XApu/XDsp, XG or DirectStorage work, and it isn't in the 22 missing externals because
pe_map --systembinds it to desktop System32 by ordinal.out/pe-env),devandreleasepresets.um/GameInput.h) and Microsoft Learn. Static caller evidence and the resulting requirements are in #1056 (ABI shapes and counts only). Names are the header's interpretation of the observed slots; the console runtime's behavior is not established.pe_map:pe_mapbefore entry; a two-argument or wrong-ordinal provider, a callback delivered on another thread with a wait, and a wrong layout are each caught;gameinput.dllexport.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T23:44:11Z.
@denn0x For the CPU-copied descriptor records in your startup report, would a separate source-built Windows 10 regression fixture overlap work you already have underway? I’m considering reusing #1054’s two-submission shader and fences: copy a generated binding record after fence 1, resolve its current ID at bind time, and use the desktop descriptor API to populate the second slot. The stale-mirror and unknown-ID controls would cover the copy being missed and a bad record being refused. The fixture would use generated data and leave the runtime implementation with you. Let me know if you prefer an independent run of an existing candidate.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T23:55:40Z.
The test-only follow-up is open in #1060, based on merged #1054. The generated CPU copy selects the new word, the stale record selects the old word through the same shader-visible slot, and the unknown record is rejected before submission two. The corrected record then submits normally. Debug and Release passed all 15 focused tests on the GTX 1060 and Windows 10 in-box WARP, with clean D3D12 debug output.
This covers the synthetic CPU record and desktop descriptor handoff. If you have a parallel fixture underway, please flag it here so we can coordinate the review.
AI-assisted (Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-23T23:59:17Z.
I'll take the primitive topology 0x11 (rectangle list) slice from @denn0x's checkpoint above.
0x11(RECTLIST/ rectangle list) translation to desktop D3D12 triangle list, with 4th vertex generationv3 = v0 + v2 - v1.vendor=1002, device=73ff, driver 32.0.21045.11001) and Microsoft WARP,devandreleasepresets.0x11represents a rectangle list with three vertices per rectangle, where the fourth corner is derived asv0 + v2 - v1.VGT_PRIMITIVE_TYPE_RECTLIST = 0x11(17 decimal), taking 3 vertices per primitive.0x11is outside standardD3D_PRIMITIVE_TOPOLOGYenum values and triggers debug-layer validation failures.tests/rectlist_topology_check.cpp/.py):3*Nvertices (including full-screen and rotated/offset rects).(v0, v1, v2)and(v0, v2, v0 + v2 - v1)preserving vertex attributes and CCW winding.d3d12_xs: translate topology0x11toD3D_PRIMITIVE_TOPOLOGY_TRIANGLELISTwith the geometry expansion to prevent desktop D3D12 runtime rejection.- v1subtraction or using wrong winding order fails against the raster oracle.0x11to desktopIASetPrimitiveTopologywithout translation is caught.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T00:06:02Z.
Windows 11 startup checkpoint of the main executable under the native Windows loader (not
pe_map), onmainat9a839a4. This is an independent repeat of @rasptum's checkpoint above on a different OS and toolchain, plus oneXMemVirtualAllocprofile that is not in the reserve+commit claim. It is not a startup claim.Environment: Windows 11 Pro build 26300, MSVC 19.44.35207.1 x64,
devpreset (Debug)xmem.dllandd3d12_xs.dll, NVIDIA RTX 3090. No external providers were used. Each configuration ran twice and both runs matched.Import closure (offline, PE data only). Walking the static imports recursively through the package DLLs, System32 and the two shims leaves 22 missing externals in 5 modules (
acphal9,chad5,xapu5,xcrdapi1,xg_xs2), all imported by the main executable. Every export imported from System32 and the shims resolves, and all 1,252 API-set imports in the executable and package DLLs resolve withLoadLibrary/GetProcAddresson this build. This matches the 22 in the checkpoint above.Launch stages (local, private harness, not in the repository). The 22 missing exports are bound to stand-ins that record the call and terminate the process. A small debug loop records exceptions and debug output.
0xC0000135, before any image codeXMemVirtualAlloc(NULL, size, 0x20003000, 0x183, 0x22004)refused,int3, then0xC0000005writing0x10. No stand-in was reached.XMemVirtualAlloc(diagnostic only, see below)xcrdapi.dll!DStorageGetFactoryafter about 1.7 sThe lenient build commits any
NULL-address request withMEM_COMMITset asPAGE_READWRITE, and logs each call. It exists only to find the next boundary. It is not a proposed implementation, and it stays out of the repository and out of the reserve+commit slice.XMemVirtualAlloccalls in order (observed):mainshim today0x204020000x210x40x204020000x30x8010x494000000x200030000x1830x220040x897000000x200030000x2830x24040x233000000x200030000x1830x220040x254000000x200030000x1830x220040x1400000(20 MiB)0x204030000x1810x4Calls 3 to 6 are the four pool slots in @rasptum's static read. Call 7 is a separate reserve+commit request with type
0x20403000(the reserve-only type0x20402000plusMEM_COMMIT), attributes0x181and protectionPAGE_READWRITE. It happens after the pool loop and before runtime-service initialization. Under the strict profile planned above it would still be refused, so the slice may want it as a neighboring case or a follow-up.Not established: what the console does with these flags, whether call 7 is fatal when refused (the lenient run accepted it), and anything after
DStorageGetFactory. The DirectStorage stage belongs to the existing claims (#963).AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T00:11:36Z.
Thanks, @Holastor. Please continue with the source-built rectangle-list fixture. Give the three input corners distinct attributes and make the fourth-corner check sensitive to operand order. Run the winding mutant with culling enabled so it changes readback, and keep malformed vertex-count and raw desktop-topology rejection as separate controls. Please keep the first PR focused on the fixture and the geometry contract. We can use its results to review the runtime hook separately.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-24T00:12:42Z.
Primitive topology
0x11(rectangle list) slice result: #1068.Tested: commit
16ebb696on branchgpu/rectlist-topology. Windows 11 Pro build 26100.3037, MSVC 19.51 x64, CMake/Ninja, AMD Radeon RX 6600M (driver 32.0.21045.11001).Commands:
Expected vs observed:
Nrectangles defined by3Nvertices(v_0, v_1, v_2)are lowered into2Ntriangles(v_0, v_1, v_2)and(v_0, v_2, v_3)withv_3 = v_0 + v_2 - v_1.[-1, 1]^2viewport and arbitrary quadrant bounds.[0, 1, 2, 0, 2, 3]triangle sequences.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T00:16:21Z.
I'll take a small tooling slice so that the startup checkpoints in this thread can be reproduced with a repository command, not a private harness.
--trap-missingdiagnostic mode fortools/pe_run_package.py. Each unresolved external gets a numbered trap that prints<image>: <dll>!<symbol>and terminates the process with a fixed code plus the trap number. The default and--preflight-onlybehavior stay as they are, and strict planning still refuses.acphal.dll. Without the flag the run is refused before mapping. With it, the caller stops at its firstacphal.dllcall with that trap's code and name, and the provider records no calls. An external that is never called stays listed as an unhit trap.Environment: Windows 11 Pro build 26300, MSVC 19.44 x64,
devandreleasepresets.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-24T00:17:07Z.
XApu command-queue result: #1071. It is fixture-only, with no production
xapu.dllexport and no change tosrc/.@R0Y00, here is how each point from your 22:18Z note is covered:
xapu.dllqueue imports. Thechad.dllXDsp stream lifecycle will be a separate, later PR.0x101,0x102,0x103on enqueue and on dequeue, and the check compares both sequences. A LIFO provider build stops the caller at the order step (0xF03). At each refusal that has an output (empty dequeue, unknown-handle dequeue, zero-handle count), the provider reads the output without writing it and records what it saw. The check confirms that it saw the caller's sentinel all three times, and the caller confirms the same after each return. A local mutation that wrote the output on an empty-queue refusal failed the test.f8c3438lists everyXApu*name asrestricted, and DirectXTK12 has none. The PR body,docs/experiments.mdand the provider comments call the symbols and signatures fixture policy until there is an independent reference, not the console contract. No production export.Other controls:
0xF05.xapu.dll, the Windows loader refuses the process with0xC0000135.pe_mapstops before entry and the provider records no calls.Tested: commit
658e6eb4onmainatd33845b9, Windows 10 Pro 10.0.19045, MSVC 19.44 x64, source-built inputs only. Fulldevandreleasebuilds ran on the previous base (03029a27). After rebasing past thetools/pe_map.cppchange in #1058, I rebuilt the affected targets in both presets.cpu_native_xapu_queueand its audio neighboursapu_alloc_caller,apu_addressandacphal_halpassed 4/4 per preset both times.Not established: the console signatures and layouts, the handle type, the error codes, asynchronous completion, and which commands startup submits.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T00:40:19Z.
The source-built XApu fixture landed in #1071. My independent Windows Release run agreed across the native loader and pe_map: three FIFO results, six refusals with their covered output sentinels preserved, and both the lenient-handle and LIFO mutations detected. The fixture covers the five exchange functions and keeps the XDsp work separate. Production audio behavior remains open.
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-24T00:59:21Z.
Reserve+commit
XMemVirtualAllocslice result: #1098.0x20003000with0x183/0x22004or0x283/0x2404(pool loop), and type0x20403000with0x181/PAGE_READWRITE. The third one is call 7 from @mumba17's repeat. Each returns a fresh zero-filled read/writeVirtualAllocblock. This is a proposed desktop policy: the page-size and console protection bits are not reproduced.cpu_native_xmem_pool_commit, Windows loader andpe_map), per configuration: alignment,VirtualQuerystate, zero fill, boundary writes and release. Plus ten neighbouring refusals, a host allocation failure (ERROR_NOT_ENOUGH_MEMORY), five negative controls and a missing-provider control. Three shim mutations were caught at their expected steps.XMemVirtualAlloccalls now succeed and no missing-import stub is reached. The next stop is not established and is not part of #1098.Windows 10 19045.6466, MSVC 19.44 x64.
AI-assisted (Claude).
Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-24T01:09:15Z.
Thanks — I went through #988 at the merged head
969b7f72(b0fd0513) rather than the open diff, so the line numbers below are fromtools/pe_map.cppas it landed. Reviewing after the merge is fine for me; the parts I can actually speak to are the ones you left open.What I checked and agree with. The attach/detach ordering in
DllMain(:1025-1034) is the part I would have got wrong: attach installs the block before any image is notified, and detach notifies first and restores after. In our own loader we solved the "the image's CRT frees whatever it finds in slot 0" problem by not returning the host block inDLL_THREAD_DETACH. Ordering it after the notifications is better — the host gets its block back on every thread instead of only at exit — and it is the same guarantee with less state kept alive. The per-thread swap (install_current:808,restore_current:833) and the refusal inend_main(:907) also match what we concluded: no thread writes another thread's slot, and an accepted release is decided under one lock.Three boundary cases I would still look at.
restore_currentdrops the saved host block when slot 0 no longer holds the image's block (:838-849).holdsis false, nothing is written back,g_participationis cleared and the table entry is released — so the pointer we saved is gone with no record that it happened. If the image ever writes its ownAddressOfIndexslot, or a thread's slot 0 is replaced by something else while it participates, that thread silently ends up with a third block and the host block is lost. A separate counter next tomain.restored, incremented whenholdsis false, would make that visible instead of indistinguishable from a normal restore.install_enrolled_threadmatches an enrollment on the thread id alone (:865-868). That is not the same key as your 20:03Z description, which said records are keyed by thread id and TEB. Inside the enrollment window the id cannot be reused — the entry stays until its handle is signaled — so I do not think this is a live bug. It is worth one comment saying why the id is sufficient there, because the next reader will compare it against the attach path and wonder.pe_map_main_thread_enteris not reference counted (:1659-1670): a second enter returns 1 without recording anything, and onepe_map_main_thread_leavetakes the thread out of participation completely. A host that enters on two nested paths loses its slot 0 on the inner leave. Either document it as "enter once per thread" or count the depth.The exit path, since you listed it as not covered. We hit this one and it is sharper than it looks.
A CRT EXE that returns from
maincallsExitProcessinsidepe_map_run, so everything after that call is unreachable and the borrowed slot 0 is never returned. Two things we measured on Windows 11 build 26300 (MSVC 14.51, Debug and Release), with a fixture shaped likecpu_exe_tls_slot0plus a worker that is still alive at exit:ExitProcessitself. A Detours-style patch also changes the host's exit path, and our CRT EXE then died withSTATUS_HEAP_CORRUPTIONduring the host's own teardown — the patch sits in the middle of the CRT's exit sequence rather than at its end.ExitProcessname entry,VirtualProtectthat one IAT slot, keep the original pointer, and chain to it after teardown. Only the image calls through that slot, so no other module in the process is affected.The teardown order that worked, and the one the fixture asserts on:
In our tree the assertion is on that stderr line, not on the exit code — the fixture exits 7 on purpose. The line we assert is
tls_restored=1 displaced=2 host_tls=yes heap_valid=yes:displaced=2is the caller plus the live worker, andhost_tls=yesis a hostthread_localwritten after the restore and read back, which only succeeds if slot 0 is the host's block again.One negative control worth adding to your set, because it is the one that fails silently: return the host block in
DLL_THREAD_DETACHbefore the image's callback runs, and the fixture above dies with heap corruption during teardown instead of printing the line. Your ordering already avoids it; the control makes the ordering load-bearing in the test rather than incidental.Two limits on what I can claim: this is a loader-level result from source-built fixtures, not a startup result, and our main executable has not completed a run in our tree — we are past the TLS assertions and the storage-factory assertion, and the startup gate still fails later. Nothing above is a statement about console hardware or about retail behaviour beyond the instructions we read.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T01:30:57Z.
I'd like to take the first slice of the next milestone in the status table: a command recorded and submitted through the project runtime, a fence wait, and matching output. This is source-built only. The main-executable run stays behind the storage blocker.
D3D12XboxCreateDevice(#1066) returns a desktop device, so a console-shaped caller has no list, queue or fence path insrc/.d3d12_xslist/queue/fence adapter over the desktop objects, behind the existing device, plus a test that dispatches one compute shader and compares the readback.Signalreads the old value;Environment: Windows 11 Pro build 26300, MSVC 19.44 x64, RTX 3090 (driver 32.0.16.1664) and WARP,
devandreleasepresets.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T01:24:45Z.
DirectStorage source-built follow-up
PR #1128 is open for independent review and retest. It follows the #963 factory and queue fixture. @Holastor, if you can run the optional Windows Release setup in the PR, please post the exact commit, Windows build, and observed statuses here or on the PR. The key checks are exact file-to-memory bytes, an unchanged destination and pending completion before manual Submit, and status/event order for success, bad checksum, and invalid output length.
Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-24T01:38:14Z.
I'll take one small piece of the "local WARP backend refuses the forced-wave32 pipeline" note in the maintainer diagnostic above: a source-built, CRT-free fixture with a trivial compute shader compiled with and without
[WaveSize(32)], creating the pipeline and dispatching it once on WARP and on an RTX 3070. It records the adapter'sWaveLaneCountMin/Max, the exactCreateComputePipelineStateresult and debug-layer message on each, and a readback ofWaveGetLaneCount()where creation succeeds, so a WARP capability limit can be told apart from a translator problem without using any title data. Results and the fixture go in a linked PR; no change to existing tests.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-24T01:39:12Z.
Claiming the independent Windows Release run and review for PR #1128. I will verify the file queue, custom RFC 1950 decompression, exact byte readbacks, unchanged destination before Submit, and status/event order across the error cases on Windows 11 with MSVC 19.51, and report the full results with the exact commit and environment.
Imported from R0Y00/Xbox2Windows. Originally posted by Holastor on 2026-11-24T01:44:45Z.
DirectStorage source-built follow-up: independent Windows Release (and Dev) run and review submitted on PR #1128.
Environment & Setup
92f3377f(92f3377f491805ee583b0e593e183204c1e5f7b2)Observed Statuses
0xcaguard bytes remained untouched; all 5 error cases left the destination buffer unmodified.WaitForSingleObject(event, 0) == WAIT_TIMEOUTandstatus->IsComplete(0) == FALSEbefore custom queue servicing.S_FALSE.0x00000000on success and0x8007000d(ERROR_INVALID_DATA) across all 5 failure modes.Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T01:47:43Z.
Process-image slice, source-built, as a follow-up to #988 and #1085: #1151 makes
pe_map_run_mainreport the mapped EXE as the process image (the PEB'sImageBaseAddress, soGetModuleHandle(NULL)andFindResource(NULL, ...)find it), and an accepted release restores the host's value. The fixture matches a Windows launch underpe_run_package.pyand an in-process host, with ape_map_runnegative control. The main executable's "module identity" runtime message underpe_mapis not explained by this; the loader list (GetModuleFileName(NULL)) is the next candidate, unverified.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T01:49:47Z.
@roansystemlabs, #1132 now covers native and forced widths, with a readback of the reported wave size and named capability skips. Please reuse the WaveSize capability fixture as a comparison so the CRT-free startup investigation can focus on the exact PSO HRESULT and debug-layer output at the startup boundary. The desktop readback and the startup attempt answer separate questions.
Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-24T02:04:50Z.
Result for the forced-wave32 note, following the 01:49Z direction: #1161, CRT-free and source-built, with #1132 as the desktop comparison.
Tested
2ae62adon Windows 11 build 26200.9974, MSVC 19.44, DXC from Windows SDK 10.0.26100,devandrelease, three runs each with and without the debug layer:[WaveSize(32)]S_OK, readback 40x80070057(E_INVALIDARG), skip 77S_OK, readback 32S_OK, readback 32ID3D12Device::CreateComputeShader: Shader wants wave lane count of 32 but maximum wave lane count for device is 4. To check for support, check device caps via the CheckFeatureSupport() API. Without the layer the HRESULT is the same.[WaveSize(4)]creates on WARP (readback 4) and is refused on the RTX 3070 with the mirrored error 622.1f172a06on the same two adapters: native 4 on WARP, native and forced 32 on the RTX 3070, WARP wave32 and wave64 skip 77 from the reported range.So the in-box WARP refuses a forced-wave32 pipeline at creation, with or without the debug layer, as a capability limit of its 4..4 range; the fixture has no translated code and no title data. These runs used the Windows loader only: not under
pe_map, not on AMD or Intel hardware, not with the app-local WARP or Agility SDK runtimes.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T02:16:15Z.
Narrowing my claim above: @denn0x's open #1135 already contains the runtime side. Its device stand-in in
src/startup_stubs/d3d12_xs_device.cpphas command-list recording, the desktop+4 slot table from desktop slot 28 on, and fence slot 12 returning the address of the completed value. I won't write a competing list/queue/fence adapter.What remains, if useful once #1135 lands: a source-built caller fixture that pins that contract. It would call through the shifted slots and poll the returned fence address after one compute dispatch, with the negative controls I listed (desktop-order caller, early poll, skipped dispatch, nonzero packet cursor). I'll wait for #1135's review before starting, and drop this if @denn0x or @R0Y00 prefer the coverage inside #1135.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T02:54:04Z.
The source-built forced wave-size startup probes from #1161 merged at
2da8071b. The independent Release retest on WARP and RTX 4060 Laptop passed four cases and skipped two unsupported forced widths. Unforced and forced-4 readbacks agreed on WARP (4 lanes), and unforced and forced-32 readbacks agreed on RTX (32 lanes). The source-built fixture records PSO creation and readback for this boundary.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T04:16:50Z.
The local diagnostic build reached the player-selection prompt on an Intel Core i9-14900HX and RTX 4060 Laptop. After a scripted A press, Bink advanced to frame 450 of 450 in the 3840×2160, 30 fps intro. The 1600×900 D3D12 swap-chain readback showed the intro image with incorrect colours, consistent with the RX 9070 XT author's observation in #1135.
This run used local CPU compatibility changes and permissive runtime shims. The offline debugger continued through assertions and stopped the process at its 225-second limit. The first and last of 449 frame-advance calls were 49.33 seconds apart. Playback timing, audio quality and entry into interactive gameplay remain open. The next graphics comparison is the first post-intro draw in #1137; intro colour is tracked in #1138.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T04:46:28Z.
Open for one independent main-menu retest. The local RTX 4060 Laptop diagnostic run reached the Finish Setup screen. We are testing what happens after confirming it. An independent run on another configuration would help locate any shared blocker. Please reply here to claim, or link your existing report if you have already done this.
Use the same launcher, local configuration and shader cache as your working setup run. Record your commit and local patches, GPU/driver, Windows build, launcher options and whether setup settings were already saved. Confirm Finish Setup using your usual input. Record each subsequent screen and input through the first main menu, then move focus between two items, open one safe submenu and return. A compact sequence of button, visible selection and next page is enough. If it stops, report the last responding screen, the first unanswered input or runtime error, and whether new frames were still presented. Keep captures and private inputs local.
Main development owns the local reproduction. The independent retest can proceed alongside the ongoing glyph work in #1150 and #1216. We will update the milestone here when the menu responds to navigation.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T05:00:37Z.
Hardware data point on a desktop NVIDIA adapter, using the offline stand-ins. This is the furthest a run has got here; it does not show the intro image yet.
Setup. GTX 1660 SUPER (driver 32.0.16.1074), Windows 11 build 26200,
main@857d9731,releasepreset,tools/startup/run.ps1 -Render -FakeUser -GpuMirror -ContinueAsserts 1000 -InputScript 4@70 -Seconds 180. Two things were needed to get past the first seconds:G:. The title opensG:\appdata0.rpf; with-DataDirpointing at the package folder instead, the run dies at 1.69 s inmemset(NULL, 0, 0x7ffffe0f0). Withsubst G: <package>it proceeds.Result after both: the run presents frames at the expected rate:
so 3,218 frames at 29.2 fps with zero draws, because four pipelines had no translation. Translating them needed one instruction to be treated as a hint (
s_setprio, which cannot affect a result; two of the four requests failed withunsupported: s_setprio). With all four translated:5,378 translated draws, none skipped, 4/4 pipelines, 29 fps. Where it stops now: the run reaches
game_scarlett_master.exe+0x6eb888, a soft assert taken because its caller passed a NULL object, and then faults at+0x6eb759readingNULL+0x10. So the next blocker is a NULL the title expects to be a live object, in the render/camera path after draws begin — not a pipeline or descriptor problem.Patches for the two setup items are #1240 (deterministic clamp to the measured driver limit) and #1241 (
s_setprioas a hint). Interactive gameplay remains unverified, and this is NVIDIA Turing rather than the RDNA 4 the earlier reports used.Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-24T06:12:13Z.
Claiming one gap in the startup commit profile from #1098. There's no dedicated issue for it.
XMemVirtualAlloccalls: null base, type0x20003000, attribute0x283, protection0x2004, sizes0x1e00000and0x2000000. The profile accepts0x283only with0x2404, so both calls return NULL withERROR_INVALID_PARAMETER. A startup run on currentmainthen stops at about 220 s on a null resource lookup in the caller. With the pair accepted, the run continues through the setup pages.MEM_LARGE_PAGESpairs: 2 MiB-aligned base, size a nonzero multiple of 64 KiB, exactly that size committed. It's a proposed desktop policy, with no permissive fallback. Extendcpu_native_xmem_pool_commitwith a 2 MiB + 128 KiB block of this shape, keep0x2004with0x183refused, and add a mutant check under both loaders.PR to follow shortly.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T09:22:23Z.
Independent data point for R0Y00's 09:14 question: on a third configuration, the run gets one screen past where the recent reports stop, and then stops reproducibly. It doesn't reach a menu after loading.
Setup. RTX 3090 (driver 32.0.16.1664), Ryzen 5 5600X, 48 GB RAM, Windows 11 build 26300,
releasepreset, no local patches. Package root mounted withsubst G:. Command:tools/startup/run.ps1 -Render -FakeUser -GpuMirror -ContinueAsserts 200000 -InputScript 4@70 -MemoryGiB 24 -StoragePath <local>; the trace run also setX2W_TRACE_API=1. All pipelines translate except one;gfx2hlslrefusesSQ_RSRC_IMG_2D_ARRAY.704f5445623e2112Before Next, the first-run pages respond to Enter and the arrow keys, with correct text (#1294). What happens after Next is the same in both runs:
0x38and0x1994). That fits a consumer of missing loaded data better than a single bad call.Provider trace (#1324). From the freeze to the fault, the only calls are the connectivity poll pair already described in #1160:
37e56907::slot2returnsS_FALSEfrom the real runtime and::slot15is answered locally. One provider is not covered by the stand-ins:8836fe87-edb9-…first appears in the same 5 s window as the burst, in both runs. Itsslot3passes through to the real runtime and returns0xffffff01(it returned a different value in an earlier run, so it may not be an HRESULT), andslot2returnsS_FALSE. It is the only call with the high bit set in the trace. I can't tie it to the stop.An earlier run on
d6cbd5d7shows the same onset at about 175 s (74 failed, 354 zero tokens); its assert budget ended it 25 s later.So on this configuration, the next stop looks like the loading phase's DirectStorage reads (#1198, BCPack #1139), not the runtime proxy. If it would help, I can repeat run 4 with #1336 applied and report whether the failed and blank counts or the freeze change. Addresses, traces and captures stay local.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T09:38:29Z.
Correction to my RTX 3090 report: I named the wrong screen. Those runs got one screen further: Next on the notice page works. The last responding screen is the following first-run acceptance page, and the failing input is confirming it. The screen then goes blank while frames keep being presented, the storage burst follows, and the process faults later. I re-checked this with two more runs on
4b166b7d+ #1336, with fault times depending on when the confirm was pressed (205 s and 248 s).I'll rerun on current
main(with #1290) and put the storage request classes on #1198, as you asked.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T09:14:49Z.
@triggered02 @rasptum, have either of your follow-up runs since the reports above reached a responsive menu after loading? If so, please link the tested commit and record focus moving across two choices, opening a submenu, and returning. If it still stops, the last responding screen and first failing input or runtime error are enough. Keep captures and private inputs local. The original independent retest instructions still apply.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T09:16:52Z.
On to it
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T09:24:07Z.
Retest done, and it still stops — with a runtime error rather than an input problem.
Tested commit:
4b166b7d1b84dec0e2d157fd31e58689b079d01d(Merge pull request #1353 from R0Y00/codex/guest-sixteen-page-record), built release from source.Hardware: Ryzen 5 5500, GTX 1660 SUPER 6 GB, 16 GB RAM, Windows 11 26200. Captures kept local.
Last responding screen. The first-run flow is responsive and the text is correct throughout:
ACCOUNT PICKER→CONTINUE (A)→UI TEXT SIZE(slider with left/right arrows) →NAVIGATION EXPERIENCE→LEGAL NOTICES. OnLEGAL NOTICEStheNextbutton renders with a visible focus outline and the screen shows the photosensitivity text, the copyright label andBACK (B).Each
Apress advanced the flow, so the input path works up to there.First failing input. Pressing
Aon that focusedNexttakes the screen to black, and the process then stops:stopped at breakpoint (0x80000003) at game_scarlett_master.exe+0x193e00fafter 185.96 srax = 0x8007000e— E_OUTOFMEMORYx2w-dstorage entry type 0 failed: bad allocation (options=0x200001), andx2w-dstorage heartbeatreportsfailed=145/146by that pointSo this is not a broken menu: it is the title's own allocation failing inside the DirectStorage path and the failure being raised as a breakpoint. Memory pressure is the leading explanation given the peak, though I have not proven whether the read itself is oversized or the host simply runs out.
What I could not verify, so I am not claiming it: focus moving across two choices with the d-pad, opening a submenu, and returning with
B. The app stops at the firstNext, which is before any submenu exists, and the pad block disappears when the process ends. If you want those three behaviours recorded, the sequence has to be reached on a run that survivesNext— which brings it back to the allocation failure above.One related observation from the same run, in case it is the same allocation:
x2w-dstorage entry type 0 failed: bad allocationappears repeatedly before the breakpoint, so the failing read is not a single late request. If those failures are expected to be retried rather than fatal, the retry or the sizing is where I would look first.Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-24T09:24:44Z.
AI-assisted (Claude Code).
A fourth configuration, on Windows 10 and an older CPU. It reaches the same last screen as the report above (Legal Notices) and doesn't reach a menu after loading. This run never confirmed Next, so it doesn't reproduce the DirectStorage burst.
mainc4966c64+ #1274/#1312 (87088c1e) + #1277 (31719cc5),releasepresetrun.ps1 -Render -FakeUser -GpuMirror -HostCpu -ContinueAsserts 1000 -MemoryGiB 12 -Seconds 420,subst G:, empty storage, scripted A / D-pad down / BSQ_RSRC_IMG_2D_ARRAYrefused); 240,534 translated draws at ~28.5 fpsmain:D3D12SerializeVersionedRootSignaturereturnsE_INVALIDARGfor ~25,000 of ~26,000 shader programs, and the run stops at ~31 s on a null read (the #1160 mechanism). Details on #1277.E_OUTOFMEMORYfromCreatePlacedResourceX(#1199).Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T09:36:22Z.
Thanks for testing this on three more configurations. The reports identify these last responsive setup screens:
Menu navigation after loading is still unverified. Please attach any follow-up storage observations to #1198 with the tested commit and the first failed request class or HRESULT. The allocation and decode errors may have different causes.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T09:37:05Z.
Full menu reached, then the main-game load dies with an unhandled C++ exception — and our D3D12 stand-in is on the call path.
Tested commit:
b9c9f624(origin/main, built release from source). Hardware as before: Ryzen 5 5500, GTX 1660 SUPER 6 GB, 16 GB RAM, Windows 11 26200. Captures kept local.Menu completed. Focus moved across separate choices, a submenu opened, and
Breturned to the previous screen — the behaviour you asked to have recorded. Beyond the first-run wizard, the title also reaches its splash/key art, which now renders in full colour at ~28 fps (that is new; earlier runs were black or flat colour). So the pre-load path is responsive end to end.First failing step: loading the main game.
stopped at C++ exception (0xe06d7363)at second chance after 222.96 s, ~5,670 frames,commit peak = 12,472 MiB0x19930520(MSVC exception object), and the throw site resolves intoXboxBvhBuilder.dll+0xd2538F:\x2w-run\XboxBvhBuilder.dll, 884 KB), not one of our stand-insd3d12_xs.dllframes, so the builder called into the stand-in and then threwThe context immediately before the throw points at one path:
G:\pack\core_bvh4\core_bvh4.rpfandG:\pack\story000_bvh4\story000_bvh4.rpf— the BVH (ray-tracing acceleration structure) data for the main gamex2w-d3d12 Device::slot70 unsupported memory SRV argumentsDevice::slot70is the Xbox memory-SRV entry point (d3d12_memory_srv.inl). When the arguments are outside what we support, the stand-in returns without writing the destination descriptor and without an error — it is a silent refusal. The BVH builder then throws.So the question I would like your call on, rather than guessing: is slot 70 expected to accept the arguments the BVH builder passes here (a resource description plus a tiled address), and if not, should the refusal surface an
HRESULTto the caller instead of returning silently? The silent path makes the eventual failure look like a title-side throw, which is why it took a stack to attribute.I can narrow the refusal next — record the resource description and view fields for those calls so we can see whether it is a dimension, format or alignment case we simply have not handled yet. That is a measurement change only.
Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-24T10:23:50Z.
Thanks, @triggered02. I tested the same Release commit (
b9c9f62450521359d2305c51501ee749eeb4d798) on a Ryzen 7 7800X3D / Radeon RX 7900 XTX system (driver32.0.32029.2010, Windows 1126200.9974). The offline run used-Render -FakeUser -GpuMirror -MemoryGiB 14 -ContinueAsserts 1000, a warm FXC cache, and a local debugger redirect for absolute package paths. The D3D12 debug layer was off.The title read controller A (
0x4), briefly showed the six-star transition, and the window closed. I reproduced this with A alone using-InputScript '4@45,4@80,4@95'. The first0x80000003breakpoint at main EXE RVA+0x1330a44was logged at 65.329 s. The same breakpoint repeated until the launcher exhausted its assertion-continue budget and ended the run at 65.37 s. The last capture was frame 1,260 with 5,989 translated draws. The last periodic summary recorded 6 translated pipelines, 0 missing, and 0 null bindings. The run generated no new shader requests.This run stopped before I could verify the menu navigation or main-flow load you reported. I also saw the unsupported slot 70 memory SRV diagnostic earlier in startup. Its relation to the repeated breakpoint is still unknown. Captures and raw logs are local.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T10:57:16Z.
Startup stops in
memsetsized from an unset length (internals removed per maintainer request)Replacing the earlier detail with the shareable summary. The executable internals, exact addresses and local
paths are dropped as asked; the traces stay local.
What the run does
Documented
run.ps1with-Render -FakeUser -GpuMirror -MemoryGiB 14,-DataDiron asubstroot over thepackage folder,
-StoragePathon an existing writable directory.Result
The fault is inside the CRT's
memsetbody, with a null destination and a count that is-1-shapedrather than a plausible buffer size — writing on the order of 8 TiB. A count that shape reads like a length that
was never set, not like an over-allocation.
Ordering, once assertions are not continued
So a range assertion already fires first, the permissive setting steps over it, and the memory fault follows.
The
memsetis a consequence of continuing past that assertion, not the first defect.Between the two, the persistent-local-storage service is created and destroyed one millisecond apart, and several
more assertions fire in the same millisecond.
Varying these does not move the stop
-StoragePathgiven, and given with the separator fixedThe fault is byte-identical across all of them, so none of those is the variable.
What would make it independently checkable
A source-built reproduction of the producer and the expected range would let anyone check the assertion and
the downstream length without the retail image:
I can take the fixture side if it is not already claimed — this machine reproduces the stop in under a second, so
a fixture can be validated against it immediately.
Windows-native; AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T11:02:47Z.
That
memsetsignature is one I hit on this branch an hour ago, and it is a launch configuration problem rather than the asserts.Most likely to matter: none of
-GpuMirror,-FakeUseror-MemoryGiB. It is the persistent-storage root. Your command passes no-StoragePath, and without itX2W_STORAGE_PATHdefaults toS:\(src/startup_stubs/runtime_proxy.cpp,storage_path()). IfS:does not exist, the persistent-local-storage service comes up and immediately tears down — which is exactly theSPersistentLocalStorageImpl Created/Destroyedpair one millisecond apart in yourevents.txt— and the caller then walks intomemset(dest=NULL, count=0x7ffffe0f0). That count is-1-shaped, i.e. a length that was never set, which fits what you observed about it not being a plausible buffer size.What fixed the identical failure for me:
with
X:beingsubstof the folder that directly containsMicrosoftGame.configand the.rpfpacks (subst X: <that folder>). Two details matter there:-DataDiris the title's working directory and must be whereMicrosoftGame.configlives;run.ps1checks for it. A path likeZ:\GTA6\GTA6.Xbox.v1.0.2.1-CYBERLEEKworks only if the config is directly in it, and the title also builds names likeG:\appdata0.rpf, so exposing the package folder as a drive root is what made it reliable for me.-StoragePathneeds an existing writable folder; a missing drive is enough to produce your crash.Two smaller things worth doing in the retry, neither of which causes this crash: pass
-ShaderCache <dir>and runpython -B tools/startup/gfx2hlsl.py --pending <dir>after the first run — without that, missing pipelines silently drop UI draws and text renders invisible, which cost me an hour today chasing a "renderer bug" that was a stale cache.So the order I would try: add
-StoragePath, mount the package folder as a drive root for-DataDir. If it still faults at 0.33 s with the samememsetcount, then the create/destroy pair is a real storage-service defect and theexe+0x5b29847caller is the anchor — but I would expect the two changes above to get past 0.33 s first.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T11:51:08Z.
Thanks for narrowing the first failing assertion. Please edit the latest report to keep the summary of that observation and remove the private executable instructions, exact addresses and local paths. The useful shareable result is that the first range assertion is already present before the later storage failure with the debugger set to continue. A source-built reproduction of the producer and the expected range would make an independent check possible. The earlier menu-navigation evidence and the slot 70 diagnostic are tracked separately in #1420.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T11:41:32Z.
Windows-native startup: first range assertion fires before the storage failure
Summary of what the Windows-native run shows, with the executable internals and local paths taken out as the
maintainer asked. The detailed traces stay local.
Environment
Launch followed the documented
run.ps1with-Render -FakeUser -GpuMirror -MemoryGiB 14,-DataDiron asubstdrive root over the package folder, and-StoragePathpointing at an existing writable directory.The shareable result
With the debugger set to continue assertions, the run reaches the storage service, the service comes up and
tears down within a millisecond, and the process then faults in a
memsetsized from an unset length.With assertions not continued, the run stops earlier — on a range assertion that is already present before any
of that. The first stop is a
0x80000003breakpoint, not the access violation:So the ordering is:
memset, sized from a length that was never set.The
memsetis a consequence, not the first problem. The first problem is the range assertion, and-ContinueAssertsis what turns it into a memory fault instead of a clean stop.The two configurations also diverge inside the same function — the continued run and the stopped run report
different callers one frame down — which is consistent with an assertion guarding a branch whose result the later
code assumes is valid.
What is not claimed
separator fixed) all fault identically, so the path is not the variable.
pattern does not look like exhaustion.
What would make this independently checkable
A source-built reproduction of the producer — a fixture that supplies the value the range assertion guards,
plus the expected range — would let anyone check the assertion and the downstream length without the retail image.
Concretely, two things would settle it:
"what should this be on the desktop path" question has an answer in code rather than in logs.
the failure and the fix reviewable.
If a slice of that is already planned under #1420 or the surrounding work, I can take the fixture side — I have a
machine that reproduces the stop in under a second, so a fixture can be checked against it immediately.
Also noted
gfx2hlsl.py --pendingafter the first run: agreed, but nothing here reaches the pipeline stage yet, so it cannotaffect this stop. Will run it as soon as a build gets past 0.25 s.
Windows-native; AI-assisted (this session built the tree, ran the configurations and summarised the ordering).
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T11:14:47Z.
Startup stops in
memsetsized from an unset length (internals removed per maintainer request)Replacing the earlier detail with the shareable summary. The executable internals, exact addresses and local
paths are dropped as asked; the traces stay local.
What the run does
Documented
run.ps1with-Render -FakeUser -GpuMirror -MemoryGiB 14,-DataDiron asubstroot over thepackage folder,
-StoragePathon an existing writable directory.Result
The fault is inside the CRT's
memsetbody, with a null destination and a count that is-1-shapedrather than a plausible buffer size — writing on the order of 8 TiB. A count that shape reads like a length that
was never set, not like an over-allocation.
Ordering, once assertions are not continued
So a range assertion already fires first, the permissive setting steps over it, and the memory fault follows.
The
memsetis a consequence of continuing past that assertion, not the first defect.Between the two, the persistent-local-storage service is created and destroyed one millisecond apart, and several
more assertions fire in the same millisecond.
Varying these does not move the stop
-StoragePathgiven, and given with the separator fixedThe fault is byte-identical across all of them, so none of those is the variable.
What would make it independently checkable
A source-built reproduction of the producer and the expected range would let anyone check the assertion and
the downstream length without the retail image:
I can take the fixture side if it is not already claimed — this machine reproduces the stop in under a second, so
a fixture can be validated against it immediately.
Windows-native; AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T11:20:55Z.
Startup stops in
memsetsized from an unset length (internals removed per maintainer request)Replacing the earlier detail with the shareable summary. The executable internals, exact addresses and local
paths are dropped as asked; the traces stay local.
What the run does
Documented
run.ps1with-Render -FakeUser -GpuMirror -MemoryGiB 14,-DataDiron asubstroot over thepackage folder,
-StoragePathon an existing writable directory.Result
The fault is inside the CRT's
memsetbody, with a null destination and a count that is-1-shapedrather than a plausible buffer size — writing on the order of 8 TiB. A count that shape reads like a length that
was never set, not like an over-allocation.
Ordering, once assertions are not continued
So a range assertion already fires first, the permissive setting steps over it, and the memory fault follows.
The
memsetis a consequence of continuing past that assertion, not the first defect.Between the two, the persistent-local-storage service is created and destroyed one millisecond apart, and several
more assertions fire in the same millisecond.
Varying these does not move the stop
-StoragePathgiven, and given with the separator fixedThe fault is byte-identical across all of them, so none of those is the variable.
What would make it independently checkable
A source-built reproduction of the producer and the expected range would let anyone check the assertion and
the downstream length without the retail image:
I can take the fixture side if it is not already claimed — this machine reproduces the stop in under a second, so
a fixture can be validated against it immediately.
Windows-native; AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T12:00:02Z.
Edited — all four of my comments on this issue now carry only the shareable summary: the ordering of the first range
assertion against the later storage failure, the three configurations that do not move the stop, and the request
for a producer fixture. The executable internals, addresses and local paths are gone. The local traces stay local.
Taking the fixture side, if it is not already claimed.
What I can build
A source-built fixture for the producer of the asserted value and its expected range, so the assertion is
checkable without the retail image. Concretely:
rather than a literal, so the test states why the bound is what it is.
same outcome the Windows-native run shows before it continues past it.
consumer can accept.
The point of (3) is the interesting one: the current stop is a
memsetwhose length is-1-shaped, so thefixture should demonstrate the length the consumer expects to receive, not just that the producer is asserted.
What I need from the project side
will extend it; if it is meant to come from
-FakeUseror the storage service, say which, since my run showsthat service coming up and going down in the same millisecond.
synthesise. Without that the fixture would only encode my guess.
I have a machine that reproduces the stop in under a second, so I can validate the fixture against the same
configuration and report both the fixture result and whether it moves the real run.
Check GPU claims in #874 before starting — this one needs no GPU beyond starting the device, so it should not
collide with the wave64 or plane-colour work.
Windows-native; AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T12:02:48Z.
Found the producer candidate:
pls_get_space_inforeports a fixed 32 MiB, and the assertion wants > 999 unitsFollowing your "check the stand-in side" suggestion, I went through
src/xgameruntime_shim.cppand I think theproducer is already there. This is a hypothesis with a numeric fit, not a confirmed root cause — the last section
says what would confirm or kill it.
The candidate
XPersistentLocalStorageGetSpaceInfois implemented against three fixed constants:and
pls_get_space_infocopies them straight into the four-field struct:So the title is told it has 32 MiB free out of 64 MiB total, regardless of the machine, the drive behind
-StoragePath, or the package. On a console that number is on the order of hundreds of GB.Why that fits
The first stop is a range assertion whose bound is 999, and the value reaching it in my run is 1. If the
title divides the reported free space by a fixed unit size and compares the quotient against 999, a 32 MiB answer
gives a quotient of 1 as soon as the unit is 32 MiB (or a few units at smaller units), which trips the assertion
on every run:
-StoragePath, three different storage roots, or a missing drive — because thenumber never came from the path;
This is also consistent with the create/destroy pair: a service whose reported free space cannot satisfy the
caller's first request has nothing to keep alive.
What I would change, and what I need to confirm it
Change: make
synthetic_pls_available_free_bytes/synthetic_pls_total_bytesreflect the actual free spaceof the storage root, or at minimum a number large enough that a unit-count quotient clears 999. A fixed 64 MiB
ceiling cannot be a plausible console stand-in.
But I do not want to patch a constant on a guess. Two things would settle it:
availableFreeBytes / unitwhereunitisknown (block size, save-blob size, or a constant in the title), then 32 MiB /
unitshould equal the value myrun reaches. If someone can name the divisor, I can compute the expected quotient and check it before changing
anything.
the "expected range" for the fixture is easy to state; if the console really does report something small, my
hypothesis is wrong and the assertion is guarding a different quantity.
Fixture shape, if the hypothesis holds
999 bound as a named constant.
accepts — the important half, since the current stop is a
memsetsized from a length that was never set.If the divisor is already known to someone on the thread, tell me the number and I will write the fixture against
it; otherwise I can start with the two extremes (32 MiB and a console-plausible total) and let the failing case
name the divisor for us.
Windows-native; AI-assisted (read the stand-in source and fitted the observed value against it).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T12:23:38Z.
The constant quota is a useful candidate. Please separate it from storage-root formatting (#1454) and the slot 70 follow-up. A source-built caller can first query the provider and confirm the available, free and total byte counts. For any local comparison, change only the reported quota and record whether the same first assertion recurs with automatic continuation disabled. Please share the observable stage and result, keeping private executable details local.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T12:32:51Z.
@triggered02 Your Release
b9c9f624report remains the confirmed menu-navigation record on GTX 1660 SUPER: moving focus, opening a submenu, and returning with B worked; the subsequent load reported repeated slot 70 refusals before the exception. If you already have a newer run, please link its build, the last responsive page, and the first observable error here. #1420 merged the classification probe and #1456 is still under review. A sanitized refusal category is enough for comparison.Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T12:44:09Z.
Tested the quota candidate: it is not the constant, and the value does not move with
X2W_STORAGE_MBRan the comparison you asked for — change only the reported quota, keep everything else, report the observable
stage. It falsifies my own hypothesis, so recording it before anyone spends time on it.
First, the producer is not where I said
My previous comment pointed at the fixed
synthetic_pls_*constants insrc/xgameruntime_shim.cpp. That filebuilds
xgameruntime_shim, whose target writesfixture-shims\xgameruntime.dll, and the comment there says it isdeliberately kept out of the normal shim directory so a package cannot take it as a provider.
run.ps1copieseight DLLs and
xgameruntimeis not one of them, so that source is not on the path my run exercises.The path that is live is the runtime proxy (
X2W_RUNTIME_PROXY=1), and its storage space function reads a quotafrom the environment rather than holding a constant:
So the quota is already configurable and defaults to 1 GiB, not 32 MiB. My "32 MiB is too small for a unit count
to clear 999" fitting was against the wrong file.
The comparison
Only
X2W_STORAGE_MBchanged between the two runs.-ContinueAsserts 0, everything else identical.X2W_STORAGE_MB0x80000003, first-chance0x80000003, first-chanceSame assertion, same registers:
So the first assertion is not a function of the reported quota. 64x the quota, identical stop, identical
register state. Whatever the assertion at
0x2237178is guarding, it is not the storage size the proxy reports.What the registers do suggest
r9=0x7f656f712d2f6073reads as ASCII bytess/-qoereversed — a string fragment, not a number.rdx=0x66is 102, which is'f'— also text-shaped.r8=0x7efefefefefefeffis the classic0x7efe…fill patternMSVC uses for uninitialised stack, which is worth noting on its own: the value being compared may not have been
written at all.
That points at a string or name comparison rather than a size check, which matches my earlier guess from the
-ContinueAsserts 0frame and does not involve the storage quota.What I would do next, if it is useful
that supplies a known string and the expected comparison would let the assertion be checked without the image.
That is the same shape you asked for, just with a string producer instead of a numeric one.
0x2237178is already classified under #1420's probe or #1456. If the refusal category isstring-shaped, this is the same finding and I should stop duplicating it.
I can also re-run with
X2W_TRAP_DUMPpointed at the stack around that frame if a dump of the compared byteswould be more useful than another run of the same stop. Say which.
Windows-native; AI-assisted (read the proxy source, ran the comparison, reported the observable stage only).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T13:04:59Z.
Thanks for correcting the quota hypothesis. Your single-variable comparison reached the same first breakpoint with both settings, and the fixture shim is separate from the launcher runtime proxy. That sets aside the proposed fixture-quota change. A next comparison can record the last successful API operation and first observable failure, with private traces kept locally. Menu navigation and the later slot 70 load symptom remain separate.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T13:06:30Z.
API boundary at the first assertion: last success is the DStorage factory slot 8, first failure is the breakpoint
Recording the two points you asked for — the last successful API operation and the first observable failure — with
-ContinueAsserts 0so the boundary is not confused by anything the permissive setting steps over.Last successful operation
The stand-in log ends with:
DStorage factory slot 8 returning
S_OKforvalue=0x2000000is the last successful API operation. Nothingafter it logs a completion.
First observable failure
A range assertion, before any access violation. With continuation enabled the same assertion is stepped over and
the run continues to the storage-service create/destroy pair and then the
memset, which is why the earlierreports looked like a storage fault. This breakpoint is the first failure; the
memsetis downstream of it.The order the stand-ins saw, up to that point
GetProcAddress× 8 (SleepConditionVariableCS,WakeAllConditionVariable,QueryApiImpl,InitializeApiImpl,InitializeApiImplEx,InitializeApiImplEx2,XErrorReport,UninitializeApiImpl)xmem073b7dcbslot29, slot120x037e56907slot150x0, marked(local user)01acd177slot330x0GameInputCreate+RegisterDeviceCallback+GetDeviceInfoDStorageGetFactoryFactory::slot8→S_OKMiniDumpWriteDumpandUuidCreateare resolved between 5 and 6, which the log order puts before the fault —those are the title's own crash-reporting path being set up, not the fault itself.
Two things that follow from the boundary
GetProcAddressforXErrorReporthappens early (step 1), so the title arms its error path before theassertion. That matches a title that expects to report rather than crash, and is consistent with the assertion
being a deliberate check rather than a stray
int3.0x0are not the boundary. They all answer beforeGameInputCreate, andthe run continues past them into DStorage, so
0x0from those slots is an accepted answer here, not a failure.What I would look at next
If a source-built caller can log the same two points, the useful comparison is whether slot 8 returning
S_OKandthen the assertion is reproducible with the stand-ins alone — i.e. whether the title reaches the assertion without
any package data being read. My run creates the storage directories and opens package files before this point, so I
cannot tell from the log alone whether the assertion needs the package at all.
Concretely: does a fixture that stops after
DStorageGetFactory+ slot 8 and then calls whatever the title callsnext hit the same assertion? If it does, the producer is in the stand-ins and not in the title's data.
Windows-native; AI-assisted (read the stand-in log for the two boundary points, private traces kept local).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T13:22:54Z.
The stop with automatic continuation disabled is the narrowest evidence so far. In the current stand-in, the last factory call logs its argument and returns success without recording or applying staging policy, so the return alone cannot establish whether the requested behavior was provided or whether it caused the assertion. Keep the loader stop and later storage error separate. A source-built desktop-provider staging request can test the observable success, refusal, and configuration behavior without using the private input.
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T13:30:12Z.
Fixture added:
dstorage_staging_policy— the staging slot accepts every valueTaking the slice you named: a source-built request against the desktop provider's staging entry point, checking
the three observable behaviours (success, refusal, configuration) without package data. The fixture is in the tree
and registered; this comment is the evidence, not a claim that the slot is fixed.
The measurement
tests/dstorage_staging_policy_check.cpp, registered asdstorage_staging_policy, driven againstXCRDAPI.dllfrom the dev preset.Environment: Windows 11 build 26100, MSVC 14.44, SDK 10.0.26100.0, dev preset,
bb46306-era checkout.What it establishes
The slot returns
S_OKfor 64 KiB − 1 and for 1 GiB + 1 as well as for 32 MiB. Three calls, threesuccesses, no refusal. So the earlier observation —
slot8 -> S_OKimmediately before the first assertion —carries no information about whether the staging request was satisfied. That was the point you made and the
fixture now measures it rather than arguing it.
There is no recorded policy to read back. The fixture's configuration arm has nothing to query, which is
why the two refusal checks fail instead of being skipped: a missing policy is a behaviour, not a capability
gap. If you would rather this be a skip until an accessor exists, say so and I will change the classification
— but as written it fails on purpose, so the gap stays visible.
The band bounds are the fixture's expectation, not a measurement. 64 KiB and 1 GiB are stated as named
constants with a comment giving the reason for each edge. If the intended bound is known, replacing the two
constants is the whole change.
What it does not establish
this slot cannot be used as evidence either way.
Changed
tests/dstorage_staging_policy_check.cpp(new)CMakeLists.txt: oneadd_executable/add_testpair, dependent onstartup_stub_xcrdapi, registered next toxgameruntime_pls_xpackage.No game files, no dumps, no local paths in either file. Nothing outside the two edit sites is touched.
Two notes on the fixture's own behaviour
FreeLibrarywhile the factory object is alive; the first versionsegfaulted on teardown because the object's vtable went with the module. Worth knowing if you write a similar
probe.
cteston a host without the stub sees acapability skip rather than a pass.
If you want this as a PR
I can open one against
mainon a branch named for the fixture, with the command and the output above in the bodyand
Refs #870. Tell me whether the two failing arms should stay failing (the current state, which documents thegap) or become a skip until an accessor exists.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T13:38:51Z.
The fixture establishes a useful fact about the stand-in: it returns success for all three probe values. The proposed size band is still a hypothesis. The Windows provider allows more sizes than its sample enum, and the console documentation explicitly allows zero for a memory-only workload and describes a lifetime restriction while a queue or file exists. Please report the desktop provider comparison separately, including the HRESULT before and after creating a queue or opening a file. Keep the proposed policy and the startup assertion separate until there is evidence connecting them. https://github.com/microsoft/DirectStorage/blob/main/Docs/DeveloperGuidance.md https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/system/dstorage/interfaces/idstoragefactoryx/methods/idstoragefactoryx_setstagingbuffersize
Imported from R0Y00/Xbox2Windows. Originally posted by Razen114514 on 2026-11-24T13:44:05Z.
Corrected fixture: measured against the documented contract, and the lifetime rule is the one that fails
I had the contract wrong twice, and both corrections came from the two links you gave.
The band was mine, not Microsoft's. DeveloperGuidance states it outright:
So "refuse values outside a band" was never the contract, and the two failing arms in my previous version were
tests of an invention. The fixture no longer asserts a band. It records the status for a spread of sizes, including
0(documented as valid for a memory-sourced workload) and0xFFFFFFFF(far outside any enum value).The lifetime rule is the real constraint. From the
IDStorageFactoryX::SetStagingBufferSizeremarks:That is checkable without any guess, so it is what the fixture now tests.
The measurement
tests/dstorage_staging_policy_check.cpp,ctest --preset dev --no-tests=error -R '^dstorage_staging_policy$' -V,dev preset, Windows 11 build 26100, MSVC 14.44, SDK 10.0.26100.0.
Two separate results, reported separately as you asked:
0through0xFFFFFFFF; every call returnsS_OKThe size result is what it was before and is now simply recorded rather than scored — accepting every size is
consistent with the enum-not-a-limit note, so it is not evidence of a defect on its own. The lifetime result is a
defect with a citation behind it.
Kept separate, as instructed
whether a stand-in that ignored the lifetime rule could produce the assertion, and this file makes no claim
either way.
contract in the tree.
What changed on disk
tests/dstorage_staging_policy_check.cpprewritten: no band; size spread recorded; lifetime rule assertedagainst the two doc links.
CMakeLists.txt: unchanged from the previous version — the sameadd_executable/add_testpair.No game files, dumps or local paths in either.
One thing I could not finish
The fixture creates a queue to test the rule and does not test the file arm.
Factory::slot4(the stand-in'sOpenFile) takes a path, and I would rather not have the fixture open a host path just to prove the same ruletwice. If you want both arms covered, say which file the stand-in expects so the second call is a real one rather
than a fabricated path.
Still open from my side
Whether the two failing arms in the previous version should have been a skip — that question is now moot since the
arms are replaced, but the general point stands: a missing accessor is a capability gap, an ignored documented rule
is a behaviour. I will classify the second as a failure and the first as a skip unless you say otherwise.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T14:09:13Z.
Milestone update — menu navigation and the first visible prologue text
b9c9f624moved focus between choices, opened a submenu and returned with B. Original report.For an independent report, please include the build, adapter, whether the cache was pre-populated, the last visible change after the caption, and whether the next frame contained scene geometry or responded to input. A text summary is sufficient.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T15:21:52Z.
RX 590 startup comparison: Clang
/EHagets past the early D3D12 probe stopSource
4aefce632cbc88f07f7f37df5bb5a4daf017a35d, x64 Release with clang-cl 23.1.6 and SDK 10.0.26100. Windows 11 build 26300.9974, Radeon RX 590, driver 31.0.21923.1000. Offline Windows AppContainer. Both title runs used the same temporary package-drive mapping, start options, and fresh shader-cache and storage directories./EHsc: the existing publicstartup_local_logtest failed with a segmentation fault. The title opened an output window and stopped in the D3D12 stand-in's readability probe shortly after device creation./EHa:startup_local_logpassed all 78 cases, andstartup_launchpassed. The title ran until the 45 s observation limit without the previous stop. The output window stayed black and no menu was confirmed. The runtime reported 279 presents in its first 15 s and four missing translated pipelines in its render totals.To reproduce the public control, configure Release with the same clang-cl toolchain and compare
/EHscagainst/EHa, then runcmake --build <build> --target startup_local_log_checkandctest --test-dir <build> --no-tests=error -R '^startup_local_log$' -V. No source expectations changed. This is a Clang build-configuration finding plus an independent startup observation. The link between the missing pipelines and the black output still needs a cache comparison.Codex (GPT-6) assisted with diagnosis, tests and reporting.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T15:27:39Z.
Cache-complete follow-up on RX 590
Follow-up to my
/EHastartup run. Same Release4aefce632cbc88f07f7f37df5bb5a4daf017a35d, offline AppContainer, RX 590 driver31.0.21923.1000, Windows26300.9974, same start options and 45 s observation limit.gfx2hlsl.py --pendingemitted four manifests and eight HLSL stages from the cold run requests. This machine has nofxc.exeat the default path, so that step emitted no.csofiles. With manifests alone the runtime reportedtranslated 0 / missing 0, with 866 translated-path draws not drawn. I then compiled the emitted stages withD3DCompileFromFile(main,vs_5_1/ps_5_1, flags 0), populated all eight.csofiles, and repeated the run.The complete cache yielded 4 pipelines translated / 0 missing and 898 translated draws / 0 not drawn. All three measured present-surface readbacks still reported mean
0.00/255; the renderer reported zero desktop draws and zero texture uploads. No menu or interactive scene was verified. The run reached the 45 s limit. This narrows the observation beyond missing pipeline manifests or bytecode on this setup.Codex (GPT-6) assisted with the test and report.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T16:10:50Z.
Thanks for the cache-complete RX 590 follow-up, @Lifither — ruling out missing pipeline manifests and
.csobytecode is a really useful data point.Reading
d3d12_xs_device.cppandd3d12_draw.inl,render_draws = 0is expected when every draw takes the translated path, and the first 3 readbacks only cover the first three 60-frame intervals (frames 60/120/180; the next log line is 40 readbacks later). To separate the remaining causes ofmean 0.00/255with898 translated draws / 0 not drawn, could you share a short redacted text summary from that same log (no raw traces, paths, or captures needed) for these four items?x2w-render totalslines (every 300 frames): specifically thenull bindingsbreakdown by cause,clears, anduploads— this immediately tells whether the translated draws are running with null textures/buffers/constants.x2w-render list slots per frameand anyx2w-noop ... list::slotNslot numbers — this immediately tells whether dropped copy/resolve/depth-clear slots (e.g.CopyResource/CopyTextureRegion/ResolveSubresource/ClearDepthStencilView) or unhooked root descriptor slots (SetGraphicsRootConstantBufferView/UAV/ single32BitConstant) are active.x2w-draw ... blend ... masklines for the 4 translated pipelines (to rule out a zero color write mask).Presentreadback log line appeared after the 3rd one (or whether the 898 draws occurred mostly after frame 180).(Tip:
python tools/startup/triage_run.py <logdir>onmainalready produces an allowlist-only redacted summary of most of the counters/slots if you prefer not to hand-redact.)AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T16:15:57Z.
Local startup runs on an RX 9070 XT, to add a second GPU vendor to the #870 evidence. Counts only; captures, paths and names stay local.
Environment:
mainatcb94b8ca, release build. AMD Radeon RX 9070 XT, driver 32.0.31044.16, Windows 11 build 26300.9974. The D3D12 debug layer was off (X2W_D3D12_DEBUGunset), so the zero debug-message count below carries no weight.Command:
tools/startup/run.ps1 -Render -FakeUser -GpuMirror -ContinueAsserts 1000, plus a persistent storage path and the translation cache, withgfx2hlsl.py --pendingrun between runs. Runs c–e add-InputScriptgamepad presses (A, and d-pad down).The fps figures are presented frames over the heartbeat interval, not a performance claim.
Observed:
--pendingtranslation, all were drawn with 0 not drawn: 14 pipelines, all translated, 0 failures.Triage (allowlist summary from
triage_run.py, run e):slot70memory SRV refusals: 8 (5 unique), 4 of themunsupported_descriptionon 3D resources.x2w-d3d12slots: 3,554 events (51 unique), dominated byDevice::slot133(3,406).x2w-dstoragefailures: 14 (11 destination capacity exceeded, 2 zlib, 1 bcpack).x2w-runtimefailing calls: 3 (slot71×2,persistent_local_storage×1, both0x80004005).Not established:
I can repeat a run with
X2W_D3D12_DEBUG=1if that is useful.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T16:19:43Z.
Thanks for the independent AMD run. This adds input-driven progress through first-run UI to the acceptance page on the RX 9070 XT. If you can do the debug-layer run, reuse the warm-cache input sequence up to the same page and share the first warning or error category, if any, along with the first screen that responds. The numbered request failures can stay separate from this UI result.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T16:35:21Z.
A data point on the same GPU as the community milestone row (GTX 1660 SUPER), plus the shader refusal breakdown from the loading screen, since that is where the run stops.
Run. Release build at
ed874cfe, local diagnostic launcher, complete shader cache, 150 s, one A-press window. It reached the main game's loading screen (dark-purple frame, confirmed by hand) — past Legal Notices, the splash and the account picker. Counts: 3,929 frames in 140.3 s (28.0 fps), 16 pipelines translated / 0 missing, 47,101 translated draws, 1,385 textures (5.64 GB), 48 Bink opens / 449 frames, 0 traps, 0 failed resets. I am not claiming gameplay; the loading screen is where the 150 s ended.What the cache says is missing. The same run's shader cache holds 52 translated shaders and 29 refusals, and the refusal texts group like this:
operand 'off'v_cvt_f32_i32 with ['mul:2']buffer format BUF_FMT_16_16_16_16_FLOATimage dimension SQ_RSRC_IMG_1DUnverified multi-exit program,v_cmp_class_f32,v_pk_min_f16,v_min_f16,v_mul_hi_u32,buffer_load_format_xyz,image_gather4_lz,operand '-v30',v_lshrrev_b64,operand '-v3'Four observations, offered as triage input rather than conclusions:
BUF_FMT_16_16_16_16_FLOAThas a nearby open issue that I could find (#1542 covers the computebuffer_store_format_*side, not this refusal);operand 'off',SQ_RSRC_IMG_1Dandv_cvt_f32_i32withmul:2did not turn up in an open issue search. Theoperand '-v30'/operand '-v3'pair looks like one more negative-operand form rather than two.operand 'off'refusals are the largest single group, andoffis the form #1630's 1D-texture candidate is already working next door, so the two may share a root in the pixel-stage path.Per the rules here I have kept the inputs, the cache and the per-shader details local; the table is the aggregate only. If one of these groups is worth a scoped issue with acceptance criteria, I can take it —
operand 'off'and the 1D image dimension look like the two that would move this run furthest.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-24T16:40:12Z.
Follow-up to my breakdown above: I repeated the run on a copy of the same warm cache to separate one-off refusals from persistent ones.
The refusal set is deterministic. After the second 150 s run the cache still holds 52 translated shaders and exactly the same 29 refusals, with the same distribution — 7 ×
operand 'off', 5 ×v_cvt_f32_i32 with ['mul:2'], 5 ×BUF_FMT_16_16_16_16_FLOAT, 2 ×SQ_RSRC_IMG_1Dand the same ten singletons. No new refusals appeared and none disappeared, so these are reproducible failures rather than a one-off from a partially populated cache. Fixing any of those groups should be observable directly in these counts.But the second run did not take the same path, and that caveat matters. It presented 3,472 frames at 27.7 fps with 4 pipelines translated, 9,840 translated draws, 0 textures and 4 Bink opens — against 16 pipelines, 47,101 draws, 1,385 textures (5.64 GB) and 48 Bink opens in the first run, both at the same 150 s. Same cache, same input script, 0 traps and 0 failed resets in both. So the refusal census is stable while the amount of work done is not; the warm cache changed the trajectory, and I cannot claim the second run reached the same loading screen. The first run is the one that reached the main game loading screen.
What that changes for triage: the refusal list can be trusted as the set to fix, but any "does it get further" claim needs a run that visibly reaches the same screen again, not just a repeat with the same cache.
Everything stays local; this is counts only.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T16:40:49Z.
Debug-layer run as requested, plus one more run after translating the new pipelines. Same machine and settings as my earlier report: RX 9070 XT, driver 32.0.31044.16, Windows build 26300,
mainatcb94b8ca, release build, warm cache, the same storage folder. Captures stay local.Input sequence.
Run g: debug layer on (
X2W_D3D12_DEBUG=1, log linedebug layer: 0x00000000 enabled)Screens that responded, in order.
After confirming, the next frames were black. At that point 4 new pipelines were missing from the cache: 631 draws were not drawn in the 225–235 s heartbeats. The run stopped at 261 s on the soft-assert continue limit I had set (999 continues at the usual assert site, almost all after confirming), not on a fault.
Debug messages. 400 in total, all severity ERROR; no corruption or warning messages.
GetDescriptorHandleIncrementSize: invalid descriptor heap typeSetGraphicsRootSignature: root signature withSAMPLER_HEAP_DIRECTLY_INDEXEDset before a sampler heap is bound bySetDescriptorHeapsCreateCommittedResource: clear-value format 118 unrecognised / unsupported at feature level 12_2CreateCommandSignature: unexpected parameter typeRun h: debug layer off, new pipelines translated, larger assert limit
gfx2hlsl.py --pendingtranslated all 4 pending pipelines: 18 translated, 0 failed, 0 not drawn through the end of the run.XCRDAPI.dll), not in title code.memcpyinto the request destination on the plain-memory path (xcrdapi.cpp,std::memcpy(destination, data, decode_length)), reached after the capacity check passed.Not established. Whether the flat frame is the expected loading backdrop or a missing composite, and what the storage failures were requesting.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-24T16:47:17Z.
RX 7900 XTX startup follow-up
I ran the offline launcher on the #1316 merge commit (
a166e42f169b18cc4323b7586e14426671466f85), x64 Release, Windows 11 build 26200.9974, Radeon RX 7900 XTX driver 32.0.32029.2010. The D3D12 debug layer was off. I usedrun.ps1 -Render -FakeUser -GpuMirror -ContinueAsserts 1000 -MemoryGiB 14 -Seconds 180 -InputScript '4@70'with an isolated run copy, per-run storage, and a warm FXC cache populated withgfx2hlsl.py --pendingbetween rounds. GPU engine sampling matched the process to the RX 7900 XTX.Three complete warm-cache runs reached the end of the intro and showed the
LANGUAGEpage in the captured present surfaces. Two also showedLEGAL NOTICES. In the final replay, the language page was sampled at about 81 and 89 seconds after launch, andLEGAL NOTICESat about 129 and 138 seconds. The local operator also reported reaching the terms-acceptance screen.A window capture of the language page at frame 1,800 showed 27.3 presented fps and 11,068 translated draws. The matching runtime totals were 381 draws not drawn, 10 pipelines translated / 1 missing, and 453 null bindings. The final periodic totals before the 180-second limit were 50,766 translated draws, 4,013 not drawn, 14 pipelines translated / 1 missing, and 1,054 null bindings. The remaining cache request failed offline translation with an unsupported
SQ_RSRC_IMG_2D_ARRAYdimension. Two other warm-cache attempts stopped before the intro with an access violation.For comparison, the RX 9070 XT report used
cb94b8ca. This result records first-run UI progress on the earlier #1316 build with the cache state above. Captures and raw logs are kept locally.Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T17:00:55Z.
Proposal for the dominant debug-layer error in my debug-layer run: 394 of 400 messages, id 1419. I'd like a go-ahead before opening a PR.
Cause (stand-in, not title).
list_graphics_root(list slot 34,src/startup_stubs/d3d12_xs_device.cpp) forwards every title root signature to the desktop list. The title's root signatures carryCBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED.list_set_descriptor_heaps(slot 32) only tracks the title's heaps and never forwards them, so the desktop list sets a directly indexed root signature with no heaps bound.FLAG_NONE). The forwarded root signature is therefore unused, except by the legacy real-draw path (DrawInstancedwith a desktop pipeline), which recorded 0 draws.bind_translated_heaps) is not the source: its root signature has no directly indexed flag. The 43 messages logged under "translated draw views" are just where those messages were drained.Change.
root_real).pass.root, root addresses, constants) is unchanged, so translated draws see the same parameters.draws … (skipped N)) instead of running in an invalid binding state.Measured locally (prototype; RX 9070 XT, 32.0.31044.16,
X2W_D3D12_DEBUG=1, 75 s, same storage, warm cache, A at 60 s):f121513eunmodifiedf121513eThe 6 remaining messages are the other categories from the earlier report (646, 816/817, 743). They are out of scope here.
Test plan.
startup_root_cbvharness with a mode that builds root parameter 0 under the directly indexed flags, binds it through slot 34 and draws through the translated path with the debug layer on.CreateRootSignaturerejects those flags.startup_root_cbv_*modes, includingsame_rootandswitch_root, must still pass.Happy to narrow or reshape it, for example forwarding the root signature only before a real draw instead.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T17:12:55Z.
Go ahead with one focused source-built comparison for the directly indexed root-signature path. Please coordinate with @tedin7 on draft #1685 so this stays one implementation. I prefer deferring the native root bind until a real draw has the indexed heaps it actually needs. The translated path should keep tracking the guest parameters and use its own root signature. For a real draw that lacks a required heap, record a specific refusal. A one-entry sampler heap alone cannot satisfy a real draw that uses another index or also needs the view heap. Cover both flags independently and together, the unflagged real path, the existing root-CBV controls, and the 1419 fail-first case.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T17:13:55Z.
Claiming the directly indexed root-signature comparison as scoped above: defer the native root bind until a real draw has the indexed heaps, record a specific refusal otherwise, and cover the flag matrix, the unflagged real path, the root-CBV controls and the 1419 fail-first case. I'm coordinating with @tedin7 on #1685 so this stays one implementation. PR link to follow.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T17:15:18Z.
One finding before I write the PR, since it affects the requested coverage. @tedin7 too, for #1685.
On public
main(80f413a7), the stand-in can't build a real graphics pipeline.pipeline_realis only set frombuild_stream_pipeline.compile_translationfor every shader subobject, andcompile_translationhas been a stub returning no blob sincee658fe24("no translation for stream shader …").nullptr.list_draw's real branch. Your local build may differ.What I plan to do so the real-draw behaviour is still tested:
DrawInstancedbinds the desktop counterparts of the title's bound heaps, then the deferred root signature, then the recorded root SRVs. It does that only when every heap the flags require is present and shader-visible. Otherwise it records a specific refusal (root heap missing: view,samplerorview and sampler) and skips the draw. Unflagged root signatures keep today's immediate bind.translated_sampler_bindings.h, with a device-free CTest over the full matrix: each flag alone, both, none × which heaps are bound. It checks that a sampler heap alone never satisfies a root signature that also needs the view heap.startup_root_cbv_*modes unchanged.If you'd rather have a test-only seam that lets a source-built stream carry desktop bytecode, so the real branch runs end to end, say so and I'll add it instead.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T17:21:03Z.
Proceed with the flag-matrix helper and the source-built translated-draw integration on current main. No alternate production pipeline-build path is needed for this slice. In the PR, report the real-draw decision coverage separately from the translated GPU readback. If the deferred real path cannot restore all state that the signature uses, including root constants and descriptor tables, keep that case explicitly refused until there is a real end-to-end fixture. Retain the unflagged path and the existing CBV controls.
Imported from R0Y00/Xbox2Windows. Originally posted by MitchellBrovarnik on 2026-11-24T17:21:41Z.
Independent Windows startup report — RTX 5080, early breakpoint
Environment
c864f138(main, merge #1613)Public regression tests: Dev build completed. Full CTest suite (1,041 tests): 986 passed, 45 skipped, 10 failed initially. The failures were resolved after replacing the Python 3.10 environment with Python 3.12 and rerunning the failed tests. Combined result: 996 passed, 45 skipped, no remaining failures (not a second full-suite run).
Observed startup boundary: Using the repository's startup debugger, the local offline startup attempt loaded 71 modules and created several runtime-service objects but stopped at a first-chance software breakpoint after approximately 0.20 seconds. No visible window or rendered frame was recorded. Several earlier first-chance exceptions contained
0x80004005(E_FAIL). The terminating exception was0x80000003in the main executable. No GPU device-removal error was reported, and no network opens were refused during this short run.Interpretation: This appears to be an early initialization failure, not a demonstrated rendering or GPU-driver failure. The failing initialization contract is not yet isolated. The assertion's underlying cause is unknown.
Happy to run public source-built regression fixtures on the RTX 5080 if useful. This is a sanitized observation only; no local executable, assets, memory dumps, proprietary code bytes or private paths are included.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T17:43:58Z.
Thanks for the sanitized RTX 5080 report. The breakpoint before a window on
c864f138is an early initialization observation; it does not isolate a renderer or driver failure. If you can do a public fixture run, please build current main with Python 3.12 and run:Please include the tested commit, Windows build, driver and debug-layer status, with pass/skip/fail separately. That will give us an independent check of the newly landed translated vertex fetches without needing the local executable. If you independently retry startup, the first failing subsystem or HRESULT category and whether a window appeared are enough; please leave private paths and executable details out.
Imported from R0Y00/Xbox2Windows. Originally posted by MitchellBrovarnik on 2026-11-24T17:52:03Z.
@R0Y00 Thanks for the guidance! I built current main and ran both requested public fixtures.
Environment
a1f2625d(merge PR #1716)devbuild presetoffscreen_check --compute-rootruns.Results
startup_vertex_fetch_formats_hardwarestartup_vertex_fetch_formats_warp2 passed, 0 skipped, 0 failed. Both backends validated all 10 buffer formats, 16 vertices per format, with zero readback mismatches. Every wrong reference and all seven deliberate translation mutations were correctly rejected.
The additional compute-root checks also passed on both backends (257 output words, 63 guard words, zero mismatches). WARP reported Microsoft Basic Render Driver, version 10.0.26100.9711.
These are source-built fixture results, not evidence of successful title rendering. Happy to run more public fixtures on the 5080 if useful.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T17:56:16Z.
Heap-indexed root signature PR: https://github.com/R0Y00/Xbox2Windows/pull/1732. Decision matrix 3222/3222 (two mutated controls fail as expected);
startup_root_heap_{warp,hardware}pass with 0 ID 1419 through the stand-in, after a plain-list control reports 1/1/2 for 0x400/0x800/0xC00;startup_root_cbv_*unchanged;^startup_194 passed, 0 failed, 4 capability skips. Real draws under a flagged root stay explicitly refused, as asked.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T18:02:33Z.
Follow-up to the four log questions. This is from the same 45 s cache-complete RX 590 run at
4aefce632cbc88f07f7f37df5bb5a4daf017a35d. No new run.There is one periodic render-totals line: 601 resets (0 failed), 601 closes, 301 clears, 300 executes, 898 translated draws (0 not drawn), 4 translated pipelines (0 missing), and 0 texture uploads (0 KiB, 0 unreadable). Null bindings: 0 total, entry 0, buffer 0, token 0, wrapper 0, dimension 0. One early translated draw logs a known format-28 texture view bound to its fourth SRV. Its pixel contents were not measured.
The recorded command-list slot averages were:
The distinct
x2w-noop ... CommandList::slotNvalues actually logged were14, 24, 33, 35, 70, 71, 72, 74, 75, 126, 131, 132, 142, 146.There are three blend records. All have color write mask
0xf: creation/base86/86, blend off (color and alpha2/1/1);55/57, blend off (2/1/1);57/57, blend on (color2/6/1, alpha2/1/1). The fourth translated pipeline has no separate blend record that I can attribute from this log.No additional present-surface readback line follows readback 3. There are already 30 individually logged successful draw submissions before readback 1, across three pipeline keys. The fourth pipeline is logged ready between readbacks 2 and 3. The 898 count is cumulative, so the log cannot split it before and after frame 180.
The next narrow check I see is a fenced readback of a translated draw's target versus the presented surface at the same frame. That would distinguish zero output at the draw from pixels disappearing later. Slot 14 was dropped during this run, but the log does not establish that it produced the texture used by these draws. Codex (GPT-6) assisted with the log analysis.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T18:06:28Z.
Two results from local runs on the RX 9070 XT. The latest run is on
mainat9ffb8529(release build, warm cache). Each input sequence confirms the first-run acceptance page at about 265 s. Captures stay local.1.
run.ps1's default-MemoryGiB 14stops the run during the post-confirm loading burstCommit timeline (storage heartbeat, run q):
There is no growth while the menus are up.
Attribution at the menus (startup debugger's
X2W_VALLOC_MIN=400000, allocations ≥ 4 MiB by first non-runtime caller):During loading:
So the title itself looks to be at roughly 10–13 GiB, and the stand-ins add about 1.7 GiB plus driver overhead. The 14 GiB default leaves no headroom for that.
Suggestion: reports that stop at about 290 s during this burst should say which
-MemoryGiBthey used. Raising the default may be worth considering; I haven't changed it.2. End point with 32 GiB: an exception from the package's BVH builder DLL
80f413a780f413a79ffb8529All three end in an unhandled C++ exception raised from
XboxBvhBuilder.dll, shortly after its archives are opened.long, which is consistent with a thrown HRESULT. The value isn't captured.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T18:10:31Z.
Opened #1758 for the end point after the post-confirm load: an unhandled C++ exception from the package's BVH builder DLL, first reported here by @triggered02 and now reproduced on an RX 9070 XT on current main. It collects the evidence, and I've offered to take the local measurement (thrown HRESULT value, caller chain, storage inputs) there.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T18:16:53Z.
Local Windows follow-up on startup latency and first-run audio. The runtime inputs and saved settings matched across the two diagnostic launches (681 prepared files). With the ordinary Windows heap enabled, first window capture was at 7.40 s versus 30.14 s, and first movie open at 86.72 s versus 132.98 s. One run per setting. Reproduction notes and measurement scope are in #1765.
The opening audio was audible. In the same process-loopback capture, ten acknowledged Down presses on the language menu had continuous packet coverage. Every post-press window peaked at one signed-16-bit step (about -90 dBFS), matching the idle windows. The intro peaked near -24 dBFS. Other menu actions remain unmeasured. #1763 provides the synthetic comparison and analysis tool. The missing central brightness-calibration symbol is still open locally.
The colors/depth fixture in #1762 is independently reproducible. The diagnostic run did not capture the target scene draw with its input layout and depth attachment, so the fixture alone does not establish a scene-rendering fix.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T18:16:53Z.
P0 work to get the main executable past loading
48d9571d; the translated root-signature fixtures and existing CBV/draw controls passed 9/9 in an independent Windows Release run. These fixtures do not establish scene output or character control in the executable.Please use the linked issues for claims and only post sanitized observations or source-built evidence.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T18:48:53Z.
Independent Polaris retest of the public vertex-fetch fixture on
c23e3ffe9d14c1422ed9bdf4fdea74a4a7326fe9.offscreen_checkusing Ninja, clang-cl 23.1.6 targeting x64 MSVC with/EHa, Windows SDK 10.0.26100, and DXC 1.9.2609.5.startup_vertex_fetch_formats_controlsstartup_vertex_fetch_formats_hardwarestartup_vertex_fetch_formats_warpThree passes, zero failures, zero skips. Both backends checked 10 formats with 16 vertices per format and 320 compared words per format, with zero mismatches. Every wrong reference and all seven shader mutations were rejected as expected on both backends.
Source-built fixture only. Codex assisted with the build, test run and report.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T18:52:14Z.
P0 loading follow-up: the matched community runs in #1758 now isolate two sequential failures. The first is the BVH destination address exceeding the builder's 40-bit limit. A local low-address experiment passed that check and reached a later failure where command-list slot 148 returned no upload memory. Both failures were reproduced twice on the reported RX 9070 XT. The open work is the address-placement contract and the guest upload slot/lifetime check using the existing #1774 arena. The local experiment has not established a rendered 3D scene.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T19:59:00Z.
RX 590 startup follow-up on
0631667dd20370ea7da3eeb9582bce32fba66114. Windows 11 x64 build 26300.9974, Radeon RX 590 driver 31.0.21923.1000, Release with clang-cl 23.1.6 and/EHa. The runs used the offline AppContainer and a cache compiled with FXC from the four requests emitted by this build.The 45-second run loaded all four translated pipelines. The last render heartbeat reported 2,674 translated draws and zero omitted draws. All three early presented-surface readbacks reported mean RGB 0.00/255, and the final window capture was black.
I then ran two 12-second diagnostics on the same runtime, using
X2W_DRAW_DUMP_FRAME=60for fence-completed GPU readbacks:In the four logged original bindings, the 16 bytes at offset 32 of the buffer read by the color-multiply pixel shader were all zero. The control substituted a constant (0, 1, 0, 1) for those four loads in a separate compiled shader-cache copy. The existing vertex shader, interpolated color, texture sampling and presentation path were used in both runs.
The control shows that this early draw can produce color and that the following textured draw and presenter can carry it through on the RX 590. The zero values explain the observed shader output in the logged cases. Whether those values are an intentional black fill or the result of missing or incorrect input data remains open. A useful follow-up is to identify the writer of those bytes and compare the bound range with what the draw expects. Menu rendering remains unverified. This is a diagnostic substitution on the recorded commit.
Codex assisted with testing and analysis.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T20:36:06Z.
The fence-completed green control narrows the RX 590 result to the input of the colour-multiply draw. The zero binding could be an intentional black fill or missing input data.
Open for one follow-up in this RX 590 comparison: identify which producer last wrote the bound range and whether that range was visible after its submission fence. Please use a source-only example with two distinct colour regions and a producer that writes the intended region before drawing. Binding the neighbouring or stale range should change the readback. The per-draw capture from #1642 can be reused. Report writer class, range relationship, order and the sampled outcomes; keep original executable data, addresses and dumps local. #1629 still tracks the separate packed-position metadata question.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T22:50:47Z.
The source-built bound-range writer comparison in #1991 is on main. I ran the Release
startup_range_provenancetests on WARP and RTX 4060 Laptop, 2/2 with no skips. Binding the neighbouring range or moving the rewrite ahead of the consumer changes the sampled result. A clear-to-zero and a never-written window produce identical pixels, so the RX 590 follow-up still needs the last writer and its fence for the actual bound byte range. The fixture does not reproduce that startup run.Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-24T23:54:50Z.
Past acceptance: frames render after confirm (with one local slot 148 stand-in)
Sanitized report: no captures, names or internals are attached. Screenshots stay local.
Setup
mainat06cdc47d+ #2058, releaserun.ps1 -Render -FakeUser -GpuMirror -StartupBelow40 -MemoryGiB 24, offlinemainrecorded new keys.1. Stock
main(run 16)-StartupBelow40(#1860) gets the first build batch past the 40-bit check.Failed to allocate upload buffer, the slot 148 stop from #1758.2. Same build plus one local diagnostic: a stand-in for command-list slot 148 (run 17)
The stand-in:
(list, size, alignment).What happens:
XDSP_E_NO_DEVICE_RESOURCES(#1907), and the title continues. On the older stub this was the null-handle fault I reported on #1758.Storage failures by cause at 200 s (#1781): capacity 3,706, BCPack 318, zlib 7, at or past EOF 2, other 1.
Memory: peak process commit is 24.3 GiB against the 24 GiB cap. A longer run needs a higher cap; I'll add that run's end point here.
Next locally
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T23:06:02Z.
RX 590 follow-up: independent source-built #1991 fixture check on
06a494c81c215ad17cdca56b75f338ad048efb34(Release, clang-cl 23.1.6,/EHa). Windows 11 x64 26300.9974; Radeon RX 590 driver 31.0.21923.1000; WARP 10.0.26100.9818. The D3D12 debug layer was unavailable on both.Both
startup_range_provenance_hardwareandstartup_range_provenance_warppassed, with no skips. On each backend all five cases had 0/64 sampled and 0/256 store mismatches; both negative controls produced the expected 64/64 mismatches. Producer fence completion was reported for each case. The clear and never-written cases both sampled zero, so this fixture does not identify the writer or establish fence visibility for the earlier RX 590 startup range. That investigation remains open.Codex assisted with the build, test and report.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T23:26:24Z.
Thanks for the repeated Windows 10 / GTX 1050 Ti result. This is a separate, earlier stop from the post-confirm slot 148 runs. The Present count is useful timing evidence. Please replace the raw register, stack and instruction excerpt with a short summary.
For the next bounded comparison, capture the last successful call that produces an object or view and the first failing call immediately before the stop. Report the caller-visible HRESULT and whether the output was null or unchanged. Match two runs of the same build and settings, and keep offsets and raw logs local. The slot 70 refusal counts are candidate leads, so a source-built follow-up should first tie one specific refusal or unwritten output to the observed stop.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-24T23:32:55Z.
RX 590 follow-up to the bound-range question. One 12 s offline diagnostic run with local instrumentation on historical base
0631667dd20370ea7da3eeb9582bce32fba66114. Windows 11 x64 build 26300.9974, Radeon RX 590 driver 31.0.21923.1000, Release with clang-cl 23.1.6 and/EHa. The D3D12 debug layer was not enabled for this run.The CPU copy has no GPU producer fence of its own. The measured fence covers the draw and readback submission. The original producer of the copied zeros, its synchronization before the CPU copy, and whether those values were intended are still open. The observation covers one window in the instrumented run.
Codex assisted with instrumentation, testing and review.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-24T23:34:17Z.
Thanks for the reply, and sorry, I'm fairly new to this and still learning the terms, so please bear with me. I'm keen to help where I can. I've edited my earlier comment to replace the raw register/stack/instruction dump with a summary, and I'll keep offsets and raw logs local from now on.
Summary
Second-chance access violation (null object read) in the main executable, 8.6–9.7 s after launch, with 133–134 frames presented beforehand (~26.7 fps). Same stop in 16 runs.
0d20c5e2, Windows 10 Pro 19045, GTX 1050 Ti (driver 32.0.15.8228), Ryzen 7 3800X, 32 GBrun.ps1 -Seconds 180 -MemoryGiB 14 -ContinueAsserts 1000 -InputScript 4@70 -Render -FakeUser -GpuMirror -StartupBelow40, package root mounted asG:\Comparison: three runs, same build and settings (8.8 s, 8.9 s and 11.9 s stops)
My best reading of the logs, which I may have wrong:
Factory::OpenFilecalls, the core licenses pack and then the main executable itself. Both return ok (err 0), about 1.0 s and 0.5 s before the stop.Device::slot133placed resources about 2 s before the stop. All return0x00000000(S_OK), outputs written.slot70refusals listed in the triageCreateCommandSignaturereturning0x80070057, replaced by a placeholderXMemAllocrefusals that fell back to process memoryOne thing I noticed, in case it's useful: in all three runs the last
x2w-dstorage"read batch complete" line is at ~3–5 s (4201 chunks, 0 failed). There's no batch-complete line after the two opens above, so I'm not sure their reads finished before the stop.If you can tell me which log line or setting to capture next (for example whether a particular output was null or unchanged), I'm happy to run it again and report back. Thanks for your patience.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-24T23:18:33Z.
Startup run: second-chance stop at
game_scarlett_master.exe+0xb5a5f8after 9.68 sSame stop in 11 run(s); 134 frames presented before it. Offline run through
tools/startup/run.ps1, package root mounted asG:\.a0bc0f9a(2026-11-25)run.ps1 -Exe G:\game_scarlett_master.exe -DataDir G:\ -Seconds 180 -MemoryGiB 14 -ContinueAsserts 1000 -InputScript 4@70 -Render -FakeUser -GpuMirror -StartupBelow40Stop report
Triage (tools/startup/triage_run.py)
Startup Run Triage Summary
6slot70memory SRV refusals:8(5 unique)x2w-d3d12/ trap slot events:126(44 unique)x2w-d3d12-debugmessages:0(0 unique)x2w-dstoragefailures:0(0 unique)x2w-runtimefailing calls:0(0 unique)X2W_SHADER_CACHE.failshaders:0(0 unique reasons)Device::slot70Memory SRV RefusalsUnhandled / Stubbed
x2w-d3d12& Trap CallsDevice::slot62Device::slot86Device::slot36Device::slot48Device::slot9Device::slot73Device::slot79Device::slot39Device::slot27Device::slot41Device::slot80Device::slot78Device::slot18Device::slot19Device::slot20x2w-noop other (text omitted)Device::slot133Placed Resourcesx2w-dstorageFailures & Status HRESULTsNone observed.
x2w-runtimeFailing MethodsNone observed.
X2W_SHADER_CACHE.failReasonsNone observed.
Last debugger events
No game files, dumps or private logs attached; local logs available on request.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T23:39:28Z.
Two bounded follow-ups on the RX 590 report and the GTX 1050 Ti report.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T23:56:00Z.
Thanks for the matched RTX 3090 comparison. It gives us a checkpoint beyond the post-confirmation allocation stop in #1758. With the local slot 148 stand-in, the builder completed and the opening sequence rendered, with overlapping title cards and many draws still missing. Keep this as diagnostic evidence for slot 148.
The production retest belongs on the existing #1774 path. First check both payloads in the source-built delayed-fence A/B test, then repeat the same startup input and report the first visible checkpoint or first failure, the missing-pipeline count and the storage failure categories at that point. Keep the #2058 pixel export review separate so the combined startup run is attributable.
Imported from R0Y00/Xbox2Windows. Originally posted by Lifither on 2026-11-25T00:02:51Z.
Thanks for the follow-up on my RX 590 report. I don’t have the bandwidth for the deeper source-range investigation, so I’m leaving it open for anyone who wants to pick it up. The source range’s producer and its completion ordering are still open.
I’d be happy to run small, self-contained hardware tests on the RX 590 when I have time.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T00:03:03Z.
hope this helps?
Stop after 9.51 s (second chance).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T00:12:48Z.
Thanks for the follow-up. The four observed pack requests all completed and wrote their destinations before the 9.51-second stop. The final file open produced no enqueue. This comparison leaves the null object’s producer unresolved. A useful next report is just the category of the operation expected to create that object and whether its output was null, unchanged or published, if that can be observed without sharing a trace. This remains separate from the later slot 148 stop.
The RX 590 source-range investigation is available to pick up. Reuse the #1991 two-colour controls, then identify the last producer for the copied window and its ordering before the CPU reads it. Report written-byte counts and queue completion only. The RX 590 reporter is available for a small source-built hardware retest once there is a candidate.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T00:18:51Z.
does this mean anything to you? sorry using ai the logs and what your asking to try and help here..
Category: user sign-in. The last gaming-runtime call before the stop is user API slot 7, about 0.5 s before the null-object read and right after the final file open. Going by slot 8 being
XUserAddResult, slot 7 is likelyXUserAddAsync. Its first argument is0x1, which matches add-default-user-silently. The slot name is my inference.Output:
-FakeUserdoesn't answer slot 7, so the call is forwarded to the real runtime, which returnsS_OK.XUserAddResult(slot 8), the call that would publish the user handle, is not called before the stop.The call appears once per run, as the last runtime call before the stop, in both runs I checked (same build and settings). This is separate from the slot 148 stop.
AI-assisted (Claude).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T00:26:31Z.
The two runs give us a useful sign-in boundary. The add call returned S_OK and there was no result call before the stop. The documented API separates accepting the async request from retrieving a user handle, so the missing observation is whether the request was still pending or the completion was available and did not reach its consumer. XUserAddAsync · GDK task queues
If it is possible with the existing logging, please report whether initialization succeeded and whether the same async operation reached a terminal status or a completion callback before the first null read. Codes and counts are enough. #1853 covers the separate fallback after initialization fails. A useful independent source-built comparison is start → status → completion dispatch → result, with an unpumped manual queue as the control. Keep the real provider result, callback and handle publication distinct so the comparison can identify the first missing step.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T00:41:09Z.
Thanks. I did a run with
X2W_TRACE_API=1and-TraceCalls(same build and command otherwise; same null-object read stop). Codes and counts up to the first null read:InitializeApiImplEx2→S_OK×2.QueryApiImpl→S_OK×474, 0 failures. 9 providers answered by the real runtime, 0 local fallbacks, so not the #1853 path.S_OK, real runtime.073b7dcb) calls after the add: 0.37e56907slot 15) ×50, answered by the stand-in as "initialized, no connectivity", each followed by a Release (slot 2) ×50, plus a Release on the user provider ×1. So the title kept calling the runtime, but never checked or consumed the add.So the first missing step I can see is status/result: the request was accepted with
S_OK, and nothing queried its status or retrieved its result before the stop. From this side I can't tell whether it was still pending or completed without being dispatched. Paths, addresses and raw logs kept local.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T00:52:18Z.
The follow-up rules out the initialization-failure fallback in this run: initialization succeeded, all queried providers answered through the real runtime, and the accepted add had no observed status or result call. The proxy cannot see completion dispatch, so the pending-versus-undispatched distinction is still open.
Available to claim: one source-built Windows comparison of the same async operation on a manual completion queue. Reuse the real-runtime test harness in
startup_gamesave_read_asyncwhere practical, with a synthetic provider result and no account or application input. Record four separate observations: start return, terminal status, callback count, and result publication. Let work finish while deliberately leaving the completion port unpumped, then dispatch that port and verify exactly one callback and that the consumer retrieves the expected result. Keep the unpumped phase as the negative control. Please post the commit, exact build/CTest commands and skip conditions here. This fixture isolates the dispatch boundary. It does not require changing sign-in behavior. GDK async modelImported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T01:10:53Z.
The opt-in cold-cache watcher is on main in #2120 (
6921dcfd), based on the original #1749 work. Source-built checks confirm that it consumes ready requests, retries a broken worker pool, and exits with its child processes on both Windows PowerShell versions. For a cold-cache report, use the documented startup command with -Render -Translate and a fresh cache directory. Report translated/missing pipeline counts, the first non-black checkpoint if any, and the first distinct failure category if the run still stops. A warm-cache run on the same commit is the control. This is the cold-cache rendering path; the earlier accepted-but-unconsumed sign-in request remains a separate boundary. https://github.com/R0Y00/Xbox2Windows/blob/main/docs/startup-runtime.md#translating-shaders-during-a-runImported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T01:28:45Z.
Separate storage progress: #2129 has merged the DirectStorage request-field correction, with real worker recovery and EOF-order controls in the source-built Release fixture. The #2133 author also reports 18 first-run read refusals becoming zero to the same checkpoint with a 4 KiB allocation-size candidate. That is a local diagnostic comparison. I independently confirmed its current XG copy returns success after writing only 16 of 32 rows, so the complete layout/copy/upload path is still under review. This does not change the sign-in or post-confirm startup boundaries.
Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-25T02:02:15Z.
Cold-cache black frames: fixed locally with
-Translate(after #2120)Previously at
06cdc47dwith-Renderonly: mean level0.00/255,pipelines translated 0 / missing 6,translated draws 0 (not drawn 54879).After #2120 (
run.ps1 -Render -Translate), same-style run:presented surface 3840x2160 ... mean level 36.20/255(earlier readbacks were still 0 while pipelines warmed)translated draws 2003 (not drawn 0), pipelines translated 6 / missing 0textures uploaded 0unchanged.Command shape:
-Render -Translate -FakeUser -GpuMirror -ContinueAsserts 1000 -InputScript "4@70"(local package + mapped data dir). Synthetic ctestsstartup_gfx2hlsl_watch,startup_translator,startup_run_ps1passed on Windows.No game files attached.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T02:05:53Z.
Thanks for the A/B. With cold-cache translation enabled your report reached 6 translated pipelines, 0 missing and 2003 translated draws, with a visible account prompt. The Y-button animation shows the input reaches that screen. Progress after confirmation is still open. The other report's accepted user-add without an observed result remains a separate run.
If you repeat this on the same build and configuration, please report just the first observable difference after pressing Y: whether a user-add starts, whether the same operation reaches a terminal status or completion, and whether a result is consumed. A run with no press is the control. The existing source-built manual-completion comparison remains the independent way to check what an unpumped callback looks like. Existing fixture scope
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T02:23:58Z.
I'd like to take the source-built manual-completion comparison from this comment.
Scope: build on the
startup_gamesave_read_asyncharness. One async operation with a synthetic provider result runs on a manual task queue, and the test records four observations separately: the start return, terminal status, callback count and result publication. Negative control: the work finishes while the completion port stays unpumped. The status must show the work is done, with zero callbacks and nothing published. Then the test dispatches the completion port once and checks for exactly one callback, after which the consumer must retrieve the expected result. I'll run the controlled scheduler, plus the system variant where the installed runtime loads (otherwise exit 77). I'll post the commit, exact build and CTest commands and skip conditions with the PR.Environment: Windows 10 build 19045, GTX 1060 6GB and WARP. Source-built inputs only, with no account or application input. I'm leaving the startup rerun and the sign-in proxy wiring to main development, and the RX 590 source-range follow-up to whoever picks it up.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T02:27:09Z.
Jess-Doit is taking the source-built manual completion comparison. The controlled scheduler and the optional system-runtime case are the right split. Please bound the wait for terminal status and keep callback count and result publication separate until the completion port is dispatched. The unpumped case should fail if a callback runs early or if the consumer receives a published result early. Report the system-runtime skip separately. This gives us a portable way to identify the dispatch boundary while the actual post-confirm startup remains open. Claim and test scope
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T02:38:45Z.
The manual-completion comparison is up as #2170 (
startup_async_manual_completion_{controlled,system,inline_control}). Per phase it prints the four observations separately: start return, non-waiting status and result size, callback count, and result consumed. Here the controlled variant passes and the inline-callback control fails as expected. The system variant skips (77) because this host has no Gaming Services. A run of_systemon a host with the runtime shows whether the real runtime reportsS_OKorE_PENDINGfor a completed but undispatched block.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T02:54:38Z.
Cold-cache run on Windows 10 / GTX 1060
Setup:
mainat498c23cc, Release, Windows 10 build 19045. NVIDIA GeForce GTX 1060 6GB, driver 32.0.15.6094, debug layer off. Ryzen 5 1500X (-HostCpurewrote oneclwbsite), 16 GB RAM. Gaming Services 39.118.30001.0.X2W_FAKE_USER=1,X2W_RUNTIME_LOCAL=1. The run was offline: two socket opens were refused. The package was mapped toG:withsubst.Just before the stop: the runtime's game-save service object was created (debug output). About 35 ms later, two directory opens under
D:\decorations\failed with path-not-found, and the null read followed. On this hostD:is an ordinary data drive, so that path does not exist. This is a candidate lead only, and I have not tied it to the object that was null.Without Gaming Services: the same build, with no
xgameruntime.dllon the host, exited with code 1 at 14.7 s, during the storage burst, with 0 failed requests. That looks like a different, earlier boundary. It matches the shape of the Windows 10 / GTX 1050 Ti stop rather than this one.Next, unless someone already has it: one matched rerun to find out whether the null object belongs to the save path. I'll report the category of the operation expected to produce it and whether its output was null, unchanged or published. Raw logs, offsets and the run folder stay local.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T02:59:54Z.
Independent Windows 11 Release retest of #2170 at
0435874c: all three source-built cases passed, including the installed Windows gaming runtime. Before the provider completed the synthetic block, status and result-size both returnedE_PENDING. After completion, both returnedS_OKwith 8 bytes available and no callback or provider GetResult call. The work port was empty. One completion-port dispatch ran the callback and consumed the exact 8 bytes; a second dispatch found no work. The immediate queue callback ran without dispatch, and the forced early-callback control detected the mismatch.ctest --preset release --no-tests=error -R '^startup_async_manual_completion_' -VFor the sign-in trace, the useful next comparison is the existing block's non-waiting status and whether its completion port is actually dispatched, when a block is observed. This fixture uses no account or application input. The separate GTX 1060 run above stopped before the scheduled input, so its possible save-path null-object lead stays separate.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T03:26:52Z.
#2166 is now on main at
72c16092. With the existing proxy enabled, the source-built Windows loader fixture confirms a late package helper can reach the proxy after the worker scan, the same-named decoy stays untouched, and the forwarding target survives release of the caller's DLL references. The next useful application comparison is the same input before/after this revision, recording whether an in-scope helper was patched before its first runtime query, then whether a user-add block is observed. A helper call before the scan can still be missed. Fixture and review evidenceImported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T04:23:03Z.
The source-built save-provider path in #2179 is on main at
fd457299. Windows Release verified that an early result call returnsE_PENDINGand preserves the queued completion, one dispatch publishes the callback and one provider result, and a waiting dispatch wakes when completion arrives. This covers a shim-owned Manual/Manual queue. For the existing application retest, record whether a user-add block appears, which queue it uses, and the first missing output or failure code. If the separate pre-input null-object case reproduces, leave its save attribution open until the producer is identified. Source-built controlsImported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T04:24:05Z.
Windows 10 / GTX 1060 follow-up: the null-object stop is a root-signature refusal by the in-box D3D12 runtime
This continues the earlier GTX 1060 report. Same host: Windows 10 build 19045, GTX 1060 6GB (32.0.15.6094),
mainat498c23cc. The runtime is the in-boxD3D12Core.dll10.0.19041.5794, with no Agility SDK. Counts only; logs and offsets stay local.What the null object was. A static trace plus bounded per-hit logging (#2190) showed that the object was a slot in a table of combined shader-stage records. The builder for each record prepares a D3D12 root signature and stores null when that fails. The first required lookup then read the null slot. In one run:
d3d12_xs!D3D12SerializeVersionedRootSignatureE_INVALIDARG, 26 ×S_OKCreateRootSignatureS_OKWhy. I logged the desktop error blob locally; the caller passes a null error output. Every refusal is a version 1.1 description that desktop serialization rejects with
Unsupported bit-flag set. The flags are0x801,0xc00or0x401, which means0x400and/or0x800(CBV_SRV_UAV_HEAP_DIRECTLY_INDEXEDandSAMPLER_HEAP_DIRECTLY_INDEXED), sometimes with0x1. The in-box Windows 10 runtime does not know those two flags. Windows 11 hosts accept them, which would explain why this stop has only shown up on Windows 10 so far. The Windows 10 / GTX 1050 Ti stop above may be the same; I have not verified that.Local experiment, opt-in and not posted as a PR yet. When desktop serialization returns
E_INVALIDARGfor a 1.1 or 1.2 description that has0x400/0x800set, thed3d12_xsserializer retries once without those two bits.ERROR_COMMITMENT_LIMIT(1455) inXMemMapPhysicalPages, 18,496 null maps that the caller continues past, and a later null read. That is this host's memory cap, not a separate bug.-MemoryGiB 16: the run went to the 300 s timeout with no stop. 8,516 presents (29.4 fps), 122,884 translated draws (42,237 not drawn), 8 pipelines translated / 3 missing, 0 failed storage requests. The scheduled button press was read by the title at 82 s. The window shows a first non-black screen: a text screen with a loading indicator, with the content offset to the right and clipped.Question for the fix direction: is a serializer fallback acceptable? It would strip the two heap-indexing flags only when the runtime refuses exactly them, with a one-time log line and a source-built test: a description with
0x400and0x800serializes throughd3d12_xson a runtime that refuses it natively, and passes through unchanged where it is accepted. The translated shaders bind explicitly, so they do not depend on those flags. A native pipeline that really indexes the heap would still need a capable runtime. The alternative is to document Windows 11 or the Agility SDK as a requirement. I'll prepare whichever you prefer.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T04:45:04Z.
Thanks for tracing the null slot to the serializer and for separating the job-memory cap from that failure. Please use the existing opt-in candidate #1277 rather than opening a second retry PR. It preserves the original heap-indexing bits for the translator and uses the stripped blob only for the desktop root. Native shaders that actually index the heaps still require a capable runtime. D3D12 direct heap indexing specification
An independent GTX 1060 retest of #1277 would help close the Windows 10 part of #1160. If you can, use the same build, the in-box runtime, the same memory budget and cache state, first with the opt-in unset and then with
X2W_D3D12_PERMISSIVE=1. Runctest --preset release --no-tests=error -R '^(d3d12_xs_shim_heap_indexing|startup_heap_indexed_root.*)$' -Vas the source-built control. Please report the commit, serializer HRESULT counts, and the first visible screen or next failure. A matched translated draw and a refused native heap-indexed use are the relevant behaviors. The clipped loading screen is an independent report from your local retry.Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T04:47:47Z.
Cold- and warm-cache pair through confirmation on RX 9070 XT (
mainat19e04be9)The runs were on one build, with the same input and settings. The input goes past the account prompt and the acceptance page and confirms, so this covers the post-confirmation loading that the earlier cold-cache reports stopped before. Counts only; images and logs stay local.
Setup:
mainat19e04be9, Release, MSVC 19.44. The build also carries one local counting-only storage diagnostic, not for PR.s_loadwith a register offset through the resource heap: 2v_mul_hi_u323, MRTZ shape 2,v_mad_u32_u161,v_cvt_pknorm_u16_f321,s_pack_ll_b32_b161-Translate: on a cold cache, all but 3 pipelines were translated during the run. On the warm cache nothing is missing and no draw is skipped.Failed to allocate upload bufferfrom command-list slot 148, as in #1758. Cache state does not move it.-FakeUseron this Windows 11 host, no user-add call was observed in either run. Sign-in and acceptance pass, so the accepted-but-unconsumed user-add boundary from the Windows 10 reports does not appear in this configuration.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T05:01:23Z.
Saved-profile loading artwork — matched local comparison, 25 November
The default slot-70 path from #2015 restored two distinct illustrated loading panels on this machine. With
X2W_MEMORY_SRV_NARROW=1, the panels had black interiors. This comparison covers the transition after the opening ident in a run with an existing save. Correct rendering of the subsequent 3D scene remains unverified.Windows 11 build 26200.9974, RTX 4060 Laptop, driver 32.0.16.1656, Release. This was a local integration of the slot-70 changes at
96853addonto the56b801bestartup host with the previously tested local slot-148 implementation and the same revision-8 shader cache. The candidate DLL's SHA-256 starts withe84ecdc92955faae. The existing partial-tile checks were retained. This measures the switch within that integration.Both offline launches used the original on-disk executable. Before each launch, we copied and hashed the same six save files, 911 cache files and 26 binary-directory files. Both used the same process-relative controller script (
base=start,4@65,4@90,4@106,4@114,4@122,4@130,4@138,4@146). Each ran to its 210-second observation limit.The executable observed the first button press at 64.8 s in both runs. The visual comparison uses the common ident and the following panel sequence. The account picker appeared earlier in both. Both sets of images came from the same presentation-surface readback. The independent window recorder for the default arm stopped before this interval.
The PR's source-built texture checks also passed on this candidate on both WARP and the physical GPU. All seven textures per backend matched all 65,536 expected RGBA pixels per case. The two invocations were
python -B tests/startup_address_console_check.py <startup_stream_consumer.exe> warpand the same command withhardware. Upload lifetime under a delayed GPU fence remains a separate review item on #2015.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T05:27:06Z.
The source-built non-XOR slot-70 texture path is now on main in #2015 (
b9da095a). The final candidate passed 12 Windows Release tests, including the 18-submit fence case on WARP and RTX 4060 Laptop. Deliberately using the old ring reproduced the wrong first payload. This merge covers the texture upload and its lifetime. The saved-profile artwork comparison above used a separate local slot-148 implementation; the tracked production upload slot remains #1758.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T05:27:16Z.
Independent GTX 1060 retest of #1277 (Windows 10)
Build:
9398fce1merged locally intomainab9a020c, giving local commit816612c3. It merged cleanly and is not pushed.main.Host: Windows 10 build 19045, in-box
D3D12Core.dll10.0.19041.5794 (no Agility SDK). GTX 1060 6GB, driver 32.0.15.6094. Gaming Services 39.118.30001.0. Debug layer off for the startup runs.Source-built control
4 of 4 passed, 0 skipped.
startup_heap_indexed_root: 3,222 of 3,222 decisions as expected. Both_controlmutants fail their matrix as intended.d3d12_xs_shim_heap_indexing: this runtime refuses0xc00, the retry succeeds and records0xc00, and every provenance case isok. Translation flags0x402/0x802/0xc02are kept, slot 34 heap flags are0x0, and a copied blob gets no restored bits.Matched startup pair
Same build,
-MemoryGiB 16, identical copies of one warm shader cache, fresh storage,X2W_FAKE_USER=1 X2W_RUNTIME_LOCAL=1, offline,-Render -Translate -GpuMirror -HostCpu, 300 s. The serializer return and the builder's overall HRESULT were counted at the title's two call sites withX2W_LOG_AT(#2190).X2W_D3D12_PERMISSIVE=1D3D12XboxCreateDeviceS_OK, 0 ×E_INVALIDARGS_OK, 0 failuresrefuses the heap-indexing bitsonce (first-call log)Notes:
X2W_D3D12_PERMISSIVEalso gates the stand-in's device path, so without it the run stops before any D3D12 device exists. The same build and host without the retry have been measured before: onmain498c23cc(#870 above), 26,757 ×E_INVALIDARGagainst 26 ×S_OK, then a null-slot stop at about 40 s.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T05:31:51Z.
Thanks for separating the runtime test from the startup comparison. #1277 is on main at
a8a7b1d6. Your GTX 1060 run exercises the retry and provenance on the preceding revision. The unset-switch arm stops before device creation, so it does not isolate the serializer. The remaining comparison can keepX2W_D3D12_PERMISSIVE=1in both builds and vary only the serializer change, with identical cache and input. For native-heap behavior, use the source-built indexed-root fixture rather than searching for a title pipeline. Please keep the last visible frame and observed input response separate from the fixture result.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T05:42:35Z.
Mainline retest at
940cd178The default slot-70 console-texture path landed in #2015, the discarded-recording and view checks in #2214, and production command-list upload allocation in #2216. The combined Windows Release verification passed 32/32 tests. The unchanged independent client from #2210 also passed on WARP and the RTX 4060 Laptop with the debug layer on and off (4/4). The layer reported zero errors in the enabled runs.
A local offline replay used the shim from main at
940cd178, the same original on-disk executable, saved profile (six files), input script and initial revision-8 shader cache (911 files). The launcher and cache were held at the earlier comparison baseline. Windows 11 build 26200.9974, RTX 4060 Laptop, driver 32.0.16.1656. The window recording showed two distinct illustrated loading panels, then a solid red background interspersed with title and credit cards, including the flamingo. The run crossed the earlier 131-second stop and ended with a second-chance read access violation at 202.60 seconds on the debugger clock. The cause of the access violation and its relationship to the missing scene colour remain open. No rendered 3D scene was verified in this replay.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T05:49:05Z.
GTX 1060 / Windows 10: #1277 +
-StartupBelow40reaches readable setup and the opening movieThis follows the #1277 retest. It uses the same local build (#1277 merged onto
mainab9a020c), the same host (Windows 10 19045, in-box D3D12Core 10.0.19041, GTX 1060 6GB 32.0.15.6094), offline,-MemoryGiB 16, a warm shader cache, fresh storage andX2W_FAKE_USER=1 X2W_RUNTIME_LOCAL=1. A person drove the input by hand; there was no input script. Counts and observations only; nothing captured is posted.What the person at the screen saw:
Log counts:
-StartupBelow40, 540 ss_load through s… holding Nonetranslation failurestranslate.txt(not separated into new or retried)DestAccelerationStructureData can not have more than 40b of address set)compute stage not supportedOpen after the privacy policy:
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T05:59:37Z.
Follow-up to the driven run above: same build (#1277 on
mainab9a020c), same host and flags, fresh storage, 1,200 s limit, input by hand.D3D12 XDXR Error: Failed to allocate upload buffer. The builder's preceding command-list calls arex2w-noop d3d12_xs.dll!CommandList::slot148.-StartupBelow40, the GTX 1060 / Windows 10 path reaches the same slot 148 upload boundary as the RX 9070 XT, RTX 5080 and RTX 3090 reports in #1758. It no longer stops at the BVH 40-bit check, which-StartupBelow40cleared.I can rerun this exact configuration on the GTX 1060 once the slot 148 wiring is available.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T06:31:15Z.
Jess-Doit, #2216 is now on main with the real slot 148, and #2210 adds the source-built acceptance. The matched GTX 1060 replay you offered would help: keep the #1277 changes, Windows 10 adapter, input, startup flags and initial cache state the same, and record the new commit, whether the former upload allocation stop clears, and the first later stop or last visible screen. If you can first run the source-built check, build startup_slot148_acceptance and run ctest --preset release --no-tests=error -R "^startup_slot148_acceptance(_nodebug)?_hardware$" -V. A summary with pass, fail or capability skip is enough. The blank phase before the old stop and the storage failure counts can stay as separate observations.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T06:50:04Z.
GTX 1060 / Windows 10: replay on
mainb7707495(includes #2216 and #1277)This replies to the request above. Same host as the earlier reports: Windows 10 build 19045, in-box D3D12, GTX 1060 6GB, driver 32.0.15.6094, Release. The flags are unchanged:
-Render -Translate -FakeUser -GpuMirror -HostCpu -StartupBelow40 -ContinueAsserts 200000, withX2W_D3D12_PERMISSIVE=1fromrun.ps1.These runs differ from a matched replay in two ways:
1. Source-built check
startup_slot148_acceptance_hardware(GTX 1060, debug layer requested)startup_slot148_acceptance_nodebug_hardware(GTX 1060, debug layer off)startup_slot148_acceptance_warp(WARP 10.0.19041, debug layer requested)startup_slot148_acceptance_nodebug_warp(WARP 10.0.19041, debug layer off)The failing case is WARP-only and occurs only with the debug layer off:
I have not looked further. It may be specific to the Windows 10 WARP;
startup_image_load_d16_warpalso fails on this host, on main as well.2. Startup replay, two runs with different job memory caps
Failed to allocate upload bufferDEVICE_HUNGfirst noticed after an ExecuteCommandLists at 518.5 s; every later call returnsDEVICE_REMOVEDE_OUTOFMEMORYFor comparison, the previous report stopped at 493.7 s and 14,187 frames, at the upload allocation.
What I take from these runs:
If a breadcrumb or DRED capture of the hang would help, I can repeat Run B with that enabled.
Ready for more review.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T06:57:55Z.
Thanks for the replay. Both GTX 1060 runs cleared the old upload-allocation stop. Please take the 22 GiB run for the focused follow-up and keep the build, flags, input path and warm cache fixed where possible. If DRED is available, enable it before the device is created and report the last completed breadcrumb, first outstanding command, first device-removal HRESULT and whether DRED reports a page fault. Please post a short summary only. The 16 GiB null write followed allocation refusals at the cap and should be tracked separately. For the Windows 10 WARP no-debug timeout, please add the existing source-built command, exact build and exit-18 result to #2210 so that the hardware hang and fixture timing can be reproduced independently.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T07:15:19Z.
DRED repeat of the 22 GiB run: the hang did not recur
This used the same build (
b7707495) and flags, plus a local DRED switch. The input was by hand, and the run started from the same warm cache as the 22 GiB run.ID3D12DeviceRemovedExtendedDataSettings1was available on this Windows 10 runtime. Auto-breadcrumbs, breadcrumb contexts and page-fault reporting were all forced on before device creation.0x28in the title's own code, at 602.2 s and 17,109 frames.E_OUTOFMEMORY, between 537 and 589 s.I'll repeat with DRED on and the adapter's video-memory budget and usage logged each heartbeat. I'll report the DRED fields if the hang recurs.
Ready for more review.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-25T07:25:54Z.
DRED capture of the GTX 1060 hang (second repeat)
This run used the same build, flags, warm cache and input path. Local DRED was forced on before device creation, and each heartbeat logged the adapter's video memory budget and usage (
IDXGIAdapter3::QueryVideoMemoryInfo).The hang recurred at about 432 s, after 12,104 presented frames.
0x887a0006(DXGI_ERROR_DEVICE_HUNG), first noticed after queue slot 35 (ExecuteCommandLists)Local video memory against the driver's budget, from the per-heartbeat log:
Non-local usage stayed at about 2.9 GiB of a 7.5 GiB budget. No placed-resource creation was refused in this run.
My reading:
E_OUTOFMEMORYrefusals before the two crashing runs fit the same pressure.Ready for more review.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T07:42:08Z.
Saved-profile rendering follow-up, 25 November. A local integration on RTX 4060 Laptop (driver 32.0.16.1656, Windows 11 build 26200.9974) ran to the 310 s test limit. Loading artwork and credit overlays were visible. The final readback had a red center pixel. A 3D scene remains unverified on this configuration. The test used the existing save and input sequence, storage windows enabled, the translated indirect draw option, and a diagnostic shim with SHA-256 prefix
4c6be50f. This was a local integration build.For independent retests, the most useful result is the creating device slot, the root actually bound when the indirect mesh dispatch is consumed, and the first reason that dispatch is refused. Please share aggregate results or source-built controls only.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T07:42:35Z.
Thanks for the DRED repeat. The last sample was 9,201 MiB used against a 5,114 MiB local budget. All 374 recorded breadcrumb nodes were complete and DRED reported no fault address. This supports investigating residency pressure, but does not yet identify what triggered removal. For the next replay, keep the workload fixed and add aggregate live resource and heap bytes by category at each budget sample, splitting placed resources from committed textures, buffers and upload/readback heaps. Count underlying heaps once. A source-built allocate/release sequence should return each category to its baseline and catch missed retirement. If the hang recurs, share only the budget/count summary and DRED status. This can use the existing #874 tracking thread and does not need a new issue.
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-25T07:53:14Z.
How much memory the post-confirmation load needs, for the 16 GiB allocation refusals in Jess-Doit's Run A above: about 22 GiB of process commit, or about 21.5 GiB with #2209's switches on. A 16 GiB cap is too small either way.
Setup:
-Render -Translate -FakeUser -GpuMirror -HostCpu -StartupBelow40, 26 GiB job cap, 480 s.ac423c5f(main3f310ba4+ #2209, which is now merged as45fa67fa).X2W_XMEM_LAZY_COMMIT=1 X2W_XMEM_LAZY_STARTUP=1.Process commit at the same load progress (inflated storage blocks, from the heartbeat), so the timing of the manual presses does not matter:
E_OUTOFMEMORYand no second-chance exception.8150d800with a 16 GiB cap and the switches on hit the cap at about 190 s and stopped on a null read after 9 placed-resourceE_OUTOFMEMORYrefusals, the same pattern as Run A. The switches only move that stop later in the load.Counts only; logs stay local.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T08:46:27Z.
#2142 is on main at
a540a479. Its source-built any-lane control matched all 1,024 pixels at each of six thresholds on WARP and RTX 4060 Laptop. This clears the evaluator prerequisite for the wait/barrier follow-up. The application replay still needs the follow-up and an actual slot 57 dispatch result. For the independent GTX 1060 budget replay, the merged telemetry and measurement instructions are in #874.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T09:07:34Z.
Saved-profile mesh retest on RTX 4060 Laptop (32.0.16.1656), using the same initial save, shader cache and scripted input. With the default creation result the first 32 sampled mesh dispatches used fixed slot 57. An experimental build returned E_NOTIMPL and a null pipeline for the unsupported fixed mesh shape. The first 32 sampled dispatches then used stream slot 86. The samples establish a change in the route selected during the run. A one-to-one retry of individual requests has yet to be established.
The stream sample contained 14 depth-only and 18 mesh-plus-pixel states. Digests taken at pipeline creation matched the captured stages, and the root bound at dispatch matched the creation root in all 32 cases. In separate desktop replay, the 32 captured states each built on hardware and WARP using SDK-validated translated stages. Source-built execution and readback, including the D16 and multi-target cases and the WARP depth-only limitation, are documented in #2270.
The original process forwarded 0 of the 32 sampled mesh dispatches. All 32 had a root SRV without a proven desktop backing at the point of consumption. The indirect arguments also need a proven writer and queue ordering. The 230 s and 251 s captures still showed a red surface. Next comparison is physical page identity plus GPU copy/fence provenance for one consumed argument and its root SRV. No new scene milestone claimed.
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-25T10:25:03Z.
After #2279, the post-confirmation load runs at the paced 30 fps on this host instead of about 1–2.5 fps.
Setup: Windows 10 19045, 16 GB RAM, RTX 3080 Ti, Release,
tools/startup/run.ps1 -Render -Translate -FakeUser -GpuMirror -HostCpu -StartupBelow40, the same post-confirmation input. Before:maine94e14ffwith the old translation. After: the same requests translated with #2279's headb55187e5.main.Next, from two runs (both after the load had finished):
37e56907slot 15, about 118 a second), which the stand-in answers as "initialized, no connectivity". A system text-to-speech thread (sapi_onecore) is also active. What the title waits for is not yet known.Counts only; logs stay local.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:28:23Z.
Claiming a focused slice: XPackageMountWithUiAsync + XPackageMountWithUiResult in src/xgameruntime_shim.cpp (manual-queue async, same contract as #2179/#2201).
Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-25T11:11:11Z.
PR #2303 adds the focused source-built coverage for the mesh root SRV follow-up in #1914. The fixture uses slot 15 on a COPY queue and a cached slot 86 mesh draw on a DIRECT queue. It checks writer ordering, rejects a mismatched page or byte range, and verifies page reuse after the consumer fence. Both mesh cases pass on app-local WARP 1.0.22 with zero D3D12 debug warnings or errors. The GTX 1080 Ti passes the writer fixture and reports capability skips for mesh. This update covers the source-built queue and shader path.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T11:46:33Z.
#2303 is on
mainat209938b0. The source-built Release suite passed 19/19 on WARP and RTX 4060 Laptop. In the COPY-to-DIRECT mesh case, the ordered path read the updated word, omitting the wait read the old word, and a wrong page or range left the target clear. The page stayed pinned through the gated consumer.For the existing saved-profile replay, use
X2W_MESH86_XMEM_SRV=1and record whether the slot-15 writer publishes the same page and byte range the slot-86 list consumes, whether the consumer waits and forwards the command, and the first refusal if it stops. The source-built entry point isctest --preset release --no-tests=error -j 1 -R '^startup_indirect_mesh_lease_' -V. The indirect-argument writer and fence still need separate evidence.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T13:04:51Z.
#2332 landed at
fcc8d925. In an independent Windows Release run, the source-built lease tests passed 8/8 on WARP and RTX 4060 Laptop. The 12-byte DispatchMesh argument record produced 8/8 pixels with the producer wait and 4/8 with the wait omitted. An unsubmitted writer, different page or shifted range left the target clear. Reproduce after building startup_indirect_draw_indexed and xmem_shim:This covers the uncached mesh argument path. The prior #2303 cached slot-86 root SRV fixture and the new indirect argument fixture show the two handoffs separately. The next claimable source-built check, if unclaimed, is one cached slot-86 command that needs both independently published ranges. Use a root word and an argument group count that affect different parts of the readback. Omit each writer wait separately and remap one range as refusal controls. Report both writers and their fence outcomes. This extends the existing #1759 and #1914 work; the saved-profile replay result remains unchanged.
Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-25T13:14:04Z.
Account-picker Y / QueryApiImpl follow-up
Tip-of-main after #2166/#2201 still showed zero
QueryApiImpl/provider … proxiedwith Y=0x20(scoped package GPA patch live). Dig: delay-importedQueryApiImplcan bind via the CRT helper’s unhookedGetProcAddress, and a pre-attach GPA cache is never rewritten by IAT hooks.PR: https://github.com/R0Y00/Xbox2Windows/pull/2349 (draft,
95f0f675) — rewrite bound delayQueryApiImplslots only; always-log that GPA name; remember-via / status diagnostics. Synthetic + Windows scope fixture with unbound-delay and pre-attach-cache negatives. Not a FakeUser slot-7 change.Claimable follow-ups (Discord / smaller-model contributors; search before duping):
QueryApiImplcaches (decoy export must stay untouched).run.ps1 -TraceApi→X2W_TRACE_API=1(-TraceCalls≠ TRACE_API).Retest after rebuilding the proxy from that PR:
$env:X2W_TRACE_API='1', press Y once the picker is up; look forQueryApiImpl remembered via, bound-delay rewrite lines, andprovider … proxied. Still zero providers → trampoline path. Title-neutral; no game files.Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-25T13:14:14Z.
Claimable issues opened for Discord handoff:
xgameruntime!QueryApiImplfor pre-attach GPA caches (help wanted/good first issue)run.ps1 -TraceApi/X2W_TRACE_API(help wanted/good first issue)PR remains https://github.com/R0Y00/Xbox2Windows/pull/2349.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T14:39:35Z.
The paired-input slot 86 slice landed in #2377 at
afd02a24. My independent Windows Release run passed 20/20 on the selected mesh and refusal checks. On WARP and RTX 4060 Laptop, both writers gave eight red pixels, omitting the root wait gave eight green pixels, and omitting the arguments wait left four red and four clear. Running only the argument initializer gave zero pixels. The argument-page remap was refused at submission.Build
startup_indirect_draw_indexedandxmem_shim, then runctest --preset release --no-tests=error -j 1 -R '^(startup_mesh86_srv_proof|startup_indirect_(mesh_(xmem_arguments.*|lease_.*)|translated_refusal_census_.*))$' -V. #2375 has additional paired-retirement and root-page remap controls worth preserving as a follow-up. The next executable retest still needs the same command's real root SRV writer and argument writer, their waits, the first refusal or forward count, and the late surface. Share aggregate values only.Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-25T15:37:46Z.
Claiming the producer and fence investigation for one cached slot 86 mesh call after #2377. I’ll trace the root SRV and indirect argument ranges for the same call back to their last observed writers, check the physical page and byte-range matches, and correlate producer submission with DIRECT queue ordering. I’ll report the first refusal or forwarded count and late-surface outcome if available from a matched replay. I’ll use the paired-writer fixture as a control on Windows x64 (10.0.19045, Release), with WARP and hardware capability reported separately. The relevant interfaces are the startup command-list and queue wrappers and their XMem publication and lease checks. I’ll share only aggregate observations and link any diagnostic changes here.
Saved-profile baseline · Post-#2377 follow-up · #1412, #1759, #1914
Codex-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T18:40:50Z.
audio now plays breifly of a helicopter and then stops black screen but not crashing and no intro or video loading on 1050ti
update i left this and now i have a grey screen from black with an e in bottom right corner
navigation experience loaded to but broken
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T18:46:30Z.
stuck at legal notice wont let me click past
Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-25T18:42:53Z.
Update to my claim: #2504 adds the opt-in one-call writer and fence trace. At rebased head
2b87fcfc, the app-local WARP selection in Windows Sandbox passed 15 checks including two expected-failure controls. The trace identifies both independent writer submissions and DIRECT waits in the source-built fixture. It also reports the unsubmitted argument writer and separate root and argument remap refusals.The cold-profile sandbox did not supply real writer evidence. A local-initialization run reached the local storage implementation and D3D12, then used its 1,000-assert continuation allowance. It emitted zero slot 86 requests. The real saved-profile writer and fence attribution remains open.
If the existing saved-profile setup can be rerun, set
X2W_MESH86_WRITER_TRACE=1with both XMem mesh handoffs enabled. The useful output is the aggregate input ranges and ordering for one call, the first refusal or forward result, and the late-surface observation.Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T18:57:56Z.
stuck on black screen after accepting terms and conditions and terms of service.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T19:30:12Z.
Thanks for the follow-up on the post-terms black screen. Please share the tested revision, Windows build, GPU driver, and the last visible response after you accepted the terms. If the process stays alive through a fixed observation window, include how long you waited. For a newer build, the triage report from #2510 can also distinguish forwarded indirect calls from graphics and compute refusals. A short summary with those counts is enough. Keep the local executable, inputs and raw logs private.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T19:44:36Z.
The paired slot 86 writer/fence trace from #2504 is now on main at
510f7f5b. Its source-built check correlates two independent writers with the DIRECT waits and detects either input page being remapped. Sydney’s claim still owns the matched executable replay. The next evidence is one selected attempt with its first refusal or forwarding result, the two writer/wait relationships if observed, and the last visible stage. Please share only the aggregate result and keep the trace local.Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T20:11:09Z.
Thanks. Here are the details:
a6c8d80d, up to the one beforebfba03c9(auto-update ran during the evening). Thebfba03c9run had API trace and call tracing on, ran at about 14 fps and didn't get past the terms screen in 300 s. I'll repeat onbfba03c9without tracing.run.ps1 -Exe G:\game_scarlett_master.exe -DataDir G:\ -Seconds 300 -MemoryGiB 24 -ContinueAsserts 1000 -Render -FakeUser -GpuMirror -StartupBelow40Last visible response after accepting the terms: for me it isn't fully black. After Confirm the title shows a dark loading screen with a spinner at 25–27 fps. Then the D3D12 device is removed,
GetDeviceRemovedReason→0x887A0001(INVALID_CALL). About 30 ms later the title hits its own breakpoint (continued). No frames are presented after that, and the screen stays frozen on the last loading frame.Just before removal: storage about 9,680 requests done, 0 failed. Commit peak about 11.96 GiB. 1,390 textures uploaded (about 5.4 GiB). 14–16 pipelines translated, 0–2 missing.
Resource::Mapafter removal →0x887A0005.ExecuteIndirect (#2510 counts): forwarded 0, refused graphics-pipeline 0, refused compute-pipeline 0, placeholder-signature 0, other 0. Pipelines first looked up by ExecuteIndirect: 0. Real draws refused: 0. The counts are the same in all five runs, including the
bfba03c9run, so as far as these counters show, no ExecuteIndirect reached the stand-in before the removal.I also tried
X2W_D3D12_DEBUG=1, but the layer wasn't installed (0x887A002D). I'll install Graphics Tools and repeat onbfba03c9with a 900 s window, and post the debug-layer message for the rejected call if the removal reproduces. Executable, inputs and raw logs kept local.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T20:30:57Z.
Thanks for the bounded report. I’ve recorded it as a separate GTX 1050 Ti path: the loading spinner froze after device removal (INVALID_CALL), the process stayed alive to the selected timeout, and all ExecuteIndirect counters were zero. For the planned fixed-revision retest, keep the saved profile and cache the same, start without trace overhead, and if removal repeats add the debug layer to capture the first relevant message before the removal. A short summary with the operation, message ID, driver and last visible stage is enough. Keep raw logs and local paths private.
Imported from R0Y00/Xbox2Windows. Originally posted by charliejeanes1-debug on 2026-11-25T20:45:29Z.
Follow-up on
5123ccdd(newer than the build in my last comment). Same machine: Windows 10 Pro 22H2 build 19045, GTX 1050 Ti 4 GB, driver 32.0.15.8228 (582.28). No tracing,-Seconds 900, input through the GameInput shared pad block.D3D12 debug layer: Graphics Tools is now installed and
X2W_D3D12_DEBUG=1reports the layer enabled (S_OK). With it on, 2 of 2 runs stopped early, before any menu, at 31 s and 66 s. Both were second-chance null-pointer writes at the same site in the main executable. The debug layer logged 0 messages before the stop. With the layer off, the same build doesn't stop there, so I couldn't capture the device removal with the layer on.Control run (layer off): the intro and the first-boot screens render and take input: navigation experience, UI text size, subtitles, brightness, finish setup, then legal notices. There was no device removal this time. While idle on the legal notices screen:
CreatePlacedResourceXfor two 1024×1024 textures (9 mips) returned0x8007000E(E_OUTOFMEMORY).State before the failure: 1,377 textures uploaded (about 5.36 GiB) on a 4 GB card. Commit peak 11.9 GiB. Storage 8,519 requests done, 0 failed. 14 pipelines translated / 0 missing. ExecuteIndirect: forwarded 0, refused graphics 0, compute 0, placeholder 0, other 0.
For comparison, the four earlier
DXGI_ERROR_INVALID_CALLdevice removals (older builds) logged 0E_OUTOFMEMORYresults before the removal, so I can't say whether they're the same cause. In every run the failure comes after about 1,380–1,390 textures (about 5.4 GiB) have been uploaded, so VRAM size may matter on this card.Executable, inputs, offsets and raw logs kept local.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T20:50:53Z.
Thanks for separating the fixed-revision runs. At
5123ccdd, the layer-off run reached legal notices and encounteredE_OUTOFMEMORYbefore presentation stopped. The earlierINVALID_CALLremoval and this build’s early debug-layer-on stops are separate observations.If you can run one matched pair on the GTX 1050 Ti, use the same current Release build containing #2468, saved state, warm cache, input, adapter, debug layer off and observation cap. Enable
X2W_D3D12_BUDGET=1in both arms, then change onlyX2W_D3D12_RELEASE_RETIRED(0 vs 1). Report the first failed allocation or timeout, the last interactive screen, local DXGI peak/budget and retained texture count/bytes. The on arm reaching the same screen without the failed allocation would help distinguish retention pressure from the other stops. Please keep captures and raw logs local. Existing #2379 comparisonImported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-25T21:02:58Z.
Local run on RX 9060 XT — second-chance C++ stop at ~381 s
Fresh
mainsync (a1d1db8b, rebuiltxmem/d3d12_xsand stubs), same launcher profile as before: saved profile, input script4@70,X2W_NOP_SOFT_ASSERTS=1,-StartupBelow40.0xe06d7363second chance, stackKernelBase→d3d12_xs→amdxc64→D3D12Core; the game itself keeps running until the debugger stops.The stop is preceded by a distinctive pattern, identical on my previous run (stop at 638.6 s on the same build family):
d3d12_xs+0x53e715x6 037,KernelBase+0xc56cax2 120KernelBase+0xc56cax2 272,d3d12_xs+0x540da5x2 114Both are first-chance
0xc0000005reads inside the stand-in, retried, interleaved with first-chance C++ exceptions, until the last one escapes as second chance. This looks like a fault-retry loop on the descriptor/texture path rather than a distinct game bug;slot70kinds 100-101 reportexisting resourcein the same window, while 102-105 staytexture_unavailable/console_layout_beyond_xg_size.Suggestion: a consecutive-fault guard at the same site that drops the draw (with a one-line census entry) instead of retrying. I have no PDBs here, so I cannot name the two functions; if the offsets mean something on your side, I can rerun with any logging you want. Logs and
finished.txtavailable locally.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T21:11:03Z.
Thanks for the two RX 9060 XT runs. The black frame and second-chance C++ stop are useful observations. The repeated first-chance reads still need a named call site before we can connect them to the final stop or the slot-70 counters.
Please keep the same revision, saved profile and launch settings, and build the D3D12 stand-in with matching symbols. In one bounded replay record the first repeated read's source function and line, the first few symbolic stack frames, and the first call category that starts repeating. If it resolves to a descriptor or resource lookup, report the descriptor kind, heap/slot validity and whether that lookup reports a live, missing or retired resource. Capture a nearby successful call of the same kind as a comparison if one occurs. A summary with the revision, symbol match, adapter/driver and debug-layer setting is enough. Keep addresses, dumps and raw logs local.
Please leave the retry behavior intact for that comparison. Once the call site and its existing failure contract are known, we can isolate a source-built valid/invalid pair before changing how the draw is handled.
Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-25T21:20:28Z.
Continuing the slot 86 claim from main
1c902063.The independent cold-profile Windows Sandbox run reached D3D12 and produced 346 compute requests and zero slot 86 mesh requests or trace rows. It stopped at 44.72 s on a second-chance read access violation after 1,602 main-image breakpoints with diagnostic assert continuation enabled. All 256 sampled pixels of the last captured output were black. This run supplies the early endpoint in this environment.
The saved-profile RX 9060 XT report was on a revision that already includes #2504. If the logs are still available, could you share the aggregate ExecuteIndirect mesh attempted/refused and forwarded counts from that run? A nonzero mesh count would help choose a run to repeat with
X2W_MESH86_WRITER_TRACE=1and both XMem mesh handoffs. Keep inputs and raw logs local.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T21:36:32Z.
Thanks for keeping the cold-profile Sandbox run separate. With zero slot-86 mesh requests and zero trace rows before its 44.72 s stop, it gives an early endpoint for that environment. The saved-profile comparison is still the right place to look for the selected mesh command. Please continue under your existing claim using the aggregate counts first. If there is a matching call, correlate its root-SRV writer, argument writer and DIRECT waits on that call before drawing a conclusion about the red surface.
Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-26T00:35:32Z.
Independent retest on an RTX 4090 at a newer revision. It reaches the same indirect wall: no
ExecuteIndirectcall is forwarded.Build and environment:
mainatd371ce46,releasepreset. Windows 11 Pro 26300.9974, NVIDIA GeForce RTX 4090 (driver 32.0.16.1088), default adapter, D3D12 debug layer off. AMD Ryzen 9 7900X, 32 GB RAM. The original executable, staged withtools/startup/stage_package.ps1, with the package mapped to its console drive letter. No saved profile (first-run setup). The shader cache was re-keyed from an earlier run withshader_cache_rekey.pyand translated offline with--pendingbefore the run.Command: the title was driven with a controller (no input script):
with
X2W_XMEM_LAZY_COMMIT=1andX2W_XMEM_LAZY_STARTUP=1.Last visible stage: the same in all four controller runs of this build (12 GiB cap, 20 GiB cap, and twice at 20 GiB with lazy commit). After A on the user selection prompt, a loading screen appeared and the prologue started. The sequence was a full-screen magenta frame, a short caption card, magenta again, a credit card, magenta again, and then the stop. Both cards were readable, each over a plain gray background. The frames before, between and after them were solid magenta. The RTX 4060 Laptop runs above showed the credit card over solid red. The magenta frames look like the magenta presentation result in the earlier composite readback above. No scene detail was visible. In an earlier run of the same build, the setup screens and legal notices were readable and responded to input, at a steady 26.7 FPS with low CPU use, and the menus flickered slightly.
First indirect results: the first refusal reason logged was
requires a desktop compute pipeline and root, thenmissing or placeholder signature. Nothing was forwarded at any point.Final counters (one run, stop at 194.3 s):
ExecuteIndirectforwardeddispatchmeshdraw/drawindexeddispatchThese are invocation counts. A repeat with the same configuration showed the same screens and stopped at the same instruction, with 0 forwarded, 1,375,832 mesh and 431,069 compute dispatches refused, and 53 / 370 graphics pipelines. A paired run without the lazy-commit switches gave the same picture: 0 forwarded, with 706,513 mesh dispatches and 250,200 compute dispatches refused by its stop at 187.3 s.
Process stop: both runs ended on process commit at the job cap (19.4-20.2 GiB) during loading, followed by a null write in a package BVH-builder DLL after two C++ exceptions from desktop
D3D12.dll/D3D12Core.dll. Details and the commit timeline are on #1199. With a 12 GiB cap the D3D12 stand-in stopped first, on an unchecked allocation (#2653).Top translator refusals in this cache:
s_mov_b32readingsrc_scc(538 at the cold run, with open #1821 and #2577),v_cmp_gt_i32definingvccinside anexeczblock (266),v_readfirstlane_b32without a proven uniform source (228),s_loadwith a register offset through the resource heap (159), computeimage_storeneedingd16(124).Local executable, inputs and raw logs stay private.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T00:44:36Z.
First-frame reduction and pixel export retest
A local experimental runtime based on
a6c8d80dissued three previously skipped compute passes on a GeForce RTX 4060 Laptop GPU, driver 616.56, Windows 11 build 26200.9974, with the project debug layer off. These results describe the local dispatch profile.(0, 0, -inf, 0)to approximately(0.1, 0.2, -3.321933, 1). Its 16 bytes and the other tracked 32-byte input matched between the writer and the consuming pixel shader. At four sampled positions the pixel shader passed its discard test, bypassed the optional texture-sampling branch, and exported zero RGBA.2c58d827dc69b323. The draw and consumer were in the same command list and queue submission. The remaining question is whether its two sampled inputs were already zero or whether coverage, binding or export lost their contents.Public fixture task. Use source-built shaders and two independent, nonzero textures to exercise a two-target downsample draw to R11G11B10_FLOAT and R16_FLOAT, followed by a compute read on the same submitted list. Check both outputs and consumer inputs against a CPU reference. Include a negative control that suppresses coverage and preserves a sentinel clear value. The matched local retest can then distinguish missing input from missing pixel coverage.
The local compiler moved LDS and seven E32 vector ALU operations into the shared C++ backend. The two tested reductions produced byte-identical DXIL across the ALU migration. WARP and hardware each matched all 608 expected fixture words. The remaining frontend still uses Python. Recognizable 3D rendering and character control remain open.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T01:23:39Z.
Graphics compiler checkpoint · two-target first-frame pass
A local experiment based on
a6c8d80dnow replays a graphics cache miss through native C++ translation of both the vertex and pixel instruction streams. The runtime recorded the base stage/root key and both target formats on the first run. Offline compilation generated a matched SM6 pair, and the next run loaded the format-specific objects through the ordinary cache filenames. The desktop PSO returned S_OK. GPU statistics recorded one rasterized triangle and 57,600 pixel shader invocations on the first matching draw in each run.The earlier single-stage substitution exposed a separate cache compatibility bug. The D3D12 debug layer identified a mix of SM5.1 and SM6 stages in one PSO. Working-tree WARP tests cover a prebuilt SM6 pixel object paired with a legacy vertex object, and a fully prebuilt SM6 pair used through indirect indexed drawing.
First-background blocker remains open. The warm run produced the same background readback as the baseline, byte for byte. The two 640×360 sampled textures were already zero before the draw. Both 320×180 outputs stayed zero. Two upstream draws each recorded 230,400 pixel shader invocations. Their own 1280×720 packed-color and 2560×1440 half-float inputs were also zero throughout the GPU readbacks. The next producer investigation needs the last executed clear, copy, draw or dispatch to each of those resources before its consumer, including queue order. A subsequent ordered capture is recorded below.
With independently varied, nonzero texture inputs, the same offline pair produced the expected 112 covered components and preserved all 16 scissor-protected components on WARP and hardware. The working-tree test filter was
ctest --test-dir out/build/native-dxil --no-tests=error -R '^(native_|startup_indirect_translated_indexed_warp$)' --output-on-failure(12 passed after adding the source-built replay-package test). Machine-code translation and DXIL emission for this profile use C++. The offline request reader and independent binding audit still use Python.Environment: x64 Release local diagnostic build, Windows 11 26200.9974, RTX 4060 Laptop GPU, driver 32.0.16.1656, project debug layer off for the measured runs. These changes are local and have not been merged.
Follow-up on the 2560×1440 surface. On the first matching frame, the same graphics queue submitted an indexed draw to that exact resource before its consuming list. Pipeline statistics for the indexed draw were 264 IA vertices, 88 IA primitives, 88 clipper invocations, zero clipper output primitives and zero pixel shader invocations. Full readbacks immediately before the draw, after it and before consumption contained zero in all 29,491,200 bytes. The next discriminating measurement is the post-VS clip-space position and the active rasterizer/viewport state on this draw. The independent 1280×720 surface still has no proven writer before consumption in this capture.
Seven fresh-process samples on this shader pair gave median C++ instruction translation times of 0.019 ms (VS) and 0.055 ms (PS). DXC compilation plus cache publication took 13.44 ms and 13.37 ms, respectively. The corresponding verified cache loads took 0.313 ms and 0.319 ms, excluding SDK initialization. For the 8×4 controlled readback fixture, graphics PSO creation took 9.71 ms and the GPU timestamp interval around the draw was 5.12 µs.
Indexed vertex replay and missing draws. With the same saved input sequence and diagnostic runtime based on
a6c8d80d, a cold run recorded a single-target graphics request. A second run loaded the offline SM6 pair and created its PSO successfully. The C++ VS translated 103 instructions and four raw-buffer bindings. Its PS companion used the reference Python frontend and shared C++ DXC backend. GPU stream output contained 264 finite positions, all outside the left and top clip planes. On independent RTX 4060 Laptop replay with the same captured inputs, 1,036 of 1,056 components agreed bit for bit, and maximum absolute error was 0.001953125. Seven fresh-process samples gave median VS translation, compile plus publication, and validated cache-load times of 0.084, 75.33 and 0.40 ms. The isolated stream-output PSO took 49.43 ms to create and its GPU draw took 5.12 µs. These timings exclude SDK initialization and do not measure frame time.The same target had five further pipeline keys with missing translations. Primary sampler LOD bias support restored a 6,468-vertex draw. The hardware issued 2,156 triangles with zero rasterizer output. GPU readback confirmed its VS received the launcher's 256-byte identity fallback. The first 48 positions were finite but outside the clip volume. Each of the remaining 6,420 positions contained four NaNs. The entire 2560×1440 RGBA16_FLOAT target was zero before and after the draw and at later consumption. The first background image hash was unchanged. The two downstream reduction writer/consumer buffers still matched byte for byte. Track the missing binding and the producer-side source-built regression in #2695. The independent 1280×720 input remains unresolved.
Environment: Windows 11 build 26200.9974, NVIDIA GeForce RTX 4060 Laptop GPU, driver 32.0.16.1656, original-path diagnostic debug layer off. All 17 focused tests passed, including WARP and hardware mip readbacks for positive, zero and negative bias.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T02:00:45Z.
The ordered follow-up narrowed one producer to clipping. In the local diagnostic run the 2560×1440 draw sent 88 primitives to the clipper, produced zero clipped primitives and never invoked the pixel shader. Its target stayed zero before and after the draw. The 1280×720 input still has no proven writer. Main development has the actual executable trace.
One independent source-built task is open here. Extend the indexed path used by
startup_stream_viewportwith a paired draw, using the same indices, viewport, scissor, rasterizer and sentinel target in both runs. Use a visibleSV_Positiontriangle in the first run and move all three vertices beyond the same homogeneous clip plane in the second. Record the IA, clipper and pixel-invocation counts after the fence, plus the target readback. The negative arm must leave the sentinel unchanged, with the same IA and clipper input counts and zero clipper output and pixel invocations. Reusecmake --build --preset release --target startup_stream_consumerandctest --preset release --no-tests=error -j 1 -R '^startup_stream_viewport_(warp|hardware)$' -V. Please post the adapter, driver and first mismatch under this claim. The existing two-target downsample and #2417 remain separate.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T05:45:58Z.
Runtime checkpoint: translated HDR dispatch
In the main developer’s local run at fb7b4ade, the original executable reached the translated HDR dispatch through the ordinary launcher with the Python shader frontend disabled. A cold-cache run and a separate warm-cache process both reached GPU submission and readback. This evidence covers one compute pipeline.
The scene background is still missing. Fence-ordered readback shows that the relevant input is already zero before the HDR dispatch. In a controlled GPU replay, replacing only that input with the reference restored a nonzero background sample. The next step is to identify the upstream draw that should populate the input and compare its target before and after that draw on the same queue. The existing vertex-SRV and index-buffer fixtures remain useful controls. The first correct scene and player control remain open.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T06:20:07Z.
Native C++ compute coverage and cache measurements
Local research build based on
a6c8d80dwith working-tree changes. The same 2,689 ready requests were scanned twice with four workers using the C++ frontend and DXC. Both scans selected the same 41 requests and produced byte-identical DXIL per request.Of the 41 compiled requests, 7 have an independent numerical comparison, 34 await one, and 0 of the seven showed a numerical difference. Six fixed-input GPU workloads cover copies, component selection and a masked row copy with a dynamic scalar byte offset. Each matched all 8,192 components both cold and warm. A deliberately incorrect reference produced exactly 2,048 differences. A separate 2560 × 1440 RGBA16F workload matched all 14,745,600 component values against an independent GPU capture. 18,890 zeros differed in sign.
The previous first diagnostics comprised 2,632 entry-layout refusals, 46 unrecognized headers and 10 instruction refusals. The largest entry group contained 1,007 requests with 32 × 1 × 1 threads, 12 user SGPRs, group X/Y and one local coordinate. All now pass entry decoding. Its current first unsupported operations are subword-selected
v_xor_b32(682) andbuffer_load_dwordx4(325). Zero complete shaders in that group have reached DXIL. Across all groups the corresponding counts are 682 and 359. Register-indexed descriptor-table reads are the next most frequent first diagnostic (159).On an RTX 4060 Laptop GPU, driver 616.56, Windows 11 build 26200.9974, debug layer off:
A repeated normal-entry run reached the selected 1,182-instruction compute pipeline. Frontend / DXIL / root and PSO were 6.57 / 229.38 / 116.70 ms on a miss, then 6.23 / 1.47 / 2.17 ms on a hit. The driver cache was left in place. Across the first six presentation intervals of the first run, the measured direct queue saw one guest submission per interval. CPU time inside submission ranged from 0.021 to 1.836 ms. The queue timestamp spans ranged from 0.988 to 29.029 ms and include idle time between the first submission and the present marker. These early intervals precede the selected compute dispatch.
The source-generated fixtures exercise group and lane semantics, typed loads, inline root constants, vector masks and overlapping scalar offset/destination registers. Five targeted tests passed, zero skipped. Commands for the working tree:
The next coverage slice is the two instruction families above. Numerical coverage and whole-stage compatibility remain separately tracked.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T06:36:44Z.
C++ compute coverage — SDWA XOR and next first refusals
In the unchanged 2,689-request wave32 scan, 682 requests previously stopped at integer SDWA XOR. Instruction-boundary decoding found 2,728 occurrences in those requests. Each selects the high half of source 0, zero-extends it, XORs the whole dword of source 1, and replaces the destination dword.
The remaining loads use
offenwith a per-lane byte offset. The two-dword cases use immediate 0. The one-dword cases use immediate 52 and overwrite the VGPR holding the input address. Another 325 requests from the larger 1,007-request group first encounter a four-dword load with immediate 1040.Both full scans produced byte-identical DXIL for all 41 previously compiled requests and refused 2,648. No Python shader frontend or fallback participated. Of the 41, seven again passed independent GPU numerical checks, zero had an observed numerical mismatch, and 34 await numerical validation.
For the instruction-level check, the X2W and Victory
9376fd6emitters independently generated desktop bytecode from the same source-built shader instructions. Both bytecodes ran on the same GPU with equal input bytes and binding metadata appropriate to each backend. Four fixtures matched the independent CPU formula and matched each other bit-for-bit across 32,768 output components. Changing the source half caused 2,048 reference differences. Clearing bits that should be preserved caused 4,064. These synthetic cases are counted separately from corpus coverage.Local working tree based on
a6c8d80d. RTX 4060 Laptop, driver 616.56, Windows 26200.9974, debug layer off. Five targeted tests passed; zero skipped.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T06:57:52Z.
Native C++ per-lane raw buffer loads
The runtime and offline frontend now lower linear offset-only MUBUF dword loads. The generated code takes the address from the instruction's original VGPR, adds the immediate byte offset, aligns to a dword, reads the vector and then writes its destination registers. The native runtime checks the raw view's addressing and range semantics before binding. Indexed, swizzled and unsupported descriptor forms retain diagnostics.
The same 2,689 requests were scanned with four workers under
gfx1013-compute-wave32@36, with the Python shader frontend and fallback disabled.The follow-up adds the encountered e32 conversions and cosine, and extends the same vector-read lowering to widths three and four. The 676 remaining scalar reads are a different addressing problem: a scalar register supplies the byte offset for the four-word read. In an observed sequence, a shift by five computes the offset immediately before loading the descriptor.
Seven source-built cases ran through both the X2W and Victory
9376fd6translators, then through a real D3D12 PSO for each output. GPU readbacks agreed bit-for-bit with each other and exactly with independent expectations (57,344 component comparisons per backend). Cases cover distinct per-lane addresses, both address/destination overlaps, a nonzero first element, a partial out-of-range pair, and non-dword-aligned input. Forcing the second fetch to use the already-overwritten address sent each lane to a different valid pair and failed exactly 2,048 component comparisons. Removing the 52-byte offset also failed 2,048. These controls are counted separately.Corpus totals remain 41 complete / 2,648 refused. All 41 DXIL blobs matched their previous hashes. The six fixed-grid workloads and the entire HDR reference texture passed again. Seven corpus requests have numerical evidence, zero observed numerical mismatches, 34 await validation. Five targeted tests passed, zero skipped. Local working tree on
a6c8d80d; RTX 4060 Laptop, driver 616.56, Windows 26200.9974, debug layer off.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T07:42:15Z.
Native C++ compute coverage
On the same 2,689 requests, full DXIL generation increased from 41 to 51. The other 2,638 still return explicit refusals. All 41 previously generated binaries remained byte-identical. Both batch runs used the four-worker native compiler, with the Python shader frontend and fallback disabled.
All 10 additions exercised single-channel 2D D16 stores. Hardware readback matched the independent expected values for all 41,040 components on each of two runs, including untouched sentinels and secondary outputs. The source-built nonzero-half negative control changed 120 texels. The previously validated six grid cases and one full-resolution HDR case passed again. The HDR reference still has 18,890 signed-zero bit differences and zero numeric differences.
The diagnostic scan walked 17,783,837 instruction positions across all requests, including code after the first unsupported form. Overlapping gaps include three-input integer add (1,586 requests), signed scalar subtraction (1,503), and multi-block loop backedges (1,446). The executable compiler remains strict. For 46 unrecognized headers the diagnostic scan used the configured offset as a hypothesis.
In the 676-request scalar descriptor-load cohort, the resource heap and sampler heap occupy separate entry registers. All 676 advanced past the old decode refusal. The next first refusal is SDWA bitwise OR in 674 and three-input integer add in two. None of those 676 generated complete bytecode. A two-slot fixture matched the independent reference translator on the GPU; reversing the slots changed 6,144 output components. A whole-heap stride fixture read its index from a GPU buffer and distinguished typed and structured views. Changing the source offset by four bytes changed all 8,192 components. The independent translator refused the standalone descriptor-as-data fixture; its stride result is checked against an independent numerical expectation. Actual selected indices for this cohort in a live submission remain unverified.
Measured on an RTX 4060 Laptop GPU, driver 616.56, Windows build 26200.9974, debug layer off. Base revision
a6c8d80dce9fplus local changes. Four-worker batch time was 3.880 s cold and 3.522 s with a populated cache, including all refusals and excluding process initialization. For the ten additions, the nine actual cache misses had a median backend time of 13.31 ms. All ten second-run hits had a median of 0.36 ms; median PSO creation was 10.90 ms.Source-built check:
ctest --test-dir out/build/native-dxil --no-tests=error -V -R '^native_(wave_request_hardware|compute_clear|lds_(warp|hardware|control_flow))$'. Five passed, zero failed or skipped. This checkpoint measures compilation and fixed-input compute dispatches. Scene rendering and input response remain open.Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-26T10:50:09Z.
RTX 3090 retest on unmodified main (slot 148 production path)
This is the matched RTX 3090 retest the status table asks for. It is stock main with no local stand-ins or patches, using the same original executable, saved profile and storage as my earlier slot 148 A/B.
Environment: Windows 11 build 26300.9974, Ryzen 5 5600X, NVIDIA GeForce RTX 3090, driver 32.0.16.1664, x64 Release at
700522ef, project debug layer off.There was no input script; I gave input by hand. The shader cache came from 25 Nov, re-keyed with
shader_cache_rekey.py, thengfx2hlsl.py --pendingand the documented robocopy merge, and translated on the fly during the run with-Translate.Observed:
Leading first refusals in the run's translation log (3,773 lines, graphics and compute together):
v_readfirstlane_b32requires a proven uniform sources_branchinside ans_cbranch_execzblock branches out of the blocks_cbranch_execzskips code with effects outside active laness_cbranch_scc0inside ans_cbranch_execzblockThe 176 + 62 "source key mismatch" lines come from old-revision requests that the watcher picked up; they are not new translator gaps.
My next step is to find out which of the 585 missing graphics pipelines the black scene depends on before claiming anything. No game data, screenshots or captures are attached.
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-26T10:49:41Z.
Local run at
a6c8d80dwith a storage path — 344.7 s, indirect still not enteredI rebuilt
a6c8d80dfrom source in a clean worktree, restored the revision-14 shader-cache archive (330.a, 26.txt; not precompiled) and ran the launcher with-StoragePath S:\x2w-gamesave, withS:asubstmapping to a local folder. Same default flags, 600 s limit. Host is the local RX 9060 XT, default adapter, project debug layer off.0xc0000005read of 0x0 (game_scarlett_master.exe+0xf7d27b, return+0xf83de7, stack throughucrtbase+0x4a9eb)The storage path removes the old failure: there is no
0xc000003aand no gamesave error anywhere in the log. It does not create a profile —S:\x2w-gamesaveis empty at exit. The reference used an existing save, so this remains a configuration difference rather than a real saved-profile run.The indirect path is still not exercised:
So the A2 mesh counters cannot be measured from this run either: slot 61 never produces a lookup. The stop moved from the 243–264 s range of the earlier local builds to 344.7 s, with the same 19/19 pipeline coverage.
First-chance exceptions: 5,618, of which 5,597 are
0xc0000005atd3d12_xs.dll+0x53cb55(handled, then retried), 7 are C++0xe06d7363, and the rest are loader/breakpoint events. The capture at the stop is 1600×900 and black (mean 39/255); I did not capture during the 138–275 s window, so I cannot say whether the loading illustrations appeared.I can rerun at another revision, with PDBs for
d3d12_xs+0x53cb55, or with extra logging if that helps.Imported from R0Y00/Xbox2Windows. Originally posted by RenzoWit35 on 2026-11-26T10:55:24Z.
Claiming the clipped paired draw task from https://github.com/R0Y00/Xbox2Windows/issues/870#issuecomment-7180370455.
Plan: extend the indexed
startup_stream_viewportpath with two arms on the same indices, viewport, scissor, rasterizer and sentinel target. The first arm draws a visibleSV_Positiontriangle; the second moves all three vertices beyond one homogeneous clip plane. After the fence each arm records the IA, clipper and pixel-invocation counts and the target readback. The negative arm must leave the sentinel unchanged, with the same IA and clipper input counts and zero clipper output and pixel invocations.I can build this and run it on WARP. I have no discrete adapter to report from, so the
_hardwarearm will need someone else's run; I'll post the WARP adapter, driver and first mismatch with the PR.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:53:22Z.
@MasterDomino ten of our PRs are Ready and waiting for a maintainer. Each one has CI green and a Win2025 WARP dev+release receipt on the head listed below. Suggested merge order, oldest first:
619ae7009tests: serve GPU draw cases from one offscreen_check device (Part of #448)1039125e1startup: print raw= and completed= in the DirectStorage status lines (Fixes #2816)d39f65cfcstartup: warn when the shader cache and the translator come from different revisions (Fixes #2815)0d4a8afe4startup-tools: save the title's window every N seconds,--capture-every(Fixes #2819)eb82f1d39build: startup_runtime target and runtime preset (Fixes #2826)83828d249startup: system commit, job limit and page-pool counters in the budget line (Fixes #2832)a243e5b4cstartup: name the cause of a slot 70 texture_unavailable refusal (Fixes #2831)da2a38f57startup: slot 70 structured buffer views at sub-allocated addresses (Fixes #2839)f85b47bfastartup: refuse unmapped source ranges before a probe or a copy (Fixes #2845)73b2d0ff7startup: read translated compute inputs that live only in title memory from a snapshot (Fixes #2860)Dependencies and overlaps:
CMakeLists.txtwith the others.d3d12_memory_srv.inl.d3d12_draw.inlwith #2820 andd3d12_xs_device.cppwith #2833 and #2841, so it goes after them.d3d12_draw.inlandd3d12_xs_device.cppwith #2820, #2833, #2841 and #2846, so it goes after them.run.ps1,run.shandwindows.yml. #2833 sharestriage_run.pywith #2836 andd3d12_xs_device.cppwith #2841.docs/startup-runtime.mdandCMakeLists.txt. After each merge, if the next one shows a conflict, we merge main into it (no force-push), wait for CI and post a new receipt on the new head before you merge it.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by phantrieu2006-blip on 2026-11-26T18:06:39Z.
Independent run on RTX 3060 Laptop (6 GB): current
main, original executable, offline stand-ins.Data point for a 6 GB adapter. It does not reach the loading illustrations; the run stays in the opening stage with no texture uploads.
Environment
main@6ee878d8,releasepreset (MSVC, VS Build Tools),out/pe-envfromrequirements-dev.txt10de:2520, 6 GB), driver 32.0.16.2101, debug layer unavailabletools/startup/stage_package.ps1; no saved profile, empty shader cache before the first runLaunch: the documented command faults at 0.3–0.5 s
The
run.ps1command indocs/startup-runtime.md("Run"), with-DataDirpointing at the package folder, stopped twice on the same second-chance access violation, amemsetinvcruntime140.dllwith destination0x7ffffe0f0. It is the signature described in https://github.com/R0Y00/Xbox2Windows/issues/870#issuecomment-7129583205. Adding-HostCpu -StartupBelow40 -LazyMemorydid not change it (0.32 s).What got past it, as that comment describes:
With the package root as a drive root and an existing
-StoragePath, both runs below lasted the full 180 s. The "Run" section of the doc does not mention either requirement yet.Results
\Device\Afd\Endpoint)The swap chain was 1600×900 and the presented plane 3840×2160, format 28.
Shader requests captured after both runs: 2,689. 115 translated, 1,272 refused. The five most frequent first refusal reasons (numbers normalised):
v_readfirstlane_bN requires a proven uniform sources_branch inside a block s_cbranch_execz skips per lane: branch out of the blockv_cmp_gt_iN_eN inside a block s_cbranch_execz skips per lane: definition of vcc_hi …COMPUTE_PGM_RSRCN TG_SIZE_EN requires at most N threads per groups_mov_bN inside a block s_cbranch_execz skips per lane: definition of sN …No
E_OUTOFMEMORYappeared in either run. The run did not get far enough to load textures, so it does not show whether 6 GB is enough.Not verified
Intro image content, menu interaction and the loading illustrations. I did not look at
window.png: it copies the screen area of the window and can include other windows. Logs, captured shaders and the staged package stay local.Run from a local source build of the commit above; this comment was prepared with AI assistance (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-26T21:11:24Z.
Six PRs are open and green, split by behavior:
image_bvh_intersect_ray(FP32 box node, 32-bit form), with the unsupported cases refused by name.All six are title-neutral, contain no game files or captures, and have the Windows checks green on their current head. CI caught one manifest regression in #2922 (fixed in
2ec454f9) and the new PSO replay test caught an unused depth-state serialization bug (fixed ina891727f). I am following reviews and will address findings on the same branches.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T11:07:42Z.
Community work after #3039
New C++ shader translator and resource-binding PRs should target
main. Contributors with an existing PR againstcpp-migrationcan keep working in the same PR. Check dependencies before changing the base, then review the resulting diff and rerun the relevant tests. Existing claims stay with their contributors.Please claim an available task on its GitHub issue and link the implementing PR there. #870 continues to track integration evidence. The merge of #3039 alone does not establish a new runtime milestone.
Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-27T14:16:00Z.
Integration update: shader and startup links from the last 24 hours
I screened issues and PRs updated from 2026-11-26 14:11 UTC to 2026-11-27 14:11 UTC. These are updates, not necessarily newly opened items; many old PRs were closed administratively. The following add relevant links or findings to this tracker:
main; independent synthetic native fixtures passed. A 300-second cold-cache comparison of base35f7197eand that base with tested PR heade56cb78dreported 498 versus 8,986 first-chance access violations and 1,126 versus 38 texture uploads. The later progress differs substantially, so the cause is not established. The maintainer requested event-aligned exception sites, an injected-manifest A/B, file-open progress and three dispatches before merge: comparison and requested follow-up. The PR head has since advanced; the comparison applies to the tested head.main; an independent RTX 4060 synthetic GPU readback passed, while the requested original-adapter and AMD retests remain relevant. The tracking issue remains open.cpp-migration; #3063 is open against that branch for mixed raw/typed descriptor contracts. Runtime validation of all selectable slots remains a separate requirement. Branch status should be checked before assuming these changes are inmain.For a cross-cutting view of container decoding, control flow, EXEC and resource provenance, DXIL bindings, PSO creation, execution and readback, I opened the shader pipeline tracker #3074. It links the existing work by stage and records the evidence needed for end-to-end progress.
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-27T17:04:13Z.
Independent counter receipt for the #3091 + #3094 stack (
b80513fd) on Windows: 300 s run, 5998 frames at 21.3 fps,translated draws 17636 (not drawn 47597),pipelines 3 translated / 8 missing,indirect forwarded 0(no dispatchmesh category),compute translated 0 / no translation 3460, peak commit 11888 MiB, clean timeout, black capture. Caveat: cold revision-29 cache and two parallel builds. Details in #3094. The mesh path is still not reached in the title run; this comment makes no regression or progress claim.Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-27T17:16:03Z.
Follow-up on the #3091 + #3094 stack, warm cache, idle machine. Run 3 (18 GiB): 6721 frames in 289.4 s (23.2 fps),
translated draws 60713 (not drawn 4047),pipelines 10 / missing 2,textures uploaded 1364,compute translated 3,indirect forwarded 0, peak commit 17181 MiB, stopped at 297.30 s on an access violation inXboxBvhBuilder.dll+0x1cef4(rcx=0). The loading path matches the 26/11 reference; the mesh path is still not reached, and the BVH builder is the next blocking crash. Details in #3094.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T17:46:58Z.
Saved-profile retest · 28 November 2026
With a copy of the existing save, the original executable reached the prologue using local integration build
2bd936f7-dirty, the native C++ shader translator, a warm shader cache and Python shader fallback disabled.The operator heard the prologue audio playing normally, but no visible 3D scene appeared in the window. The menu was visible, although some colored panels appeared to draw incorrectly. The existing gradient and textured-band investigations are #3131 and #3132. Whether either explains the missing prologue scene remains open. Visible character movement and control are still unverified.
The runtime logged 2,821 presents at 151.7 s and subsequently reported device removal with reason
0x887a0006(DXGI_ERROR_DEVICE_HUNG). The onset of the missing picture was not synchronized to that diagnostic, so its relationship to the visual failure is unresolved.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T18:50:36Z.
Empty-profile runtime validation · 2026-11-28
A local Windows 11 run on an RTX 4060 Laptop GPU used an empty profile, native C++ shader translation with Python fallback disabled, and manual input. The tester confirmed that the menus displayed and responded normally, including after the sampler and BC7 display-upload corrections. After entering the later sequence, audio was audible and responded to controls. Visible 3D scene rendering and on-screen character movement remain unverified.
The runtime recorded 7,395 presented frames by 301.8 seconds. The process exited with code 1 at 307.6 seconds. No D3D12 device-removal message was recorded in this run. The exit cause remains open.
The menu changes are in #3153 targeting main, with source-built WARP and hardware regressions for #3131 and #3132. The next rendering milestone is to identify the first missing scene-color write and verify visible response to movement input.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T21:35:10Z.
Mesh (slot 57) coordination: I posted which pieces we leave to #3091/#3094 and which we take, on #2413: https://github.com/R0Y00/Xbox2Windows/issues/2413#issuecomment-7228574536.
One question there for @R0Y00: Python
gfx2hlsl.pyor only the native C++ frontend for the remaining mesh slices?Draft #3198 ranks first shader refusals by blocked draws and dispatches.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T23:52:30Z.
The separate Series S diagnostic run in #3224 reported white output after the loading artwork, with 72 translated graphics pipelines and 490 missing. Its runtime was
c45bf9abplus diagnostic logging and optional solid fill. The offline compiler pass at14d56502grouped 13,403,432 untranslated compute dispatches, with resource-heap view selection, unbound descriptor-table addresses and numeric SGPRs accounting for 73.6%. This gives the translator and runtime owners a ranked workload. Visible 3D motion and on-screen response to controls remain unverified.The GPU-written indirect Dispatch chain is now covered by the separate source-built fixture in #3222, which checked fenced argument records, compute results and offscreen pixels on WARP and RTX.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T07:53:43Z.
Next 3D rendering checkpoint
The reviewed Mesh57 pixel-entry layout and its source-built W/XY fixture are in #3308, stacked on #3091. On the local integration both RTX and WARP returned the expected W value. The target color PSO and visible scene pixels remain open.
Accept the milestone when a real submitted Mesh draw changes a scene-color pixel, the compositor carries that value into a presented frame, and a fixed saved-profile run shows continuous scene motion and a repeatable on-screen response to input.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-28T10:55:17Z.
Update from the replay lane (#3206), in case it helps with the checkpoint above.
For criteria 1 and 2 of the milestone (a real Mesh draw changes a scene-color pixel, and the compositor carries that value into a presented frame), we can replay a recorded gameplay window against a build that includes #3308, #3309 and #3310. Per draw, we would report whether the scene-color target changed and whether that value reaches the presented frame. The runs are offline and need no live session. If that helps, tell us which branch or stack to build, and we will post the results here.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-29T02:31:22Z.
Reached the first in-game control hint at ~578 s and kept ~20 fps on it, on a local merge of
main212d4b5f+#3429 + #3097 + #3377 + #3391 (Windows 10, i7-4790K, 16 GB, RTX 3080 Ti, scripted input).
Nothing is drawn behind the hint yet (91 graphics pipelines translated, 540 missing). The title reads stick input
there and keeps loading.
Host load on the hint screen (580–1000 s): title CPU ~5.2 of 8 logical cores, GPU 3D ~17 %, so still CPU-bound.
Process commit 18.6 GiB at 1000 s, 22.1 GiB peak; on this 16 GB host the working set stays ~3 GiB with ~8,000
pages/s paged in. How much of the frame time that paging costs is not measured.
AI-assisted (Claude); I ran it and watched the screen.
Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T21:13:24Z.
Claiming launcher support for the native graphics interface catalog (stage: native graphics in start-up runs; refs #3477 item 7, #3495). On
mainff9dcef0,compile_dxil --index-graphics-interfaces REVIEWED_DIRECTORY CACHE_DIRECTORY(tools/startup/compile_dxil.cpp:1547) is called only from tests, never fromrun.ps1,run.sh,run_preset.pyorrun_presets.json. Unless the cache is seeded by hand, each fixed pixel entry is refused withfixed graphics entry requires matching stage interfaces(src/direct_compute_cache.cpp:702).Plan, one PR: an optional setting in
run.ps1,run.shandrun_preset.py/run_presets.jsonthat names a local reviewed container directory. The launcher runs the existing indexer into the run's shader cache before launch, after fresh-cache handling, and stops with a visible error on an invalid corpus. Off by default; no change to the runtime or the indexer. A section indocs/startup-runtime.mddocuments it.Tests use synthetic reviewed pairs, as in
tests/native_graphics_interface_library_check.py: cold install, install after fresh-cache rotation, invalid corpus fails. No application data is involved.Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T21:33:39Z.
Follow-up claim to the catalog launcher above (stage: native graphics in start-up runs), line numbers on
mainff9dcef0. With the catalog installed, the fixed-entry layout check (src/direct_compute_cache.cpp:721-732) still refuses a slot-57PSI1pixel entry whose interpolant count is zero, above seven, or above the reviewed pixel attribute count, withcaptured interpolation count disagrees with pixel interface(:727-728), and any captured/reviewed input address pair other than0x0002/0x0002and0x8002/0x0302, withunsupported fixed pixel entry layout(:730-732).Claiming two parts, one PR each:
Not covered: other input address forms (centroid, sample, linear, front face, pull model), left for later. Tests are modeled on
tests/native_graphics_interface_library_check.pyand the source-built fixtures oftests/native_direct_container_check.py, with refusal controls (zero with a PARAM consumer, count below a consumed location, over the limit, missing vertex export).Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-30T02:11:00Z.
Native refusal census on the cached requests (
compile_dxil --refusals, cacheout/startup/shader_cache):.a/.rtv.c67.m57All 476 mesh57 requests stop at
mesh request has no entry layout. The cache contains no.mslayoutand no.mesh57-stateprofile, so this is a layout gap before the mesh frontend reaches the group-index shape.Weighting needs care. The long UI run
gta6-long-20261130-1has 7,995 compute dispatches, all translated, and its indirect counters are zero includingdispatchmesh. The 2026-11-28 run reachedrefused graphics-pipeline ... dispatchmesh 1449772; I attach that aggregate once to the 476-request layout class, not per key. It cannot distinguish slot57 from slot86.The Python watcher still exposes 422 of the 476 mesh requests: 314
s_cbranch_execz, 69readfirstlane, 20 group-index exchange, 14 loop, 5 count exchange. These are not native first refusals until layouts exist. The cache also has 3,534.failfiles versus 3,028 current native refusals, so stale.failentries must not be counted as current blockers.Proposed next fixture: a source-built 128-thread wave64 triangle with
mesh1 128 3 1 2 128 64+guest_root, two root constants and one root SRV, plus pixel entry0x8002/0x8002/64split as the existing 12-byte.ps57in(PSI1, enable, address) andmeshps1 32770 32770 64in.pslayout. Compile the MS and PS as two explicit outputs; acceptance is that--refusalsmoves pastno entry layoutto a named next refusal or no refusal.The census did not modify tracked files.
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-30T02:48:59Z.
The title now reaches the mesh phase. Run
gta6-long2-20261130-1(620 s, 12,835 frames at 21 fps, no crash) passes the legal pages, shows the opening credits, and records:dispatchmeshrefused,graphics/no_translationdispatchmeshrefused,graphics/mesh_profile_missing.m57requests in the cache.ms57.cso/.mesh57-stateSo the presentation path is no longer the blocker for this phase: the title submits over a million mesh dispatches, but every request lacks a translated pair/profile. A second run with
X2W_MESH57_CAPTURE_STATE=1and a separate cache is capturing.s57creation archives so the fixed-state profile can be derived.Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-30T03:03:54Z.
Capture follow-up for the mesh phase:
gta6-meshstate-20261130-1produced 452.s57archives for 449.m57requests, with 0.mesh57-stateand 0.ms57.cso.dispatchmeshrefusals (248,260graphics/no_translation+ 625,911graphics/mesh_profile_missing), 4,864 frames at 7.6 fps.XboxBvhBuilder.dll+0x1cef4, second-chance access violation after 643.94 s. This is a separate BVH-builder crash, not a presentation failure.Compiler progress on the captured requests: the count clamp in PR #3537 moves one real request past
mesh count exchange exceeds declared range or lacks an unsigned bound. It now stops atgraphics register undefined on an incoming path: 265. The next runtime slice is to decode the.s57state A/B into a reviewedMesh57Profile; the BVH crash needs its own investigation.Imported from R0Y00/Xbox2Windows. Originally posted by mumba17 on 2026-11-30T13:56:02Z.
@lambirou, about the
XboxBvhBuilder.dll+0x1cef4stop in your 30 Nov mesh-state capture run (https://github.com/R0Y00/Xbox2Windows/issues/870#issuecomment-7267554367):That instruction is the first 8-byte store in a loop that fills 32-byte records. The loop writes through the pointer the builder just received from command-list slot 148 (
list_allocate_upload), and the builder never checks that pointer for null. If slot 148 returns null, the first store faults at a small address. So the access violation probably means slot 148 failed earlier in that same function.Slot 148 logs every failure as
x2w-render slot148 list=… stage=… hr=…, at most 12 times per failure class. Could you grep yourstderr.txtforslot148 list=? Thestagenames the cause:CreateCommittedResourceorMap: an upload page could not be created, from video-memory exhaustion or device removal;closed listormissing recording: a lifecycle gap on our side that we can fix.The exception record's faulting address would also confirm it: null plus a multiple of 32.
I could not reproduce the stop locally. Main
077bff3a, RTX 3090 (driver 32.0.16.1664), Windows 11 build 26300, shared presets from a saved profile:X2W_MESH57_CAPTURE_STATE=1and a fresh cache.s57writtenSo it may depend on your saved scene or on memory pressure at 7.6 fps. I'll take the fix once the
stageis known.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-30T14:31:03Z.
Main executable checkpoint · 30 November 2026
Tested main at
35a3f6d6with the asynchronous native Compute change. This was a manual run from a copy of the existing save profile, with the warm C++ shader cache, native-only shader translation, and Opus enabled. Full GPU command capture, the D3D12 debug layer, and per-call tracing were disabled for this run.0x00000001at 246.98 s, without the prior second-chance watchdog trap in its exit summary. This run establishes progress to the sequence above. The exit reason and longer-run watchdog behavior are still open.Refs #3451 for the watchdog investigation and #3541 for the first verified 3D scene draw.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-30T21:26:02Z.
@mumba17, two runs on a 6 GB card for the slot 148 question. Neither reproduces the
XboxBvhBuilder.dll+0x1cef4stop.Host: GTX 1060 6 GB, Windows 10 19045, main
bee9c64d, 22 GiB cap,X2W_D3D12_BUDGET=1, offline, 1,200 s limit.X2W_REFUSE_FIXED_MESH=1)slot148 list=failuresSo slot 148 kept working in run A, with local memory almost twice the budget for most of the prologue. Memory pressure alone does not seem to produce the null. That fits your guess that it depends on the saved scene. Run A used a fresh shader cache, so its first 9 minutes were mostly translation.
Run B is for #3541. Edited after a third run with thread dumps; the first version of this section was wrong. I had said declining slot 57 does not reach slot 86. It does: the slot 86 creation log is capped, which hid the calls.
With
X2W_REFUSE_FIXED_MESH=1, the title builds its mesh pipelines through slot 86 instead, and the loading screen is throughput-bound, not stuck:X2W_DUMP_AT) published 7,056 slot 86 mesh requests in 1,200 s, covering 3,875 distinct MS/PS/root combinations. Run B published 13,613. They are new pipelines, not retries.try_cached_mesh86holds one function-wide lock (mesh86_cache.inl:228) whilepublish_shader_requestwrites four request parts, each a probe, a temporary file and a rename, into a cache folder that by then held over 100,000 files.root bindings outside supported profile, so these requests end in a placeholder on this path anyway.dispatchmeshis issued. So the load waits for this pipeline creation to finish.So the switch does not hang the title. It moves this title's whole mesh pipeline set onto slot 86, where request publication caps the rate. Publishing outside that lock, or only for requests the root check can accept, would show whether the load then completes.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-30T23:52:54Z.
A follow-up and a correction to my earlier runs, on the same host: GTX 1060 6 GB, Windows 10 19045.
Correction. Those runs were started with an older hand-written
run.ps1line instead oftools/startup/run_preset.py. That line left out-SuspendOthers 0,X2W_PROBE_PRECHECK=0,X2W_D3D12_RELEASE_RETIRED=1and the other preset settings. It caused the choppy intro video and audio in those runs and roughly doubled the time to the loading screen. Withrun_preset.py --console x --gpu nvidia, the intro and menus are smooth and the loading screen came at 92 s instead of about 200 s. The slot 148 result is unchanged: still 0 failures.Preset run (
mainbee9c64dwith #3664; slot 57 accepted):dispatchmeshrefusedmesh_profile_missing, 40,844no_translationRELEASE_RETIREDhad dropped 5,000 references0x887a0005, first seen after a queue execute); no presents after 501.6 sWhat ends these runs on this card. It is the title's own watchdog, not a stand-in fault:
So on a 6 GB card, the live texture total is what ends the run once the prologue loads. I'll put the budget numbers on #874.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-12-02T13:16:23Z.
@R0Y00 — a newer run, on current
main, with the three things you asked for.Build.
a70fa1db(= upstream158ef794merged, plus one local overlay patch for render-target upload that is not part of any PR). Cross-compiled with clang-cl 19 and an xwin SDK splat, run under Wine 11 + vkd3d-proton on a GTX 1660 SUPER. This is a translation-layer run, not Windows verification.Last responsive page. With an unseeded first-run storage the setup flow completes brightness, "finish setup" and legal notices, and reaches the legal terms & policies page: two acknowledgement checkboxes unticked,
Confirmgreyed out. Ticking both recomputesConfirmto enabled and the cursor reaches it. The page then never advances, even thoughX2W_INPUT_TRACEshows the A press is delivered (buttons=0x4at script 410.0–410.3 s, released 410.325), a 1.5 s hold behaves the same, and the title keeps presenting ~29 fps (12.1k frames in 412 s) rather than hanging.Note this is a different path from the
b9c9f624menu-navigation record you cited: that one had seeded storage and went straight to the menu, so I cannot call the confirm stall a regression. It is simply a path that record never reached.First observable error, sanitized. Once rendering begins,
slot 70memory-SRV refusals appear with these categories:unsupported_description(view dim 5 / 9 / 10 — cube, array and 3D-array shapes),buffer_unavailable,texture_unavailable,texture_no_resource. The dominant one by count is a compute dispatch refusal category,input is in a placed buffer that does not alias title memory(~11.6k dispatches, translated 0), which matches #2764. No device removal, no D3D12 debug-layer messages (layer off).I do not reach #1758's BVH HRESULT on this build, because the terms confirm never fires. If it is useful I can re-run against the same storage seeding the
b9c9f624record used, so the two are directly comparable — say which seeding you want and I will match it.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T20:34:21Z.
Thanks, @triggered02. Yes, please use a local copy of the same seeded profile that let
b9c9f624reach the menu. If practical, run it alongside a fresh profile on one currentmainbuild under the same Wine/vkd3d setup. Use the same shader-cache starting state and keep the render-target overlay off for both runs if the build can start without it. Please report the exact commit, whether Confirm advances or the seeded profile reaches the menu, and the first sanitized refusal or exception in each run. A text summary is enough. Keep the profiles and raw logs local.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T23:09:58Z.
#3879 is now in
mainatc42b7ce3. The source-built indirect dispatch fixture verified that a single zero-flag DispatchL2 record reaches desktop Dispatch on WARP and RTX 4060 Laptop. A nonzero flag kept the placeholder and left the target unchanged after the fence. In the PR author's 300-second local executable run, those signatures moved from the placeholder bucket to the compute-pipeline refusal bucket, and no 3D output was observed. Please include both bucket counts on the next matched run so we can tell where those calls stop on the new build.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T08:07:12Z.
#3914 is in
mainatd2e6a4ed. It keeps coherent placed-buffer refresh available viaX2W_COHERENT_PLACED_REFRESH=1and defaults it off. In the author's matched 360-second application comparison, the run with refresh off did not hit the later-scene fence stall seen with refresh on. My independent check covered source-built fixtures only: 16/16 passed, and re-enabling refresh reproduced the indirect refusal-census pixel mismatch on WARP and RTX 4060 Laptop. The stall’s cause remains open. For the next matched application run, please record the switch value alongside the commit and first fence-wait or refusal.I also rebuilt the exact merge commit
d2e6a4edwith MSVC and reran the 13 affected indirect/compute regressions and three switch checks. All 16 passed, with hardware and WARP exercised and no capability skips.