Repository navigation
Conversation
VIctory V2: community PRs, merged and testedOpen PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: Unofficial community fork of Marvisak/VIctory, GPL-3.0. |
|
Independent Windows verification on RTX 3080. At The failing [(page, page + 10), (page + 50, page + 80)]With only that expected value corrected locally, AI-assisted (OpenAI Codex). |
1d8754a to
3385794
Compare
|
RTX 5070 (Blackwell, driver 621.24), Ryzen 7 5700X, Windows 11, Rust 1.98.1 MSVC. No game files, unit tests only.
#2004 covers the same issue (#1976); it also passes here, see there. Written with AI help (Claude/Kiro); the numbers are from runs on my machine. |
|
Triage verdict — Preferred starting point, needs a regression test ( Evidence
Checks and limits
Next step
This verification was AI-assisted. |
|
Independent run on Windows 10 19045, RX 7800 XT (RDNA3), your head
That is the same result @jeremygold02 got on an RTX 3080 for the next-refresh case that #2004 fails 3/3: your |
3385794 to
b49aa3f
Compare
|
Addressed the second-submission review concern in
|
|
Re-verified on That was the gap in #2004 and it is covered now. From my side this is ready for a maintainer; #2004 is closed, so there is only one implementation left to review. |
|
I compared the two copy-back cases on WARP at the current heads of #1986 and #1998.
1dbad74 ports my earlier If you include the follow-up or its regression, please preserve the Git author when cherry-picking it. If you fold it into your own commit, please add: Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com |
|
Thanks @andrewpozdnakov7-jpg — I cherry-picked This adds the snapshot-backed overlapping-withholding regression and keeps withheld intervals out of snapshot copy-back while allowing the surviving ranges to retire normally. CPU-only validation on
I did not execute the new GPU-backed regression locally; that remains for Windows CI or an independent Windows/GPU run. |
|
Automated triage for the maintainers. Merge candidate. Re-reviewed after the rebase onto One thing for the reviewer: the rebase removes main's coarse rule in On your reply: thanks for the careful rebase notes and for keeping the co-author's commit intact. CI: passing ( Generated by Claude Code |
|
@Halfect Windows GPU run of
Rates (measured afterwards, same build):
Counted by script over the logs (corrected; I first wrote 4 of 13 and 7%): on this PR, 3 of 13 full parallel runs had an extra failure beyond the heap-cap pair (4 failures in all: AI-assisted (Claude Code). Synthetic tests only. |
|
Thanks @upipibi — that single parallel failure was a real find, and the "passes alone 3 of 3" detail is what pinned it down. Root-caused and fixed in Root cause (test isolation, not the copy-back logic). The written-pages bitmap is process-wide, and Fix. The three tests that set bits ( Validation on this head (Windows, NVIDIA):
If you're willing, a repeat of your parallel RTX 3070 run on |
|
@Halfect Repeated at
AI-assisted (Claude Code). Synthetic tests only. |
|
I independently checked On the old For the remaining watch failures, #1913 covers a known test fixture that can retain a watch on a freed pool and applies cleanly alongside Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com AI-assisted. Synthetic tests only. |
|
Thanks @upipibi for the rerun on the same RTX 3070 — the target test passing in all 10 parallel runs plus the single-threaded 3/3 is the confirmation I was after, and the statistical framing (2 of 10 vs 0 of 11, ~21% chance) correctly says the remaining Thanks @andrewpozdnakov7-jpg for the forced-WARP 60/60 verification and for reproducing the bitmap-consumer race on the old tree — that's a clean confirmation of the root cause. On attribution: your snapshot fix stands as its own commit Nothing further from my side; ready for review. |
329c162 to
57969ea
Compare
|
Rebased onto current main
Validation on
AI-assisted (Kimi). |
|
Setup: RTX 3080 Ti (driver 621.24), Windows 11, a local stack of open PRs merged with main 67e8ae1. On a stack with 7ef96fa (#2280) and b6e75cf (#2409), 6b8d12e conflicts in Written with Claude Code; tested locally. |
|
Thanks @Machad3x for the stack check. The conflicts you hit are against two still-open PRs (#2280's |
|
I reran the adapted snapshot copy-back test on 57969ea. On the exact parent 6b8d12e, the held-overlap case copies [A, B, 0] to title memory. With 29bf5b1 in the branch, it copies [A, 0, 0] and the GPU copy still contains [A, B, B]. The no-withholding control copies [A, B, B] on both. Six paired WARP runs gave the same result; the serial GPU suite passed 202 tests with one ignored in each debug setting. Authored adaptation 29bf5b1 preserves the Git author. Please keep it if the series is rebased again, or add this trailer if it is folded into a different commit: Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com |
|
Thanks @andrewpozdnakov7-jpg for re-running the adapted test on |
The written-pages bitmap and copy_back_marks are process-wide, and copy_back_marks consumes every set bit for its owning copy. The shadow tests set bits and call copy_back_marks directly, outside the submission lock that serializes production copy-backs (Host::execute). Running tests in parallel, another test's submission (or mark test) could consume a mark test's bits first and copy its page back without that test's withheld list; the test's own copy-back then found nothing to do. Seen once in three parallel runs on an RTX 3070 as the valid write of a_withheld_range_does_not_suppress_the_pages_other_writes not reaching title memory. The three tests that set bits now hold the submission lock for their whole body, the same serialization production copy-backs run under. The snapshot fixture goes through Host::execute, which takes the lock itself, so it needs none. No production code changes behavior.
57969ea to
f3b2a18
Compare
|
Rebased onto current main
Validation on
AI-assisted (Kimi). |
What
Fixes #1976.
copy_back_marksno longer skips a whole 64 KiB page when a missed list's range overlaps it. It now subtracts the withheld ranges and letscopy_back_markedprocess the rest of the page.writingsaves the submission's host bytes as its comparison baseline; an existing title-side snapshot still takes precedence.Regression coverage
saved, another title write between submissions, and a later marked write without an intervening refresh. It checks publication of the later GPU write, preservation of the newer title bytes, and that old withheld bytes do not reappear.Checks
b49aa3f: success.b49aa3f.cargo xtask policy: 182 files ok.git diff --check: clean.victory-gpuon main (host_resourceis unavailable inresource.rs), so local execution was limited to platform-independent checks. GPU execution of the expanded fixture remains to be established by an independent Windows/GPU run.No title executable, world run, or game data was used. AI-assisted (Kimi).