[RTX 4070 SUPER 12 GB] Five ignored upcheck tests fail on cards with 12 GiB or less unless VICTORY_CARD_BUFFERS_MIN_MB=1 is set #181
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay#181
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@samuelcurcelicordovil-collab on GitHub · 2026-11-27 06:31 UTC · original
A title-free run of the ignored relay tests on a 12 GB card. Five
host::upchecktests fail with the variables their#[ignore]reasons give, and pass onceVICTORY_CARD_BUFFERS_MIN_MB=1is added. The tests seem to assume a card with more than 12 GiB of budget.Vice-Tay build
ec7b064(main, git clone),cargo test --workspace --all-features --lockedbuild, Rust 1.98.1.upcheck.rsandshadow.rsare unchanged on the currentmain(4a5458f).Hardware and graphics driver
NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 621.40, Intel Core i9-12900F, 32 GB DDR4-3200, Windows 11 Pro 25H2 build 26200.9974.
How to reproduce
Each test in its own process from
crates/victory-gpu, with the variables from its#[ignore]reason:What you observed
VICTORY_CARD_BUFFERS_MIN_MB=1a_result_caught_in_between_is_put_rightVICTORY_FETCH_CHECK=1the_check_finds_an_undeclared_write_undoneVICTORY_UPCOPY_CHECK=1writes_through_picked_views_come_backVICTORY_PICKED_WRITES=2 VICTORY_PICKED_MB=1each_submission_reads_its_own_copy_on_the_carddeclared_writes_beside_the_titles_own_stayThe other nine gated tests pass as documented: the
card_stepsone, the other fiveupcheckones, the twoVICTORY_INDIRECT_REST=1ones inindirect, andtyped_rtv_zero_pipelines_reload_only_with_their_own_format. No TDR ornvlddmkmevents during the runs.For context, the full CI diagnostics configuration (
cargo test --workspace --all-features --locked -- --test-threads=1) passes on this machine: 1258 passed, 0 failed, 55 ignored.Likely cause
The fixture's title buffer is
LEN = 4 << 20(4 MiB).default_card_limits_mbinshadow.rssets the smallest buffer that gets a card copy from the adapter's budget: 16 MiB at<= 12 GiB, 4 MiB below 20 GiB, 1 MiB from 20 GiB. On this card the budget is under 12 GiB, so the 4 MiB copy stays in PC memory andcarded()is false. On a 16 GB or 24 GB card the same buffer would go to the card, which would explain why the tests pass there.That would affect any 8 to 12 GB card. Possible fixes: add
VICTORY_CARD_BUFFERS_MIN_MB=1to the#[ignore]reasons and the note aboveLEN, or have the fixture set its own minimum.I can rerun these on this card.
AI-assisted (Claude)
@TaynanGT on GitHub · 2026-11-30 20:16 UTC · original
Those requirements are gone. None of the
#[ignore]reasons incrates/vice-tay-gpu/src/host/upcheck.rsmention a card size orVICE_TAY_CARD_BUFFERS_MIN_MBany more - they ask forVICE_TAY_RELAY=2,VICE_TAY_RELAY_COPY=1and a process of their own, which is about the relay rather than about how much memory the card has.The card-buffer limits are sized from the card's own budget now (
shadow::default_card_limits_mb): on a budget of 12 GiB or less the smallest copy that goes to the card is half a MiB, with a ceiling of 18% of the budget. So a 12 GB card isn't the odd one out it was when you ran this.Thanks for running the ignored tests at all - that they assumed a card bigger than yours wasn't visible from here.