Test report: Intel UHD (Raptor Lake Xe-LP), 70564ae: victory-shader 201 passed, 8 failed (3 missing-feature skips, 5 different results) #1829

Open
opened 2026-11-26 04:45:57 +00:00 by github-bot · 4 comments
Owner

@⁠DeerSilver on GitHub · 2026-11-24 23:07 UTC · original

Environment: Intel UHD Graphics (Raptor Lake Xe-LP, 8086:a788, driver 32.0.101.7088), Windows 11 26300, Rust 1.98.1. main at 70564ae. No game files; the title was not run.

The laptop also has an RTX 5060 Laptop GPU, which is DXGI adapter 0 and the default device. To test the Intel iGPU, I used a local, uncommitted switch in emit::host::Host::new that creates the test device on a given DXGI adapter and prints its name. Every run below printed Intel(R) UHD Graphics (8086:a788). The reasons come from the D3D12 debug layer, with each test run alone.

cargo test --locked -p victory-shader --lib -- --test-threads=1 on the Intel UHD: 201 passed, 8 failed, 2 ignored. The med3 tests pass now, after the NaN bit test on main; on ffe310e this iGPU failed v_med3_f32_matches_rdna2_with_nan.

3 failures: the device lacks a feature, and the test fails instead of skipping

Test Result Debug layer
synthetic_tests::permutes_read_the_lane_named_and_zero_from_lanes_left_out no device ran the permute (both print no pipeline for a wave of 32; skipped) Shader wants wave lane count of 32 but maximum wave lane count for device is 16 (Intel), ... is 4 (WARP)
valu_tests::image_atomics_of_64_bits hardware: The parameter is incorrect. Shader uses atomic int64 on typed resources, but the device does not support this
stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros hardware: dispatch failed: The parameter is incorrect. CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000

The last one is the view-heap cap from #1744. This Intel driver has the same 1,000,000 limit, so the cap isn't NVIDIA-only. The other two would pass as skips if the tests checked WaveLaneCountMin/Max and AtomicInt64OnTypedResourceSupported (D3D12_FEATURE_DATA_D3D12_OPTIONS9) before creating the pipeline.

5 failures: different results

  • v_mad_f32 / v_mac_f32 (semantics_tests::arithmetic_matches_the_hardware) differ from the model on 102 of 14,440 inputs, and on 2 of 2,560 with each output modifier. WARP agrees with the model on all of them. Every row shown is a product of subnormal size that should flush to +0 and comes out -0 on Intel, e.g. in [0x00800000, 0x80800000, 0x00000000] want 0x00000000, got 0x80000000. The test prints hardware adapter fuses FMad: true.
  • BVH intersections, 1 ULP off. These are bvh_tests::intersections_on_the_gpu_equal_the_reference, intersections_on_nodes_in_title_memory_equal_the_reference and intersections_with_64_bit_pointers_on_the_gpu_equal_the_reference. For box node type 1, the first output word is one below the reference: 1118671093 vs 1118671094 (and 1140801401 vs ...402 with 64-bit pointers). The other three words match.
  • valu_tests::fspx_programs_run_with_the_hardwares_dot_products: hardware: [cc165000, 0c0de901], got 2147483504, want 2147483312. This is the same test as the RDNA1 failure in #1782. I haven't checked whether #1790 fixes it here.

AI-assisted (Claude Code).

**@⁠DeerSilver** on GitHub · 2026-11-24 23:07 UTC · [original](https://github.com/Marvisak/VIctory/issues/1829) **Environment:** Intel UHD Graphics (Raptor Lake Xe-LP, `8086:a788`, driver 32.0.101.7088), Windows 11 26300, Rust 1.98.1. `main` at `70564ae`. No game files; the title was not run. The laptop also has an RTX 5060 Laptop GPU, which is DXGI adapter 0 and the default device. To test the Intel iGPU, I used a local, uncommitted switch in `emit::host::Host::new` that creates the test device on a given DXGI adapter and prints its name. Every run below printed `Intel(R) UHD Graphics (8086:a788)`. The reasons come from the D3D12 debug layer, with each test run alone. `cargo test --locked -p victory-shader --lib -- --test-threads=1` on the Intel UHD: **201 passed, 8 failed, 2 ignored.** The med3 tests pass now, after the NaN bit test on `main`; on `ffe310e` this iGPU failed `v_med3_f32_matches_rdna2_with_nan`. ### 3 failures: the device lacks a feature, and the test fails instead of skipping | Test | Result | Debug layer | |---|---|---| | `synthetic_tests::permutes_read_the_lane_named_and_zero_from_lanes_left_out` | `no device ran the permute` (both print `no pipeline for a wave of 32; skipped`) | `Shader wants wave lane count of 32 but maximum wave lane count for device is 16` (Intel), `... is 4` (WARP) | | `valu_tests::image_atomics_of_64_bits` | `hardware: The parameter is incorrect.` | `Shader uses atomic int64 on typed resources, but the device does not support this` | | `stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros` | `hardware: dispatch failed: The parameter is incorrect.` | `CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000` | The last one is the view-heap cap from #1744. This Intel driver has the same 1,000,000 limit, so the cap isn't NVIDIA-only. The other two would pass as skips if the tests checked `WaveLaneCountMin/Max` and `AtomicInt64OnTypedResourceSupported` (`D3D12_FEATURE_DATA_D3D12_OPTIONS9`) before creating the pipeline. ### 5 failures: different results - **`v_mad_f32` / `v_mac_f32`** (`semantics_tests::arithmetic_matches_the_hardware`) differ from the model on 102 of 14,440 inputs, and on 2 of 2,560 with each output modifier. WARP agrees with the model on all of them. Every row shown is a product of subnormal size that should flush to `+0` and comes out `-0` on Intel, e.g. in `[0x00800000, 0x80800000, 0x00000000]` want `0x00000000`, got `0x80000000`. The test prints `hardware adapter fuses FMad: true`. - **BVH intersections, 1 ULP off.** These are `bvh_tests::intersections_on_the_gpu_equal_the_reference`, `intersections_on_nodes_in_title_memory_equal_the_reference` and `intersections_with_64_bit_pointers_on_the_gpu_equal_the_reference`. For box node type 1, the first output word is one below the reference: `1118671093` vs `1118671094` (and `1140801401` vs `...402` with 64-bit pointers). The other three words match. - **`valu_tests::fspx_programs_run_with_the_hardwares_dot_products`:** `hardware: [cc165000, 0c0de901]`, got `2147483504`, want `2147483312`. This is the same test as the RDNA1 failure in #1782. I haven't checked whether #1790 fixes it here. AI-assisted (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:45:57 +00:00
Author
Owner

@⁠DesertGamer on GitHub · 2026-11-24 23:10 UTC · original

Hi everyone!

I want to help get community contributions into the project faster, so I've started VIctory V2, an integration fork of this repository:
https://github.com/DesertGamer/VIctory-V2

What it does

  • Merges open community PRs from upstream in batches
  • Screens each PR for suspicious content (binaries, build.rs, git hooks, scripts, new dependencies)
  • Runs tests after every batch
  • Resolves conflicts between PRs and records the reasoning in the commit message

Please note

  • V2 is not an official project and is not endorsed by the original author.
  • Original history and commit authorship are preserved, and V2 is regularly synced with upstream main.
  • Licensed under GPL-3.0-or-later, same as upstream.
  • Current status is the same as upstream: not playable yet. The world loads, but world rendering crashes with a GPU device-removed error (tested on Windows 11 / RX 6700 XT).

If your PR has been sitting unreviewed, feel free to point me to it. Feedback and bug reports are welcome in the V2 repo.

If this post doesn't belong in this section, let me know and I'll remove it.

**@⁠DesertGamer** on GitHub · 2026-11-24 23:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/1829#issuecomment-7147094938) Hi everyone! I want to help get community contributions into the project faster, so I've started **VIctory V2**, an integration fork of this repository: https://github.com/DesertGamer/VIctory-V2 **What it does** - Merges open community PRs from upstream in batches - Screens each PR for suspicious content (binaries, `build.rs`, git hooks, scripts, new dependencies) - Runs tests after every batch - Resolves conflicts between PRs and records the reasoning in the commit message **Please note** - V2 is **not** an official project and is not endorsed by the original author. - Original history and commit authorship are preserved, and V2 is regularly synced with upstream `main`. - Licensed under GPL-3.0-or-later, same as upstream. - Current status is the same as upstream: not playable yet. The world loads, but world rendering crashes with a GPU device-removed error (tested on Windows 11 / RX 6700 XT). If your PR has been sitting unreviewed, feel free to point me to it. Feedback and bug reports are welcome in the V2 repo. If this post doesn't belong in this section, let me know and I'll remove it.
Author
Owner

@⁠KainanP on GitHub · 2026-11-25 12:30 UTC · original

Intel UHD (Xe-LP, 8086:a78b): the open PRs for this issue, each merged alone onto main 940d32f

This is the same class of iGPU as the report above (8086:a788 there). I didn't use any game data.

Setup

  • Intel UHD Graphics 8086:a78b, driver 31.0.101.5445. It has 16-lane waves and refuses WaveSize(32) pipelines. The laptop also has an RTX 4060 Laptop GPU (driver 32.0.16.1047), which is DXGI adapter 0 and is what Host::new(false) picks on main. Windows 11 Home 26200, Rust 1.98.1 MSVC, debug build.
  • Adapter selection: I added a local, uncommitted hook in emit::host::hardware_adapter and in victory-gpu's host::create. It takes the first non-software adapter whose description contains VICTORY_TEST_ADAPTER=Intel and appends each pick to a log file. In every run below, the log shows only Intel(R) UHD Graphics (8086:a78b), DXGI index 1, with 122 to 129 hardware devices per victory-shader run. WARP legs are unchanged. The hook isn't part of any PR.
  • Commands: I merged each PR head onto 940d32f with git merge --no-ff (all merged cleanly except #1858, see below). Then I ran cargo test -p victory-shader --lib --locked --no-fail-fast with the default thread count and CARGO_BUILD_JOBS=6. For PRs that touch victory-gpu, I also ran cargo test -p victory-gpu --lib --locked --no-fail-fast.

main 940d32f on the Intel UHD

  • victory-shader: 239 passed, 8 failed, 3 ignored. These are the same 8 failures as in this issue. The short names below are used in the table:
    • arith: semantics_tests::arithmetic_matches_the_hardware. v_mac_f32 mismatches on 102 of 14,440 inputs, e.g. in [00800000, 80800000, 0] want 0, got 80000000.
    • bvh: three BVH intersection tests, 1 ULP off in t. Got 1118671093, want …094; with 64-bit pointers, got 1140801401, want …402.
    • heap: stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros, dispatch failed: The parameter is incorrect.
    • permute: hardware: no pipeline for a wave of 32.
    • atom64: image_atomics_of_64_bits, The parameter is incorrect.
    • fspx: got 2147483504 (0x7FFFFF70), want 2147483312 (0x7FFFFEB0).
  • victory-gpu: 140 passed, 3 failed: dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views and a_texture_written_in_one_format_reads_in_another_through_a_placed_view.
  • For reference, the RTX 4060 on the same tree: victory-shader 244 passed, 3 failed (the two stride tests and gathers_at_a_level_match_the_hardware); victory-gpu 141 passed, 2 failed.

victory-shader --lib on the Intel UHD, per PR

PR head passed / failed vs main
main 940d32f6 239 / 8
#1857 64-bit atomics skip 6758d28b 240 / 7 fixes atom64: hardware: no 64-bit atomics on typed heap resources; skipped
#1991 suites skip 3eaa8742 240 / 7 fixes permute: no wave of 32 on this device; skipped (hardware and WARP)
#1858 permute skip 2abb2301, my resolution 240 / 7 fixes permute: hardware: waves of 16 lanes at most; skipped
#1943 heap skip 7f67667c 240 / 7 fixes heap by skipping it: the device caps its shader-visible heaps below the heap's end; skipped
#1779 capped view heaps 9323a745 241 / 7 fixes heap: the test runs and passes on the Intel's capped heap instead of skipping, and the new a_heap_index_goes_through_the_view_block_table passes on the Intel too
#1856 no refactoring without FMad 0489d107 244 / 4 fixes arith and all three bvh tests
#1920 mul_apart for v_mad/v_mac 70540976 240 / 7 fixes arith (0 hardware mismatches); the three bvh tests still fail
#1856 + #1920 together 244 / 4 same as #1856 alone
#1903 FMad in the triangle test cbafed53 239 / 8 no change: the three bvh tests fail with the same values as on main
#1554 MAD/MAC flush f5bb6d02 240 / 9 no fix, and the new legacy_mad_fuses_its_product_and_flushes_its_sources fails (see 6)
#1790 run-time dot operands 8682e4a7 239 / 8 no change: fspx fails with the same values
#1791 8ec8be9d 240 / 8 its new dot4_signed_bytes_with_runtime_operands passes; fspx still fails (got 0x80001F70, want 0x80001EB0)
#1879 5a8fc617 239 / 8 no change
#1896 dot product by hand 51f3cb87 240 / 7 fixes fspx
#2084 code-table buffer loads 0077404b 241 / 8 same 8; both new tests pass on the Intel
#2117 lane groups b3b5c93d 245 / 8 same 8; all 6 new tests pass (see 5)
#2126 ticket ids (overlaps #2117) e214ce40 240 / 9 + relabelled_threads_each_get_their_own_id (see 5)

victory-gpu --lib on the Intel UHD

PR passed / failed vs main
main 140 / 3
#1779 145 / 1 fixes dynamic_slots_are_held_until_released and lists_share_a_table_and_copies_keep_their_views; the placed-view test still fails
#2251 143 / 0 all three pass: the tests now take their expectations from the host
#2053 143 / 3 same 3; its 3 new tests pass
#2117 141 / 3 same 3

The merge candidates together: #1991, #1857, #1943, #1856, #1920 and #1790 merged onto 940d32f give 247 passed, 1 failed on the Intel UHD. The one left is fspx. There was one textual conflict: #1943's takes_the_whole_heap and #1991's wave32 are added at the same spot in emit/host.rs. I kept both.

Where PRs compete, what this iGPU shows

  1. v_mad/v_mac signed zeros and the BVH ULPs (#1856, #1920, #1903, #1554):
    • #1856 is the only one that fixes all four failures here.
    • #1920 fixes arith only.
    • #1903 changes nothing here. The Intel still gets 1118671093 vs …094, which are the values the RX 7800 XT report on #1903 got with #1903.
    • #1554 fixes nothing and adds a failure.
    • #1856 and #1920 merge together cleanly and give the same result as #1856 alone.
  2. Wave-32 permute skip (#1858, #1991): both skip correctly on 16 lanes and on WARP's 4. #1858 now conflicts with main. To test it, I resolved the conflict locally: I kept main's hardware_adapter and hardware assert and put the PR's wave_lanes skip before them. #1991 merges cleanly and also covers hosts with no device.
  3. View-heap cap (#1943, #1779): #1943 skips heap. #1779 makes it run and pass on the Intel's capped heap, and also fixes 2 of the 3 victory-gpu failures here. #2251 fixes all three of those, but only on the test side.
  4. FSPX dot product (#1790, #1791, #1879, #1896): the case that still fails on the Intel is the one with an inline constant: v_dot4_i32_i8 v0, v1, 2.0 with op_sel, words [cc165000, 0c0de901], multiplicand 0x4000. It gives acc − 128 where the model wants acc − 320. #1790 makes a, b and acc run-time values, but this multiplicand is still the inline constant, and fspx fails with the same values. Only #1896's sum by hand passes here. Its triage notes that its constant handling is wrong for other constants. On this iGPU, what fixes fspx is the by-hand sum for constant sources with main's operand handling, which is what the triage asks for.
  5. What #2117 claims for 16-lane hosts, and the 2-D question:
    • On the Intel, quad_reads_run_on_any_host_wave and row_reads_run_on_host_waves_of_16_lanes run on the hardware and pass. half_reads_of_wave64_run_on_host_waves_of_32_lanes skips with hardware: waves of 16 lanes split groups of 32, as the description says. All three use a 1-D group of 128 threads.
    • For the triage's 2-D question I ran #2126's probe host_waves_keep_what_the_relabelling_relies_on on the Intel. Its hardware leg has no WaveSize.
    • 1-D groups fill 16-lane waves as aligned runs.
    • Most 2-D and 3-D groups are put into 4×4 tiles. In [8,8,1], the first wave holds ids 0-3, 8-11, 16-19 and 24-27. In [32,4,1], it holds 0-3, 32-35, 64-67 and 96-99.
    • The probe reports relabel bijective false for [32,4,1], [32,8,1], [64,4,1], [16,4,1], [24,8,1], [8,8,1], [16,16,1], [32,32,1], [8,4,1], [16,8,1], [8,8,4], [16,8,2] and [12,12,1].
    • It reports true for [64,2,1], [32,2,1], [4,4,4], [2,2,16], [1,64,1], [10,10,1] and every 1-D shape.
    • So on Xe-LP, #2117's lane_thread would repeat ids in most 2-D groups. Limiting narrowing to 1-D groups, or taking ids by ticket, is needed on Intel too, not only on NVIDIA.
    • #2126's own relabelled_threads_each_get_their_own_id fails here instead of skipping: [64, 1]: The parameter is incorrect. The WaveSize(32) pipeline is refused on 16 lanes, and the test unwraps compute_pipeline. The probe's WaveSize(32) legs skip correctly.
  6. #1554: in legacy_mad_fuses_its_product_and_flushes_its_sources, case 0 computes (1 + 2^-23)·(1 − 2^-23) − 1. The test wants 0xA8800000 (−2^-46). The Intel UHD gives 0, the result of rounding the product before the add. On the same device, hosts_that_do_not_fuse_are_named prints hardware adapter fuses FMad: true. The test passes on the RTX 4060, and WARP's case 0 is skipped as intended. So the test's assumption that "hardware fuses" doesn't hold on Xe-LP for this input.
  7. #2053: for one run I set the test binary to "Power saving" in Windows' per-app graphics preference (HKCU\…\DirectX\UserGpuPreferences), then removed the setting. the_default_device_names_its_adapter then puts the device on Intel(R) UHD Graphics, driver 31.0.101.5445. But EnumAdapterByGpuPreference(HIGH_PERFORMANCE) also returns the Intel UHD, so the "another GPU is this PC's high-performance GPU" warning doesn't fire. DXGI applies the per-app preference to that query too. The warning therefore fires only where the iGPU is the default without a per-app choice, as on the PR author's laptop. I didn't check the lane-count warning, since it is only logged through tracing.

Not run: each PR on the RTX 4060 (only main ran there), AMD, and the title.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this.

**@⁠KainanP** on GitHub · 2026-11-25 12:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1829#issuecomment-7162467900) ### Intel UHD (Xe-LP, `8086:a78b`): the open PRs for this issue, each merged alone onto `main` `940d32f` This is the same class of iGPU as the report above (`8086:a788` there). I didn't use any game data. **Setup** - Intel UHD Graphics `8086:a78b`, driver 31.0.101.5445. It has 16-lane waves and refuses `WaveSize(32)` pipelines. The laptop also has an RTX 4060 Laptop GPU (driver 32.0.16.1047), which is DXGI adapter 0 and is what `Host::new(false)` picks on `main`. Windows 11 Home 26200, Rust 1.98.1 MSVC, debug build. - **Adapter selection:** I added a local, uncommitted hook in `emit::host::hardware_adapter` and in `victory-gpu`'s `host::create`. It takes the first non-software adapter whose description contains `VICTORY_TEST_ADAPTER=Intel` and appends each pick to a log file. In every run below, the log shows only `Intel(R) UHD Graphics (8086:a78b)`, DXGI index 1, with 122 to 129 hardware devices per `victory-shader` run. WARP legs are unchanged. The hook isn't part of any PR. - **Commands:** I merged each PR head onto `940d32f` with `git merge --no-ff` (all merged cleanly except #1858, see below). Then I ran `cargo test -p victory-shader --lib --locked --no-fail-fast` with the default thread count and `CARGO_BUILD_JOBS=6`. For PRs that touch `victory-gpu`, I also ran `cargo test -p victory-gpu --lib --locked --no-fail-fast`. **`main` `940d32f` on the Intel UHD** - `victory-shader`: 239 passed, 8 failed, 3 ignored. These are the same 8 failures as in this issue. The short names below are used in the table: - `arith`: `semantics_tests::arithmetic_matches_the_hardware`. `v_mac_f32` mismatches on 102 of 14,440 inputs, e.g. in `[00800000, 80800000, 0]` want `0`, got `80000000`. - `bvh`: three BVH intersection tests, 1 ULP off in `t`. Got `1118671093`, want `…094`; with 64-bit pointers, got `1140801401`, want `…402`. - `heap`: `stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`, `dispatch failed: The parameter is incorrect`. - `permute`: `hardware: no pipeline for a wave of 32`. - `atom64`: `image_atomics_of_64_bits`, `The parameter is incorrect`. - `fspx`: got `2147483504` (`0x7FFFFF70`), want `2147483312` (`0x7FFFFEB0`). - `victory-gpu`: 140 passed, 3 failed: `dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views` and `a_texture_written_in_one_format_reads_in_another_through_a_placed_view`. - For reference, the RTX 4060 on the same tree: `victory-shader` 244 passed, 3 failed (the two stride tests and `gathers_at_a_level_match_the_hardware`); `victory-gpu` 141 passed, 2 failed. **`victory-shader --lib` on the Intel UHD, per PR** | PR | head | passed / failed | vs `main` | |---|---|---|---| | `main` | `940d32f6` | 239 / 8 | | | #1857 64-bit atomics skip | `6758d28b` | 240 / 7 | fixes `atom64`: `hardware: no 64-bit atomics on typed heap resources; skipped` | | #1991 suites skip | `3eaa8742` | 240 / 7 | fixes `permute`: `no wave of 32 on this device; skipped` (hardware and WARP) | | #1858 permute skip | `2abb2301`, my resolution | 240 / 7 | fixes `permute`: `hardware: waves of 16 lanes at most; skipped` | | #1943 heap skip | `7f67667c` | 240 / 7 | fixes `heap` by skipping it: `the device caps its shader-visible heaps below the heap's end; skipped` | | #1779 capped view heaps | `9323a745` | 241 / 7 | fixes `heap`: the test **runs and passes** on the Intel's capped heap instead of skipping, and the new `a_heap_index_goes_through_the_view_block_table` passes on the Intel too | | #1856 no refactoring without `FMad` | `0489d107` | **244 / 4** | fixes `arith` and all three `bvh` tests | | #1920 `mul_apart` for `v_mad`/`v_mac` | `70540976` | 240 / 7 | fixes `arith` (0 hardware mismatches); the three `bvh` tests still fail | | #1856 + #1920 together | | 244 / 4 | same as #1856 alone | | #1903 `FMad` in the triangle test | `cbafed53` | 239 / 8 | no change: the three `bvh` tests fail with the same values as on `main` | | #1554 MAD/MAC flush | `f5bb6d02` | 240 / **9** | no fix, and the new `legacy_mad_fuses_its_product_and_flushes_its_sources` fails (see 6) | | #1790 run-time dot operands | `8682e4a7` | 239 / 8 | no change: `fspx` fails with the same values | | #1791 | `8ec8be9d` | 240 / 8 | its new `dot4_signed_bytes_with_runtime_operands` passes; `fspx` still fails (got `0x80001F70`, want `0x80001EB0`) | | #1879 | `5a8fc617` | 239 / 8 | no change | | #1896 dot product by hand | `51f3cb87` | 240 / 7 | fixes `fspx` | | #2084 code-table buffer loads | `0077404b` | 241 / 8 | same 8; both new tests pass on the Intel | | #2117 lane groups | `b3b5c93d` | 245 / 8 | same 8; all 6 new tests pass (see 5) | | #2126 ticket ids (overlaps #2117) | `e214ce40` | 240 / **9** | + `relabelled_threads_each_get_their_own_id` (see 5) | **`victory-gpu --lib` on the Intel UHD** | PR | passed / failed | vs `main` | |---|---|---| | `main` | 140 / 3 | | | #1779 | 145 / 1 | fixes `dynamic_slots_are_held_until_released` and `lists_share_a_table_and_copies_keep_their_views`; the placed-view test still fails | | #2251 | **143 / 0** | all three pass: the tests now take their expectations from the host | | #2053 | 143 / 3 | same 3; its 3 new tests pass | | #2117 | 141 / 3 | same 3 | **The merge candidates together:** #1991, #1857, #1943, #1856, #1920 and #1790 merged onto `940d32f` give **247 passed, 1 failed** on the Intel UHD. The one left is `fspx`. There was one textual conflict: #1943's `takes_the_whole_heap` and #1991's `wave32` are added at the same spot in `emit/host.rs`. I kept both. **Where PRs compete, what this iGPU shows** 1. **`v_mad`/`v_mac` signed zeros and the BVH ULPs** (#1856, #1920, #1903, #1554): - #1856 is the only one that fixes all four failures here. - #1920 fixes `arith` only. - #1903 changes nothing here. The Intel still gets `1118671093` vs `…094`, which are the values the RX 7800 XT report on #1903 got *with* #1903. - #1554 fixes nothing and adds a failure. - #1856 and #1920 merge together cleanly and give the same result as #1856 alone. 2. **Wave-32 permute skip** (#1858, #1991): both skip correctly on 16 lanes and on WARP's 4. #1858 now conflicts with `main`. To test it, I resolved the conflict locally: I kept `main`'s `hardware_adapter` and hardware assert and put the PR's `wave_lanes` skip before them. #1991 merges cleanly and also covers hosts with no device. 3. **View-heap cap** (#1943, #1779): #1943 skips `heap`. #1779 makes it run and pass on the Intel's capped heap, and also fixes 2 of the 3 `victory-gpu` failures here. #2251 fixes all three of those, but only on the test side. 4. **FSPX dot product** (#1790, #1791, #1879, #1896): the case that still fails on the Intel is the one with an inline constant: `v_dot4_i32_i8 v0, v1, 2.0` with `op_sel`, words `[cc165000, 0c0de901]`, multiplicand `0x4000`. It gives `acc − 128` where the model wants `acc − 320`. #1790 makes `a`, `b` and `acc` run-time values, but this multiplicand is still the inline constant, and `fspx` fails with the same values. Only #1896's sum by hand passes here. Its triage notes that its constant handling is wrong for other constants. On this iGPU, what fixes `fspx` is the by-hand sum for constant sources with `main`'s operand handling, which is what the triage asks for. 5. **What #2117 claims for 16-lane hosts, and the 2-D question:** - On the Intel, `quad_reads_run_on_any_host_wave` and `row_reads_run_on_host_waves_of_16_lanes` run on the hardware and pass. `half_reads_of_wave64_run_on_host_waves_of_32_lanes` skips with `hardware: waves of 16 lanes split groups of 32`, as the description says. All three use a 1-D group of 128 threads. - For the triage's 2-D question I ran #2126's probe `host_waves_keep_what_the_relabelling_relies_on` on the Intel. Its `hardware` leg has no `WaveSize`. - 1-D groups fill 16-lane waves as aligned runs. - Most 2-D and 3-D groups are put into **4×4 tiles**. In `[8,8,1]`, the first wave holds ids 0-3, 8-11, 16-19 and 24-27. In `[32,4,1]`, it holds 0-3, 32-35, 64-67 and 96-99. - The probe reports `relabel bijective false` for `[32,4,1]`, `[32,8,1]`, `[64,4,1]`, `[16,4,1]`, `[24,8,1]`, `[8,8,1]`, `[16,16,1]`, `[32,32,1]`, `[8,4,1]`, `[16,8,1]`, `[8,8,4]`, `[16,8,2]` and `[12,12,1]`. - It reports `true` for `[64,2,1]`, `[32,2,1]`, `[4,4,4]`, `[2,2,16]`, `[1,64,1]`, `[10,10,1]` and every 1-D shape. - So on Xe-LP, #2117's `lane_thread` would repeat ids in most 2-D groups. Limiting narrowing to 1-D groups, or taking ids by ticket, is needed on Intel too, not only on NVIDIA. - #2126's own `relabelled_threads_each_get_their_own_id` fails here instead of skipping: `[64, 1]: The parameter is incorrect`. The `WaveSize(32)` pipeline is refused on 16 lanes, and the test unwraps `compute_pipeline`. The probe's `WaveSize(32)` legs skip correctly. 6. **#1554:** in `legacy_mad_fuses_its_product_and_flushes_its_sources`, case 0 computes (1 + 2^-23)·(1 − 2^-23) − 1. The test wants `0xA8800000` (−2^-46). The Intel UHD gives `0`, the result of rounding the product before the add. On the same device, `hosts_that_do_not_fuse_are_named` prints `hardware adapter fuses FMad: true`. The test passes on the RTX 4060, and WARP's case 0 is skipped as intended. So the test's assumption that "hardware fuses" doesn't hold on Xe-LP for this input. 7. **#2053:** for one run I set the test binary to "Power saving" in Windows' per-app graphics preference (`HKCU\…\DirectX\UserGpuPreferences`), then removed the setting. `the_default_device_names_its_adapter` then puts the device on `Intel(R) UHD Graphics`, driver `31.0.101.5445`. But `EnumAdapterByGpuPreference(HIGH_PERFORMANCE)` also returns the Intel UHD, so the "another GPU is this PC's high-performance GPU" warning doesn't fire. DXGI applies the per-app preference to that query too. The warning therefore fires only where the iGPU is the default without a per-app choice, as on the PR author's laptop. I didn't check the lane-count warning, since it is only logged through `tracing`. **Not run:** each PR on the RTX 4060 (only `main` ran there), AMD, and the title. _AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 12:48 UTC · original

Automated triage for the maintainers.

Confirmed in main (940d32f) for the missing-feature cases: permutes_read_the_lane_named_and_zero_from_lanes_left_out in crates/victory-shader/src/emit/synthetic_tests.rs asserts when the hardware refuses the wave-of-32 pipeline (only WARP may skip), so a 16-lane host fails instead of skipping; image_atomics_of_64_bits in valu_tests.rs does not check 64-bit typed atomic support first. The second comment reproduces all 8 failures on another Xe-LP iGPU on 940d32f.

Open pull requests, with the per-PR results from that comment:

  • 64-bit atomics skip: #1857.
  • Wave-32 permute skip: #1991 (merges cleanly) and #1858 (now conflicts).
  • Capped view heap: #1779 makes the heap test run and pass (and fixes 2 of 3 victory-gpu failures); #1943 skips it; #2251 fixes the 3 victory-gpu failures on the test side.
  • v_mad/v_mac signed zeros and the BVH 1-ULP differences: #1856 fixes all four; #1920 fixes the arithmetic one only; #1903 and #1554 do not fix them here.
  • FSPX dot product: the case still failing on Intel is the inline-constant one; only #1896 passes here. The RDNA1 side of this test is #1782.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/1829#issuecomment-7162876944) <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-25T12:30:30Z at=2026-11-25T12:47:46Z --> Automated triage for the maintainers. Confirmed in `main` (`940d32f`) for the missing-feature cases: `permutes_read_the_lane_named_and_zero_from_lanes_left_out` in `crates/victory-shader/src/emit/synthetic_tests.rs` asserts when the hardware refuses the wave-of-32 pipeline (only WARP may skip), so a 16-lane host fails instead of skipping; `image_atomics_of_64_bits` in `valu_tests.rs` does not check 64-bit typed atomic support first. The second comment reproduces all 8 failures on another Xe-LP iGPU on `940d32f`. Open pull requests, with the per-PR results from that comment: - 64-bit atomics skip: #1857. - Wave-32 permute skip: #1991 (merges cleanly) and #1858 (now conflicts). - Capped view heap: #1779 makes the heap test run and pass (and fixes 2 of 3 `victory-gpu` failures); #1943 skips it; #2251 fixes the 3 `victory-gpu` failures on the test side. - `v_mad`/`v_mac` signed zeros and the BVH 1-ULP differences: #1856 fixes all four; #1920 fixes the arithmetic one only; #1903 and #1554 do not fix them here. - FSPX dot product: the case still failing on Intel is the inline-constant one; only #1896 passes here. The RDNA1 side of this test is #1782. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠zzm1234560621-prog on GitHub · 2026-11-26 13:39 UTC · original

A second Xe-LPG part, and your list reproduces on it almost item for item. Intel(R) Arc(TM) Graphics (integrated, 8086), driver 32.0.101.6127, Windows 11 26200, main 63bcca4, no game files: 295 passed / 7 failed / 3 ignored (before the two PRs below), and the same WARP cross-check you describe — every one of the seven passes when its hardware half runs on WARP.

Against your five "different results":

  • v_mad_f32 / v_mac_f32, 102 of 14,440 inputs, subnormal product to -0 where the model says +0 — same numbers here, and now fixed: #3212 flushes the MAD product to +0 the way the console does (zeros pass through, so a true -0 product is untouched). On this part both ops go 102 → 0 and the suite 296/6 → 297/5.
  • BVH, one ULP — same case, same words (1118671093 vs 1118671094, …401 vs …402 with 64-bit pointers). It is not contraction: the lowering emits (u*a2 + v*b2) + ww*c2 (lower.rs:476-480), the reference matches it, and all six fused forms give the reference's number; the driver returns the other association. Written up with the probe in #3196.
  • fspx_…dot_products — same operands, same 192 apart. WARP exact here too, so the expectation looks right and the driver wrong. I have not looked at #1790 either.

Against your three "missing feature" ones:

  • image_atomics_of_64_bits — your D3D12_FEATURE_DATA_D3D12_OPTIONS9::AtomicInt64OnTypedResourceSupported suggestion is what #3203 now uses, and it is consulted only after compute_pipeline has failed, because oni-swr found that WARP leaves the flag clear and still runs the atomics (a query-first gate lost that coverage).
  • stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros — CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000, identical. Two things worth adding: View::NullBuffers is what asks for HEAP_VIEWS, and clamping only the request does not fix it — the process then dies with exit 2173, because the shaders still clamp their indices at HEAP_VIEWS − 1; the constant and the heap have to agree, which is the open design question in #3196 and, as you say, #1744.
  • permutes_read_the_lane_named_and_zero_from_lanes_left_out — this one does not reproduce on the Arc: it is not among the seven, so this part reports at least 32-lane waves. That is a real difference between Xe-LP parts worth having in the record, and your WaveLaneCountMin/Max gate is what would make both behave.

So the picture from two drivers and two SKUs: atomic int64 on typed resources, the view-heap cap and the wave lane count are capability questions the tests should ask; v_mad/v_mac was a lowering bug (fixed); BVH and the dot product are this family of drivers disagreeing with the console on arithmetic the translator emits faithfully.

No game files. AI-assisted (Claude).

**@⁠zzm1234560621-prog** on GitHub · 2026-11-26 13:39 UTC · [original](https://github.com/Marvisak/VIctory/issues/1829#issuecomment-7193664912) A second Xe-LPG part, and your list reproduces on it almost item for item. Intel(R) Arc(TM) Graphics (integrated, `8086`), driver **32.0.101.6127**, Windows 11 26200, `main` `63bcca4`, no game files: 295 passed / 7 failed / 3 ignored (before the two PRs below), and the same WARP cross-check you describe — every one of the seven passes when its hardware half runs on WARP. Against your five "different results": - **`v_mad_f32` / `v_mac_f32`, 102 of 14,440 inputs, subnormal product to `-0` where the model says `+0`** — same numbers here, and now fixed: **#3212** flushes the MAD product to `+0` the way the console does (zeros pass through, so a true `-0` product is untouched). On this part both ops go 102 → 0 and the suite 296/6 → 297/5. - **BVH, one ULP** — same case, same words (`1118671093` vs `1118671094`, `…401` vs `…402` with 64-bit pointers). It is not contraction: the lowering emits `(u*a2 + v*b2) + ww*c2` (`lower.rs:476-480`), the reference matches it, and all six fused forms give the reference's number; the driver returns the other association. Written up with the probe in #3196. - **`fspx_…dot_products`** — same operands, same 192 apart. WARP exact here too, so the expectation looks right and the driver wrong. I have not looked at #1790 either. Against your three "missing feature" ones: - **`image_atomics_of_64_bits`** — your `D3D12_FEATURE_DATA_D3D12_OPTIONS9::AtomicInt64OnTypedResourceSupported` suggestion is what **#3203** now uses, and it is consulted only after `compute_pipeline` has failed, because oni-swr found that WARP leaves the flag clear and still runs the atomics (a query-first gate lost that coverage). - **`stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`** — `CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000`, identical. Two things worth adding: `View::NullBuffers` is what asks for `HEAP_VIEWS`, and **clamping only the request does not fix it** — the process then dies with exit 2173, because the shaders still clamp their indices at `HEAP_VIEWS − 1`; the constant and the heap have to agree, which is the open design question in #3196 and, as you say, #1744. - **`permutes_read_the_lane_named_and_zero_from_lanes_left_out`** — this one does **not** reproduce on the Arc: it is not among the seven, so this part reports at least 32-lane waves. That is a real difference between Xe-LP parts worth having in the record, and your `WaveLaneCountMin/Max` gate is what would make both behave. So the picture from two drivers and two SKUs: `atomic int64 on typed resources`, the view-heap cap and the wave lane count are capability questions the tests should ask; `v_mad`/`v_mac` was a lowering bug (fixed); BVH and the dot product are this family of drivers disagreeing with the console on arithmetic the translator emits faithfully. _No game files. AI-assisted (Claude)._
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1829
No description provided.