Upcheck tests: copies on the card on every card (VICTORY_CARD_BUFFERS_MIN_MB=1), and the on-the-card ones say when they are not #361
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!361
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-361"
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?
@felicerosella on GitHub · 2026-11-26 18:48 UTC · original
felicerosella:fix/upcheck-card-threshold→main· +30 −14 · 1 files · 1 commits · openThe relay tests in
host::upcheck(the#[ignore]d ones run by hand withVICTORY_RELAY=2 VICTORY_RELAY_COPY=1 …) want their 4 MiB (LEN) title copies in the card's memory. Whether a copy goes there depends on the card's local budget (card_limits):So on an 8–12 GB card no
LENcopy is on the card, and two things happen:a_result_caught_in_between_is_put_right,the_check_finds_an_undeclared_write_undone,writes_through_picked_views_come_backanddeclared_writes_beside_the_titles_own_stayfail attitle()'s "the copy is in the card's memory".each_submission_reads_its_own_copy_on_the_cardfails at "where the copy is" (left: false, right: true).in_ordernever checked where its copies were.copies_stand_where_the_list_has_them_on_the_cardand_mixedpassed while every copy was in the PC's memory.Change (test code only,
host/upcheck.rs):VICTORY_CARD_BUFFERS_MIN_MB=1with their other switches, both in the module comment's command and in their#[ignore]reasons. With it, the threshold is 1 MiB on every card, as on the 7900 XTX.in_orderchecks that itsLENcopies are on the card.Results on an RTX 4070 SUPER (12 GB, budget below 12 GiB), Windows 11 26200,
mainat2de9980,--all-features, each test in a process of its own:VICTORY_CARD_BUFFERS_MIN_MB=1in_order's threecopy_draw_copy_draw,…_in_pc_memory(VICTORY_CARD_ALL=1)The other ignored tests that want real hardware passed as they are:
a_copy_behind_a_flight_reads_what_the_flight_wrote(VICTORY_RELAY=2 VICTORY_CARD_STEPS=2),bare_command_cost,levels_on_demand_on_the_card, andreplay_big'sa_frame_of_a_titles_size(44 s). The whole workspace with--all-featurespassed as well, 1,084 tests, parallel and--test-threads=1, apart froma_frame_is_recorded_and_replayed. That one needs a desktop for its swap chain, and these runs were over SSH.cargo clippy -p victory-gpu --all-targets --all-features -- -D warningsis clean apart frommain's ownunnecessary_mut_passed(#324).AI-assisted: yes (Claude Code)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.