First NVIDIA run (RTX 4070 Ti): workspace test results #74

Open
opened 2026-11-26 03:35:03 +00:00 by github-bot · 1 comment
Owner

@⁠qtLkz on GitHub · 2026-11-25 13:27 UTC · original

Your README says nothing in this fork has run on NVIDIA yet, so here is a first data point. These are only the workspace tests. No game files were used and I didn't run the title.

Setup: RTX 4070 Ti (Ada, 32-lane waves), driver 621.01, Windows 11 Pro build 26300, Rust 1.98.1 (pinned). Fork at 71652a2.

cargo test --workspace --locked --no-fail-fast: 11 failures in 4 targets.

1. victory-shader: 4 tests from upstream #269 fail on a 32-lane host

  • valu_tests::loop_exit_mask_counted_after_the_loop and mask_grown_inside_a_branch_counted_after_it: pipeline: "Paramètre incorrect." (E_INVALIDARG at pipeline creation)
  • valu_tests::scalar_counted_in_a_divergent_loop_read_after_it: lanes 0-31 count 32, lanes 32-63 count 64
  • valu_tests::scalar_counted_in_nested_divergent_loops: the same split, 8 / 16

This matches the RTX 5080 report on Marvisak/VIctory#269: the change assumes the host wave is the console's 64 lanes, and NVIDIA only runs 32. Your RX 9070 XT runs these programs 64 wide, so it can't show the problem. An NVIDIA user of this fork would get those wrong scalar values with no error.

2. victory-hle: 5 xmem tests fail. Upstream #76's current revision passes on the same machine
a_run_keeps_the_placeholders_it_spans, a_run_maps_across_two_placeholders, a_run_maps_again_after_a_partial_unmap, physical_pages_map_alias_and_unmap (each left: 4096, right: 8192, the first one with a different base address), and mapping_no_pages_changes_nothing (map_alias(at, a, 0) returns false).

The fork carries #76 as dea90cc. On this same PC, upstream main 940d32f + #76 at its current head ce93a81 (rebased onto 940d32f) passes all 16 xmem tests. Taking the newer revision may fix these. Your ae90937 also touches map/map_view/unmap in xmem.rs, and I didn't separate the two.

3. victory-gpu: descriptor::host::tests::dynamic_slots_are_held_until_released
left: (933440, 998876), right: (4, 65440) at host.rs:3013. On NVIDIA the view heap is capped at 1,000,000 descriptors. Here the first dynamic run lands at 933440 instead of 4, while its size (spare - 100) is as expected. It may only be the test assuming the run starts at 4 on a clamped heap, but with doubled dynamic slots it is worth a look.

4. xtask: repository_passes_policy: lower.rs over the size limit, already noted in your README.

Everything else passes, including all victory-shader hardware dispatch tests apart from the 4 above.

AI-assisted (Claude).

**@⁠qtLkz** on GitHub · 2026-11-25 13:27 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/74) Your README says nothing in this fork has run on NVIDIA yet, so here is a first data point. These are only the workspace tests. No game files were used and I didn't run the title. **Setup:** RTX 4070 Ti (Ada, 32-lane waves), driver 621.01, Windows 11 Pro build 26300, Rust 1.98.1 (pinned). Fork at `71652a2`. `cargo test --workspace --locked --no-fail-fast`: 11 failures in 4 targets. **1. victory-shader: 4 tests from upstream #269 fail on a 32-lane host** - `valu_tests::loop_exit_mask_counted_after_the_loop` and `mask_grown_inside_a_branch_counted_after_it`: `pipeline: "Paramètre incorrect."` (E_INVALIDARG at pipeline creation) - `valu_tests::scalar_counted_in_a_divergent_loop_read_after_it`: lanes 0-31 count 32, lanes 32-63 count 64 - `valu_tests::scalar_counted_in_nested_divergent_loops`: the same split, 8 / 16 This matches the RTX 5080 report on Marvisak/VIctory#269: the change assumes the host wave is the console's 64 lanes, and NVIDIA only runs 32. Your RX 9070 XT runs these programs 64 wide, so it can't show the problem. An NVIDIA user of this fork would get those wrong scalar values with no error. **2. victory-hle: 5 xmem tests fail. Upstream #76's current revision passes on the same machine** `a_run_keeps_the_placeholders_it_spans`, `a_run_maps_across_two_placeholders`, `a_run_maps_again_after_a_partial_unmap`, `physical_pages_map_alias_and_unmap` (each `left: 4096, right: 8192`, the first one with a different base address), and `mapping_no_pages_changes_nothing` (`map_alias(at, a, 0)` returns false). The fork carries #76 as `dea90cc`. On this same PC, upstream main `940d32f` + #76 at its current head `ce93a81` (rebased onto `940d32f`) passes all 16 xmem tests. Taking the newer revision may fix these. Your `ae90937` also touches `map`/`map_view`/`unmap` in xmem.rs, and I didn't separate the two. **3. victory-gpu: `descriptor::host::tests::dynamic_slots_are_held_until_released`** `left: (933440, 998876)`, `right: (4, 65440)` at host.rs:3013. On NVIDIA the view heap is capped at 1,000,000 descriptors. Here the first dynamic run lands at 933440 instead of 4, while its size (`spare - 100`) is as expected. It may only be the test assuming the run starts at 4 on a clamped heap, but with doubled dynamic slots it is worth a look. **4. xtask: `repository_passes_policy`**: `lower.rs` over the size limit, already noted in your README. Everything else passes, including all victory-shader hardware dispatch tests apart from the 4 above. AI-assisted (Claude).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:35:03 +00:00
Author
Owner

@⁠qtLkz on GitHub · 2026-11-25 22:09 UTC · original

Update: on current main 4f62c2a this card still shows the same 11 failures. But three open PRs here, stacked together, bring it down to 2. Same RTX 4070 Ti, driver 621.01, Windows 11 Pro 26300, Rust 1.98.1.

Stack: main 4f62c2a + #153 (0f373ac) + #128 (bb6f2fc) + #201 (5f03aee), clean merges.
cargo test --workspace --locked --no-fail-fast -- --test-threads=1

main 4f62c2a stack
victory-gpu 112 passed, 1 failed (dynamic_slots_are_held_until_released) 113 passed, 1 failed (watch::tests::written_pages_are_reported_to_every_asker, see below)
victory-hle 97 passed, 5 failed (xmem) 102 passed, 0 failed
victory-shader 273 passed, 4 failed (#269's tests on 32-lane waves) 298 passed, 0 failed
xtask repository_passes_policy (lower.rs size) same
  • #153 clears the 5 xmem failures and dynamic_slots_are_held_until_released on NVIDIA.
  • #128 clears all 4 wave64 failures on this 32-lane host (loop_exit_mask_counted_after_the_loop, mask_grown_inside_a_branch_counted_after_it, scalar_counted_in_a_divergent_loop_read_after_it, scalar_counted_in_nested_divergent_loops).
  • #110 doesn't change them here (it asks for 64-lane waves, which NVIDIA lacks), and it doesn't compile together with #128: build_lanes_cs gets a second Target argument in #128, and #110's new test calls it with one (valu_tests.rs:1673).
  • #201 alone: its new a_free_run_across_the_search_start_is_found fails on NVIDIA (left: (933440, 933490), right: (4, 54): on a capped heap the dynamic range starts at 933,440). With #153 in the stack it passes.

The one new failure: watch::tests::written_pages_are_reported_to_every_asker (assertion failed: before.is_empty(), watch.rs:1097). It passes when the watch:: tests run on their own, both on main and with #153. It fails in the full victory-gpu run with #153 applied (twice, threaded and single-threaded), but not on plain main. So it looks like an interaction between #153 and an earlier test, not a broken watch path.

AI-assisted (Claude).

**@⁠qtLkz** on GitHub · 2026-11-25 22:09 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/74#issuecomment-7175998529) Update: on current main `4f62c2a` this card still shows the same 11 failures. But three open PRs here, stacked together, bring it down to **2**. Same RTX 4070 Ti, driver 621.01, Windows 11 Pro 26300, Rust 1.98.1. **Stack:** main `4f62c2a` + #153 (`0f373ac`) + #128 (`bb6f2fc`) + #201 (`5f03aee`), clean merges. `cargo test --workspace --locked --no-fail-fast -- --test-threads=1` | | main `4f62c2a` | stack | |---|---|---| | victory-gpu | 112 passed, 1 failed (`dynamic_slots_are_held_until_released`) | 113 passed, 1 failed (`watch::tests::written_pages_are_reported_to_every_asker`, see below) | | victory-hle | 97 passed, **5 failed** (xmem) | **102 passed, 0 failed** | | victory-shader | 273 passed, **4 failed** (#269's tests on 32-lane waves) | **298 passed, 0 failed** | | xtask | `repository_passes_policy` (lower.rs size) | same | - **#153** clears the 5 xmem failures and `dynamic_slots_are_held_until_released` on NVIDIA. - **#128** clears all 4 wave64 failures on this 32-lane host (`loop_exit_mask_counted_after_the_loop`, `mask_grown_inside_a_branch_counted_after_it`, `scalar_counted_in_a_divergent_loop_read_after_it`, `scalar_counted_in_nested_divergent_loops`). - **#110** doesn't change them here (it asks for 64-lane waves, which NVIDIA lacks), and it **doesn't compile together with #128**: `build_lanes_cs` gets a second `Target` argument in #128, and #110's new test calls it with one (valu_tests.rs:1673). - **#201** alone: its new `a_free_run_across_the_search_start_is_found` fails on NVIDIA (`left: (933440, 933490)`, `right: (4, 54)`: on a capped heap the dynamic range starts at 933,440). With #153 in the stack it passes. **The one new failure:** `watch::tests::written_pages_are_reported_to_every_asker` (`assertion failed: before.is_empty()`, watch.rs:1097). It passes when the `watch::` tests run on their own, both on main and with #153. It fails in the full victory-gpu run with #153 applied (twice, threaded and single-threaded), but not on plain main. So it looks like an interaction between #153 and an earlier test, not a broken watch path. AI-assisted (Claude).
This discussion has been locked. Commenting is limited to contributors.
No description provided.