Test report: Intel UHD (Raptor Lake Xe-LP), 70564ae: victory-shader 201 passed, 8 failed (3 missing-feature skips, 5 different results) #1829
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1829
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?
@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.mainat70564ae. 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::newthat creates the test device on a given DXGI adapter and prints its name. Every run below printedIntel(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=1on the Intel UHD: 201 passed, 8 failed, 2 ignored. The med3 tests pass now, after the NaN bit test onmain; onffe310ethis iGPU failedv_med3_f32_matches_rdna2_with_nan.3 failures: the device lacks a feature, and the test fails instead of skipping
synthetic_tests::permutes_read_the_lane_named_and_zero_from_lanes_left_outno device ran the permute(both printno 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_bitshardware: The parameter is incorrect.Shader uses atomic int64 on typed resources, but the device does not support thisstride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeroshardware: dispatch failed: The parameter is incorrect.CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000The 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/MaxandAtomicInt64OnTypedResourceSupported(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+0and comes out-0on Intel, e.g. in[0x00800000, 0x80800000, 0x00000000]want0x00000000, got0x80000000. The test printshardware adapter fuses FMad: true.bvh_tests::intersections_on_the_gpu_equal_the_reference,intersections_on_nodes_in_title_memory_equal_the_referenceandintersections_with_64_bit_pointers_on_the_gpu_equal_the_reference. For box node type 1, the first output word is one below the reference:1118671093vs1118671094(and1140801401vs...402with 64-bit pointers). The other three words match.valu_tests::fspx_programs_run_with_the_hardwares_dot_products:hardware: [cc165000, 0c0de901], got2147483504, want2147483312. This is the same test as the RDNA1 failure in #1782. I haven't checked whether #1790 fixes it here.AI-assisted (Claude Code).
@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
build.rs, git hooks, scripts, new dependencies)Please note
main.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.
@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 ontomain940d32fThis is the same class of iGPU as the report above (
8086:a788there). I didn't use any game data.Setup
8086:a78b, driver 31.0.101.5445. It has 16-lane waves and refusesWaveSize(32)pipelines. The laptop also has an RTX 4060 Laptop GPU (driver 32.0.16.1047), which is DXGI adapter 0 and is whatHost::new(false)picks onmain. Windows 11 Home 26200, Rust 1.98.1 MSVC, debug build.emit::host::hardware_adapterand invictory-gpu'shost::create. It takes the first non-software adapter whose description containsVICTORY_TEST_ADAPTER=Inteland appends each pick to a log file. In every run below, the log shows onlyIntel(R) UHD Graphics (8086:a78b), DXGI index 1, with 122 to 129 hardware devices pervictory-shaderrun. WARP legs are unchanged. The hook isn't part of any PR.940d32fwithgit merge --no-ff(all merged cleanly except #1858, see below). Then I rancargo test -p victory-shader --lib --locked --no-fail-fastwith the default thread count andCARGO_BUILD_JOBS=6. For PRs that touchvictory-gpu, I also rancargo test -p victory-gpu --lib --locked --no-fail-fast.main940d32fon the Intel UHDvictory-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_f32mismatches on 102 of 14,440 inputs, e.g. in[00800000, 80800000, 0]want0, got80000000.bvh: three BVH intersection tests, 1 ULP off int. Got1118671093, want…094; with 64-bit pointers, got1140801401, 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: got2147483504(0x7FFFFF70), want2147483312(0x7FFFFEB0).victory-gpu: 140 passed, 3 failed:dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_viewsanda_texture_written_in_one_format_reads_in_another_through_a_placed_view.victory-shader244 passed, 3 failed (the two stride tests andgathers_at_a_level_match_the_hardware);victory-gpu141 passed, 2 failed.victory-shader --libon the Intel UHD, per PRmainmain940d32f66758d28batom64:hardware: no 64-bit atomics on typed heap resources; skipped3eaa8742permute:no wave of 32 on this device; skipped(hardware and WARP)2abb2301, my resolutionpermute:hardware: waves of 16 lanes at most; skipped7f67667cheapby skipping it:the device caps its shader-visible heaps below the heap's end; skipped9323a745heap: the test runs and passes on the Intel's capped heap instead of skipping, and the newa_heap_index_goes_through_the_view_block_tablepasses on the Intel tooFMad0489d107arithand all threebvhtestsmul_apartforv_mad/v_mac70540976arith(0 hardware mismatches); the threebvhtests still failFMadin the triangle testcbafed53bvhtests fail with the same values as onmainf5bb6d02legacy_mad_fuses_its_product_and_flushes_its_sourcesfails (see 6)8682e4a7fspxfails with the same values8ec8be9ddot4_signed_bytes_with_runtime_operandspasses;fspxstill fails (got0x80001F70, want0x80001EB0)5a8fc61751f3cb87fspx0077404bb3b5c93de214ce40relabelled_threads_each_get_their_own_id(see 5)victory-gpu --libon the Intel UHDmainmaindynamic_slots_are_held_until_releasedandlists_share_a_table_and_copies_keep_their_views; the placed-view test still failsThe merge candidates together: #1991, #1857, #1943, #1856, #1920 and #1790 merged onto
940d32fgive 247 passed, 1 failed on the Intel UHD. The one left isfspx. There was one textual conflict: #1943'stakes_the_whole_heapand #1991'swave32are added at the same spot inemit/host.rs. I kept both.Where PRs compete, what this iGPU shows
v_mad/v_macsigned zeros and the BVH ULPs (#1856, #1920, #1903, #1554):arithonly.1118671093vs…094, which are the values the RX 7800 XT report on #1903 got with #1903.main. To test it, I resolved the conflict locally: I keptmain'shardware_adapterand hardware assert and put the PR'swave_lanesskip before them. #1991 merges cleanly and also covers hosts with no device.heap. #1779 makes it run and pass on the Intel's capped heap, and also fixes 2 of the 3victory-gpufailures here. #2251 fixes all three of those, but only on the test side.v_dot4_i32_i8 v0, v1, 2.0withop_sel, words[cc165000, 0c0de901], multiplicand0x4000. It givesacc − 128where the model wantsacc − 320. #1790 makesa,bandaccrun-time values, but this multiplicand is still the inline constant, andfspxfails 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 fixesfspxis the by-hand sum for constant sources withmain's operand handling, which is what the triage asks for.quad_reads_run_on_any_host_waveandrow_reads_run_on_host_waves_of_16_lanesrun on the hardware and pass.half_reads_of_wave64_run_on_host_waves_of_32_lanesskips withhardware: waves of 16 lanes split groups of 32, as the description says. All three use a 1-D group of 128 threads.host_waves_keep_what_the_relabelling_relies_onon the Intel. Itshardwareleg has noWaveSize.[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.relabel bijective falsefor[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].truefor[64,2,1],[32,2,1],[4,4,4],[2,2,16],[1,64,1],[10,10,1]and every 1-D shape.lane_threadwould 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.relabelled_threads_each_get_their_own_idfails here instead of skipping:[64, 1]: The parameter is incorrect. TheWaveSize(32)pipeline is refused on 16 lanes, and the test unwrapscompute_pipeline. The probe'sWaveSize(32)legs skip correctly.legacy_mad_fuses_its_product_and_flushes_its_sources, case 0 computes (1 + 2^-23)·(1 − 2^-23) − 1. The test wants0xA8800000(−2^-46). The Intel UHD gives0, the result of rounding the product before the add. On the same device,hosts_that_do_not_fuse_are_namedprintshardware 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.HKCU\…\DirectX\UserGpuPreferences), then removed the setting.the_default_device_names_its_adapterthen puts the device onIntel(R) UHD Graphics, driver31.0.101.5445. ButEnumAdapterByGpuPreference(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 throughtracing.Not run: each PR on the RTX 4060 (only
mainran there), AMD, and the title.AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this.
@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_outincrates/victory-shader/src/emit/synthetic_tests.rsasserts 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_bitsinvalu_tests.rsdoes not check 64-bit typed atomic support first. The second comment reproduces all 8 failures on another Xe-LP iGPU on940d32f.Open pull requests, with the per-PR results from that comment:
victory-gpufailures); #1943 skips it; #2251 fixes the 3victory-gpufailures on the test side.v_mad/v_macsigned 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.Generated by Claude Code
@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,main63bcca4, 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-0where the model says+0— same numbers here, and now fixed: #3212 flushes the MAD product to+0the way the console does (zeros pass through, so a true-0product is untouched). On this part both ops go 102 → 0 and the suite 296/6 → 297/5.1118671093vs1118671094,…401vs…402with 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— yourD3D12_FEATURE_DATA_D3D12_OPTIONS9::AtomicInt64OnTypedResourceSupportedsuggestion is what #3203 now uses, and it is consulted only aftercompute_pipelinehas 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::NullBuffersis what asks forHEAP_VIEWS, and clamping only the request does not fix it — the process then dies with exit 2173, because the shaders still clamp their indices atHEAP_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 yourWaveLaneCountMin/Maxgate 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_macwas 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).