Skip to content

d3d12_xs: device slot 133 (CreatePlacedResourceX) makes a buffer on the title's own pages (VK_EXT_external_memory_host) - #7218

Open
tibzejoker wants to merge 10 commits into
ItsNotRexed:mainfrom
tibzejoker:slot133-host-va
Open

tibzejoker wants to merge 10 commits into
ItsNotRexed:mainfrom
tibzejoker:slot133-host-va

Conversation

@tibzejoker

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue: #6750 (comment) (design note: #6750 (comment))

Depends on: #6953 (the proxy table must reach slot 133). Relates to #6995 (xmem physical pages) and #6915 (docs/retail_boot_chain.md, §3.4).

What and why

Xbox device slot 133 is the console's CreatePlacedResourceX: (va, desc, state, clear, riid, out). The retail title places a buffer at the VA of a physical-page range it has just mapped. Until now the slot either jumped through a missing entry or, in #6915's local stand-in, got an unrelated committed buffer, so what the title writes at va never reached the GPU.

  • d3d12_xs: slot 133 masks the Xbox flag bits down to the PC ones, makes a buffer's layout ROW_MAJOR (as slot 76 does), and hands the call to a handler that the device behind the proxy registers (set_placed_at_va_handler). With no handler (a PC device), it answers E_NOTIMPL whatever the arguments, as d3d12_xs: the device proxy table covers slot 133, so slots past the PC vtable refuse instead of jumping to 0 #6953's table does. The handler keeps d3d12_xs_device.cpp linkable without the Vulkan layer (the mock tests).
  • Vulkan layer: create_buffer_at_host_address imports [va, va + width) with VK_EXT_external_memory_host and binds a VkBuffer to it. The CPU's writes there are the GPU's reads, with no copy. The resource's console VA is the title's own VA, so views and immediate writes the title names by that VA resolve to it through the buffer VA index. Textures are E_NOTIMPL and a VA off the import alignment is E_INVALIDARG.
  • The extension: the device (and vk_test_device.h) enables VK_EXT_external_memory_host when present. The same import backs ID3D12Device3::OpenExistingHeapFromAddress, which now answers as the host runtime does (8 cases, below) instead of E_NOTIMPL. CheckFeatureSupport(EXISTING_HEAPS) follows the extension. Placed resources in such a heap are refused and logged for now.

Not decided here: a shader computes heap_base + console_va, so the title's own V#s that point into these pages don't reach them. That needs the single address space of docs/d3d12_vulkan.md §3.3 (options in the design note above). This PR makes the data path and the VA bookkeeping right without picking one.

Tested

RTX 4090, driver 617.42, Windows 11 26200, MSVC 2022 RelWithDebInfo:

AI-assisted: yes (Claude Code).

🤖 Generated with Claude Code

Pipodi and others added 5 commits November 23, 2026 16:30
…e PC vtable refuse with E_NOTIMPL

The retail title calls device slot 133, past the 128-entry table; the call read an empty entry and jumped to 0.
Every slot beyond the PC device's vtable now reaches the generic thunk. Mock test covers slot 133.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ory (VK_EXT_external_memory_host)

The retail executable opens the 64 KiB graphics region it has just committed with XMemVirtualAlloc
through device slot 48 right after its first queue and fence; the layer answered E_NOTIMPL and the
title asserted.

The call now answers as the host runtime does on an RTX 4090 and WARP (six cases measured in
d3d12_existing_heap_test): the base of a VirtualAlloc allocation committed read-write over its whole
size opens a heap of that size, 64 KiB aligned, CUSTOM / WRITE_BACK / L0, SHARED |
SHARED_CROSS_ADAPTER | ALLOW_SHADER_ATOMICS; an inner address, a partial or reserve-only commit
and a read-only range are E_INVALIDARG. The backing is the range itself, imported with
VK_EXT_external_memory_host, which the device and the test device enable when present.
CheckFeatureSupport(EXISTING_HEAPS) follows the extension. Placed resources in such a heap are
refused (E_NOTIMPL, logged) until the placed path addresses memory outside the arena.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… an uncached one is refused

Measured on the RTX 4090 and WARP: PAGE_READWRITE | PAGE_WRITECOMBINE is accepted with
CPUPageProperty WRITE_COMBINE, PAGE_READWRITE | PAGE_NOCACHE is E_INVALIDARG. Two new cases in
d3d12_existing_heap_test; 8 of 8 match both host devices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he title's own pages

Xbox device slot 133 is (va, desc, state, clear, riid, out): the title places a buffer at the VA of a
physical-page range it has just mapped (docs/retail_boot_chain.md 3.4, ItsNotRexed#6915). The proxy now hands it to
a handler the Vulkan layer registers (set_placed_at_va_handler), which imports [va, va + width) with
VK_EXT_external_memory_host and binds a VkBuffer to it: the CPU's writes there are the GPU's reads with no
copy, and the resource's console VA is the title's VA, so views and immediate writes the title names by
that VA resolve to it through the buffer VA index. The Xbox flag bits above the PC ones are dropped and
the layout made ROW_MAJOR, as slot 76 does; textures are E_NOTIMPL, a misaligned VA E_INVALIDARG, and
with no handler (a PC device) the slot refuses with E_NOTIMPL as ItsNotRexed#6953's table does.

Not decided here: a shader that adds heap_base to the title's VA (its own V#s) does not reach these
pages; that needs the single address space of docs/d3d12_vulkan.md 3.3.

d3d12_existing_heap_test: on a VirtualAlloc range and on a view of a pagefile-backed section (the form
xmem's physical pages take), the buffer's GPU VA is the address and a GPU copy to a READBACK buffer reads
a pattern the CPU wrote after creation; Vulkan validation clean on an RTX 4090.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marukooh

Copy link
Copy Markdown
Contributor

Independent synthetic test of 9545ba80 under CachyOS, Wine 11.22, clang-cl 23.1.5/xwin SDK 10.0.26100, RTX 5070 Ti / NVIDIA 620.73.04. The host exposes VK_EXT_external_memory_host with 4096-byte minimum host pointer alignment.

The stock head does not compile with this SDK and clang-cl: constexpr auto kPcResourceFlags = static_cast<D3D12_RESOURCE_FLAGS>(0x7ff) is outside the SDK enum's constant-expression range. Keeping the mask as constexpr std::uint32_t kPcResourceFlags = 0x7ff; and leaving the cast after the AND fixed the build.

With that one-line change, xs_proxy_mock and d3d12_existing_heap both passed. In both the VirtualAlloc and section-view slot-133 fixtures, the GPU copied back all 262,144 bytes of the CPU-written data and the reported GPU VA matched. Native-host comparison cases were skipped by the test under Wine. Khronos validation was unavailable to Wine on this machine; the successful run was without that layer. This was synthetic; retail integration has not been verified with this PR yet.

AI-assisted (Codex).

@eugen1763

Copy link
Copy Markdown

Retail-path integration test of 9545ba80 on offline Windows 11 / Mesa lavapipe 26.3.1, clang-cl 23.1.4 and SDK 10.0.26100, on top of the preceding boot fixes. I used the integer mask workaround noted above.

The handler is registered in create_vulkan_device, but the retail gta6rt --run path uses create_vulkan_device_standalone, which constructs Device directly. Before moving the registration to the shared Device constructor, slot 133 reached the proxy but did not call the import handler and the run stopped there. With that single registration move, the trace records one successful Xbox CreatePlacedResourceX call, then one successful CreateDescriptorHeap. The next stop is the existing descriptor-heap handle check (#7021). This verifies the standalone retail path reached the host-pointer import; it does not verify shader access through the title VA or a rendered frame.

AI-assisted (Codex).

@umnitus

umnitus commented Nov 23, 2026

Copy link
Copy Markdown

Independent native Windows / RTX 3060 check at 9545ba80f89924fd730fdbec3e3870da8cb81ea2 (NVIDIA 621.14, clang-cl 23.1.6/xwin SDK 10.0.26100).

I reproduced the clang-cl build error at d3d12_xs_device.cpp:1342: the constexpr value 2047 is outside this SDK enum's [0, 511] range. For diagnosis I kept the mask as an integer, limited it to 0x1ff for this SDK, and read the incoming flags via memcpy. This was a local diagnostic change.

With that build, xs_proxy_mock passed, but d3d12_existing_heap did not complete on my native Windows setup. Direct runs with validation on and off both exited with 0xC0000008. An unbuffered rerun selected the RTX 3060 and printed the upload-heaps message, then exited before the first existing-heap check reported a result. This run did not verify the slot-133 readback. The crash site and cause are still unconfirmed.

AI-assisted testing.

…ler registered by every Vulkan device

The PC flag mask was a D3D12_RESOURCE_FLAGS constant past the SDK's last enumerator, which clang-cl with
SDK 10.0.26100 refuses as a constant expression; it is an integer now, cast after the AND. The slot-133
handler was registered in create_vulkan_device only, so the standalone device gta6rt --run creates never
served the slot; the Device constructor registers it now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marukooh

Copy link
Copy Markdown
Contributor

Retail follow-up on 9545ba80, using the same Wine 11.22 and RTX 5070 Ti / 620.73.04 setup as the synthetic report above. I backported the host-memory route into the local boot stack, replacing the #7075 stand-in.

There is a missing registration on the retail path. The patch registers set_placed_at_va_handler(&create_buffer_at_host_address) in create_vulkan_device, which the existing-heap fixture calls. D3D12XboxCreateDevice uses create_vulkan_device_standalone, which constructs its own Device and never registers the handler. Baseline retail reached slot 133 and stopped before the handler ran. Adding the same registration in the standalone constructor path let the buffer import succeed. The run then created all five descriptor heaps and reached device slot 70, without using #7075's committed stand-in.

A common registration point for both device factories, or the one-line registration in the standalone factory, closes the gap. The retail test was offline with the local 1.0.2.1 package. Outcomes only. AI-assisted (Codex).

# Conflicts:
#	runtime/shims/d3d12_xs_device.cpp
@tibzejoker

Copy link
Copy Markdown
Contributor Author

Thanks all three. 626beeb8 takes in both review fixes and merges current main (the only conflict was the slot_name table next to the new frame-event slots 78–80).

  • clang-cl / SDK 10.0.26100 (@Marukooh, @umnitus): the mask is now constexpr std::uint32_t kPcResourceFlags = 0x7ff, and the cast to D3D12_RESOURCE_FLAGS is applied to the masked value at run time. I kept 0x7ff instead of 0x1ff so a newer SDK's flags above 0x100 still pass through. Built with MSVC here, so an independent clang-cl build would still help.
  • Standalone retail path (@eugen1763): the handler is now registered in the Device constructor, so create_vulkan_device and create_vulkan_device_standalone (gta6rt --run) both get it. Thanks for running it to CreateDescriptorHeap and d3d12_xs: honour __XMemAllocationHooks__ for descriptor heaps and translate CPU handles #7021: that's the first retail confirmation the import is reached.
  • 0xC0000008 on the RTX 3060 (@umnitus): it ends before the first check() line prints. That function's first calls are the refusal checks from d3d12: existing-heap opens and CreateLifetimeTracker answer the host's argument errors (D3D round 3b) #4538 on main, including OpenExistingHeapFromFileMapping((HANDLE)0x1234), whose GetHandleInformation on a bogus handle raises STATUS_INVALID_HANDLE when strict handle checking is on (Application Verifier, a debugger, or some security tools). Could you run d3d12_existing_heap_test from main on the same setup? If it exits the same way, it's that existing check and not this PR. I'd then propose a separate fix.

Retested at 626beeb8 on the RTX 4090 (617.42) with Vulkan validation: both slot-133 cases (VirtualAlloc range and section view) read back the CPU's writes, the 8 OpenExistingHeapFromAddress cases match NVIDIA and WARP, and xs_proxy_mock passes.

@ruvenesh

Copy link
Copy Markdown

Review note (stray submodule bump). The diff at 626beeb8f changes the third_party/rpf9-explorer gitlink from e2939175c (what main has) to 917e9b9c7. The PR description doesn't mention it and none of the touched runtime files use that submodule, so it looks like it came in with the pr-6953 merge or a local git submodule update. Suggest resetting it, e.g. git checkout origin/main -- third_party/rpf9-explorer and amending or adding a commit, so that merging this doesn't move the pointer. Found by reading the diff only (gh pr diff). I did not build or run this PR. #7240 and #7235 don't touch the submodule. AI-assisted (Claude Code).

… found in review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tibzejoker

Copy link
Copy Markdown
Contributor Author

@ruvenesh thanks, right: it came in with a local merge. 2b584ec2 resets third_party/rpf9-explorer to main's e2939175, and the PR no longer touches the submodule. AI-assisted (Claude Code).

@sneylol

sneylol commented Nov 23, 2026

Copy link
Copy Markdown

Tested on the retail executable (own 1.0.2.1 copy, Windows 11 26200, RX 9070 XT, AMD Windows driver, LEONIDA_D3D12=vulkan). Integration of main 8575d36 + #6919 + #6964 + #4313 + #6582 + #4348 + #7076 + #6953 + this PR. Result: concern, then pass with a one-line fix.

Concern: the handler is never registered on the path gta6rt takes. set_placed_at_va_handler is called only in create_vulkan_device, the path the tests use through vk_test_device.h. D3D12XboxCreateDevice with LEONIDA_D3D12=vulkan goes through create_vulkan_device_standalone (d3d12_xs.cpp:175), which builds its Device at the second new Device(info) without registering it. So on a real boot g_placed_at_va stays null, and slot 133 returns E_NOTIMPL silently: no CreatePlacedResourceX: va=... line, and the title asserts just as with #6953 alone. The standalone path does enable VK_EXT_external_memory_host (the host_pointer_alignment block), so only the registration is missing.

With that one line added before new Device(info) in create_vulkan_device_standalone:

rt::d3d12_xs::set_placed_at_va_handler(&create_buffer_at_host_address);

the title's call goes through:

[rt] d3d12_xs: slot 133 CreatePlacedResourceX: va=... dimension=1 width=182452224 xbox flags=0x20004 state=0xffffffff -> a buffer on the title's pages
[d3d12-trace] #1182 Xbox CreatePlacedResourceX (device slot 133) ok

That's a 174 MiB buffer imported from the title's three mapped windows (#6919's maps), on AMD with no validation complaints in this build. The title then creates a descriptor heap (slot 14) and reads its CPU start (heap slot 9), and stops on a new assert past this PR. I'm looking at that one next.

One run each way, counts and API names only. AI-assisted (Claude Code).

@tibzejoker

Copy link
Copy Markdown
Contributor Author

@sneylol thanks, that's the first AMD retail run. The registration gap you hit was in 9545ba80, and 626beeb8 fixed it (same finding as @eugen1763's): the handler is now registered in the Device constructor, which create_vulkan_device_standalone's new Device(info) goes through too, so no extra line is needed at the current head 2b584ec2. Good to see the 174 MiB import over #6919's three windows pass on RDNA4 with no validation complaints. AI-assisted (Claude Code).

@Stalkerino

Copy link
Copy Markdown

Tested the #7218 slot-133 implementation with both device factories wired up, on CachyOS, Wine 11.22, Mesa 26.3.1. The same runtime and inputs give different results on RADV and lavapipe.

Buffer passed to CreatePlacedResourceX RX 9070 XT / RADV lavapipe
Private VirtualAlloc, 256 KiB S_OK, GPU copy matches CPU writes S_OK, copy matches
Section view, 256 KiB E_OUTOFMEMORY, null resource S_OK, copy matches
XMem buffer, 174 MiB, 2,784 distinct 64 KiB frames in three adjacent windows E_OUTOFMEMORY, null resource S_OK, returned GPU VA matches requested VA

The last case is a synthetic guest using the public runtime entry point. I also ran my local copy offline with each backend. At the first 174 MiB placement RADV returns 0x8007000e. Lavapipe succeeds at that same call and the game creates its first descriptor heap. The full-size test checks placement and the reported address. Byte-for-byte GPU readback was tested on the 256 KiB cases indicated above.

This narrows the remaining hardware issue to the section-backed case. The independent sparse binding / copy control on this Radeon may be useful for the backing-memory work. AI-assisted testing.

@umnitus

umnitus commented Nov 23, 2026

Copy link
Copy Markdown

Retested on Windows / RTX 3060, NVIDIA 621.14, clang-cl/xwin SDK 10.0.26100. Updated head 2b584ec builds unmodified, and xs_proxy_mock passes. The stock d3d12_existing_heap test exits with 0xC0000008 on both 2b584ec and main 8575d36, with validation on and off.

On 2b584ec, omitting only the OpenExistingHeapFromFileMapping(0x1234) assertion in the local test let the rest pass with validation enabled. Both slot-133 fixtures read back all 262,144 bytes, and all eight host comparisons matched both native NVIDIA D3D12 and WARP. AI-assisted testing.

… not import the title's pages

RADV under Wine refuses to import a view of a pagefile-backed section (E_OUTOFMEMORY on an RX 9070 XT,
found in review), which is the form xmem's physical pages take, so the retail boot stopped at the first
174 MiB placement. An import failure other than a misaligned VA now gives an ordinary DEFAULT buffer of
the same description, as ItsNotRexed#6915's stand-in did, logged once: the boot goes on, and the title's writes at
that VA don't reach it on such a driver.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tibzejoker

Copy link
Copy Markdown
Contributor Author

@Stalkerino thanks, that's the case I couldn't see on NVIDIA. RADV refusing the section view fits amdgpu userptr, which won't pin shared, file-backed mappings, while anonymous memory imports. 588ef0b5e keeps the boot going there: when the import fails for any reason other than a misaligned VA, slot 133 now creates an ordinary DEFAULT buffer of the same description (what #6915's stand-in did) and logs it once. On RADV the title gets its resource and reaches the descriptor heap as on lavapipe. Its writes at that VA just don't reach the buffer there, and the log says so. A real fix for RADV would need the pages to come from importable memory (anonymous, or a Vulkan allocation the xmem mapper hands out), which belongs to the backing-memory item rather than this PR.

@umnitus thanks for confirming the 0xC0000008 is the OpenExistingHeapFromFileMapping(0x1234) check already on main, and for the clean clang-cl run on the RTX 3060. Since it isn't this PR's, I'll post it as a finding in #7231.

Retested at 588ef0b5e on the RTX 4090 with validation: both slot-133 fixtures, 8 of 8 host cases, xs_proxy_mock PASS. AI-assisted (Claude Code).

@justr4mzi

Copy link
Copy Markdown
Contributor

Independent native Windows 11 / MSVC 19.44.35230.0 / AMD Radeon RX 6700 XT (gfx1031, Vulkan 1.4.335, driver 2.0.372) verification of 588ef0b5e:

  • d3d12_existing_heap_test.exe (standard and LEONIDA_VK_VALIDATION=1): PASS (exit 0, 0 validation errors).
    • On native Windows AMD Vulkan driver (AMD Radeon RX 6700 XT), both slot 133 (CreatePlacedResourceX) VK_EXT_external_memory_host fixtures succeed directly without needing the fallback (vulkan slot-133 buffer: VirtualAlloc range, 262144 bytes: GPU VA is the address, a GPU copy reads the CPU's writes and vulkan slot-133 buffer: section view, 262144 bytes: GPU VA is the address, a GPU copy reads the CPU's writes).
    • All 8 OpenExistingHeapFromAddress cases match both host AMD Radeon RX 6700 XT D3D12 and host WARP.
  • xs_proxy_mock_test.exe and device_proxy_test.exe (WARP): PASS (exit 0).

AI-assisted (Gemini, Antigravity).

@editrice

Copy link
Copy Markdown

At current head 588ef0b5e, the PR diff again changes third_party/rpf9-explorer from main's e2939175c to 917e9b9c7. The 2b584ec2 reset mentioned above appears to have been undone by the later update. Could you reset the gitlink again so this runtime PR does not move the unrelated submodule? AI-assisted review.

…commit re-added it, found in review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tibzejoker

Copy link
Copy Markdown
Contributor Author

@editrice thanks, right again: my fallback commit staged the working tree's submodule with -a. 5e260436f resets third_party/rpf9-explorer to main's e2939175, and I now commit with explicit paths only. AI-assisted (Claude Code).

@Zunraz

Zunraz commented Nov 23, 2026

Copy link
Copy Markdown

Independent Windows / RTX 5090 check of 588ef0b5ebfd77a475c77e46acd4e7e3b039c7ea, with a new synthetic readback reproducer.

Synthetic result (clang-cl 21.1.8 + xwin SDK 10.0.26100, static CRT, Windows 26300, NVIDIA driver 32.0.16.2124):

Host-memory fixture Result
Stock 256 KiB private allocation and single section view Both GPU copies match CPU writes
Local larger variant: 256 MiB private allocation, single section view, and 4,096 adjacent 64 KiB READWRITE views All three imports retain the host VA and read back every byte correctly
Same final reproducer: 32 adjacent 64 KiB READWRITE views (2 MiB total) Correct readback
Same fixture with only MapViewOfFile3 protection changed to READWRITE + WRITECOMBINE Import reports success and retains the host VA, but GPU readback differs from the known pattern

The final WC failure reproduced 3/3 repeat processes. The independent pattern oracle reports CPU bad = 0; GPU bad was 427,326 / 330,324 / 342,156 bytes of 2,097,152 in those runs. A MemoryBarrier() after CPU stores and before submission is included and does not fix it. No fallback log occurs for this small fixture; the host-VA assertion succeeds. This is not merely a failed import being replaced with an unrelated buffer.

Reproducer for reuse: one test-only commit, based directly on this PR's 588ef0b5e: Zunraz@d7d2d4076 . It adds the adjacent-view READWRITE/WC pair and an independent CPU/GPU pattern comparison to d3d12_existing_heap_test; no production changes, game files, or retail-derived fixtures. Build/run that target normally. This is a fail-first diagnostic, not a proposed workaround, and I have not opened an overlapping upstream PR. The tested build includes the same startup integration below; I have not separately built the test branch as a standalone runtime.

Retail integration result: main 8575d36ed + #4313, #6919, #4348, #6991, #6964, #7037, #7076, #6953 and RT-488 cache changes, then this head. The run reaches slot 133. Its large buffer import fails with E_OUTOFMEMORY on this NVIDIA setup too; the PR's fallback creates the buffer and the next descriptor heap succeeds, then the title stops at a breakpoint. Still no frame/menu. That retail import failure is separate from the successful-import/readback problem above; I have not established that they share a cause.

xs_proxy_mock_test passes. One stock full existing-heap run failed only the WARP write-combined alignment comparison (4 MiB on WARP versus 64 KiB here); later runs matched all eight NVIDIA and all eight WARP cases. I am not claiming a clean stable stock suite. Vulkan validation is unavailable on this machine: enabling it refuses device creation because the layer is not installed, so the reported GPU runs use it unset.

No raw traces, game data, addresses or title offsets attached. Retail socket creation, DNS and transmission debugger-guarded. AI-assisted (Codex).

@NJ1912

NJ1912 commented Nov 23, 2026

Copy link
Copy Markdown

Code read of 5e260436 (merges cleanly onto main 86a7807d; the code is unchanged since 588ef0b5): the in-thread fixes are in; four notes.

Not run: code read only, no tests run. AI-assisted review.

@Zunraz

Zunraz commented Nov 23, 2026

Copy link
Copy Markdown

Follow-up to exclude the host-backing lifetime issue noted in review: I added an isolated first-import mode in Zunraz@d5c129911 (on top of the test-only commit above).

It creates a fresh Vulkan device, goes directly to the single 2 MiB adjacent-view fixture, and retains all its views and the section handle until process exit, after Vulkan teardown. No preceding OpenExistingHeap/import fixtures run. The CPU-store MemoryBarrier remains present.

Fresh-process comparison, same environment as above:

  • LEONIDA_HOST_VA_PROBE=rw: 3/3 pass, full GPU pattern matches.
  • LEONIDA_HOST_VA_PROBE=wc: 3/3 fail at the GPU-pattern check. CPU bad = 0 in every run; GPU bad = 424,137 / 793,745 / 722,595 bytes of 2,097,152. Import succeeds and the returned GPU VA equals the host address; no fallback is used.

Run the patched d3d12_existing_heap_test.exe once per mode in a new process (PowerShell: $env:LEONIDA_HOST_VA_PROBE='rw', then run it; repeat with 'wc'). Unset the variable to run its normal suite. These are diagnostic modes only, not six full-suite passes. This still does not identify a driver/runtime root cause; it rules out earlier imported fixtures freeing/reusing their backing as the explanation for this readback difference. No validation layer is available locally.

The PR's latest 5e260436f only resets the submodule; the runtime code tested above is unchanged. AI-assisted (Codex), synthetic inputs only.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.