Repository navigation
VIctory-NVIDIA picks: lifetime fixes, raw view clamp, tearing present (all switches off) - #17
Open
oceansde012 wants to merge 12 commits into
Open
oceansde012 wants to merge 12 commits into
oceansde012 wants to merge 12 commits into
Conversation
…ack (#1320) The lists a split submission runs at once are not detached, so nothing returned their fresh tables' dynamic slots before the title reset them: a long run lost descriptor slots it never got back. `submit_cut` already does this after the same `execute`, for the same reason. Ported from fxceless/victory-fork af23c65 (fork pull request #1320). (cherry picked from commit 7eb4441181f06a4d5d466cf7fc242c1427462d32) (cherry picked from commit 1d3b4143abea2a3835cb55b4b657d1f0f5e8da9b)
KNOWN (VICTORY_UPCOPY_CHECK) kept an entry per copy ever declared or fetched. The look at rest now keeps only the ids still in carded_copies(), before anything in it that can fail. A copy's id is never given to another copy, and nothing declares or fetches while the look runs (the submission lock is held). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit 2e7e626eeb51a0482f29fec2fb16aa75259b849b) (cherry picked from commit 8e9f11d618534e5d9deac73488fb0ccdf5b5c75d)
(cherry picked from commit bc282695e539f09d881c61edd69a1552d410f8fb) (cherry picked from commit 2cffd2dfbae99a959c14db9a3c1e25e2d879c6e7)
… releases Once the shapes of placed views are full (4,194,304 after half an hour of play), every placed view the title writes became a table entry kept for the run: 34.9 million entries and 16.7 GB after 70 minutes on Series S, with the frame rate halved as memory went past physical RAM. Such entries now sit in a queue, oldest first; past VICTORY_OWNERLESS_VIEWS (default 1,048,576; 0 keeps all) the oldest is freed under a new generation, so a descriptor still naming it reads as stale, as one naming a released resource's view does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit d3626d2) (cherry picked from commit 89fd93613ceda7abdb63986287f13a2394f70c3d)
…_CLAMP, on; =0 restores) raw_at / raw_uav_at: a range past the buffer's end is shortened to the whole dwords that fit; an unaligned start, or one with no whole dword left, becomes a null view. The meter line counts the cuts (past end, shortened, sub-dword, unaligned) for SRVs and UAVs. On by default; VICTORY_RAW_VIEW_CLAMP=0 gives the old descriptors. Original author: lichenlang89 (fxceless/victory-fork pull request 1266, dd5e8c9e). Ported by hand from CuteBooty/victory-8gb, same code and tests; the counters go into this tree's meter line in host.rs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit aec85efb10777281b1f3dc586239d113640ed249)
…8f04) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
…y DeepSeek) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRp6ZXFGoy77zGqibMF (cherry picked from commit 62cb135)
Owner
Author
|
CI Generated by Claude Code |
…s the title's 21 bits Port of avatarmanz/VIctory-7900XTX#316 as carried in trustno1-coder/VIctory-NVIDIA 108a897. Test-module conflict resolved by keeping only this commit's test. (cherry picked from commit 108a8972 in trustno1-coder/VIctory-NVIDIA) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
…code by DeepSeek) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
… by DeepSeek) Port of the swap-chain part of trustno1-coder/VIctory-NVIDIA 8fc2254: with the switch on and the system allowing it, the swap chain gets ALLOW_TEARING and presents use DXGI_PRESENT_ALLOW_TEARING, so a focused window does not wait for the next refresh. A refused present falls back to normal presents for the rest of the run. Present mode only: no frame generation, picture unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
…e behaviour stays frozen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
…S=1 (off by default; code by DeepSeek) Split-submission table slots, up-copy check forgetting gone copies and XMem page-number reuse now run only with the switch on; off keeps f4b48ad behaviour. XMem unit tests run with the new behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Vlad · project thread
Picks from trustno1-coder/VIctory-NVIDIA (GPL-3.0-or-later; original sources credited in each commit, cherry-picked with
-x). No XCL files taken. Deduped against #14/#15. With no switches set, behaviour equals f4b48ad.Switches (all off by default)
VICTORY_NV_LIFETIME_FIXES=1:1d3b414(fxceless #1320): split submissions return their descriptor table slots (long-run leak).8e9f11d: UPCOPY_CHECK forgets copies that are gone (only matters withVICTORY_UPCOPY_CHECK).108a897(avatarmanz #316): XMem physical page numbers reused before the title's 21-bit wrap (past ~124 GiB of allocations a number came back truncated).VICTORY_RAW_VIEW_CLAMP=1(aec85ef, fxceless #1266): raw buffer views clamped to their buffer.VICTORY_TEARING=1(from8fc2254): swap chain with ALLOW_TEARING, presents don't wait for the refresh; falls back on a refused present. Present mode only, no frame generation.Dropped / not taken
89fd936(1 M ownerless-view cap): already in Vice-Tay memory fixes: placed-view leak, slot release, snapshot pool (switches off) #14 — picked then reverted.2cffd2d(timestamp ring fence): diagnostics-only — picked then reverted.d3bc978: clippy precedence fix copied from Skip BVH builder input dispatches while it is off (VICTORY_BVH_INPUT_SKIP, off by default) #16 (code by DeepSeek).Analysis: project report
reports/victory-nvidia-35fps-2026-11-28.md.Checks
CARGO_FEATURE_PURE=1 cargo check --target x86_64-pc-windows-msvc --workspace --all-targets: OK (cloud).checkred on clippy invictory-loader/src/write_sites.rs(untouched; Integration: PR #5–#11 merged, all switches off by default #12–Skip BVH builder input dispatches while it is off (VICTORY_BVH_INPUT_SKIP, off by default) #16 fail the same).cargo teston the PC, game A/B (testing mode: later batch).🤖 Generated with Claude Code
https://claude.ai/code/session_01FLuVRkq9FEXaXsKnfJYUZn