12 GB laptop, Series X at 1440 + DLSS: 157 pipelines refused with 0x8007000e, 30-60 % of draws dropped, 0.3-0.9 fps #2520

Open
opened 2026-11-29 13:50:11 +00:00 by github-bot · 4 comments
Owner

@⁠superboynick on GitHub · 2026-11-29 13:48 UTC · original

Claiming this before any work, per #1528. A 12 GB laptop card runs Series X at 1440 with DLSS Quality into E_OUTOFMEMORY on 157 pipelines, drops 30-60 % of the frame's draws, and sits at 0.3-0.9 fps, while the card's own budget is not the thing that is exhausted. This is a report with numbers, not a fix: I do not yet know which allocation to change.

What was run

victory.exe run GTA6.exe --execute --console series-x, with the switch set scripts\play-foxhound.ps1 applies (including VICTORY_CARD_BUFFERS_MIN_KB=64, VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298, VICTORY_WC_NO_BACK=1, VICTORY_SOFT_VIEWS=copies, VICTORY_PIPELINE_WORKERS=12, no VICTORY_CARD_AWAKE), plus VICTORY_NATIVE_1440P=1, VICTORY_DLSS=1, VICTORY_DLSS_MODE=quality. Same save, warm cache, 420 s, samples every 5 s.

Machine: RTX 5070 Ti Laptop (12 GB), i9-14900HX, 32 GB RAM, Windows 11.

What it did

quantity value
pipelines refused, hr=0x8007000e 157, each a distinct key
draws dropped, from the frame line 636 of 2,004; 1,361 of 2,143; 645 of 2,151
frame rate 0.3 - 0.9 fps (1,098 - 3,388 ms)
the card's own memory 9,816 MB of a 10,857 MB budget
shared with the card 7,626 MB in use
committed (process) 26,798 MB

The refusal itself:

WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key)
  key="19e215b47ff9112a" stage="compute" hr=0x8007000e
  reason="compute 0x8007000e" error=内存资源不足,无法完成此操作。 (0x8007000E)

Why it looks like memory pressure rather than a bad pipeline

  • The refused keys are 157 different ones, across compute, so it is not one shader the translator mishandles.
  • The card's own budget is not exceeded (9,816 of 10,857 MB), while 7,626 MB is already shared with the card out of system memory. The allocation that fails is the one that would have to come out of that shared pool.
  • The same build and the same switch set at Series S does not fail like this: 10.0-10.8 fps at 4,405-4,442 draws, the card's own 9,372 MB of 10,510, and only 35 refusals over five minutes.
  • With VICTORY_CARD_BUFFERS_MIN_KB=512 instead of 64 the peak the card reports drops by about 1.7 GB, and the refusals persist, so the copies are not the whole of it.

This is the same family as the memory-exhaustion note in docs/diagnose-windows-memory-exhaustion-during-world-loading.md and the 8/16 GB reports (#1962 and neighbours), but on a 12 GB card at 1440 rather than 8 GB at 1080.

What I can try, and would like to be told which is the intended one

  1. A switch that reserves headroom on the shared pool before the world loads (is VICTORY_BUDGET_PACK meant to be that, and what does it hold back?).
  2. Whether the intent is that a 12 GB card should not be offered the Series X picture at 1440 at all, in which case the F1 row should say so rather than running into 0x8007000e.
  3. Whether the refused pipelines are better retried later, once streaming has settled, instead of being dropped for the frame.

Logs on request: the run's stderr is 11,645 lines and I have kept it (arm-v512long, remote 12 GB laptop).

**@⁠superboynick** on GitHub · 2026-11-29 13:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2520) **Claiming this before any work, per #1528.** A 12 GB laptop card runs Series X at 1440 with DLSS Quality into `E_OUTOFMEMORY` on 157 pipelines, drops 30-60 % of the frame's draws, and sits at 0.3-0.9 fps, while the card's own budget is not the thing that is exhausted. This is a report with numbers, not a fix: I do not yet know which allocation to change. ## What was run `victory.exe run GTA6.exe --execute --console series-x`, with the switch set `scripts\play-foxhound.ps1` applies (including `VICTORY_CARD_BUFFERS_MIN_KB=64`, `VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298`, `VICTORY_WC_NO_BACK=1`, `VICTORY_SOFT_VIEWS=copies`, `VICTORY_PIPELINE_WORKERS=12`, no `VICTORY_CARD_AWAKE`), plus `VICTORY_NATIVE_1440P=1`, `VICTORY_DLSS=1`, `VICTORY_DLSS_MODE=quality`. Same save, warm cache, 420 s, samples every 5 s. Machine: RTX 5070 Ti Laptop (**12 GB**), i9-14900HX, **32 GB** RAM, Windows 11. ## What it did | quantity | value | |---|---| | pipelines refused, `hr=0x8007000e` | **157**, each a distinct key | | draws dropped, from the frame line | 636 of 2,004; 1,361 of 2,143; 645 of 2,151 | | frame rate | 0.3 - 0.9 fps (1,098 - 3,388 ms) | | the card's own memory | 9,816 MB of a **10,857 MB** budget | | **shared with the card** | **7,626 MB in use** | | committed (process) | 26,798 MB | The refusal itself: ``` WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) key="19e215b47ff9112a" stage="compute" hr=0x8007000e reason="compute 0x8007000e" error=内存资源不足,无法完成此操作。 (0x8007000E) ``` ## Why it looks like memory pressure rather than a bad pipeline - The refused keys are **157 different ones**, across compute, so it is not one shader the translator mishandles. - The card's own budget is **not** exceeded (9,816 of 10,857 MB), while **7,626 MB is already shared** with the card out of system memory. The allocation that fails is the one that would have to come out of that shared pool. - The same build and the same switch set at **Series S** does not fail like this: 10.0-10.8 fps at 4,405-4,442 draws, the card's own 9,372 MB of 10,510, and only 35 refusals over five minutes. - With `VICTORY_CARD_BUFFERS_MIN_KB=512` instead of 64 the peak the card reports drops by about 1.7 GB, and the refusals persist, so the copies are not the whole of it. This is the same family as the memory-exhaustion note in `docs/diagnose-windows-memory-exhaustion-during-world-loading.md` and the 8/16 GB reports (#1962 and neighbours), but on a 12 GB card at 1440 rather than 8 GB at 1080. ## What I can try, and would like to be told which is the intended one 1. A switch that reserves headroom on the shared pool before the world loads (is `VICTORY_BUDGET_PACK` meant to be that, and what does it hold back?). 2. Whether the intent is that a 12 GB card should not be offered the Series X picture at 1440 at all, in which case the F1 row should say so rather than running into `0x8007000e`. 3. Whether the refused pipelines are better retried later, once streaming has settled, instead of being dropped for the frame. Logs on request: the run's stderr is 11,645 lines and I have kept it (`arm-v512long`, `remote 12 GB laptop`).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:50:12 +00:00
Author
Owner

@⁠sergiogbrox on GitHub · 2026-11-29 14:31 UTC · original

Another data point for question 3 (retry refused pipelines later), from a desktop where the 0x8007000e refusals were clearly transient: they came from a short burst of low system memory, but stayed refused for the rest of the run.

System: RTX 5060 Ti 16 GB (driver 621.40), Ryzen 7 5700X, 32 GB RAM, B450 (PCIe 3.0 x8), Windows 11 build 26300, system-managed page file. VIctory v2026.11.29.01 (victory.exe SHA-256 0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd). Series X, VICTORY_NATIVE_SIZE=2560x1440 (ultrawide workaround from #2287), DLSS Balanced, frame generation 2x, 60 fps cap, and ray tracing on (VICTORY_BVH_BUILDER=1) in that run.

What happened (one run, about 4 minutes in the world):

  • The process commit went from 19.6 GB to 23.6 GB in about 4 s while the world streamed in. At 14:04:24 the memory guard reported free_physical_mb=150 free_commit_mb=1729 and put off just 2 compiles.
  • In the same second the driver refused compiles that were already running: 249 failures by 14:04:27, 451 by the end of the run, and none were retried:
    pipeline failures: 451 host pipelines failed (392 compute 0x8007000e; 10 graphics 0x8007000e; 49 mesh 0x8007000e), 0 shaders do not translate failed=451 untranslated=0 retried=0 retry_made=0
    
  • Memory recovered after the burst, but the draws stayed dropped until the game was closed. Over the next 3 minutes the game dropped 322 draws a frame on average (max 2,016), and the frame rate fell to 0.3-0.4 fps in places. In game this looked like objects popping in or missing and characters drawn blocky.
  • The next run on the same PC, with background apps closed and ray tracing off, went through the same area with 0 failed pipelines.

Why they stay refused: in crates/victory-gpu/src/pipeline/make.rs, settle() retries a build only when the memory guard deferred it (deferred && built.is_none()). A refusal from the driver is written to the OnceLock as None and kept for the run ("A refusal of the host's own is recorded for the run"). So a compile that the guard let through just before memory ran out is refused for good, even though it would build a second later.

A possible fix that keeps #2533's case covered: when the driver returns 0x8007000e and the memory guard's figures were under its floors when that compile started or ended, treat it like a guard deferral (defer(), retry after RETRY_AFTER_MS). Cap the retries per key, for example 3, before the refusal is recorded for the run. With plenty of memory free, as on the 8 GB card in #2533, the refusal is still remembered, so the per-run negative cache asked for there still applies.

I can test a patch on this PC if that helps; the burst reproduces by keeping a browser open while the world loads.

**@⁠sergiogbrox** on GitHub · 2026-11-29 14:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2520#issuecomment-7257372012) Another data point for question 3 (retry refused pipelines later), from a desktop where the `0x8007000e` refusals were clearly **transient**: they came from a short burst of low system memory, but stayed refused for the rest of the run. **System:** RTX 5060 Ti 16 GB (driver 621.40), Ryzen 7 5700X, 32 GB RAM, B450 (PCIe 3.0 x8), Windows 11 build 26300, system-managed page file. VIctory v2026.11.29.01 (`victory.exe` SHA-256 `0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd`). Series X, `VICTORY_NATIVE_SIZE=2560x1440` (ultrawide workaround from #2287), DLSS Balanced, frame generation 2x, 60 fps cap, and ray tracing on (`VICTORY_BVH_BUILDER=1`) in that run. **What happened (one run, about 4 minutes in the world):** - The process commit went from 19.6 GB to 23.6 GB in about 4 s while the world streamed in. At 14:04:24 the memory guard reported `free_physical_mb=150 free_commit_mb=1729` and put off just 2 compiles. - In the same second the driver refused compiles that were already running: 249 failures by 14:04:27, 451 by the end of the run, and none were retried: ``` pipeline failures: 451 host pipelines failed (392 compute 0x8007000e; 10 graphics 0x8007000e; 49 mesh 0x8007000e), 0 shaders do not translate failed=451 untranslated=0 retried=0 retry_made=0 ``` - Memory recovered after the burst, but the draws stayed dropped until the game was closed. Over the next 3 minutes the game dropped 322 draws a frame on average (max 2,016), and the frame rate fell to 0.3-0.4 fps in places. In game this looked like objects popping in or missing and characters drawn blocky. - The next run on the same PC, with background apps closed and ray tracing off, went through the same area with **0 failed pipelines**. **Why they stay refused:** in `crates/victory-gpu/src/pipeline/make.rs`, `settle()` retries a build only when the memory guard deferred it (`deferred && built.is_none()`). A refusal from the driver is written to the `OnceLock` as `None` and kept for the run ("A refusal of the host's own is recorded for the run"). So a compile that the guard let through just before memory ran out is refused for good, even though it would build a second later. **A possible fix that keeps #2533's case covered:** when the driver returns `0x8007000e` and the memory guard's figures were under its floors when that compile started or ended, treat it like a guard deferral (`defer()`, retry after `RETRY_AFTER_MS`). Cap the retries per key, for example 3, before the refusal is recorded for the run. With plenty of memory free, as on the 8 GB card in #2533, the refusal is still remembered, so the per-run negative cache asked for there still applies. I can test a patch on this PC if that helps; the burst reproduces by keeping a browser open while the world loads.
Author
Owner

@⁠superboynick on GitHub · 2026-11-29 14:33 UTC · original

Two more measurements on the same machine, in case they help place the failure. Both Series S with DLSS Quality, VICTORY_CARD_BUFFERS_MIN_KB=512, VICTORY_LEVELS_ON_DEMAND=1, the rest of scripts\play-foxhound.ps1's set; 280 s a run, sampling the title's own counter every 5 s, discarding the first 120 s.

run median p10 median draws peak video memory
Series S, frame generation 2x 5-9 fps 4 4,577 11,795 MB
Series S, no frame generation 10 fps 9 4,523 11,694 MB

Three things that may be useful:

  1. Frame generation costs about 2.5 GB here and costs the bottom of the distribution: p10 goes from 9 to 4 while the median barely moves. On a card whose budget is ~10.5 GB that is the difference between 10 fps steady and 20 shown with dips.
  2. VICTORY_LEVELS_ON_DEMAND=1 is the one switch that measurably helped at Series X: 0.3 fps to 6 fps, peak 11,917 MB against a budget of 10,857 MB, draws 4,863. It is off in play-foxhound.ps1, so the script's own Series X path is the one that runs into 0x8007000e.
  3. VICTORY_MAPPING_STRIPES=4 made Series S worse (median 9 to 5, p10 4 to 4): recorded so it is not suggested as a fix.

The pattern I see: every configuration that matters sits at 11.7-11.9 GB of a 10.5-10.9 GB budget, i.e. the layer is content to allocate past the budget and let the shared pool absorb it, and the failure only shows up later as 0x8007000e on a pipeline. If there is a switch that makes the layer hold back from the budget's edge - a reserve, or a refusal to place a copy when the free budget is under N MB - pointing me at it would be enough; I can do the measurements.

**@⁠superboynick** on GitHub · 2026-11-29 14:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2520#issuecomment-7257395513) Two more measurements on the same machine, in case they help place the failure. Both Series S with DLSS Quality, `VICTORY_CARD_BUFFERS_MIN_KB=512`, `VICTORY_LEVELS_ON_DEMAND=1`, the rest of `scripts\play-foxhound.ps1`'s set; 280 s a run, sampling the title's own counter every 5 s, discarding the first 120 s. | run | median | p10 | median draws | peak video memory | |---|---:|---:|---:|---:| | Series S, frame generation 2x | 5-9 fps | **4** | 4,577 | 11,795 MB | | Series S, **no frame generation** | **10 fps** | **9** | 4,523 | 11,694 MB | Three things that may be useful: 1. **Frame generation costs about 2.5 GB here** and costs the bottom of the distribution: p10 goes from 9 to 4 while the median barely moves. On a card whose budget is ~10.5 GB that is the difference between 10 fps steady and 20 shown with dips. 2. **`VICTORY_LEVELS_ON_DEMAND=1` is the one switch that measurably helped at Series X**: 0.3 fps to 6 fps, peak 11,917 MB against a budget of 10,857 MB, draws 4,863. It is off in `play-foxhound.ps1`, so the script's own Series X path is the one that runs into `0x8007000e`. 3. **`VICTORY_MAPPING_STRIPES=4` made Series S worse** (median 9 to 5, p10 4 to 4): recorded so it is not suggested as a fix. The pattern I see: every configuration that matters sits at 11.7-11.9 GB of a 10.5-10.9 GB budget, i.e. **the layer is content to allocate past the budget and let the shared pool absorb it**, and the failure only shows up later as `0x8007000e` on a pipeline. If there is a switch that makes the layer hold back from the budget's edge - a reserve, or a refusal to place a copy when the free budget is under N MB - pointing me at it would be enough; I can do the measurements.
Author
Owner

@⁠superboynick on GitHub · 2026-11-29 15:27 UTC · original

A different ending from the same machine, which may matter more than the frame rates above: at Series S with DLSS Performance the layer did not slow down, it died on its own allocation:

memory now: committed 25948 MB, the card's own 8263 MB in use of a budget of 11176 MB,
            the PC's shared with the card 10283 MB in use
memory allocation of 1045296 bytes failed

Before that, stage="mesh" pipelines were refused with 0x8007000e 1,160 times over 41 distinct keys in the second before it went (reason="mesh 0x8007000e"), so this is the same shortage as the report, reaching a different place: not "the draw is dropped" but "the process cannot allocate 1 MB".

What is different about this run, and might be the trigger:

Series S, DLSS Quality (runs before) Series S, DLSS Performance (this one)
video memory, the card's own 8,200-9,400 MB 8,263 MB
shared with the card 7,600 MB 10,283 MB
committed 26,798 MB 25,948 MB
outcome 10 fps, keeps running aborts

So the smaller internal render did not reduce what the layer takes from system memory - the shared side went up by 2.6 GB - and the process ran out of commit rather than out of device memory. If the intent is that a smaller internal size always costs less, this is a case where it costs more.

I do not know which allocation it was (the message carries no site): RUST_BACKTRACE=1 would name it, and I can run that here if it is useful - the run reproduces a few minutes after the world loads at Series S with VICTORY_DLSS_MODE=performance.

Two runs of the same switch set with DLSS Quality on this machine died earlier at Series X in the title's own code (0x80000003), so I have no clean "before" at Performance to compare against; take the shared-memory figure as the observation, not as a controlled result.

**@⁠superboynick** on GitHub · 2026-11-29 15:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2520#issuecomment-7258104451) A different ending from the same machine, which may matter more than the frame rates above: at Series S with **DLSS Performance** the layer did not slow down, it **died on its own allocation**: ``` memory now: committed 25948 MB, the card's own 8263 MB in use of a budget of 11176 MB, the PC's shared with the card 10283 MB in use memory allocation of 1045296 bytes failed ``` Before that, `stage="mesh"` pipelines were refused with `0x8007000e` **1,160 times over 41 distinct keys** in the second before it went (`reason="mesh 0x8007000e"`), so this is the same shortage as the report, reaching a different place: not "the draw is dropped" but "the process cannot allocate 1 MB". What is different about this run, and might be the trigger: | | Series S, DLSS Quality (runs before) | Series S, **DLSS Performance** (this one) | |---|---|---| | video memory, the card's own | 8,200-9,400 MB | 8,263 MB | | **shared with the card** | 7,600 MB | **10,283 MB** | | committed | 26,798 MB | 25,948 MB | | outcome | 10 fps, keeps running | **aborts** | So the smaller internal render did not reduce what the layer takes from system memory - the shared side went **up** by 2.6 GB - and the process ran out of commit rather than out of device memory. If the intent is that a smaller internal size always costs less, this is a case where it costs more. I do not know which allocation it was (the message carries no site): `RUST_BACKTRACE=1` would name it, and I can run that here if it is useful - the run reproduces a few minutes after the world loads at Series S with `VICTORY_DLSS_MODE=performance`. Two runs of the same switch set with DLSS Quality on this machine died earlier at Series X in the title's own code (`0x80000003`), so I have no clean "before" at Performance to compare against; take the shared-memory figure as the observation, not as a controlled result.
Author
Owner

@⁠superboynick on GitHub · 2026-11-29 15:36 UTC · original

Correcting my own line above: the allocation abort did not reproduce when I went back for it. The same switch set at Series S with VICTORY_DLSS_MODE=performance and RUST_BACKTRACE=1 ran 420 s without aborting - 18,601 lines, 10.5 fps at 93.1-95.5 ms, draws 4,504-4,525 - so it is intermittent rather than "reproduces a few minutes after the world loads", and I have no backtrace to name the site.

What did reproduce in both runs is the stage="mesh" refusal count: 1,160 over 41 keys in the run that died, 1,134 in the run that lived, both within a second or so of the world streaming in. So the mesh refusals are ordinary here and the abort rides on top of them; the abort is the rare part.

Two side results from the run that lived, since they cost nothing:

  • DLSS Performance is slightly better than Quality at Series S on this card: 93.1-95.5 ms against 104.5 ms median. About 9 %, not the 2x the mode name suggests, because the frame is preparing + on the GPU + copying back and only the GPU part shrinks - 42 ms against 44 - while copying back stays at 21-25 ms and preparing at 25-27.
  • The additive split holds in every line of this run too, so it is not an artifact of the earlier one.

If you want the abort chased, tell me what to set to make commit pressure reliable and I will run it with the backtrace on; I would rather not guess at a trigger twice.

**@⁠superboynick** on GitHub · 2026-11-29 15:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2520#issuecomment-7258228706) Correcting my own line above: the allocation abort did **not** reproduce when I went back for it. The same switch set at Series S with `VICTORY_DLSS_MODE=performance` and `RUST_BACKTRACE=1` ran **420 s without aborting** - 18,601 lines, 10.5 fps at 93.1-95.5 ms, draws 4,504-4,525 - so it is intermittent rather than "reproduces a few minutes after the world loads", and I have no backtrace to name the site. What did reproduce in both runs is the `stage="mesh"` refusal count: 1,160 over 41 keys in the run that died, 1,134 in the run that lived, both within a second or so of the world streaming in. So the mesh refusals are ordinary here and the abort rides on top of them; the abort is the rare part. Two side results from the run that lived, since they cost nothing: - **DLSS Performance is slightly better than Quality at Series S on this card**: 93.1-95.5 ms against 104.5 ms median. About 9 %, not the 2x the mode name suggests, because the frame is `preparing + on the GPU + copying back` and only the GPU part shrinks - 42 ms against 44 - while copying back stays at 21-25 ms and preparing at 25-27. - The additive split holds in every line of this run too, so it is not an artifact of the earlier one. If you want the abort chased, tell me what to set to make commit pressure reliable and I will run it with the backtrace on; I would rather not guess at a trigger twice.
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/trustno1-coder--VIctory-NVIDIA#2520
No description provided.