gpu-test-results: RTX 5070 Laptop (NVIDIA 32.0.16.2140, Windows 11 26200) - cargo test --workspace at 01aadd1 #137

Open
opened 2026-11-26 03:36:28 +00:00 by github-bot · 3 comments
Owner

@⁠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-fast at 01aadd1

Machine: 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).

Crate Result
victory-gpu 110 passed, 1 failed, 4 ignored
victory-hle 97 passed, 5 failed, 1 ignored
victory-shader 243 passed, 23 failed, 6 ignored
xtask 3 passed, 1 failed (known upstream, see below)
all other crates ok

Failure details:

  1. victory-gpu — descriptor::host::tests::dynamic_slots_are_held_until_released (host.rs:3013):

    assertion `left == right` failed
      left:  (933440, 998876)
      right: (4, 65440)
    

    Looks like GetResourceAllocationInfo values: 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.

  2. victory-hle — 5 × modules::xmem::tests:

    • a_run_keeps_the_placeholders_it_spans
    • a_run_maps_across_two_placeholders
    • a_run_maps_again_after_a_partial_unmap
    • mapping_no_pages_changes_nothing
    • physical_pages_map_alias_and_unmap
  3. victory-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_updates
    • emit::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_lanes
    • emit::lane_read_loop_tests (1), emit::valu_tests (4), emit::image_tests (1), emit::tests::each_adapter_gets_what_it_runs (1)
  4. xtask — policy::tests::repository_passes_policy: known upstream, documented in the README ("crates/victory-shader/src/emit/lower.rs is larger than the size limit of cargo xtask policy; it is source code, not an asset"). Fails here with lower.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.

**@⁠Pr-Leonida** on GitHub · 2026-11-25 16:05 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/137) **gpu-test-results: RTX 5070 Laptop (NVIDIA 32.0.16.2140, Windows 11 26200) — `cargo test --workspace --no-fail-fast` at `01aadd1`** Machine: 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). | Crate | Result | |---|---| | victory-gpu | 110 passed, **1 failed**, 4 ignored | | victory-hle | 97 passed, **5 failed**, 1 ignored | | victory-shader | 243 passed, **23 failed**, 6 ignored | | xtask | 3 passed, **1 failed** (known upstream, see below) | | all other crates | ok | **Failure details:** 1. `victory-gpu` — `descriptor::host::tests::dynamic_slots_are_held_until_released` (host.rs:3013): ``` assertion `left == right` failed left: (933440, 998876) right: (4, 65440) ``` Looks like `GetResourceAllocationInfo` values: 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. 2. `victory-hle` — 5 × `modules::xmem::tests`: - `a_run_keeps_the_placeholders_it_spans` - `a_run_maps_across_two_placeholders` - `a_run_maps_again_after_a_partial_unmap` - `mapping_no_pages_changes_nothing` - `physical_pages_map_alias_and_unmap` 3. `victory-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_updates - `emit::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_lanes - `emit::lane_read_loop_tests` (1), `emit::valu_tests` (4), `emit::image_tests` (1), `emit::tests::each_adapter_gets_what_it_runs` (1) 4. `xtask` — `policy::tests::repository_passes_policy`: **known upstream**, documented in the README ("`crates/victory-shader/src/emit/lower.rs` is larger than the size limit of `cargo xtask policy`; it is source code, not an asset"). Fails here with `lower.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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:36:28 +00:00
Author
Owner

@⁠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-shader directory. Your 01aadd1 and my Windows baseline 71652a2 point 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.

**@⁠Yoshi-233** on GitHub · 2026-11-26 03:26 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/137#issuecomment-7181715378) A comparison for the shader failures in section 3: I checked the Git tree for the entire `crates/victory-shader` directory. Your `01aadd1` and my Windows baseline `71652a2` point 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](https://git.gtahub.st/github/Belobug--VIctory-Belobug-AMD/pulls/78). 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.
Author
Owner

@⁠Pr-Leonida on GitHub · 2026-11-26 13:24 UTC · original

Ran the exact test you asked for:

cargo test --locked -p victory-shader --lib lane_reads_in_a_loop_lanes_leave_at_different_iterations -- --nocapture --test-threads=1

Result on this box (RTX 5070 Laptop, i9-14900HX, Windows 11 26200, driver 32.0.16.2140, 01aadd1):

thread 'emit::lane_read_loop_tests::lane_reads_in_a_loop_lanes_leave_at_different_iterations' panicked
at crates/victory-shader/src/emit/lane_read_loop_tests.rs:129:57:
called `Result::unwrap()` on an `Err` value:
  Unsupported { offset: 0, what: "a console wave size the host does not run" }
test result: FAILED. 0 passed; 1 failed; 0 ignored; 271 filtered out

So the failure is at translation, not readback: the emit(...).unwrap() at lane_read_loop_tests.rs:129 panics on a Unsupported from 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 emit per adapter. The fixture is a console wave64 program; the 16-lane Intel iGPU refuses it at translation with exactly a 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 emit unwrap, 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:24 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/137#issuecomment-7193299535) Ran the exact test you asked for: ``` cargo test --locked -p victory-shader --lib lane_reads_in_a_loop_lanes_leave_at_different_iterations -- --nocapture --test-threads=1 ``` Result on this box (RTX 5070 Laptop, i9-14900HX, Windows 11 26200, driver 32.0.16.2140, `01aadd1`): ``` thread 'emit::lane_read_loop_tests::lane_reads_in_a_loop_lanes_leave_at_different_iterations' panicked at crates/victory-shader/src/emit/lane_read_loop_tests.rs:129:57: called `Result::unwrap()` on an `Err` value: Unsupported { offset: 0, what: "a console wave size the host does not run" } test result: FAILED. 0 passed; 1 failed; 0 ignored; 271 filtered out ``` So the failure is **at translation, not readback**: the `emit(...).unwrap()` at `lane_read_loop_tests.rs:129` panics on a `Unsupported` from 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 `emit` per adapter. The fixture is a console wave64 program; the 16-lane Intel iGPU refuses it at translation with exactly `a 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 `emit` unwrap, 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.
Author
Owner

@⁠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 emit report its refusal and continue, instead of unwrapping:

Intel(R) UHD Graphics: wave32: translation refused: GFX10 code at 0x0: a console wave size the host does not run is not supported
NVIDIA GeForce RTX 5070 Laptop GPU: wave32 exact
Intel(R) UHD Graphics: wave64: translation refused: GFX10 code at 0x0: console wave64 lanes on a host without 64-lane waves is not supported
NVIDIA GeForce RTX 5070 Laptop GPU: wave64 exact
test result: ok. 1 passed; 0 failed; 0 ignored; 271 filtered out

So on this box:

  • RTX 5070 Laptop GPU: wave32 exact and wave64 exact — the readback is correct on the NVIDIA card for both console wave widths. No RTX readback mismatch.
  • Intel UHD Graphics (the laptop's 16-lane iGPU): refused at translation for both wave sizes, before any GPU work — the same "translation refused a wave width it cannot run" signature as your Intel UHD 770.

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.

**@⁠Pr-Leonida** on GitHub · 2026-11-26 13:27 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/137#issuecomment-7193371108) 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 `emit` report its refusal and continue, instead of unwrapping: ``` Intel(R) UHD Graphics: wave32: translation refused: GFX10 code at 0x0: a console wave size the host does not run is not supported NVIDIA GeForce RTX 5070 Laptop GPU: wave32 exact Intel(R) UHD Graphics: wave64: translation refused: GFX10 code at 0x0: console wave64 lanes on a host without 64-lane waves is not supported NVIDIA GeForce RTX 5070 Laptop GPU: wave64 exact test result: ok. 1 passed; 0 failed; 0 ignored; 271 filtered out ``` So on this box: - **RTX 5070 Laptop GPU: `wave32 exact` and `wave64 exact`** — the readback is correct on the NVIDIA card for both console wave widths. No RTX readback mismatch. - **Intel UHD Graphics (the laptop's 16-lane iGPU): refused at translation** for both wave sizes, before any GPU work — the same "translation refused a wave width it cannot run" signature as your Intel UHD 770. 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.