F2 explainer: draws skipped while the memory guard puts compiles off say so #2743
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2743"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by gabrielecabrini on 2026-11-29T16:46:36Z.
What
The F2 explainer shows the draws left out by pipelines the memory guard keeps putting off as
THEIR SHADERS CANNOT BE CONVERTED YET/NOTHING ON YOUR SIDE, when the cause is the PC's memory.(This PR first also kept those pipelines out of
refused::failed/retry. That part landed upstream with #2578, so after the rebase only the explainer note is left.)Evidence
A 29-minute Linux run (Series S, RTX 4070 SUPER 12 GB, 31 GB RAM, Proton Experimental, 2026-11-29): the guard logged
memory guard: a compile is put off ... reason="the commit left would fall under its floor"more than 1,024 times, withfree_commit_mbbetween 2,905 and 3,765 against the 4,096 MB floor for the whole session. The panel told the player nothing could be done on their side.Fix
memguard.rs:put_off()exposes the count of compiles put off.host/panel.rs: a twelfth panel counter. When compiles were put off in the last half second, the note readsNOTE: N DRAWS SKIPPED, NO MEMORY FOR THEIR SHADERS/CLOSE OTHER APPS, OR GIVE THE PC MORE SWAP OR PAGE FILE. Otherwise the note is as before.Tests
the_advisor_names_what_limits_the_frame_ratealso checks the memory note and its width.paneltests pass (10, cross-built withcargo xwin, run under Proton);clippy -p victory-gpu --all-targetsis clean.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T17:49:00Z.
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series S with ray tracing, and Series X, DLSS Quality). Frame times will follow here.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SergDi on 2026-11-30T09:32:29Z.
Independent Windows confirmation on base
41adb55167fa778fcaa5dc36fa18a1fa8dacd657plus this PR'sf046d18000653e5cb496325688a5ef2bf96b7f61, RTX 4080 16 GB / Ryzen 5 7600 / 32 GB RAM / driver 610.88.RED/GREEN: applying only
a_compile_put_off_for_memory_is_no_failureto base fails atput off: not recorded(left 1, right 0). With the full PR, the focused suites pass:pipeline::refused1,host::panel9,memguard6 (cargo test --locked --release -p victory-gpu --lib <filter> -- --test-threads=1 --nocapture).The misclassification also occurs in my existing ordinary logs: several failure keys are immediately preceded by guard deferrals. Guard logging is sampled, so not every key has direct timestamp adjacency; I do not infer an actual driver refusal from the HRESULT alone.
Separate induced runtime check: process-local
VICTORY_COMMIT_FLOOR_MB=7168, cold cache, copied save, 1440p DLAA, FG/RT off, THIN0. With this PR alone, the guard'sso_farcounter reached at least 512, whilehost pipeline failedkeys stayed 0 and no pipeline-failures summary appeared. Base runs at the same floor recorded 252 and 86 failed keys over their full runs. This is classification evidence, not a paired FPS comparison.The patch does not fix the wait loop: its run still had 10 screen waits of 10000 ms in the 120 s window / 12 over the full run. I tested #3398 separately for that behavior.
Limits: the new F2 text did not render in the severely stalled runtime capture, so panel wording is verified by unit tests only. Preservation of real driver-refusal reporting is likewise covered by the unit test; I did not induce a real driver OOM. The periodic compilemem counter can remain stale under starvation, so I used the guard's counter rather than treating sampled log-line counts as total deferrals.
AI assistance: Claude performed the isolated tests and analysis; Codex reviewed the evidence. No raw title logs or memory dumps are attached.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gabrielecabrini on 2026-11-30T17:20:55Z.
Closing: the refused/retry part landed with #2578, and the panel note alone is of little use now that #2886 makes the pipelines put off again and again.
Pull request closed