Skip to content

D3D12.X: couple deferred sync-cell publication to stored memory - #2439

Draft
LANgmas wants to merge 2 commits into
xcl-dev:mainfrom
LANgmas:d3d12x/sync-cell-store-before-publication
Draft

LANgmas wants to merge 2 commits into
xcl-dev:mainfrom
LANgmas:d3d12x/sync-cell-store-before-publication

Conversation

@LANgmas

@LANgmas LANgmas commented Nov 25, 2026 •

Copy link
Copy Markdown

Open for design review — draft. The integration relationship with the existing deferred-Write64 work (#850, #562/#1643/#1819) is an open maintainer design question; coordination comment: #1607 (comment) — please read it before reviewing shape rather than detail.

What and why

On console, Write64BitValue* progress values are written by the GPU itself in execution order, so a consumer that observes a fence value can rely on the memory content being present. XCL defers non-aperture writes to CPU worker threads, and for writes to registered sync cells two ordering defects result:

  1. Publication-before-store: the consumer-visible sync-cell fence advances in GPU submission order while the CPU store happens later on the worker — dependent GPU work can be released onto memory the worker never wrote. Reproduced on unmodified main with a hardware test: a consumer dependent copy executes and reads the stale sentinel (0x0); with this change it reads the written value.
  2. Cross-queue stale overwrite: two values for one sync cell produced on two queues retire through independent workers with no shared ordering; the older store can land after the newer one and revert memory contents even though every individual write was locally correct.

The invariant this change implements: a deferred sync-cell value must not be published to consumers before the corresponding CPU store has actually completed.

What is in it

  • list_x.rs (+175 production, first commit): classify registered sync-cell MARKER_OUT writes at the real write64_bottom_x interception path; stored_max/cpu_signaled_max watermark separation on the sync cell; sync_cell_deferred_store serializing staleness decision + memory store + watermark update + publication in one critical section per cell; publication gating so the consumer-visible fence never leads confirmed stored memory; stale-store suppression; consumer publication retry and fence backfill for late consumers; signal suppression in the GPU path; cycle-break participation in the stored watermark.
  • cpu_writes.rs (+144/−30): per-queue workers; Write::SyncU64 carrying the cell generation; strict producer-fence completion for classified writes; confirmed-store contracts; queue-release cancellation with a bounded grace — abandoned jobs never store and never publish; bounded device-gone exit of the strict wait.
  • list_x.rs (+30 production, second commit 336c6c2): the same-batch deferred self-wait resolution — see below.
  • Tests: hardware tests covering the full interception→GPU-readback chain, publication causality (memory alone never releases a consumer), cross-queue inversion suppression, publication-failure honesty, abandonment permanence, bounded lifecycle, backfill, an injected device-removal exit, and the two self-wait ordering tests below.

Same-batch deferred self-wait (second commit 336c6c2, in response to review)

bmjask's review found that a deferred sync-cell write followed by a wait on the same cell in the same command list can take try_gpu_wait's same-batch CycleSkip — treated as handled — while the deferred CPU store only happens after submission, so work ordered behind the wait executes before the marker exists.

Investigation refined the picture:

  • Normal title-created lists are wrapped (device_x.rs wraps every title-created command list) and the record-time split moves such a wait into its own PC segment; the write and the wait never share a submission. This path already orders correctly — pinned by d19_title_list_self_wait_orders_the_work_recorded_after_it, which records write → wait → copy in ONE title list through a real title_list wrapper and proves the copy is held until the store publishes. It passes before and after the second commit.
  • The residual no-split cases (no wrapper, bundle, unknown allocator, segment budget exhausted, XCL_SPLIT_MIDLIST_WAIT=0) were the real defect: the wait stayed on the same list and CycleSkip silently discarded it. Reproduced through the production chain — write64_bottom_x/wait64_x/execute_with_waits_on/signal_write64_fences/cpu_writes_after — in d19_deferred_self_wait_is_not_dropped_for_following_work.

What 336c6c2 does in the residual case: the wait is neither hoisted (a GPU wait before the list would deadlock — the strict store needs this list's own completion) nor skipped. The list is submitted alone, then the deferred self-wait is enforced on the submission thread — bounded by the existing 2 s wait timeout with a warning — before anything after it is submitted. Waits recorded before their producing write keep the existing skip: no ordering can satisfy those and none is promised. Submission granularity already varies in this path (batches are split around waits), so the solo submit is not a behavior change in kind.

Known remaining limitations (not resolved cases)

  • Unsplittable same-list tail work: when the split genuinely cannot happen, commands recorded after the wait inside the same unsubmitted list cannot be ordered exactly by the submit-then-wait fallback — no submission-boundary mechanism can order behind a point inside an unsubmitted list. The fallback orders everything behind the waiting list; the record-time split is the only exact answer, which is why it is the production default. Not all same-list self-wait cases are solved.
  • KickoffX shares the defect shape (drained waits go through the same wait_all_on before a single exec). It is deliberately unmodified: no production-path regression test currently proves the defect there, and this PR only fixes what is reproduced. It is a separate unclosed investigation.
  • Watchdog rescue can still release dependent GPU work whose memory never arrived (pre-existing main behavior, identical with or without this patch). The watermarks make that case distinguishable without changing the policy.
  • Generation/VA-lifetime design: generation capture covers the non-monotonic transition era, but free/realloc without a transition remains a pre-existing registration-lifetime gap this patch neither closes nor worsens.
  • Non-UMA top-of-pipe write classification (out of scope). Ordinary (non-sync-cell) deferred writes take the same paths as before.

Wine/vkd3d reports (SlopTart) — investigated, not resolved

Two deterministic failures on Wine/vkd3d-proton 3.1, reproduced solo at --test-threads=1 and unchanged when combined with #2499:

  • d11_consumer_cannot_observe_deferred_value_before_the_cpu_store — the dependent copy executes early and reads 0x0 (~0.42 s, no watchdog involvement).
  • d11_publication_not_memory_releases_the_consumer — the store itself never lands within 5 s; the armed-wait watchdog releases at ~5.1 s as a symptom.

Source-level analysis (no Wine lane was available for verification): both shapes are consistent with one backend divergence — on vkd3d-proton, device-side queue.Wait not observing host-side ID3D12Fence::Signal the way native D3D12 does. This design depends on that behavior inherently: a CPU-side store can only ever be published by a CPU-side signal, and the only correct release path is host-side publication after the store. This is a hypothesis, not a proven universal cause — pinning it needs a Wine lane with vkd3d debug logging. The failures are not fixed; the tests are not weakened or skipped; on native Windows both pass deterministically (11/11 twice).

RTX 3060 Ti recompiler report (DavidM1911) — exact-parent control negative

gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier was reported failing on RTX 3060 Ti. This PR touches only cpu_writes.rs/list_x.rs. Control run on RTX 3050, cargo test -p xcl --lib gpu::recomp::lower_dxil -- --test-threads=1:

  • pristine exact parent 2898511af1c038a2ef809719e9b6f89e5675c422 → 21 passed / 0 failed
  • this PR's head → 21 passed / 0 failed

Current evidence does not attribute the failure to this patch. One provenance question remains open: the reported panic line (lower_dxil.rs:1155, pre-c828d8c assertion text) does not match any tree this PR or its base could produce, so the reporter's exact tested SHA is unresolved and the hardware difference (3060 Ti vs 3050) cannot be excluded.

Tested

Hardware: RTX 3050 Laptop, real D3D12, Windows. Base commit 2898511af1c038a2ef809719e9b6f89e5675c422 (upstream main at branch creation). Test categories below are deliberately kept separate — they are not interchangeable evidence.

Production-path regression tests, real hardware, at head 336c6c2eeafbef907e3d47c72624158a3c52f2d0 (--test-threads=1 throughout, deliberate: several tests share global injection slots):

  • cargo test -p xcl --lib d19_ → 2/2, 5/5 consecutive runs; the same tests fail 3/3 runs on the same tree with only the enforcement logic reverted (fail-before proof: the copy behind the dropped wait reads 0x0, with the exact skipped to avoid same-batch self-deadlock log line)
  • cargo test -p xcl --lib d13_ → 3/3
  • cargo test -p xcl --lib d11_ → 11/11, two consecutive runs
  • cargo test -p xcl --lib hle::d3d12x (module regression) → 260 passed / 1 failed / 2 ignored — the one failure (bind::execute_indirect_reads_the_arguments_written_before_it at bind.rs:1225:13) is byte-identical on pristine upstream in a path this patch does not touch

Exact-parent controls:

  • gpu::recomp::lower_dxil module: base 2898511a 21/21 = head 21/21 (above)
  • earlier validation of the first commit's byte-identical content at 3f2777019544c0ada2cd294aa792d3c378ff0df8: module regression 258/1/2 vs pristine same-SHA baseline 244/1/2 — delta exactly the 14 added tests, zero collateral

Backend-specific evidence (reporter's lane, not reproduced locally): Wine/vkd3d-proton 3.1 — two deterministic failures analyzed above, unresolved.

Injected-seam tests (clearly labeled cfg(test)): device-removal worker exit and publication-failure injection are test-only seams at the decision boundary — not physical GPU removal, not production behavior.

Not tested

  • No retail-title validation exists or is claimed — all evidence is synthetic hardware tests plus the labeled injection seams.
  • scripts/smoke.ps1 regression blocks not yet run (merge prerequisite; will produce them if this moves toward merge readiness).
  • Hardware coverage is one machine/one vendor locally; the reporter lanes (Wine, RTX 3060 Ti) are documented above rather than reproduced.
  • The full workspace test suite was not rerun end-to-end on this head.

AI use

Implementation, tests, verification and this description prepared with Devin CLI, SWE-2.1 Max under human direction; all test counts are real executions on the hardware named. Multi-phase independent review of the invariants (line-cited), evidence-gap closure, and repeated forward-port verification preceded this PR.

A deferred non-aperture Write64BitValue store runs on a CPU worker while the
consumer-visible sync-cell fence advances in GPU submission order, so a
consumer can be released onto memory the worker never stored; values for one
cell produced on two queues also retire through independent workers with no
shared ordering, letting an older store overwrite a newer one in memory.

Classify registered sync-cell MARKER_OUT writes at the real interception path,
retain them until the producer fence completes, and publish only what the
stored watermark confirms: staleness decision, store, watermark update and
publication are serialized in one critical section per cell, stale stores are
suppressed, and late consumers backfill/retry. Queue release cancels strict
jobs with a bounded grace; abandoned jobs never store or publish. Watchdog
rescue policy unchanged.

Measured on an RTX 3050 Laptop (real D3D12): 14/14 focused hardware tests
pass in consecutive serialized runs; module regression delta exactly +14/0
against a pristine same-SHA baseline.

Assisted-by: Devin CLI (SWE-2.1 Ultrafast Max)
@SlopTart

SlopTart commented Nov 25, 2026 •

Copy link
Copy Markdown

FAILS on the Wine/vkd3d lane: 2 of the 11 new d11_* sync-cell tests fail here, deterministically (3/3 solo at --test-threads=1); I have no native run of this head to compare against. Head 534529f1 on top of current main; suite 160 passed; 4 failed (baseline quartet), then targeted d11_ runs: 9 passed / 2 failed, 24 s.

The two have different signatures:

  • d11_publication_not_memory_releases_the_consumer: fails at list_x.rs:7508 after 5.12 s, i.e. the xcl-sync-watchdog releases the bridged GPU wait on the CPU: GPU queue.Wait at 0x3e1220 >= 0x64 did not complete within 5000 ms (waiter=q0/ty0, prod=qSome(0)/tyNone, recorded=0x64, submitted=0x64, completed=0x0) - released on CPU to prevent GPU hang. On this lane (vkd3d-proton 3.1) the fence the wait keys on never completes, so the test's premise "consumer stays blocked on the GPU" turns into "watchdog releases at 5 s" before the assertion. XCL_GPU_WAIT_RELEASE_MS (D3D12.X: XCL_GPU_WAIT_RELEASE_MS sets when a stalled GPU wait is released #1046) may be the intended lever for tests that arm this path.
  • d11_consumer_cannot_observe_deferred_value_before_the_cpu_store: fails at list_x.rs:7377 in 0.42 s, a plain assertion, no watchdog log. This one is not a timing artifact; it is a straight behavioral divergence on this lane.

Other nine d11_* tests pass, including the watchdog-release and cross-queue monotonicity ones.

gpu_ suite (cold cache): 160 passed / 4 failed, no crashes. Three are the known baseline trio on this lane; the fourth is gpu_promoted_uav_clear_values_pass_create_committed_resource, newly red on main since #2280 (report), unrelated to this PR.

@DavidM1911

Copy link
Copy Markdown
Contributor

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: 1 real failure, deterministic (also fails --test-threads=1, 1219/1):
gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier
  assertion failed: group barriers in the program (lower_dxil.rs:1155)

The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge.

— Devin

@throny throny added the goal:world-load Bears on the retail title getting past world loading label Nov 25, 2026

@bmjask bmjask left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: deferred same-batch self-waits are still silently skipped. For a deferred registered sync-cell write then later wait, try_gpu_wait takes CycleSkip because list_writes contains the producer; execute_with_waits treats that as handled. But SyncU64 CPU store occurs only after the submission completes, so post-wait GPU commands run before the marker exists. The new deferred-aware check misses this self-wait branch. Split/submit at the wait or use another ordered mechanism; queue.Wait is not a simple fix because it would deadlock the worker. Add this exact regression.

@SlopTart

Copy link
Copy Markdown

Follow-up on the two Wine-lane reds from my earlier comment: re-tested this PR's d11_* tests on a merge of this head plus current origin/main plus #2499's armed-wake watchdog fix.

Still 9 passed; 2 failed, same two tests, same timing: d11_consumer_cannot_observe_deferred_value_before_the_cpu_store at 0.42 s (assertion at crates/xcl/src/hle/d3d12x/list_x.rs:7377) and d11_publication_not_memory_releases_the_consumer at 5.1 s (released by the GPU-wait watchdog, not by the publication).

So #2499's fix (watchdog not missing a wake armed during its check) does not cover these two. The shape that stays red on wine-11.0 / vkd3d-proton 3.1 is: a bridged Wait64 whose producer store is made on the CPU side never takes the memory-release path here, and the consumer-observation assertion at list_x.rs:7377 fails outright rather than by timeout. Deterministic on this lane (both reproduce solo at --test-threads=1).

@LANgmas

LANgmas commented Nov 26, 2026

Copy link
Copy Markdown
Author

Thank you all for testing and reviewing this so quickly. Conversation comments and review summaries can't be threaded, so each section below links the item it answers. The PR stays a draft while these are open.

@SlopTart: Wine/vkd3d report (comment)

Thank you for the deterministic reproduction, and in particular for keeping the two signatures apart; that separation is what makes this actionable. Both are real findings, and nine passing tests do not offset them.

  • d11_consumer_cannot_observe_deferred_value_before_the_cpu_store, 0.42 s, no watchdog log. Agreed that this is not timing noise. At this PR's head, list_x.rs:7377 is the observed == 100 assertion ("released before the CPU store landed"), which comes after the sentinel check. Read that way, the dependent copy ran and read something other than 100, so the ordering this PR exists for does not hold on that lane.
  • d11_publication_not_memory_releases_the_consumer, 5.12 s, with the watchdog releasing the bridged wait (completed=0x0). At this head, :7508 is the 5 s wait for the worker's store ("store never landed"). Read that way, the store itself did not arrive within 5 s of the producer hold being signalled, and the watchdog release is the same absence seen from the consumer side.

I will investigate these as two separate items: what released the consumer and what the copy read in the first, and why producer-side completion and the bridged wait do not progress on vkd3d-proton in the second. XCL_GPU_WAIT_RELEASE_MS looks useful there as a diagnostic lever; I won't treat a different timeout as a fix.

Both line numbers land on assertions inside the named tests at the PR head, which is why I read them as above. If your merged tree numbered them differently, the panic strings from the logs you already have would settle it; no rerun needed.

@DavidM1911: RTX 3060 Ti run (comment)

Thank you for the independent run on a second NVIDIA card. Acknowledged: gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier fails deterministically in your tree.

This PR changes only cpu_writes.rs and list_x.rs, but that alone does not show the failure is unrelated. I will run an exact-parent control: that test at this PR's head and at its parent on main, same machine and settings, and report whether it is pre-existing on that base, introduced here, or an interaction in the merged tree.

One detail to pin down the tested tree: the message you quote (group barriers in the program, lower_dxil.rs:1155) is the form that assertion had before #2420 (c828d8c). This PR's head, its base 2898511a and current main all carry the later form (group barriers after entry branch, line 1156). Which main commit was merged into the tree you tested?

@bmjask: P1 review (review)

Thank you. This is a control-flow case the PR misses, and your description of it is exact. I traced it at head 3e12eda:

  • a deferred registered sync-cell write is recorded, and a later wait in the same command list targets that cell;
  • try_gpu_wait reaches the same-batch self-wait branch (sub_max < w.value, and list_writes contains the producer) and returns CycleSkip. That branch has no deferred check, unlike the same-queue FIFO branch directly above it;
  • wait_all_on treats CycleSkip like Handled, so execute_with_waits_on submits the list whole;
  • the SyncU64 store runs on the worker only after that submission's producer fence completes;
  • so the commands recorded after the wait execute before the marker is in memory.

That is a correctness gap against what this PR claims. The branch itself is inherited from main, but the deferred-aware check added here should have covered it.

Agreed that queue.Wait is not the fix: hoisted ahead of the submission that contains the producer, it waits on a fence the worker publishes only after that same submission completes, so neither can make progress.

I will write the exact regression first (deferred write, same-list wait, GPU work after it, through the production record and wait path), then look at an ordered split/submit at the wait or another mechanism that keeps queue order and cannot deadlock. So far this is traced by reading, not reproduced. The review stays open until a test shows the behaviour before and after.

@SlopTart: follow-up with #2499 (comment)

Thank you for the extra combined-tree run; it rules out something I would otherwise have had to guess at. Acknowledged: with this head, current main and #2499's armed-wake fix merged, the same two tests stay red with the same timings, so #2499 does not address them.

I will keep two things apart. One is the watchdog missing a wake armed during its check, which is what #2499 fixes. The other is what you describe here: on wine-11.0 / vkd3d-proton 3.1, a bridged Wait64 whose producer store is made on the CPU side does not take the memory-release path, and the consumer-observation assertion fails outright rather than by timeout. Both stay on the list as separate items.


AI use: written with Devin (Claude Fable 5.2 High) under human direction. Nothing in this comment is a new test result; the code reading above is of the PR head 3e12eda.

Review of the store-before-publication change (bmjask on xcl-dev#2439)
found the control-flow gap: when a Wait64 on a sync cell is recorded after
this list's own CPU-deferred Write64 of the awaited value and the record-time
split cannot move the wait to a segment of its own (no wrapper, bundle, no
allocator, segment budget), try_gpu_wait takes the same-batch CycleSkip and
the wait is silently dropped - work ordered behind it executes before the
deferred store exists in memory. Hoisting the wait before the list is no
answer either: the strict store needs this list's own completion, so a GPU
wait ahead of it deadlocks.

The wait is now neither skipped nor hoisted: the list is submitted alone and
the wait is enforced on the submission thread behind it, before anything
after it. The producer retires independently, so the wait is bounded by the
producer's completion (with the usual timeout fallback), not a deadlock.
Waits recorded before their producing write keep the existing skip: no
ordering can satisfy those and none is promised.

Regression evidence on RTX 3050: without the fix the new
d19_deferred_self_wait_is_not_dropped_for_following_work fails 3/3 runs with
the CycleSkip log line and the copy behind the wait reading 0; with the fix
both new tests pass 5/5 runs, d11 11/11 twice, d13 3/3, d3d12x module
260 passed / 1 failed (the pre-existing execute_indirect_reads failure,
unchanged). The second test drives the same shape through a real title_list
wrapper - the record-time split path - and proves the work recorded after
the wait there is held by the bridged wait until the store publishes; it
passes before and after, pinning the intended behavior of the main path.

KickoffX shares the defect shape but no regression test drives that path
yet; left as-is and reported.

Assisted-by: Devin (SWE-2.1 Max)

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@LANgmas

LANgmas commented Nov 26, 2026

Copy link
Copy Markdown
Author

@bmjask — follow-up on your P1 review (posted as a conversation comment because the review has no inline thread to reply under). Thank you again for identifying the same-batch self-wait case — the reproduction confirmed you were right that the ordering was silently lost, and commit 336c6c2 now addresses it. The investigation did refine where the defect lives, and I want to be precise about both what is fixed and what is not.

Where the reviewed shape does not arise. Every title-created command list is wrapped (device_x.rs), so the record-time split moves a wait that follows the list's own Write64 into a fresh PC segment — the write and the wait never share a submission, and the bridged wait releases only when the store publishes. New test d19_title_list_self_wait_orders_the_work_recorded_after_it drives exactly your scenario — deferred Write64, Wait64 on the same cell, then a copy, all in ONE title list through a real title_list wrapper — and proves the copy is GPU-held until the store publishes. It passes before and after the fix, pinning that this main path was already correct.

Where it was genuinely broken, reproduced as you described. When the split cannot happen (no wrapper, bundle, unknown allocator, segment budget, XCL_SPLIT_MIDLIST_WAIT=0), the wait stays on the same list and CycleSkip discards it. d19_deferred_self_wait_is_not_dropped_for_following_work drives that residual through the production chain (write64_bottom_x/wait64_x/execute_with_waits_on/signal_write64_fences/cpu_writes_after): unfixed it fails 3/3 runs — the exact "skipped to avoid same-batch self-deadlock" log fires and GPU work behind the wait reads 0x0 before the marker exists.

The fix (336c6c2): no queue.Wait hoisting — you were right that it deadlocks, since the strict store needs the list's own completion. Instead the wait is neither hoisted nor skipped: the list is submitted alone, then the deferred self-wait is enforced on the submission thread (bounded by the existing 2 s timeout with a warning) before anything after it is submitted. The producer retires independently once in flight, so this is bounded by completion rather than circular. Waits recorded before their producing write keep the existing skip — no ordering can satisfy those. Fixed: 5/5 passes; d11 11/11 twice, d13 3/3, module 260/1/2 with the one failure byte-identical pre-existing.

What is explicitly not solved, so you can judge scope honestly:

  1. In a genuinely unsplittable list, commands recorded after the wait inside the same unsubmitted list cannot be ordered by this fallback — no submission-boundary mechanism can order behind a point inside an unsubmitted list. The fallback orders everything behind the waiting list; the split remains the only exact mechanism.
  2. KickoffX shares the defect shape and is unmodified — no production-path regression test proves it there yet; it is a separate unclosed investigation, documented in the PR description.

Does this resolve the P1 scenario you reported to your satisfaction, and are the two documented residual limitations acceptable for this PR's scope? I have not marked anything resolved — the thread is yours.

Evidence detail is in the updated PR description (sections "Same-batch deferred self-wait" and "Known remaining limitations"). AI use as disclosed there: Devin CLI, SWE-2.1 Max.

@pickles976

Copy link
Copy Markdown

Wine/NVIDIA follow-through on 336c6c2eeafbef907e3d47c72624158a3c52f2d0: distinguish fixture admission from ordering.

  1. With owner production and fixtures (only fail-closed adapter checks and panic-safe release of the held test fence), d19_ produced0passed/2failed. The first test logged Write64BitValueBottomOfPipeX ... not in unified memory and Wait64BitValueX ... not readable memory for its mapped upload-buffer address, then failed pending_waits.len():0,expected1. The second failure was LISTS mutex poisoning from that assertion, not an independent ordering observation. Log verify-pr2439-d19-wine.log. Thus this run never exercised the intended ordering contract; I have not attributed it to host-side fence Signal behavior.

  2. Adapted test memory only: d11_cell_buffers now allocates64KiB with VirtualAlloc(MEM_RESERVE|MEM_COMMIT,PAGE_READWRITE), imports it via real ID3D12Device13::OpenExistingHeapFromAddress1, and creates a256-byte cross-adapter placed buffer in COMMON state plus the original readback buffer. Committed allocation/heap are held for the fixture lifetime; original sentinel/data assertions remain. Assert both production cpu_writes::writable and shader readable before driving the interception. No production guard bypass or production changes. This lets the CPU and real GPU observe the same Windows-committed memory rather than the upload mapping rejected above.

Both d19_deferred_self_wait_is_not_dropped_for_following_work and d19_title_list_self_wait_orders_the_work_recorded_after_it then passed: 2passed/0failed/0ignored,1.11s, fresh compile25.14s. The real mid-list split logged, and dependent GPU copies met both sentinel and100-value assertions. Log verify-pr2439-d19-imported-memory.log.

Platform: Wine11.0, RTX4060Laptop8GiB, NVIDIA590.48.1, DXVK3.1.1, diagnostic relaxed vkd3d-proton3.2.0 2576c0b4adfae4a+ (assertions disabled, allocator/list from_iface vtable checks removed, null checks retained). Real NVIDIA enumerated, serial fixtures, vendor masking off. Same6,000MiB GPU/2,048MiB availableRAM/10GiB disk guards and9GiB/512MiB scope caps. Not stock-runtime certification, not a pristine-owner-fixture pass, not a full d11_/d13_ matrix or title proof. These results do not resolve the other reporter's two Wine failures or the documented watchdog/unsplittable-tail limitations; they do show a concrete fixture-admission distinction worth checking before assigning a universal fence-publication cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

goal:world-load Bears on the retail title getting past world loading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants