Docs: diagnose Windows memory exhaustion during world loading #80

Open
github-bot wants to merge 4 commits from github-bot/gh-80 into main AGit
Owner

@⁠mattiolocoding on GitHub · 2026-11-27 17:08 UTC · original
mattiolocoding:docs/windows-memory-pressure → main · +115 −0 · 2 files · 4 commits · open

A Series S run on an RTX 3060 Ti 8 GB and 32 GB of RAM reaches the menu, then aborts on the first scene load when Windows system commit reaches its limit. The README now points to a troubleshooting guide with the measured failure, a launch profile for comparison, instructions for checking commit and GPU memory, and links to related reports.

Two isolated retries reached the same limit, including one with two pipeline workers and synchronous command recording. With automatic paging active after reboot, the same two-worker profile passed the allocation failure and reached the intro with audio and subtitles. The picture was black and the process ended on window close. The guide records those limits, the live GPU budget, and related upstream proposals.

Validated: the documentation's local links resolve, git diff --check passes, and xtask policy accepts all 280 tracked files. The change contains documentation and summarized measurements. AI-assisted with Codex.

**@⁠mattiolocoding** on GitHub · 2026-11-27 17:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80) `mattiolocoding:docs/windows-memory-pressure` → `main` · +115 −0 · 2 files · 4 commits · open A Series S run on an RTX 3060 Ti 8 GB and 32 GB of RAM reaches the menu, then aborts on the first scene load when Windows system commit reaches its limit. The README now points to a troubleshooting guide with the measured failure, a launch profile for comparison, instructions for checking commit and GPU memory, and links to related reports. Two isolated retries reached the same limit, including one with two pipeline workers and synchronous command recording. With automatic paging active after reboot, the same two-worker profile passed the allocation failure and reached the intro with audio and subtitles. The picture was black and the process ended on window close. The guide records those limits, the live GPU budget, and related upstream proposals. Validated: the documentation's local links resolve, `git diff --check` passes, and `xtask policy` accepts all 280 tracked files. The change contains documentation and summarized measurements. AI-assisted with Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 17:15:20 +00:00
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 17:12 UTC · original

Issues are disabled on this repository, so this goes here, because it is the same subject: host memory and VRAM exhaustion on an 8 GB card, measured on the release build.

Machine: RTX 4060 Laptop 8 GB (8,188 MiB; D3D12 budget here about 6.4 GB), i9-14900HX, 32 GB DDR5, Windows 11 build 26300, driver 621.01, HAGS on, hybrid graphics. d12eb1b, release build, NVIDIA files from Get-NVIDIA-DLSS.cmd. Launched with -SeriesS -Dlss performance -FrameGen -FrameGenX 2, no menus touched.

Two things your patch would have been measuring here

1. The card spends the whole run over its budget, with the overflow in host memory. 174 samples, every 5 s, 14 m 39 s:

VRAM 6.4-6.9 GB dedicated against a 6.4 GB budget
SHARED 7.0-7.7 GB                      <- the overflow, in the host's memory
RAM 23 GB

One frame at 19:59 was near-white with DRAWS 7283 DROPPED 2548 and SHARED 7.7 - that is the shape of the failure your log line would name.

2. The run ended in a device removal, 14 m 39 s in, after the pipeline library failed to load over and over:

ERROR victory_gpu::host: host GPU device removed after 16 submissions sent ahead
      (VICTORY_RELAY=1) of 186 lists; no breadcrumbs (0x887A0005)
pipeline library: made [mesh 6a2a81405fd488fe, pixel 66c83f0028b703d5] in 259.1 ms
  (the library did not load it: E_INVALIDARG, 0x80070057)

The library never loads on this card, so everything in it is compiled at run time - 259 ms for one mesh+pixel pair in that log. If your diagnostics name the phase, this run would tell us whether the removal follows the memory trim or the pipeline storm.

One more datapoint for the memory question

DLSS Frame Generation works on this card - Streamline reports it supported and it is a clean 2.07x (12 -> 24, 13 -> 26, 14 -> 28, 18 -> 36) - but only for the first three minutes. It then stops and never returns for the remaining 11 m 30 s, while the render rate recovers (16 fps, FG off). With -Dlss quality before that it was intermittent: 5 of 12 samples without FG, and those sat at 7.74-7.85 GB where the working ones sat at 7.53-7.70 GB.

So the frame generation drop tracks the card's memory closely, which is what README says it should - but "never comes back" is not what I would expect from pressure alone, and if your trim runs during world loading it may be the same knob.

Happy to re-run with any build or switch you want (I can also put the four-line CSV of the whole session anywhere you like). No game files, screenshots or NVIDIA files are included.

**@⁠YUYING234** on GitHub · 2026-11-27 17:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7224140142) Issues are disabled on this repository, so this goes here, because it is the same subject: **host memory and VRAM exhaustion on an 8 GB card**, measured on the release build. Machine: RTX 4060 **Laptop** 8 GB (8,188 MiB; D3D12 budget here about **6.4 GB**), i9-14900HX, 32 GB DDR5, Windows 11 build 26300, driver 621.01, HAGS on, hybrid graphics. `d12eb1b`, release build, NVIDIA files from `Get-NVIDIA-DLSS.cmd`. Launched with `-SeriesS -Dlss performance -FrameGen -FrameGenX 2`, no menus touched. ## Two things your patch would have been measuring here **1. The card spends the whole run over its budget, with the overflow in host memory.** 174 samples, every 5 s, 14 m 39 s: ``` VRAM 6.4-6.9 GB dedicated against a 6.4 GB budget SHARED 7.0-7.7 GB <- the overflow, in the host's memory RAM 23 GB ``` One frame at 19:59 was near-white with `DRAWS 7283 DROPPED 2548` and `SHARED 7.7` - that is the shape of the failure your log line would name. **2. The run ended in a device removal, 14 m 39 s in**, after the pipeline library failed to load over and over: ``` ERROR victory_gpu::host: host GPU device removed after 16 submissions sent ahead (VICTORY_RELAY=1) of 186 lists; no breadcrumbs (0x887A0005) pipeline library: made [mesh 6a2a81405fd488fe, pixel 66c83f0028b703d5] in 259.1 ms (the library did not load it: E_INVALIDARG, 0x80070057) ``` The library never loads on this card, so everything in it is compiled at run time - 259 ms for one mesh+pixel pair in that log. If your diagnostics name the phase, this run would tell us whether the removal follows the memory trim or the pipeline storm. ## One more datapoint for the memory question DLSS Frame Generation works on this card - Streamline reports it supported and it is a clean **2.07x** (12 -> 24, 13 -> 26, 14 -> 28, 18 -> 36) - but only for **the first three minutes**. It then stops and never returns for the remaining 11 m 30 s, while the render rate recovers (16 fps, FG off). With `-Dlss quality` before that it was intermittent: 5 of 12 samples without FG, and those sat at **7.74-7.85 GB** where the working ones sat at 7.53-7.70 GB. So the frame generation drop tracks the card's memory closely, which is what `README` says it should - but "never comes back" is not what I would expect from pressure alone, and if your trim runs during world loading it may be the same knob. Happy to re-run with any build or switch you want (I can also put the four-line CSV of the whole session anywhere you like). No game files, screenshots or NVIDIA files are included.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 18:18 UTC · original

Follow-up with four things the two fresh-save runs turned up, since three of them look like memory/window code rather than the title.

Both runs: 29d8dbf, release, play-foxhound.ps1 -SeriesS -Dlss performance -FrameGen -FrameGenX 2, saves cleared, nothing else touched. The only difference was a reboot between them.

1. Going over the card's budget is not occasional on 8 GB, it is the steady state

A (no reboot before it) B (after reboot)
VRAM first -> last 6656 -> 7808 MiB 6778 -> 7590 MiB
Creep +1152 MiB / 5 min +812 MiB / 5 min
Peak 7818 MiB 7695 MiB
D3D12 budget on this card ~6.4 GB ~6.4 GB
Outcome device removed (0x887A0005) at ~7 min still running at 4m43s

So both end 1.2-1.4 GB above budget; the reboot only slows the creep by about 30 %. If a low-VRAM preset is meant to hold this card under budget, it does not on a fresh save.

2. A fixed jump of +424 MiB at a scene transition, in both runs

A  20:52:43  19->38 fps | 1477 draws | VRAM 7058 -> 7483   (+425 MiB)
B  21:04:51  18->35 fps | 1495 draws | VRAM 7172 -> 7596   (+424 MiB)

The two runs are independent (different process, one after a reboot) and the jump is the same to within 1 MiB, at the same kind of transition. That reads like one fixed allocation made when a scene changes and not given back, rather than a per-frame leak - which would fit the "creep" that never comes down.

3. Closing the window with frame generation on leaves an orphan process

CloseMainWindow (and Esc, which appears to do the same) destroyed the window but the title kept running:

window closed event in the log : 0
process                        : alive, 18.89 GB RAM, 7.7 GB VRAM, GPU 100 %

and Streamline then complained on every present until the process was killed - 923 lines:

ERROR streamline: generic.cpp:1509 [getRefreshRate] Window handle 0x307fa is invalid
WARN  streamline: dlfgPresent.cpp:1553 [presentFrame] Couldn't lock the mute...

So the shutdown path never reaches lifecycle: window closed: suspending the title, and FG keeps presenting to a dead window. Worth a check on whatever handles WM_CLOSE while frame generation is on - for us the only clean way out was the in-game pause menu (and a reboot after the orphan, because it keeps the card allocated).

4. The frame-generation dropouts are not a VRAM cliff

I had assumed (in my first message) that FG stops once the card passes about 7.7 GB. B rules that out: FG worked in 36 of 36 samples at 7.6-7.7 GB, 12.5 -> 25.0 fps, exactly 2.00x.

In A, where FG missed 3 of 36 samples, all three were at scene loads, not at high memory:

20:19:22  14 fps, 4228 draws, no FG
20:19:30  19 fps, 2860 draws, no FG
20:19:46  25 fps, 1159 draws, no FG
20:20:59  118 fps,    2 draws, no FG   (loading)

So the dropouts track transitions, not the memory ceiling - which makes them consistent with the D3D12 device being reset/recreated at those moments rather than with the texture budget. My earlier "over 7.7 GB and FG goes" line is withdrawn.

Also, for context: one hard system freeze

After the two device removals above I kept testing without a reboot and the machine froze outright at 20:36 (no bugcheck, no WHEA, no TDR, no dump - Kernel-Power 41 only). The GPU had logged 27 x nvlddmkm Event 153 in that hour. Hardware checks afterwards are clean (no remapped VRAM rows, disks healthy, battery 86 %). I read it as the driver being left in a bad state after repeated device removals rather than anything in your code, but if the pipeline-library path can trigger a removal, it may be worth knowing that a second removal without a reboot was enough to take the machine down.

No game files or screenshots attached; everything above is numbers from my own runs.

**@⁠YUYING234** on GitHub · 2026-11-27 18:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7225352926) Follow-up with four things the two fresh-save runs turned up, since three of them look like memory/window code rather than the title. Both runs: `29d8dbf`, release, `play-foxhound.ps1 -SeriesS -Dlss performance -FrameGen -FrameGenX 2`, saves cleared, nothing else touched. The only difference was a **reboot between them**. ## 1. Going over the card's budget is not occasional on 8 GB, it is the steady state | | A (no reboot before it) | B (after reboot) | |---|---|---| | VRAM first -> last | 6656 -> **7808 MiB** | 6778 -> **7590 MiB** | | Creep | **+1152 MiB / 5 min** | **+812 MiB / 5 min** | | Peak | 7818 MiB | 7695 MiB | | D3D12 budget on this card | ~6.4 GB | ~6.4 GB | | Outcome | device removed (0x887A0005) at ~7 min | still running at 4m43s | So both end 1.2-1.4 GB above budget; the reboot only slows the creep by about 30 %. If a low-VRAM preset is meant to hold this card under budget, it does not on a fresh save. ## 2. A fixed jump of +424 MiB at a scene transition, in both runs ``` A 20:52:43 19->38 fps | 1477 draws | VRAM 7058 -> 7483 (+425 MiB) B 21:04:51 18->35 fps | 1495 draws | VRAM 7172 -> 7596 (+424 MiB) ``` The two runs are independent (different process, one after a reboot) and the jump is the same to within 1 MiB, at the same kind of transition. That reads like one fixed allocation made when a scene changes and not given back, rather than a per-frame leak - which would fit the "creep" that never comes down. ## 3. Closing the window with frame generation on leaves an orphan process `CloseMainWindow` (and Esc, which appears to do the same) destroyed the window but the title kept running: ``` window closed event in the log : 0 process : alive, 18.89 GB RAM, 7.7 GB VRAM, GPU 100 % ```` and Streamline then complained on every present until the process was killed - **923 lines**: ``` ERROR streamline: generic.cpp:1509 [getRefreshRate] Window handle 0x307fa is invalid WARN streamline: dlfgPresent.cpp:1553 [presentFrame] Couldn't lock the mute... ``` So the shutdown path never reaches `lifecycle: window closed: suspending the title`, and FG keeps presenting to a dead window. Worth a check on whatever handles WM_CLOSE while frame generation is on - for us the only clean way out was the in-game pause menu (and a reboot after the orphan, because it keeps the card allocated). ## 4. The frame-generation dropouts are not a VRAM cliff I had assumed (in my first message) that FG stops once the card passes about 7.7 GB. B rules that out: **FG worked in 36 of 36 samples at 7.6-7.7 GB**, 12.5 -> 25.0 fps, exactly 2.00x. In A, where FG missed 3 of 36 samples, all three were at scene loads, not at high memory: ``` 20:19:22 14 fps, 4228 draws, no FG 20:19:30 19 fps, 2860 draws, no FG 20:19:46 25 fps, 1159 draws, no FG 20:20:59 118 fps, 2 draws, no FG (loading) ``` So the dropouts track transitions, not the memory ceiling - which makes them consistent with the D3D12 device being reset/recreated at those moments rather than with the texture budget. My earlier "over 7.7 GB and FG goes" line is withdrawn. ## Also, for context: one hard system freeze After the two device removals above I kept testing without a reboot and the machine froze outright at 20:36 (no bugcheck, no WHEA, no TDR, no dump - `Kernel-Power 41` only). The GPU had logged **27 x nvlddmkm Event 153** in that hour. Hardware checks afterwards are clean (no remapped VRAM rows, disks healthy, battery 86 %). I read it as the driver being left in a bad state after repeated device removals rather than anything in your code, but if the pipeline-library path can trigger a removal, it may be worth knowing that a second removal without a reboot was enough to take the machine down. No game files or screenshots attached; everything above is numbers from my own runs.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 18:21 UTC · original

Following the reporting format you added in 29d8dbf (good timing - it made me go back and read the codes properly, and I had one of them wrong).

GPU RTX 4060 Laptop 8 GB (8,188 MiB, D3D12 budget ~6.4 GB), driver 621.01, hybrid graphics, HAGS on. Windows 11 build 26300. Release 29d8dbf, built here; launched with scripts\play-foxhound.ps1 -Exe <own copy> -SeriesS -Dlss performance -FrameGen -FrameGenX 2 -Build release, saves cleared, no menus touched.

The two logs from the run that went wrong

Play log: %LOCALAPPDATA%\victory\logs\victory-nvidia-20261127-204818.log (8.67 MB, run ended 20:57:11). The failure is at line 36629:

ERROR victory_gpu::host: host GPU device removed after 14 submissions sent ahead
      (VICTORY_RELAY=1) of 155 lists; no breadcrumbs
      (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006)

I had been quoting 0x887A0005 in my earlier comments, and that was wrong. The codes in the log are:

  • 0x887A0006 = DXGI_ERROR_DEVICE_HUNG ("the GPU will not respond to more commands; most likely the application passed an invalid command") - this is the real one,
  • 0x887A0004 = DXGI_ERROR_UNSUPPORTED alongside it, which reads like a follow-up call after the hang rather than the cause.

So this is a hung GPU, not a removed device, and that matters: on this machine a hang is not contained by the driver. The same evening the whole system froze once (no bugcheck, no WHEA, no TDR, no dump, only Kernel-Power 41), and nvlddmkm had logged 27 x Event 153 in the hour before. If the hang is real and not synthetic, TDR is not catching it here.

Crash log: %LOCALAPPDATA%\victory\data\7952987A\crashes.log, 0.9 KB, both entries from today, pasted whole:

unix time 1795799378, process 9348
VIctory: host GPU failure: host GPU device removed after 16 submissions sent ahead (VICTORY_RELAY=1) of 186 lists; no breadcrumbs (0x887A0004)

unix time 1795802231, process 28968
VIctory: host GPU failure: host GPU device removed after 14 submissions sent ahead (VICTORY_RELAY=1) of 155 lists; no breadcrumbs (0x887A0004)

%LOCALAPPDATA%\victory\data\7952987A\temp\ holds no *.crash.log from either run - the small dump path never ran, which fits a hang: the process is still alive when the device stops answering.

What both runs looked like just before

run 1 (20:09:38 hang) run 2 (20:57:11 hang)
VRAM at the end 7,145 MiB 7,808 MiB
Against the 6.4 GB budget +745 MiB +1,408 MiB
Render fps 4.7 median 12-15
FG working 4.8 median shown, 88-92 % of samples 27 shown, 92 %
Dropped draws per frame 450-452 234-396

Both go over budget by a lot before the hang, and in both the load right before it is the same shape: a scene change, then a fixed +424 / +425 MiB step in VRAM that never comes back down (independent runs, one of them after a reboot). That is in my previous comment; mentioning it again only because a hung GPU and a card driven 1.4 GB past its budget are hard to separate from the outside.

And the exit path, which may be the same code area

Closing the window with frame generation on leaves the process running (18.89 GB RAM, 7.7 GB VRAM, GPU 100 %) and Streamline complains 923 times:

ERROR streamline: generic.cpp:1509 [getRefreshRate] Window handle 0x307fa is invalid
WARN  streamline: dlfgPresent.cpp:1553 [presentFrame] Couldn't lock the mute...

lifecycle: window closed: suspending the title never appears in that run's log. Only the in-game pause menu exited cleanly.

What I can add

I have the full 8.67 MB play log and the 6.31 MB one from the other hang; tell me which lines you want and I will paste them (I did not attach 15 MB of log to a comment). The one thing I cannot give you is a clean reproduction: it happens after 4-7 minutes at 12-15 fps, once the card is above budget, not at a fixed step.

**@⁠YUYING234** on GitHub · 2026-11-27 18:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7225410736) Following the reporting format you added in `29d8dbf` (good timing - it made me go back and read the codes properly, and I had one of them wrong). **GPU** RTX 4060 **Laptop** 8 GB (8,188 MiB, D3D12 budget ~6.4 GB), driver 621.01, hybrid graphics, HAGS on. **Windows 11** build 26300. **Release** `29d8dbf`, built here; launched with `scripts\play-foxhound.ps1 -Exe <own copy> -SeriesS -Dlss performance -FrameGen -FrameGenX 2 -Build release`, saves cleared, no menus touched. ## The two logs from the run that went wrong **Play log:** `%LOCALAPPDATA%\victory\logs\victory-nvidia-20261127-204818.log` (8.67 MB, run ended 20:57:11). The failure is at line 36629: ``` ERROR victory_gpu::host: host GPU device removed after 14 submissions sent ahead (VICTORY_RELAY=1) of 155 lists; no breadcrumbs (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006) ``` **I had been quoting 0x887A0005 in my earlier comments, and that was wrong.** The codes in the log are: - **0x887A0006 = `DXGI_ERROR_DEVICE_HUNG`** ("the GPU will not respond to more commands; most likely the application passed an invalid command") - this is the real one, - **0x887A0004 = `DXGI_ERROR_UNSUPPORTED`** alongside it, which reads like a follow-up call after the hang rather than the cause. So this is a **hung GPU**, not a removed device, and that matters: on this machine a hang is not contained by the driver. The same evening the whole system froze once (no bugcheck, no WHEA, no TDR, no dump, only `Kernel-Power 41`), and `nvlddmkm` had logged **27 x Event 153** in the hour before. If the hang is real and not synthetic, TDR is not catching it here. **Crash log:** `%LOCALAPPDATA%\victory\data\7952987A\crashes.log`, 0.9 KB, both entries from today, pasted whole: ``` unix time 1795799378, process 9348 VIctory: host GPU failure: host GPU device removed after 16 submissions sent ahead (VICTORY_RELAY=1) of 186 lists; no breadcrumbs (0x887A0004) unix time 1795802231, process 28968 VIctory: host GPU failure: host GPU device removed after 14 submissions sent ahead (VICTORY_RELAY=1) of 155 lists; no breadcrumbs (0x887A0004) ``` `%LOCALAPPDATA%\victory\data\7952987A\temp\` holds **no `*.crash.log`** from either run - the small dump path never ran, which fits a hang: the process is still alive when the device stops answering. ## What both runs looked like just before | | run 1 (20:09:38 hang) | run 2 (20:57:11 hang) | |---|---|---| | VRAM at the end | 7,145 MiB | 7,808 MiB | | Against the 6.4 GB budget | +745 MiB | +1,408 MiB | | Render fps | 4.7 median | 12-15 | | FG working | 4.8 median shown, 88-92 % of samples | 27 shown, 92 % | | Dropped draws per frame | 450-452 | 234-396 | Both go over budget by a lot before the hang, and in both the load right before it is the same shape: a scene change, then a fixed **+424 / +425 MiB** step in VRAM that never comes back down (independent runs, one of them after a reboot). That is in my previous comment; mentioning it again only because a hung GPU and a card driven 1.4 GB past its budget are hard to separate from the outside. ## And the exit path, which may be the same code area Closing the window with frame generation on leaves the process running (18.89 GB RAM, 7.7 GB VRAM, GPU 100 %) and Streamline complains **923 times**: ``` ERROR streamline: generic.cpp:1509 [getRefreshRate] Window handle 0x307fa is invalid WARN streamline: dlfgPresent.cpp:1553 [presentFrame] Couldn't lock the mute... ``` `lifecycle: window closed: suspending the title` never appears in that run's log. Only the in-game pause menu exited cleanly. ## What I can add I have the full 8.67 MB play log and the 6.31 MB one from the other hang; tell me which lines you want and I will paste them (I did not attach 15 MB of log to a comment). The one thing I cannot give you is a clean reproduction: it happens after 4-7 minutes at 12-15 fps, once the card is above budget, not at a fixed step.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 19:47 UTC · original

Tested 0cef07e on the same 8 GB laptop tonight, and whatever went in between 29d8dbf and this one changed the picture completely. Same machine, same launch line (-SeriesS -Dlss performance -FrameGen -FrameGenX 2), saves cleared.

The run

25.8 minutes and still going, no device hang, no crash-log entry. For comparison, on the same card tonight:

Build VRAM creep Survived Ended with
d12eb1b (this morning) fast 3 min frame generation stops for good, then device removed at 14 m 39 s
29d8dbf +812 MiB / 4.7 min (~173 MiB/min) 7 min DXGI_ERROR_DEVICE_HUNG (0x887A0006)
0cef07e +95 MiB / 10 min (~9.5 MiB/min) 25.8 min, still running nothing

That is the creep down by a factor of about 18, and the run outliving the previous best by 3.6x without a hang.

Ten-minute window in detail (60 samples, every 10 s):

value
Render fps, median 12.0 (range 9-17)
Shown fps, median 23.5
Frame generation working 58 of 60 samples (97 %)
VRAM first -> last 7731 -> 7826 MiB, peak 7846
GPU 100 %, 49 W, 51 C
RAM fell from 19.86 GB to 14.51 GB during the run
22:36:10  12->24 fps | 3605 draws | VRAM 7731 | GPU 100 %
22:39:12  12->25 fps | 4734 draws | VRAM 7703 | GPU 100 %
22:42:13  12->23 fps | 7213 draws | VRAM 7786 | GPU  33 %
22:45:14  15->30 fps | 3806 draws | VRAM 7844 | GPU 100 %

Note the third line: 7213 draws with the GPU at 33 % and IDLE BEHIND US 19.4 in the panel - that is the submitting side, not the card, and it is the only place in the run where the GPU was not the limit.

Two things you may want to know

1. The warm-up restart does not fire from the script launcher. I launched with scripts\play-foxhound.ps1 -Exe <game>; one process the whole time, and %LOCALAPPDATA%\victory\warmed never appeared, so the first start of a new victory.exe still runs cold on that path. If the marker is only written by victory.exe play, the launcher users keep the slow first session. (My first two fresh runs today sat at 12.5 and 14 fps medians - I now cannot tell whether that was the cold start or just this card, because the restart never happened on this path.)

2. The card's own budget shrinks as shared memory grows. The F3 panel started the run at VRAM 6.3/6.4 GB and ended it at VRAM 6.1/5.5 GB with SHARED 7.8 - Windows cut the budget by about 900 MiB once the overflow to shared memory got large. So on 8 GB the usable budget is not a constant, and a loop that trims to "the budget" will chase a moving number.

Visual, in case it is useful

Interiors look right: skin, hair, lamp falloff and depth of field all read correctly at DLSS Performance, and the softness is what I would expect from the 0.5 scale. Two places do not:

  • Indoor scene with a large window: the floor on one side gets striped light bands and characters carry a halo where they cross the window - light that should be occluded is leaking through.
  • Directly backlit exterior (bus stop, low sun): the frame blows out to near-white, the sun flare takes the whole picture and detail is gone for as long as that shot lasts. It is stable rather than flickering, and indoor/overcast frames right before and after are fine, so it reads like an exposure or sun-contribution estimate rather than the post chain.

Both are the same pair of symptoms I reported against another fork on this hardware, so it may be the title's lighting being translated rather than anything of yours.

Same offer as before: tell me which lines you want from the play log and I will paste them; I did not attach 9 MB of log.

**@⁠YUYING234** on GitHub · 2026-11-27 19:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7226873326) Tested `0cef07e` on the same 8 GB laptop tonight, and whatever went in between `29d8dbf` and this one changed the picture completely. Same machine, same launch line (`-SeriesS -Dlss performance -FrameGen -FrameGenX 2`), saves cleared. ## The run **25.8 minutes and still going, no device hang, no crash-log entry.** For comparison, on the same card tonight: | Build | VRAM creep | Survived | Ended with | |---|---|---|---| | `d12eb1b` (this morning) | fast | **3 min** | frame generation stops for good, then device removed at 14 m 39 s | | `29d8dbf` | **+812 MiB / 4.7 min** (~173 MiB/min) | **7 min** | `DXGI_ERROR_DEVICE_HUNG` (0x887A0006) | | **`0cef07e`** | **+95 MiB / 10 min** (~9.5 MiB/min) | **25.8 min, still running** | nothing | That is the creep down by a factor of about **18**, and the run outliving the previous best by **3.6x** without a hang. Ten-minute window in detail (60 samples, every 10 s): | | value | |---|---| | Render fps, median | **12.0** (range 9-17) | | Shown fps, median | **23.5** | | Frame generation working | **58 of 60 samples (97 %)** | | VRAM first -> last | 7731 -> 7826 MiB, peak 7846 | | GPU | 100 %, 49 W, 51 C | | RAM | fell from 19.86 GB to 14.51 GB during the run | ``` 22:36:10 12->24 fps | 3605 draws | VRAM 7731 | GPU 100 % 22:39:12 12->25 fps | 4734 draws | VRAM 7703 | GPU 100 % 22:42:13 12->23 fps | 7213 draws | VRAM 7786 | GPU 33 % 22:45:14 15->30 fps | 3806 draws | VRAM 7844 | GPU 100 % ``` Note the third line: 7213 draws with the GPU at 33 % and `IDLE BEHIND US 19.4` in the panel - that is the submitting side, not the card, and it is the only place in the run where the GPU was not the limit. ## Two things you may want to know **1. The warm-up restart does not fire from the script launcher.** I launched with `scripts\play-foxhound.ps1 -Exe <game>`; one process the whole time, and `%LOCALAPPDATA%\victory\warmed` never appeared, so the first start of a new `victory.exe` still runs cold on that path. If the marker is only written by `victory.exe play`, the launcher users keep the slow first session. (My first two fresh runs today sat at 12.5 and 14 fps medians - I now cannot tell whether that was the cold start or just this card, because the restart never happened on this path.) **2. The card's own budget shrinks as shared memory grows.** The F3 panel started the run at `VRAM 6.3/6.4 GB` and ended it at `VRAM 6.1/5.5 GB` with `SHARED 7.8` - Windows cut the budget by about 900 MiB once the overflow to shared memory got large. So on 8 GB the usable budget is not a constant, and a loop that trims to "the budget" will chase a moving number. ## Visual, in case it is useful Interiors look right: skin, hair, lamp falloff and depth of field all read correctly at DLSS Performance, and the softness is what I would expect from the 0.5 scale. Two places do not: - **Indoor scene with a large window**: the floor on one side gets **striped light bands** and characters carry a halo where they cross the window - light that should be occluded is leaking through. - **Directly backlit exterior** (bus stop, low sun): the frame **blows out to near-white**, the sun flare takes the whole picture and detail is gone for as long as that shot lasts. It is stable rather than flickering, and indoor/overcast frames right before and after are fine, so it reads like an exposure or sun-contribution estimate rather than the post chain. Both are the same pair of symptoms I reported against another fork on this hardware, so it may be the title's lighting being translated rather than anything of yours. Same offer as before: tell me which lines you want from the play log and I will paste them; I did not attach 9 MB of log.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 19:48 UTC · original

Correction to the comment above, 24 seconds after I wrote it: the run did hang. It was alive at 25.8 minutes when I sampled it, and crashes.log recorded the failure at 26 minutes exactly:

unix time 1795808789, process 19648
VIctory: host GPU failure: host GPU device removed after 9 submissions sent ahead
(VICTORY_RELAY=1) of 114 lists; no breadcrumbs
(0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006);
a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

So the corrected table is:

Build Creep Survived Ended with
d12eb1b fast 3 min FG stops, then device removed at 14 m 39 s
29d8dbf ~173 MiB/min 7 min DEVICE_HUNG
0cef07e ~9.5 MiB/min 26 min DEVICE_HUNG

Still a large improvement - creep down ~18x, life up ~3.7x - but not fixed, and the two are probably not the same thing: the creep had almost stopped (+95 MiB over the ten minutes before the hang, flat by the end) when the hang came anyway. That fits your own new line in crashes.log better than it fits a memory theory: it is one command, not a budget.

Which is why I am going to build with --features diagnostics and run with VICTORY_D3D12_DEBUG=1 next, so the next hang names the command instead of us guessing. If there is anything else you want set at the same time (a logging level, a switch you suspect), say it now and I will include it in the same run - a hang costs 5 to 26 minutes and I would rather spend it on your list than mine.

One thing that changed since the previous build and may matter: the hang at 26 minutes came after several story beats had loaded (the run went from an interior to a gym, a street, a police scene), so there were more distinct pipelines in play than in the 7-minute run. If the command that hangs is a rare one, that is where it would show up.

**@⁠YUYING234** on GitHub · 2026-11-27 19:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7226891764) Correction to the comment above, 24 seconds after I wrote it: the run **did hang**. It was alive at 25.8 minutes when I sampled it, and `crashes.log` recorded the failure at **26 minutes exactly**: ``` unix time 1795808789, process 19648 VIctory: host GPU failure: host GPU device removed after 9 submissions sent ahead (VICTORY_RELAY=1) of 114 lists; no breadcrumbs (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` So the corrected table is: | Build | Creep | Survived | Ended with | |---|---|---|---| | `d12eb1b` | fast | 3 min | FG stops, then device removed at 14 m 39 s | | `29d8dbf` | ~173 MiB/min | 7 min | DEVICE_HUNG | | **`0cef07e`** | **~9.5 MiB/min** | **26 min** | **DEVICE_HUNG** | Still a large improvement - creep down ~18x, life up ~3.7x - but not fixed, and the two are probably not the same thing: the creep had almost stopped (+95 MiB over the ten minutes before the hang, flat by the end) when the hang came anyway. That fits your own new line in `crashes.log` better than it fits a memory theory: **it is one command, not a budget**. Which is why I am going to build with `--features diagnostics` and run with **`VICTORY_D3D12_DEBUG=1`** next, so the next hang names the command instead of us guessing. If there is anything else you want set at the same time (a logging level, a switch you suspect), say it now and I will include it in the same run - a hang costs 5 to 26 minutes and I would rather spend it on your list than mine. One thing that changed since the previous build and may matter: the hang at 26 minutes came **after** several story beats had loaded (the run went from an interior to a gym, a street, a police scene), so there were more distinct pipelines in play than in the 7-minute run. If the command that hangs is a rare one, that is where it would show up.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 23:13 UTC · original

Closing the loop on the crashes I reported, with a correction to something I said earlier first.

Correction. My first two comments said "no menus touched". That was true of the first runs. The last three runs ran with settings saved from the F1 menu, and those override the launch flags - so the command line I quoted is not what actually ran. The values, since they are what anyone reproducing this needs:

VICTORY_MENU_CONSOLE=series-s      VICTORY_MENU_DLSS=performance
VICTORY_MENU_FRAMEGEN=2            VICTORY_MENU_FG_TYPE=dlss
VICTORY_MENU_RES=1440              VICTORY_AMBIENT=0.8
VICTORY_PANEL=1                    VICTORY_FULLSCREEN=1
VICTORY_MOUSE_CAPTURE=1            VICTORY_IME_ENGLISH=1
(ray tracing, water light, MFG unlocker: unset / off)

The part that matters for reading the result below: the run that survived used VICTORY_MENU_RES=1440, i.e. 2560x1440, while the runs that hung used 1080to1440. So it was not a lighter scene that saved it - if anything it was a heavier one.

What happened on df2daaf

Same machine, same fresh save, same prologue. Reached the boat - the scene that hung three times tonight (DEVICE_HUNG at 47 s twice, and one whole-system freeze at the same point) - drove it for 22 minutes with no hang.

session 22.2 minutes, 154 samples
render / shown 13.5 / 22.0 fps median
peaks 12,484 draws; VRAM 7,751 MiB against a budget of 6,386 MiB at that moment
crash log no new entry
frame generation worked in 64 % of samples - worse than the 92-100 % of the earlier runs

And one thing that is new rather than a non-event: the pipeline library: made [...] (the library did not load it: 0x80070057) lines that ran through every earlier log are gone from this build. That was the tightest pattern I had around the hangs, so its disappearance is the most interesting line in this comment.

What I will not claim

  • One run is not a fix. All three hangs were intermittent, so this is "not reproduced in 22 minutes", not "fixed".
  • I cannot attribute it. If I had to guess it is e69e39c's upload room reservation: a missing upload buffer leaves a copy that never completes, and the crash log named exactly that - Unsignaled CrossQueueBarrier: 82d9447 with Streaming Requests: 1211 in Prestream. But that is a guess from the symptom, not a measurement.
  • The frame generation figure got worse, not better (64 %), so if anything this build has a new thing to look at.

Next from me unless you would rather I did something else: repeat the same 22-minute boat run twice on df2daaf to see whether "no repro" holds, since one clean run against three hangs is thin evidence.

**@⁠YUYING234** on GitHub · 2026-11-27 23:13 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/80#issuecomment-7229974276) Closing the loop on the crashes I reported, with a correction to something I said earlier first. **Correction.** My first two comments said "no menus touched". That was true of the first runs. The last three runs ran with settings **saved from the F1 menu**, and those override the launch flags - so the command line I quoted is not what actually ran. The values, since they are what anyone reproducing this needs: ``` VICTORY_MENU_CONSOLE=series-s VICTORY_MENU_DLSS=performance VICTORY_MENU_FRAMEGEN=2 VICTORY_MENU_FG_TYPE=dlss VICTORY_MENU_RES=1440 VICTORY_AMBIENT=0.8 VICTORY_PANEL=1 VICTORY_FULLSCREEN=1 VICTORY_MOUSE_CAPTURE=1 VICTORY_IME_ENGLISH=1 (ray tracing, water light, MFG unlocker: unset / off) ``` **The part that matters for reading the result below:** the run that survived used `VICTORY_MENU_RES=1440`, i.e. **2560x1440**, while the runs that hung used `1080to1440`. So it was not a lighter scene that saved it - if anything it was a heavier one. ## What happened on `df2daaf` Same machine, same fresh save, same prologue. Reached the boat - the scene that hung three times tonight (DEVICE_HUNG at 47 s twice, and one whole-system freeze at the same point) - **drove it for 22 minutes with no hang.** | | | |---|---| | session | 22.2 minutes, 154 samples | | render / shown | 13.5 / 22.0 fps median | | peaks | 12,484 draws; VRAM 7,751 MiB against a budget of 6,386 MiB at that moment | | crash log | no new entry | | frame generation | **worked in 64 % of samples** - worse than the 92-100 % of the earlier runs | And one thing that is new rather than a non-event: the `pipeline library: made [...] (the library did not load it: 0x80070057)` lines that ran through every earlier log **are gone from this build**. That was the tightest pattern I had around the hangs, so its disappearance is the most interesting line in this comment. ## What I will not claim - **One run is not a fix.** All three hangs were intermittent, so this is "not reproduced in 22 minutes", not "fixed". - **I cannot attribute it.** If I had to guess it is `e69e39c`'s upload room reservation: a missing upload buffer leaves a copy that never completes, and the crash log named exactly that - `Unsignaled CrossQueueBarrier: 82d9447` with `Streaming Requests: 1211` in `Prestream`. But that is a guess from the symptom, not a measurement. - The frame generation figure got worse, not better (64 %), so if anything this build has a new thing to look at. Next from me unless you would rather I did something else: repeat the same 22-minute boat run twice on `df2daaf` to see whether "no repro" holds, since one clean run against three hangs is thin evidence.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/80/head:github-bot/gh-80'
git switch 'github-bot/gh-80'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-80'
git switch 'github-bot/gh-80'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-80'
git switch 'github-bot/gh-80'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-80'
git switch 'main'
git merge --squash 'github-bot/gh-80'
git switch 'main'
git merge --ff-only 'github-bot/gh-80'
git switch 'main'
git merge 'github-bot/gh-80'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.