Repository navigation
VIctory-Fast robustness ideas: strict fence waits, texture budget eviction (switches off) - #19
Open
oceansde012 wants to merge 4 commits into
Open
oceansde012 wants to merge 4 commits into
oceansde012 wants to merge 4 commits into
Conversation
With VICTORY_FENCE_STRICT=1 the late helper and the relay treat a fence value of u64::MAX (device removed) or a failed SetEventOnCompletion / wait as fatal and end the run through fail(), which logs the removal reason. Off: unchanged (late helper skips the wait, relay retries every 1 ms forever). Idea from VIctory-Fast 5b163a5; clean reimplementation, code by DeepSeek. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRoLyAVcnXFVgv6jtri
…T, off) VICTORY_TEXTURE_BUDGET_MB only stopped new host texture copies at the limit. With VICTORY_TEXTURE_BUDGET_EVICT=1 let_go_idle also applies host::vram_keep(limit, filled) and keeps the tighter of the two policies, so idle textures go before the card's memory is full. Off: unchanged. Idea from VIctory-Fast d32bc4f; clean reimplementation, code by DeepSeek. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRoLyAVcnXFVgv6jtri
…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)
The previous commit put the new helpers between room()'s doc comment and room(); move the comment back. No code change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRoLyAVcnXFVgv6jtri
Owner
Author
|
CI
Fixing base clippy belongs in its own PR. Each of these PRs keeps hitting it, so I'll suggest that to Vlad. Generated by Claude Code |
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
From a full diff of maren-halv/VIctory-Fast against our base f4b48ad, looking for critical fixes (crash, hang, leak, corruption). Almost every VF fix repairs code VF itself added. Two ideas apply to our base and are not in PRs #2–#18. Both are clean reimplementations (code by DeepSeek, VF code not copied: its sync commits have unverifiable origin). Both are off by default, so behaviour and picture are unchanged when off.
Changes
VICTORY_FENCE_STRICT=1(host.rs, idea from VF 5b163a5): after device removalGetCompletedValue()returnsu64::MAX. Today the late helper skips a failed wait and settles flights as if done, and the opt-in relay retries every 1 ms forever. With the switch on, both end the run throughfail(), which logs the removal reason. This is for robustness and diagnosis, no fps change.VICTORY_TEXTURE_BUDGET_EVICT=1(resource.rs, idea from VF d32bc4f):VICTORY_TEXTURE_BUDGET_MBonly blocked new host texture copies. With the switch on,let_go_idlealso appliesvram_keep(limit, filled)and keeps the tighter policy, so idle textures are let go before VRAM is full. This matters for our 16 GB peaks. It only has an effect together withVICTORY_TEXTURE_BUDGET_MB.Checks
CARGO_FEATURE_PURE=1 cargo check -p victory-gpu --all-targets --target x86_64-pc-windows-msvcis OK, with the same warning count as base (12 + 6).fence_reached_rejects_removed_deviceandbudget_evict_testsadded. Not run: the Linux test build of victory-gpu already fails on base, so they need the PC.Report: project file
reports/victory-fast-2026-11-28.md(section "Full diff vs our base").Generated by Claude Code