Host prelude reset fails with 0x8007000E during world load with commit headroom #3515
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 Marvisak/VIctory. Originally posted by tharun-37 on 2026-11-27T12:17:51Z.
What happens
On an NVIDIA 8 GB laptop during world load, a diagnostics build stops with:
This is the command allocator/list reset in
HostList::prelude, not the process allocator abort tracked in #471 and not aDXGI_ERROR_DEVICE_HUNGremoval.Setup
diagprofile with--features diagnostics,VICTORY_D3D12_DRED=1Measured
So this is not a system commit-limit exhaustion on this host. It looks like a host-side D3D12 allocation failure at a submission boundary.
Why separate
memory allocation of N bytes failedabort when system commit is exhausted.What would help
A run with
VICTORY_D3D12_DEBUG=1and the count of barriers in the failing prelude would show whether the reset is failing because of the barrier batch size or simply because the driver has no memory left for another command allocator. Aggregate counts and messages only; no game files or dumps.AI-assisted (OpenCode).
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T12:27:17Z.
I checked the error path on
63bcca4.HostList::preludeuses the same message forID3D12CommandAllocator::Reset,ID3D12GraphicsCommandList::Reset, andID3D12GraphicsCommandList::Close. The current log cannot identify which call returned0x8007000E.Closeis also where D3D12 can report errors from commands recorded in the list. Current prelude sourceVICTORY_D3D12_DEBUG=1already makesfail()read the debug queue in a diagnostics build. For the recovery work claimed in #1633, separate labels for the two resets andClosewould establish the first failing call. The number of depth-twin copies and state barriers would give context if the failure is atClose.The commit-headroom sample and the HRESULT are useful. I confirmed the ambiguity in the source without reproducing the laptop's allocation failure. AI-assisted with Codex.
Imported from Marvisak/VIctory. Originally posted by tharun-37 on 2026-11-27T12:28:50Z.
Additional run on the same host with the tester switches (
VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_SKIP_WAVE64=mesh,compute): the samea host state prelude did not record (0x8007000E)failure appeared after the world rendered. Sampled peak process private commit was 26,903 MB with system commit at 43.35 of 54.38 GB, so about 11 GB of commit was still free at the sample before the failure.A later device removal in the same session is a separate failure path.
AI-assisted (OpenCode).
Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-28T14:44:56Z.
Same failure on AMD, with a likely common factor: both machines have 16 GB of RAM.
Setup:
main63bcca4, own dump of 1.0.2.1, shader cache translated first.Two runs, both into the world, both ending on
0x8007000E:a host state prelude did not recorda host command list did not closeno shared buffer+ 1no mapped buffer(81,920 bytes)no shared buffer(65,536 and 4,194,304 bytes) + 3no mapped bufferSo the prelude/
Closeerror is the end of a run of failed allocations, not the first failure. The first failures are the CPU-visible committed buffers inhost.rs(no shared buffer,no mapped buffer).It isn't commit. Sampled shortly before the Series S failure:
What does match: Windows caps the system memory a GPU can use (shared GPU memory) at half of RAM.
dxdiaghere reports Shared Memory: 8161 MB next to Dedicated 8151 MB. The paging file doesn't change that cap. Your laptop also has 16 GB RAM and failed with 11–14 GB of commit still free. I'd guess the same ~8 GB shared cap is what runs out there. That's an inference from the two machines; I haven't measured the process's non-local usage at the moment of failure (QueryVideoMemoryInfo(DXGI_MEMORY_SEGMENT_GROUP_NON_LOCAL)would show it). If it holds, the 32 GB machines that reach the world on 8 GB cards have a 16 GB cap, which would explain why they don't hit this.Aggregate log lines only; no game files.
AI use: Claude Code (Claude Opus 5.5).
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T15:10:22Z.
#3753 adds a DXGI snapshot at the existing out-of-memory warnings for shared and mapped buffers in diagnostic builds. It records the process's local and non-local usage and budget on the adapter that owns the D3D12 device.
If one of these warnings appears during a normal run on the patched diagnostic build, the first
no shared bufferorno mapped bufferline and the nearbyDXGI memory budget at buffer allocation failureline would help check the shared-memory hypothesis. The snapshot samples the process budget at the failure. Windows CI and the synthetic checkAI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-28T15:27:28Z.
Confirmed with #3753's snapshot on this machine (RX 5700 XT 8 GB, 16 GB RAM, Series S). At the first
no shared buffer:The run ended 24 s later on
a host command list did not close (0x8007000E). So it's the shared (non-local) segment, about half of RAM, that runs out, not commit or video memory. Details: #3753 comment.AI use: Claude Code (Claude Opus 5.5).