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 #381
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!381
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-381"
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 22:58 UTC · original
felicerosella:fix/upcheck-card-threshold→a-publier· +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: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 at "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, socopies_stand_where_the_list_has_them_on_the_cardand_mixedran on PC memory only.Change (test code only,
host/upcheck.rs):VICTORY_CARD_BUFFERS_MIN_MB=1with their other switches, in the module comment's command and in their#[ignore]reasons. With it the threshold is 1 MiB on every card.in_orderchecks that itsLENcopies are on the card.Results on
a-publierat4eb6cfd, RTX 4070 SUPER (12 GB), Windows 11 26200,--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)cargo clippy -p victory-gpu --all-targets --all-features -- -D warningsis clean.AI-assisted: yes (Claude Code)
@MamaLeVrai on GitHub · 2026-11-27 00:22 UTC · original
Tested on an RX 6950 XT 16 GB (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release, at
d29c4a0:cargo test --release -p victory-gpu --lib396 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
@lvndrpup on GitHub · 2026-11-27 03:31 UTC · original · reviewed
Tested on an 8 GB card, the case this PR is for. RTX 3060 Ti 8 GB (Ampere), driver 610.88, Ryzen 5 5600X, 32 GB, Windows 11 build 26300, Rust 1.98.1, debug,
--all-features. Base4eb6cfd, headd29c4a0. Each test ran 3 times, in a process of its own, with the switches its#[ignore]reason lists.VICTORY_CARD_BUFFERS_MIN_MBa_result_caught_in_between_is_put_right,the_check_finds_an_undeclared_write_undone,writes_through_picked_views_come_back,declared_writes_beside_the_titles_own_stayeach_submission_reads_its_own_copy_on_the_cardcopies_stand_where_the_list_has_them_on_the_card,_mixed,_in_pc_memorycopy_draw_copy_draw,each_submission_reads_its_own_copy_in_pc_memoryThe picture is the same as on your 4070 SUPER.
One question:
copy_draw_copy_drawnow listsVICTORY_CARD_BUFFERS_MIN_MB=1, but it takes its buffer withtitle_of(0x9400, true, LEN)rather thantitle(0x9400, true), so it never checks where the copy is. Without the switch it ran on PC memory and passed here, asin_orderdid before this PR. If it is meant to test a copy on the card,title(0x9400, true)would make it say so.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.