gpu-test-results: RTX 5070 Laptop (NVIDIA 32.0.16.2140, Windows 11 26200) - cargo test --workspace at 01aadd1 #137
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#137
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?
@Pr-Leonida on GitHub · 2026-11-25 16:05 UTC · original
gpu-test-results: RTX 5070 Laptop (NVIDIA 32.0.16.2140, Windows 11 26200) —
cargo test --workspace --no-fail-fastat01aadd1Machine: i9-14900HX, 32 GB RAM, RTX 5070 Laptop (8 GB VRAM), Windows 11 Pro 10.0.26200, NVIDIA driver 32.0.16.2140, rustc 1.98.1. No game data needed (workspace suite).
Failure details:
victory-gpu—descriptor::host::tests::dynamic_slots_are_held_until_released(host.rs:3013):Looks like
GetResourceAllocationInfovalues: the size is ~the same (998876−933440 = 65436 ≈ 65440) but the offset differs — the test may be calibrated against AMD/WARP allocation values. New on NVIDIA as far as I can tell.victory-hle— 5 ×modules::xmem::tests:a_run_keeps_the_placeholders_it_spansa_run_maps_across_two_placeholdersa_run_maps_again_after_a_partial_unmapmapping_no_pages_changes_nothingphysical_pages_map_alias_and_unmapvictory-shader— 23 failures, all in the GPU-execution emit tests:emit::memory_tests(6): buffer_concurrent_byte_stores, lds_paired_exchanges, structured_buffer_memory_uses_index_and_member_offset, buffer_bytes_and_halves, global_and_scalar_loads_through_root_views, buffer_integer_atomic_updates, lds_integer_atomic_updatesemit::split_tests(9): dpp_row_masks_name_console_rows, exchanges_inside_a_branch_one_half_skips, in_half_lane_reads_match_the_console_on_every_adapter, lane_reads_cross_halves, lane_writes_reach_lanes_outside_the_branch, loops_with_an_exit_mask_grown_from_zero, masks_read_whole_count_both_halves, loops_run_while_any_lane_of_the_console_wave_does, three_dimensional_groups_keep_the_consoles_lanesemit::lane_read_loop_tests(1),emit::valu_tests(4),emit::image_tests(1),emit::tests::each_adapter_gets_what_it_runs(1)xtask—policy::tests::repository_passes_policy: known upstream, documented in the README ("crates/victory-shader/src/emit/lower.rsis larger than the size limit ofcargo xtask policy; it is source code, not an asset"). Fails here withlower.rs: 630652 bytes exceeds the 524288-byte limit.Context from a full game run on this same box (separate issue #125): boot, menus and the opening cinematic work; the open world is out of reach at 8 GB VRAM. Happy to run any of the failing tests with extra logging, or re-run the suite at a fixed commit.
@Yoshi-233 on GitHub · 2026-11-26 03:26 UTC · original
A comparison for the shader failures in section 3: I checked the Git tree for the entire
crates/victory-shaderdirectory. Your01aadd1and my Windows baseline71652a2point to the same tree (0c5122e1), so the test fixtures and translator are directly comparable.My machine exposes two D3D12 adapters: RTX 4070 Ti SUPER (32–32 lanes) and Intel UHD 770 (16–16). The divergent lane-read loop returned the expected values on the RTX for both console wave32 and wave64. Several tests then failed on the Intel adapter when translation refused a wave width it cannot run. On that machine #78 changed exactly 11 existing shader tests from fail to pass (251 passed / 15 failed before, 262 / 4 after, 6 ignored both times). The four remaining failures were the native-wave64 VALU tests. Original Windows results and tested revisions.
Since you offered to rerun a test, the one most useful to compare would be
cargo test --locked -p victory-shader --lib lane_reads_in_a_loop_lanes_leave_at_different_iterations -- --nocapture --test-threads=1. The adapter name and wave32/wave64 output up to the first failure would distinguish an RTX readback mismatch from a second adapter refusing the fixture. I haven't reproduced the 5070 Laptop failure or the six memory-test failures.@Pr-Leonida on GitHub · 2026-11-26 13:24 UTC · original
Ran the exact test you asked for:
Result on this box (RTX 5070 Laptop, i9-14900HX, Windows 11 26200, driver 32.0.16.2140,
01aadd1):So the failure is at translation, not readback: the
emit(...).unwrap()atlane_read_loop_tests.rs:129panics on aUnsupportedfrom the converter, before any GPU work or wave32/wave64 value is produced. No adapter name is printed because the unwrap fires before the test records the adapter it was on.The machine exposes two hardware D3D12 adapters:
NVIDIA GeForce RTX 5070 Laptop GPU(32-lane host)Intel(R) UHD Graphics(16-lane iGPU)The test walks every non-software DXGI adapter and unwraps
emitper adapter. The fixture is a console wave64 program; the 16-lane Intel iGPU refuses it at translation with exactlya console wave size the host does not run, and the unwrap panics on that adapter before the RTX is reached. That matches your Intel UHD 770 branch (translation refusing a wave width it cannot run) rather than an RTX readback mismatch — the RTX never gets a turn because the iGPU aborts the test first.If it helps isolate the RTX result, I can run it with a two-line local patch that either prints the adapter name before the
emitunwrap, or skips hosts whose max wave isn't 32, so the RTX readback is exercised on its own. Say the word and I'll post the output.@Pr-Leonida on GitHub · 2026-11-26 13:27 UTC · original
Follow-up with the RTX isolated, as offered. I ran the same test with a local 3-line diagnostic patch (not committed) that makes the per-adapter
emitreport its refusal and continue, instead of unwrapping:So on this box:
wave32 exactandwave64 exact— the readback is correct on the NVIDIA card for both console wave widths. No RTX readback mismatch.The unpatched test fails only because it walks every hardware adapter and the
emit(...).unwrap()panics on the iGPU's translation refusal before the RTX is exercised. With the iGPU's refusal reported-and-skipped, the test passes on the RTX. That points the six memory-test / lane-read failures in section 3 of my original report at the second adapter, not at the NVIDIA driver or translator.Happy to apply the same report-and-continue handling to the other failing tests in that group if it would help confirm the pattern across them.