WARP diagnostic: severe E_OUTOFMEMORY, access violations in d3d10warp.dll and device removal during world load #338

Open
opened 2026-11-26 03:59:49 +00:00 by github-bot · 5 comments
Owner

@⁠FulhR on GitHub · 2026-11-24 02:24 UTC · original

Description

Ran VIctory using a customized diagnostic setup with forced WARP (software rasterizer) to isolate host D3D12 / GPU issues.

The title (Xbox Series X build) boots, maps DLLs, opens the expected .rpf files via DirectStorage, and reaches the world-loading stage. Shortly after the first frames, the host device on the software adapter hits severe memory exhaustion, repeated E_OUTOFMEMORY (0x8007000E), access violations inside d3d10warp.dll, and finally device removal.

Environment

  • VIctory: build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)
  • Adapter: Forced WARP (software rasterizer)
  • Console target: Xbox Series X
  • Title: GTA6.Xbox.v1.0.2.1-CYBERLEEK (virtual drive G:)
  • Presentation: 3840×2160 SDR, ~30 fps
  • Host: D3D12 device on software adapter (WARP)

Observed behavior

  1. Title loads normally (DLL mapping + DirectStorage opens of appdata0.rpf, common.rpf, levels.rpf, textures.rpf, audio.rpf, etc.).
  2. Host device reports: host device on the software adapter (WARP).
  3. During early frame presentation / pipeline creation:
    • Descriptor heap capped at 1 000 000 → E_OUTOFMEMORY (0x8007000E)
    • Large buffer allocations fail (~182 MB shared/shadow buffer + repeated 4 MB upload buffers)
    • ID3D12Device::CreateCommittedResource returns E_OUTOFMEMORY
    • Live object reports show thousands of resources, heaps, command allocators and command lists
  4. Multiple first-chance exceptions 0xc0000005 (access violation) inside d3d10warp.dll (d3d10warp.dll+0x495f58)
  5. Device removed: DXGI_ERROR_DEVICE_REMOVED / 0x887A0005
  6. VIctory exits with code -2005270523

Key log excerpts

host device on the software adapter (WARP)

host view heap capped at 1000000 error=There are not enough memory resources available to complete this operation. (0x8007000E)

no shared buffer error=... (0x8007000E) size=182452224

no upload buffer error=... (0x8007000E) size=4194304 (repeated many times)

ID3D12Device::CreateCommittedResource: Returning E_OUTOFMEMORY

VIctory: first-chance exception 0xc0000005 at d3d10warp.dll+0x495f58

ERROR victory_gpu::host: host GPU device removed ... (0x887A0005)

VIctory finished. Exit code: -2005270523

Analysis

The failure is memory exhaustion on the WARP software device, not a missing import or early boot problem. Large resource allocations fail under the current host D3D12 path when running on WARP. The access violations inside d3d10warp.dll and the subsequent device-removed error are downstream of the OOM.

This matches the current project status (world is reached, rendering fails) and is reproducible under the forced-WARP diagnostic configuration.

Expected behavior

  • WARP should either succeed with better resource usage / allocation handling, or fail more gracefully with a clear diagnostic instead of cascading AVs + device removal.
  • Memory pressure on the software rasterizer should be manageable for diagnostic runs (or at least report which resource sizes/types are the biggest consumers).

Notes

  • Full log available if needed (very long; the relevant sections are WARP device creation → repeated 0x8007000E → AV in d3d10warp → device removed).
  • Ran specifically with a custom WARP diagnostic setup to isolate host GPU / memory behavior from hardware-specific issues.
**@⁠FulhR** on GitHub · 2026-11-24 02:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/338) ## Description Ran VIctory using a **customized diagnostic setup with forced WARP** (software rasterizer) to isolate host D3D12 / GPU issues. The title (Xbox Series X build) boots, maps DLLs, opens the expected `.rpf` files via DirectStorage, and reaches the world-loading stage. Shortly after the first frames, the host device on the software adapter hits severe memory exhaustion, repeated `E_OUTOFMEMORY` (0x8007000E), access violations inside `d3d10warp.dll`, and finally device removal. ## Environment - **VIctory**: build unknown (`b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`) - **Adapter**: Forced WARP (software rasterizer) - **Console target**: Xbox Series X - **Title**: `GTA6.Xbox.v1.0.2.1-CYBERLEEK` (virtual drive `G:`) - **Presentation**: 3840×2160 SDR, ~30 fps - **Host**: D3D12 device on software adapter (WARP) ## Observed behavior 1. Title loads normally (DLL mapping + DirectStorage opens of `appdata0.rpf`, `common.rpf`, `levels.rpf`, `textures.rpf`, `audio.rpf`, etc.). 2. Host device reports: `host device on the software adapter (WARP)`. 3. During early frame presentation / pipeline creation: - Descriptor heap capped at 1 000 000 → `E_OUTOFMEMORY` (0x8007000E) - Large buffer allocations fail (~182 MB shared/shadow buffer + repeated 4 MB upload buffers) - `ID3D12Device::CreateCommittedResource` returns `E_OUTOFMEMORY` - Live object reports show thousands of resources, heaps, command allocators and command lists 4. Multiple first-chance exceptions `0xc0000005` (access violation) inside `d3d10warp.dll` (`d3d10warp.dll+0x495f58`) 5. Device removed: `DXGI_ERROR_DEVICE_REMOVED` / `0x887A0005` 6. VIctory exits with code `-2005270523` ## Key log excerpts host device on the software adapter (WARP) host view heap capped at 1000000 error=There are not enough memory resources available to complete this operation. (0x8007000E) no shared buffer error=... (0x8007000E) size=182452224 no upload buffer error=... (0x8007000E) size=4194304 (repeated many times) ID3D12Device::CreateCommittedResource: Returning E_OUTOFMEMORY VIctory: first-chance exception 0xc0000005 at d3d10warp.dll+0x495f58 ERROR victory_gpu::host: host GPU device removed ... (0x887A0005) VIctory finished. Exit code: -2005270523 ## Analysis The failure is **memory exhaustion on the WARP software device**, not a missing import or early boot problem. Large resource allocations fail under the current host D3D12 path when running on WARP. The access violations inside `d3d10warp.dll` and the subsequent device-removed error are downstream of the OOM. This matches the current project status (world is reached, rendering fails) and is reproducible under the forced-WARP diagnostic configuration. ## Expected behavior - WARP should either succeed with better resource usage / allocation handling, or fail more gracefully with a clear diagnostic instead of cascading AVs + device removal. - Memory pressure on the software rasterizer should be manageable for diagnostic runs (or at least report which resource sizes/types are the biggest consumers). ## Notes - Full log available if needed (very long; the relevant sections are WARP device creation → repeated 0x8007000E → AV in d3d10warp → device removed). - Ran specifically with a custom WARP diagnostic setup to isolate host GPU / memory behavior from hardware-specific issues.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:59:50 +00:00
Author
Owner

@⁠FulhR on GitHub · 2026-11-24 03:04 UTC · original

Now i fix it, i can go through the game :)

image
**@⁠FulhR** on GitHub · 2026-11-24 03:04 UTC · [original](https://github.com/Marvisak/VIctory/issues/338#issuecomment-7120749792) Now i fix it, i can go through the game :) <img width="1686" height="920" alt="image" src="https://github.com/user-attachments/assets/d427ef56-3ef2-4542-97c4-10c1b92f0aea" />
Author
Owner

@⁠Sunkiller-qc on GitHub · 2026-11-24 13:13 UTC · original

Glad it gets further now. What did you change to get past the E_OUTOFMEMORY / d3d10warp.dll crashes: a newer commit, Series S mode, more page file, or a local patch? If it came from a commit on main, this can probably be closed. If it's a local change, others hitting WARP out-of-memory (#653) would benefit from knowing what it was.

**@⁠Sunkiller-qc** on GitHub · 2026-11-24 13:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/338#issuecomment-7132520907) Glad it gets further now. What did you change to get past the `E_OUTOFMEMORY` / `d3d10warp.dll` crashes: a newer commit, Series S mode, more page file, or a local patch? If it came from a commit on main, this can probably be closed. If it's a local change, others hitting WARP out-of-memory (#653) would benefit from knowing what it was.
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-24 14:52 UTC · original · edited 2026-11-24 15:24 UTC

I tested upstream ffe310e with the diagnostics profile, VICTORY_D3D12_WARP=1, and Series X mode on title version 1.0.2.1. VIctory confirmed WARP and began presenting frames. A test-harness guard stopped the run during startup because available Windows commit was falling rapidly. A second run with frame capture disabled reached the commit guard during startup too.

Both runs ended before world load. I saw no E_OUTOFMEMORY, Windows error 1455, or device removal before either cutoff. This is an independent observation of early WARP commit pressure. The world-load crash remains unverified.

Series S comparison. On the same commit with WARP and --console series-s, both runs stayed above the same commit cutoff used in the second Series X run and reached their time limits of about two and three minutes. The capture run showed a Rockstar logo, followed by black sampled frames while VIctory continued submitting draws. A controlled follow-up on #211 identified the logo as the brightness calibration background with the UI plane missing. There was no device removal or out-of-memory error in either run. The first cutscene remains unverified.

World-loading follow-up. With PR #211 head af9a911, Series S, WARP, and capture disabled, an interactive run progressed through setup and DirectStorage opened story, terrain, and map archives. The test guard stopped the run during loading as available Windows commit fell. It did not reach the first cutscene, and the log showed no out-of-memory error or device removal.

AI-assisted test execution and write-up (OpenAI Codex).

**@⁠BaggyALPHA** on GitHub · 2026-11-24 14:52 UTC · [original](https://github.com/Marvisak/VIctory/issues/338#issuecomment-7135099410) · edited 2026-11-24 15:24 UTC I tested upstream `ffe310e` with the diagnostics profile, `VICTORY_D3D12_WARP=1`, and Series X mode on title version 1.0.2.1. VIctory confirmed WARP and began presenting frames. A test-harness guard stopped the run during startup because available Windows commit was falling rapidly. A second run with frame capture disabled reached the commit guard during startup too. Both runs ended before world load. I saw no `E_OUTOFMEMORY`, Windows error 1455, or device removal before either cutoff. This is an independent observation of early WARP commit pressure. The world-load crash remains unverified. **Series S comparison.** On the same commit with WARP and `--console series-s`, both runs stayed above the same commit cutoff used in the second Series X run and reached their time limits of about two and three minutes. The capture run showed a Rockstar logo, followed by black sampled frames while VIctory continued submitting draws. A [controlled follow-up on #211](https://git.gtahub.st/github/Marvisak--VIctory/pulls/211) identified the logo as the brightness calibration background with the UI plane missing. There was no device removal or out-of-memory error in either run. The first cutscene remains unverified. **World-loading follow-up.** With PR #211 head `af9a911`, Series S, WARP, and capture disabled, an interactive run progressed through setup and DirectStorage opened story, terrain, and map archives. The test guard stopped the run during loading as available Windows commit fell. It did not reach the first cutscene, and the log showed no out-of-memory error or device removal. AI-assisted test execution and write-up (OpenAI Codex).
Author
Owner

@⁠FulhR on GitHub · 2026-11-24 22:16 UTC · original

It wasn't a local patch—I increased the virtual memory by splitting two pagefile.sys files across two separate drives (C: and D:) so Windows spreads the I/O load and uses storage as extra RAM spillover (~28 GB total swap space), which got past the E_OUTOFMEMORY crash on d3d10warp.dll (#653).

Dual pagefile.sys setup (Admin CMD)

Run these commands in an Administrator Command Prompt (adjust D: and the sizes in MB to match your drives):

:: 1. Disable automatic pagefile management
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False

:: 2. Create/set the first pagefile on C: (12 GB initial / 14 GB max)
wmic pagefileset create name="C:\pagefile.sys"
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=12288,MaximumSize=14336

:: 3. Create/set the second pagefile on D: (12 GB initial / 14 GB max)
wmic pagefileset create name="D:\pagefile.sys"
wmic pagefileset where name="D:\\pagefile.sys" set InitialSize=12288,MaximumSize=14336
[!TIP]
Reboot Windows after running the commands so both pagefile.sys files take effect. You can verify both are active with:
wmic pagefile list /format:list
**@⁠FulhR** on GitHub · 2026-11-24 22:16 UTC · [original](https://github.com/Marvisak/VIctory/issues/338#issuecomment-7146035096) It wasn't a local patch—I increased the virtual memory by splitting two `pagefile.sys` files across two separate drives (`C:` and `D:`) so Windows spreads the I/O load and uses storage as extra RAM spillover (~28 GB total swap space), which got past the `E_OUTOFMEMORY` crash on `d3d10warp.dll` (#653). ### Dual `pagefile.sys` setup (Admin CMD) Run these commands in an **Administrator Command Prompt** (adjust `D:` and the sizes in MB to match your drives): ```cmd :: 1. Disable automatic pagefile management wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False :: 2. Create/set the first pagefile on C: (12 GB initial / 14 GB max) wmic pagefileset create name="C:\pagefile.sys" wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=12288,MaximumSize=14336 :: 3. Create/set the second pagefile on D: (12 GB initial / 14 GB max) wmic pagefileset create name="D:\pagefile.sys" wmic pagefileset where name="D:\\pagefile.sys" set InitialSize=12288,MaximumSize=14336 [!TIP] Reboot Windows after running the commands so both pagefile.sys files take effect. You can verify both are active with: wmic pagefile list /format:list
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:46 UTC · original

Automated triage for the maintainers.

The reporter confirmed (comment of 2026-11-24 22:16 UTC) that the E_OUTOFMEMORY failures, the d3d10warp.dll access violations and the device removal went away after enlarging the Windows paging file, so this was the process running out of Windows commit, not a defect in the WARP path itself.

That matches the README (Getting started): the title needs several GiB of available Windows commit at startup; check Committed in Task Manager, and if crashes.log reports Windows error 1455, close other applications or increase the paging file size. The README's warning also notes that a VICTORY_D3D12_WARP=1 diagnostics build is too slow to reach the world in minutes, so WARP runs are useful mainly for the early stages.

Related: #653 (world load on GPU and WARP) and #471 (world load at the commit limit).


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/338#issuecomment-7149942314) <!-- victory-issue-triage v1 verdict=answered seen=2026-11-24T22:16:55Z at=2026-11-25T01:47:10Z --> Automated triage for the maintainers. The reporter confirmed (comment of 2026-11-24 22:16 UTC) that the `E_OUTOFMEMORY` failures, the `d3d10warp.dll` access violations and the device removal went away after enlarging the Windows paging file, so this was the process running out of Windows commit, not a defect in the WARP path itself. That matches the README (Getting started): the title needs several GiB of available Windows commit at startup; check **Committed** in Task Manager, and if `crashes.log` reports Windows error 1455, close other applications or increase the paging file size. The README's warning also notes that a `VICTORY_D3D12_WARP=1` diagnostics build is too slow to reach the world in minutes, so WARP runs are useful mainly for the early stages. Related: #653 (world load on GPU and WARP) and #471 (world load at the commit limit). --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#338
No description provided.