Test report: 82 open shader PRs' hardware tests on a Radeon 660M (RDNA2, RADV under Proton) #1458
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#1458
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?
@matheusfermiano-source on GitHub · 2026-11-24 18:09 UTC · original
Most open shader PRs that add hardware tests were run only on NVIDIA, and some on no GPU at all. This runs each PR's
victory-shadertests on an AMD RDNA2 GPU, so review has one AMD data point per PR. No game files: crate tests only.Short version: in 82 PRs, nothing fails that passes on
main, and the new tests pass on the Radeon 660M, with three kinds of exception. #1483, #1433 and #439 need vkd3d-proton 3.2: on the 3.1.0 that Proton Experimental ships, one of their tests ends the process inside RADV. #1489's new test cannot run under Proton at all (comparison sampling on a color texture), and #1554's new test has inputs that make it fail everywhere.Setup
VK_LOADER_DRIVERS_SELECT(the laptop also has an RTX 3050).x86_64-pc-windows-gnullvm, Rust 1.98.1.dxil.dllfrom DXC 1.9.2609 was loaded, so the test modules were validated.cargo test -p victory-shader -- --test-threads=1(the whole suite), compared test by test withmain(ffe310e) on the same GPU.Baseline. On
mainhere, 119 passed, 1 failed, 1 ignored. The failure isemit::tests::stub_pipeline_is_created: vkd3d-proton accepts the zeroed DXIL hash that the Windows runtime refuses (one of the Wine failures listed in #1218). It fails in every PR below too, and the table leaves it out.Caveat. RADV is not AMD's Windows driver. #1172 is a case where the two differ: the Windows driver gives wrong lanes, and RADV is exact. So this adds to a Windows AMD run rather than replacing it.
Results
94a2e99valu_tests::v_cvt_f32_i32_u32_and_ubyte_round_to_nearest_evenvalu_tests::v_cvt_i32_and_u32_f32_truncate_saturate_and_take_nan_as_zero8a55155valu_tests::rcp_rsq_sqrt_log_exp_f32_special_values_match_rdna2faccfbcvalu_tests::v_cmp_u64_and_i64_order_by_the_high_dword07b5ecdvalu_tests::v_mad_f16_rounds_the_product_before_adding2d2a697lower::tests::a_raw_views_address_joined_with_data_is_the_undefined_pathlower::tests::a_raw_views_address_read_as_data_is_refusedlower::tests::cube_image_get_lod_lowerslower::tests::image_atomics_64_bit_lower_with_typed_int64_flaglower::tests::packed_half_inputs_pair_unlisted_rowslower::tests::s_buffer_load_descriptor_size_reads_as_datalower::tests::scalar_loads_through_a_heap_buffer_that_vector_accesses_use_read_a_buffer_viewroot_view_tests::scalar_loads_read_a_root_srv_and_a_root_cbvtests::a_lane_mask_spilled_to_a_vgpr_lane_stays_a_masktests::a_scalar_joining_a_lane_mask_and_a_number_lowers_in_pixel_programstests::biased_16bit_image_sample_unpacks_f16_bias_and_f16_coords_and_validatestests::compute_shader_implicit_sample_uses_valver_1_8_and_validatestests::conservative_depth_sets_position_centroid_and_validatestests::row_interp_harmonizes_packed_elements_and_validatestests::signature_part_preserves_element_order_within_row_and_validatesvalu_tests::scalar_buffer_loads_read_a_uav_through_its_tablevalu_tests::v_cndmask_on_an_untracked_mask_tests_this_lanes_bitwaterfall_tests::a_descriptor_only_read_as_data_gives_its_views_sizegfx10::fields::tests::a16_keeps_derivatives_32bit_outside_g165f4ff7evalu_tests::v_fma_mix_f16_single_rounding_matches_ieee754_on_gpu_and_warpvalu_tests::v_mad_f16_and_v_mac_f16_use_unfused_product_roundingba565a8lower::tests::divergent_loop_mask_read_inside_loop_or_narrowed_branch_is_refusedlower::tests::divergent_loop_with_inner_if_accumulated_mask_ballots_after_looplower::tests::issue_1498_wave64_divergent_loop_mask_ballots_after_loopvalu_tests::issue_1498_wave32_divergent_loop_mask_counts_all_32_lanesvalu_tests::partial_bit_divergent_loop_mask_counts_exact_subsetab416b2crosslane_tests::cpu_reference_oracle_boundary_checkscrosslane_tests::dpp16_inactive_source_and_bound_ctrl_match_rdna2_on_gpucrosslane_tests::dpp8_and_dpp8fi_inactive_source_match_rdna2_on_gpucrosslane_tests::ds_swizzle_b32_inactive_source_returns_zero_on_gpucrosslane_tests::pixel_quad_swizzle_and_dpp_validate_and_create_pipeline30ccd23valu_tests::scalar_64bit_ops_expand_inline_constants_as_rdna2valu_tests::vector_64bit_ops_expand_inline_constants_as_rdna2resource::tests::constant_sampler_words_follow_64bit_inline_floatsresource::tests::inline64_expands_signed_integers_and_binary64_floatsstructure::tests::inline_float_constants_form_constant_lane_masks856f0cevalu_tests::sweep::sweep_f16_aluvalu_tests::sweep::sweep_typed_buffer_formats(both#[ignore])--ignored: same group counts onmainas the PR's Radeon 860M table, and 0 with #422 (f16) and #1112 (norm formats); see the PR comment. Nothing that passes onmainfails0c16661valu_tests::sub_dword_buffer_loads_read_the_field_at_the_byte_address70ccb59valu_tests::v_swaprel_b32_swaps_indexed_vgprs_and_respects_execir::tests::v_swaprel_b32_deduplicates_overlapping_vgpr_reads_and_writesdde4577valu_tests::whole_wave_f16_sum_matches_rdna2valu_tests::whole_wave_u64_sum_carries_across_laneswave::tests::f16_op_identities_match_ieee_binary164df3d0econtainer::tests::mesh_output_size_counts_components_and_aligned_maximatests::a_linked_mesh_program_leaves_out_what_the_pixel_program_never_readstests::linked_elements_keep_system_values_and_read_columnstests::mesh_maxima_past_the_lanes_come_down_to_fittests::mesh_outputs_past_32_kib_at_the_lane_count_keep_the_lane_maximaacce0c0valu_tests::inline_float_constant_in_a_64_bit_operand_is_the_f64_value115e289valu_tests::v_mad_f32_flushes_subnormal_sum_before_omod0x81000000), which is the correct result for its inputs: the product underflows, so the sum is a normal −FLT_MIN. Withsrc1 = 1.0it passes, butmainpasses it too on these drivers (see the PR comment). Nothing that passes onmainfailsf3d0ab9valu_tests::v_cvt_f16_f32_applies_vop3_clampvalu_tests::v_cvt_f32_f16_applies_vop3_abs_then_neg50cbdd0valu_tests::global_load_short_straddling_dword_boundaryacd09ccvalu_tests::vop3_output_modifier_flushes_negative_zero63be4e0lower::tests::missing_typed_buffer_channels_are_zerovalu_tests::typed_buffer_loads_zero_missing_channels5b390efds_without_lds_tests::ds_ops_without_lds_translate_and_byte_reads_still_refuseds_without_lds_tests::ds_wide_reads_and_atomics_without_ldsvalu_tests::ds_ops_without_lds_read_zero_and_drop_writesc1e74a3e0a052cvalu_tests::image_gather4_c_lz_and_offset_match_rdna2mainfails62c4dedvalu_tests::ds_add_f32_and_ds_cmpst_f32_match_rdna2fa0ee13valu_tests::dpp16_and_dpp8_honor_fi_and_source_lane_exec0daabccmaintestlanes_load_from_the_buffer_their_nested_arms_choseends the process inside RADV (see the PR comment)1905213valu_tests::v_add3_u32_wraps_on_double_carryvalu_tests::vop3_signed_no_carry_add_sub_respect_clampvalu_tests::vop3_unsigned_clamp_preserves_carry_and_borrow_outvalu_tests::vop3_unsigned_no_carry_add_sub_respect_clamped9f8c6valu_tests::v_cmp_class_f64_preserves_all_binary64_classes9bab357tests::host_shader_reports_the_emitted_wave_sizeff443c2valu_tests::duplicate_branch_target_critical_edge_produces_valid_dxile3fe5bfvalu_tests::scalar_quad_masks_pack_nibbles_and_set_scc60bf416waterfall_tests::packed_buffer_load_keeps_unwritten_high_half4cfae26waterfall_tests::packed_image_load_keeps_unwritten_high_halfb3efa1clane_read_loop_with_a_joined_exec_back_edge(vkd3d-proton structurizer, see #1433's comment and #144)7b7d5fdlane_mask_tests::a_compare_from_a_branch_reads_as_a_number_after_the_joinlane_mask_tests::a_mask_both_arms_write_is_refusedlane_mask_tests::a_mask_built_up_in_a_loop_lanes_leave_apart_is_refusedlane_mask_tests::a_mask_built_up_in_a_uniform_loop_counts_its_laneslane_mask_tests::a_mask_built_up_in_a_uniform_loop_reads_as_a_numberlane_mask_tests::a_negated_compare_counts_the_lanes_outside_its_branchlane_mask_tests::a_number_before_a_branch_that_writes_a_mask_is_refusedlane_mask_tests::the_lanes_that_skipped_a_branch_read_as_a_number_inside_it3296002valu_tests::vs_rt_and_viewport_array_index_exports_render_across_slices_and_viewports54dea15valu_tests::ds_swizzle_reads_only_active_compute_lanes86b29favalu_tests::scalar_lane_mask_comparison_is_wave_widestructure::tests::branches_comparing_two_lane_masks_are_uniforma855757lane_mask_tests::a_compare_from_a_branch_reads_as_a_number_after_the_joinlane_mask_tests::a_mask_both_arms_write_is_refusedlane_mask_tests::a_negated_compare_counts_the_lanes_outside_its_branchlane_mask_tests::a_number_before_a_branch_that_writes_a_mask_is_refusedlane_mask_tests::the_lanes_that_skipped_a_branch_read_as_a_number_inside_it2310409d01f9a6tests::es_shader_validates_and_builds_host_pipelinetests::gs_shader_validates_and_builds_host_pipelineio::tests::gs_lds_inputs_outputs_and_stream_opsnative::tests::reads_es_and_gs_stage_data38ddebfvalu_tests::vop3_unsigned_add_sub_clampa78fc2clower::tests::dominator_bool_cache_reuses_predicates_across_guarded_splitslower::tests::float_phi_and_select_eliminate_bitcastsvalu_tests::float_phi_select_and_sibling_bool_branches_executea91e9adlower::tests::scalar_64_bit_field_ops_lowervalu_tests::s_bfe_64_extracts_and_sets_sccvalu_tests::s_bfm_b64_builds_a_mask_and_keeps_scc7a780a0lower::tests::vectorizes_wide_raw_buffer_loadsvalu_tests::global_load_wide_srv_reads_exact_dwordsvalu_tests::s_buffer_load_wide_srv_reads_exact_dwords_and_oob_zeros78c1267valu_tests::v_cvt_off_f32_i4_uses_the_signed_low_nibblec77b253valu_tests::v_fma_f16_rounds_once_and_preserves_other_half9e77b5cmesh_tests::and_bfe_select_and_phi_joins_narrow_soundlymesh_tests::guarded_lane0_dynamic_m0_materializes_and_creates_psomesh_tests::large_mesh_shader_exceeds_32kb_without_narrowing_and_passes_with_literal_m0mesh_tests::mixed_unbounded_vertex_and_small_const_prim_guards_primitive_exportsmesh_tests::negative_multiple_gs_alloc_req_sites_take_max_and_require_all_provenmesh_tests::negative_unbounded_dynamic_m0_keeps_full_boundsmesh_tests::s_min_u32_dynamic_m0_narrows_below_32kb_and_creates_pso3215e71valu_tests::v_three_operand_integer_ops_match_rdna2f025d5dvalu_tests::v_not_bfrev_and_bit_scan_ops_match_rdna2d6c7078valu_tests::v_align_bfi_bfm_and_bcnt_match_rdna25c6dea3valu_tests::v_mul_lo_and_v_mul_hi_match_rdna2c6ce95avalu_tests::v_mul_and_v_mad_24_bit_forms_match_rdna2105a624valu_tests::root_descriptor_scalar_loads_executevalu_tests::s_buffer_load_and_multi_descriptor_data_executevalu_tests::twin_descriptor_loads_used_metadata_and_dead_desc_phi_edges44d9c2dvalu_tests::tbuffer_load_format_zero_pads_missing_channelsa4c994bvalu_tests::s_bfm_and_s_bitset_use_the_low_five_bits26f7098valu_tests::s_mul_and_s_mul_hi_match_rdna2c98c50fvalu_tests::s_lshl_add_shifts_the_first_operand_then_adds8d6d06cvalu_tests::s_bit_scan_and_reverse_ops_match_rdna20e24b79valu_tests::s_min_and_s_max_compare_signed_and_unsigned8448e91valu_tests::buffer_atomics_sub_csub_inc_dec_and_float_match_rdna259e48ebvalu_tests::v_ldexp_f32_matches_rdna289189ecvalu_tests::v_movrel_masks_m0_and_accepts_scalar_src0b686bccvalu_tests::v_cvt_pkrtz_f16_f32_supports_clamp_and_rtze2dc6bavalu_tests::v_interp_p2_f16_respects_opsel_and_clamp0f2c09blower::tests::the_scc_of_a_mask_holding_lanes_elsewhere_stays_refusedlower::tests::the_scc_of_a_mask_operation_is_whether_some_lane_is_setvalu_tests::the_scc_of_a_mask_operation_is_whether_some_lane_is_set4f2eee6valu_tests::v_cmp_class_f32_matches_rdna275d919fvalu_tests::float_compares_that_are_always_false_or_true643aef66ddbdfcgeometry_tests::a_ring_store_after_its_vertex_was_emitted_is_refusedgeometry_tests::geometry_copy_rejects_untraced_reads_and_exportsgeometry_tests::geometry_io_keeps_component_order_and_constants_in_the_copy_exportgeometry_tests::geometry_parameters_match_reference_drawgeometry_tests::geometry_parameters_raise_into_their_copy_exportgeometry_tests::geometry_vertices_match_reference_drawnative::tests::a_geometry_record_without_a_copy_program_keeps_no_stage_ionative::tests::raw_fssm_uses_the_same_program_and_io_layout_as_packed_fssmf574bf2valu_tests::fma_k_f16_cvt_pk_16_and_lerp_u8_match_rdna27295d7ewaterfall_tests::image_resinfo_returns_zero_depth_for_a_2d_viewd27838elower::tests::writelane_and_readlane_lower_and_validate_in_wave32_and_wave64valu_tests::v_readlane_and_writelane_wrap_constant_lane_selectorvalu_tests::v_readlane_b32_host_lane_runs_on_all_backends_including_warpvalu_tests::v_writelane_b32_ignores_exec_and_masks_laneir::tests::readlane_and_writelane_do_not_read_exec_implicitlystructure::tests::readlane_and_writelane_are_unguarded_under_narrowed_exec80d2caevalu_tests::valu16_min3_max3_med3_and_mad32_16_match_rdna26cf80f2valu_tests::half_int_ops_decode_inline_float_constants_as_f32_bits36260aevalu_tests::integer_dot_products_match_rdna2003944avalu_tests::v_pk_mul_lo_u16_keeps_each_half_to_16_bitse34f8c3valu_tests::int16_inline_float_constants_use_f32_bitsvalu_tests::sdwa_16bit_dst_word0_sext_and_byte_placementvalu_tests::sdwa_16bit_src_byte_select_and_sext1ed26e5valu_tests::a_branch_to_fallthrough_keeps_both_values_at_a_join2d44b99valu_tests::v_cndmask_b32_applies_abs_and_neg_bitwisevalu_tests::v_mov_b32_bitwise_abs_and_negvalu_tests::v_mov_b32_sdwa_and_dpp_apply_bitwise_abs_and_neg9a173fcvalu_tests::max_and_min_f16_order_negative_zero_below_positive_zerovalu_tests::v_cmp_class_f32_matches_rdna2valu_tests::v_min3_max3_med3_integers_match_rdna228aca3bNotes
Synthetic tests only, no game files. AI-assisted (Claude Code, Opus 5.5); every run was on this machine.
@YaBulochka on GitHub · 2026-11-25 05:05 UTC · original
Linux/RADV data point to go next to the Radeon 660M report: 11 of the current shader PRs run
victory-shaderclean here, nothing fails.Setup. Linux,
x86_64-unknown-linux-gnuhost build (not Proton), Ryzen 5 9600X + Radeon RX 7600 (NAVI33, gfx1102). Command per PR:cargo test -p victory-shader --lib. These are the crate's CPU tests, so the GPU is not in the path - the value here is that the host is AMD/Linux and the tree is not the PR author's machine.mainbaseline940d32f: 144 passed, 0 failed, 2 ignored.v_add_nc_i32…v_cvt_pknorm_*v_qsad_pk_u16_u8…v_dot4_u32_u8,v_dot8_u32_u4s_sext_i32_i8/i16s_bitreplicate_b64_b32So in this batch there is no AMD-only failure and no regression against the baseline, and #2103's two tests pass on the first non-NVIDIA host.
Caveat: this is the CPU suite only. The vkd3d-proton-dependent exceptions you hit on the 660M (#1483, #1433, #439) and the Proton-only one (#1489) would need that stack and were not part of these runs.
@YaBulochka on GitHub · 2026-11-25 05:38 UTC · original
Second half of the same batch, and the interesting result is #2091: it validates 777 programs more than
main.Method:
victory translate shaders.rpf --validate --listover the retail dump,x86_64-pc-windows-gnurelease, dxil.dll 1.9.2609.5 under Wine.main940d32fgives 23,918 validated.Two notes that matter for review:
memory allocation of 40 bytes failedfrom Rust) and passed the second with 23,918. Same binary and command, so it looks environmental/flaky rather than a property of the PR; I would not hold the PR for it, but it is worth knowing that the translate path can die this way under Wine.Everything else is exactly baseline: no PR in this batch loses a single validated program.
@Marvisak on GitHub · 2026-11-25 10:19 UTC · original · edited 2026-11-25 15:47 UTC
Automated triage for the maintainers.
Test report: the
victory-shadertests of 82 open PRs on a Radeon 660M (RDNA2, RADV under Proton), compared withmainon the same GPU. Later comments add CPU-test counts and offline validation counts on an RX 7600 under Linux. No PR fails a test that passes onmain. The exceptions are already noted on those PRs: #1483, #1433 and #439 need vkd3d-proton 3.2, #1489's test cannot run under Proton, and #1554's test inputs make it fail everywhere.Each result belongs to its PR, where review happens, so this issue is a record rather than a task. RADV is not AMD's Windows driver: #1172 is wrong on the Windows driver and exact on RADV. So these runs add to Windows AMD runs and do not replace them.
Since the last triage:
ffe310e, the PR's base, already gives 21,724, so the PR is neutral on its own base. The difference is an improvement inmainbetweenffe310eand940d32f. A validation count should be compared against the PR's merge base or a rebased head.victory-gputests under Wine/RADV (RX 7600 XT): 133 passed, 13 failed. The failures are D3D12 calls the host refuses (E_FAIL) and the indirect argument clamp, which could not be compiled because DXC was not found. These look environmental, not like a regression on AMD; a Windows AMD run would confirm it.Generated by Claude Code
@YaBulochka on GitHub · 2026-11-25 12:27 UTC · original
Another batch of current shader PRs on the AMD/Linux host, same method:
victory translate shaders.rpf --validate --list, dxil.dll 1.9.2609.5 under Wine, baseline940d32f= 23,918 validated.v_cvt_f32_f64s_pack_{ll,lh,hh}_b32_b16No regression and no change in the count: these are lowering/test changes that do not move the whole-dump number, which is the expected shape for them.
One flake worth noting: #2361's first run died in Wine (
Unhandled page fault on write access to 0x4) before printing anything; the same binary and command on the second run gave the 23,918 above. Same pattern as #2100 yesterday, so the translate path under Wine occasionally dies at startup - it does not look PR-specific, but it does mean a single 0-result should be re-run before it is trusted.@YaBulochka on GitHub · 2026-11-25 12:47 UTC · original
Third batch, and this one has a real regression: #2373 loses 3,002 programs while gaining 808 (net -2,194).
Baseline
940d32f= 23,918 validated. Same method as the earlier batches.s_add_u32with src_scc#2373 detail, also posted on the PR: it gains 808 and loses 3,002, and every lost program I sampled fails with
emit: a scalar memory read as data(MSNC_VS_MirrorReflectionPedTransformSkinD_907647eaat0x22dc, and the same shape on otherMSNC_VS_*/MS_VS_*). So on this dump the helper-lane change is a net regression, not a wash - worth a look before merge.No other PR in the batch moves the number.
@YaBulochka on GitHub · 2026-11-25 13:10 UTC · original
Correction to my third batch, on #2373 specifically: I used
940d32fas the baseline, but #2373's merge-base isffe310e, andffe310eitself gives 21,724. So #2373 is neutral on its own base (21,724 -> 21,724), and the -2,194 I reported was against a main that is ahead of the PR's base.What that does say, and is worth a look on its own: between
ffe310eand940d32fsomething fixes those 3,002 programs (allemit: a scalar memory read as dataonMSNC_VS_*/MS_VS_*), taking the dump from 21,724 to 23,918. That is a real, measurable improvement in main, just not caused by #2373.The other five PRs in that batch are unaffected (they are based on current main and gave 23,918).
@YaBulochka on GitHub · 2026-11-25 14:32 UTC · original
Not a shader-PR result, but the same host: first run of
victory-gpu's own tests under Wine/RADV. It is a different signal from the CPU batches above, so posting it here rather than as a separate issue.Setup: Linux, RADV 26.99.99, RX 7600 XT 8 GB, Wine 11.22, vkd3d-proton master,
940d32f,cargo test --target x86_64-pc-windows-gnu -p victory-gpu --features diagnostics --no-run, test binary run under wine withMESA_VK_DEVICE_SELECTon the dGPU,--test-threads=4.Result: 133 passed, 13 failed, 2 ignored.
Two failure shapes, and both look environmental rather than logic:
E_FAIL(0x80004005) at texture/view creation -bindless::tests::heap_views_are_current,heap_views_follow_writes_through_another_mapping,draw::tests::a_depth_texture_written_through_unordered_views_reads_as_depth,a_texture_written_in_one_format_reads_in_another_through_a_placed_view,unordered_1d_and_3d_textures_keep_their_writes,root_views_reach_their_copy_and_read_zeros_past_it, plusmemory::tests::lists_share_a_table_and_copies_keep_their_viewsandpipeline::library::tests::a_rejected_blob_gives_an_empty_library. These allunwrap()a D3D12 call that vkd3d/RADV refuses - the same class as the retail title'sE_INVALIDARGon typed views, so probably the same underlying gap, not a test bug.assert!(super::bound(...))inindirect.rs:281- fiveindirect::tests::*. That is the argument clamp again: it does not build here because the HLSL first fails in Wine's d3dcompiler and then DXC is not found, so every indirect execution is refused.None of the 13 looks like a VIctory regression on AMD; they are the host refusing calls the tests expect to succeed. Worth knowing before someone reads "13 failed on AMD" as a code problem.