Host pipelines: record memory pressure at the first OOM per stage #3125

Closed
github-bot wants to merge 1 commit from github-bot/gh-3125 into main AGit
Owner

@⁠Heldenkrieger01 on GitHub · 2026-11-29 20:08 UTC · original
Heldenkrieger01:t3/per-stage-pipeline-oom → main · +77 −17 · 3 files · 1 commits · closed without merging

An RTX 3080 intro run recorded 59 mesh pipeline failures reported as 0x8007000E, yet none of 51 periodic samples showed local usage over budget. Pressure during a driver allocation can fall between samples. Related to #2997, which reports compute OOMs with substantial shared-memory usage.

The first driver E_OUTOFMEMORY for each of compute, graphics and mesh now records whether the library load or pipeline creation failed, both DXGI segments’ usage and budget, process private commit and available system commit. This complements the retry work in #2888 with failure-time evidence.

The Windows unit test passed for HRESULT filtering, repeat suppression and independent stage limits. A synthetic Windows probe emitted exactly three warnings (mesh create, compute load, graphics create), each with all six live memory counters. Workspace Clippy reported existing loader and shader errors, and the tree-wide asset check flagged an unchanged loader file.

SergDi tested this diff on an RTX 4080 with 32 GB of RAM. The focused test passed. Two control runs reported three and two failed pipeline keys respectively, with zero driver-OOM snapshots. Both logged memory-guard deferrals below the 4,096 MiB available-commit floor. Guard logging is sampled, so the cause of each individual failure remains uncertain. The run with #2616 and an additional retry-ownership change stayed above the floor and did not exercise a driver-OOM retry. Hardware test report

Reviewed with sol-loop: 1 round with GPT-6.2-Sol. Sol verdict: approved.

Created with GPT-6.2-Astra in Codex.

**@⁠Heldenkrieger01** on GitHub · 2026-11-29 20:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3125) `Heldenkrieger01:t3/per-stage-pipeline-oom` → `main` · +77 −17 · 3 files · 1 commits · closed without merging An RTX 3080 intro run recorded 59 mesh pipeline failures reported as 0x8007000E, yet none of 51 periodic samples showed local usage over budget. Pressure during a driver allocation can fall between samples. Related to #2997, which reports compute OOMs with substantial shared-memory usage. The first driver E_OUTOFMEMORY for each of compute, graphics and mesh now records whether the library load or pipeline creation failed, both DXGI segments’ usage and budget, process private commit and available system commit. This complements the retry work in #2888 with failure-time evidence. The Windows unit test passed for HRESULT filtering, repeat suppression and independent stage limits. A synthetic Windows probe emitted exactly three warnings (mesh create, compute load, graphics create), each with all six live memory counters. Workspace Clippy reported existing loader and shader errors, and the tree-wide asset check flagged an unchanged loader file. SergDi tested this diff on an RTX 4080 with 32 GB of RAM. The focused test passed. Two control runs reported three and two failed pipeline keys respectively, with zero driver-OOM snapshots. Both logged memory-guard deferrals below the 4,096 MiB available-commit floor. Guard logging is sampled, so the cause of each individual failure remains uncertain. The run with #2616 and an additional retry-ownership change stayed above the floor and did not exercise a driver-OOM retry. [Hardware test report](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/3125) Reviewed with sol-loop: 1 round with GPT-6.2-Sol. Sol verdict: approved. Created with GPT-6.2-Astra in Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 20:12:52 +00:00
Author
Owner

@⁠SergDi on GitHub · 2026-11-30 06:32 UTC · original

Tested this PR's diagnostic diff (39de4d1256b7ef6bbc64808f0f5726878bd504aa) on base f72cec7714aa6d6e274b761fb6fa40bfcf44243b, RTX 4080 16 GB / Ryzen 5 7600 / 32 GB RAM / driver 610.88. The focused per-stage OOM unit test passed.

Our runtime sequence illustrates why the failed-pipeline HRESULT alone is insufficient to classify the cause:

Run Reported failure keys Driver-OOM snapshots Sampled memory-guard log lines
Base + this diagnostic PR 3 0 2
+ #2616 and a thread-local retry-ownership correction 0 0 0
Diagnostic control repeat 2 0 2

The controls logged guard deferrals at 364 MiB free physical / 4079 MiB available commit, and 847 / 4075 MiB, respectively, against the 4096 MiB commit floor. Guard messages are sampled, not a total count: the third key in the first run has no adjacent guard message. Attributing that key to the guard is an inference from the code path and zero intercepted driver OOMs, not direct per-key evidence.

The candidate's minimum commit headroom was 4.849 GiB, above that floor, with no logged guard deferrals and no new OOM-retry messages. Its zero failures therefore do not demonstrate that retries fixed the problem. The driver-OOM retry path was not exercised in these runs.

All three runs closed normally. Their last 120-second stationary windows each had median 22 rendered FPS (1440p DLAA, FG 2x; rendered rather than generated FPS). This was an observational diagnostic sequence, not a controlled performance A/B; GPU tests occurred between legs and the driver cache was not cleared.

No raw title logs or memory dumps are attached. AI assistance: Codex and Claude reviewed the code and summarized the collected hardware evidence.

**@⁠SergDi** on GitHub · 2026-11-30 06:32 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3125#issuecomment-7270759071) Tested this PR's diagnostic diff (`39de4d1256b7ef6bbc64808f0f5726878bd504aa`) on base `f72cec7714aa6d6e274b761fb6fa40bfcf44243b`, RTX 4080 16 GB / Ryzen 5 7600 / 32 GB RAM / driver 610.88. The focused per-stage OOM unit test passed. Our runtime sequence illustrates why the failed-pipeline HRESULT alone is insufficient to classify the cause: | Run | Reported failure keys | Driver-OOM snapshots | Sampled memory-guard log lines | |---|---:|---:|---:| | Base + this diagnostic PR | 3 | 0 | 2 | | + #2616 and a thread-local retry-ownership correction | 0 | 0 | 0 | | Diagnostic control repeat | 2 | 0 | 2 | The controls logged guard deferrals at **364 MiB free physical / 4079 MiB available commit**, and **847 / 4075 MiB**, respectively, against the 4096 MiB commit floor. Guard messages are sampled, not a total count: the third key in the first run has no adjacent guard message. Attributing that key to the guard is an inference from the code path and zero intercepted driver OOMs, not direct per-key evidence. The candidate's minimum commit headroom was **4.849 GiB**, above that floor, with no logged guard deferrals and no new OOM-retry messages. Its zero failures therefore do **not** demonstrate that retries fixed the problem. The driver-OOM retry path was not exercised in these runs. All three runs closed normally. Their last 120-second stationary windows each had median **22 rendered FPS** (1440p DLAA, FG 2x; rendered rather than generated FPS). This was an observational diagnostic sequence, not a controlled performance A/B; GPU tests occurred between legs and the driver cache was not cleared. No raw title logs or memory dumps are attached. AI assistance: Codex and Claude reviewed the code and summarized the collected hardware evidence.
github-bot force-pushed github-bot/gh-3125 from 39de4d1256 to 61e376e35e 2026-11-30 14:36:53 +00:00 Compare
github-bot force-pushed github-bot/gh-3125 from 61e376e35e to d6ed53e2bb 2026-12-01 18:30:32 +00:00 Compare
github-bot closed this pull request 2026-12-01 18:59:00 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!3125
No description provided.