Independent hardware run of the tombox-xshader exec suite: 21 RDNA2 mnemonics covered but not in rdna2_verified #188
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator#188
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?
@MeNoSkills on GitHub · 2026-11-22 22:40 UTC · original
The progress map counts 768/797 RDNA2 instructions. Of the 29 not counted, 21 are implemented and covered by tests in the repo, but they are not in
rdna2_verifiedintools/progress/progress.json(ands_bfe_u32/s_bfe_i32arerdna2_pending). I ran the wholeexecsuite on hardware that is not the maintainer's, in case it helps move them.Run: upstream main
27122f7, NVIDIA GeForce RTX 4070 Ti (driver 32.0.16.2124), Windows 10 build 19045, MSVC stable toolchain.Result: 101 passed, 0 failed, 2 ignored (1321 s). The two ignored are
probe_resource_hlslandvop::leonida::wave_scc_readfirstlane_isa(its own ignore reason: lane model).The harness prints counts of verified mnemonics per group, not their names, so the mapping below is taken from the test sources, and each test is one that passed in the run (the group line is quoted).
v_fmac_f16,v_fmamk_f16,v_fmaak_f16vop::basic::vop3_basic(exec_vop/basic.rs, cases at lines 387-390; the same three are also inisa_sweep)v_pk_lshlrev_b16,v_pk_lshrrev_b16vop::leonida::leonida_ps_vectors(exec_vop/leonida.rs)s_bfe_u32,s_bfe_i32scalar_bfe32_result_and_scc(exec.rs)image_atomic_swap,_cmpswap,_sub,_smin,_umin,_smax,_and,_or,_xor,_inc,_decexec_mem::mimg::image_mimg_atomics(exec_mem/mimg.rs)_addand_umax), 0 failing, 208 cases, all rerun with runtime inputs, 0 skippedbuffer_store_format_xy,buffer_store_format_xyzbuffer_mubuf(exec.rs, cases at lines 1619 and 1626)ds_write_b16_d16_hiexec_mem::ds::ds_lds_compute(exec_mem/ds.rs, line 134)Also passing in the same run, in case they help:
ds_gws_counter_updates_once_per_guest_wave,ds_gws_concurrent_posts_preserve_all_incrementsand the otherexec_mem::gdstests, which cover the counter lowering ofds_gws_init,ds_gws_sema_vandds_gws_sema_br.The remaining 8 of the 29 are refused by the translator on purpose and are not in this list:
s_sendmsghalt(halts the wave until a debugger resumes it),ds_gws_sema_p,ds_gws_barrier,ds_gws_sema_release_all(block on other thread groups) andds_ordered_count(launch-ordered append). I think refusing them is right.This is a GPU run only: I have no title dump and no AMD hardware, so it checks the translation against the test references on an NVIDIA GPU, not against RDNA2. The group counts come from
verified(...)in the harness; if a mnemonic is missing from a group's list in your run, the source mapping above is where I would look first.@NemesisDawn on GitHub · 2026-11-23 02:34 UTC · original
Independent shader execution test — RTX 5080
Hi! I've completed an independent run of the
tombox-xshaderexecution test suite on my Windows PC.System specifications
ad24144Test command
TOMBOX_EXEC_HW=1 cargo test --locked -p tombox-xshader --test exec -- --test-threads=1Results
Both ignored tests were:
probe_resource_hlslvop::leonida::wave_scc_readfirstlane_isaThe test suite completed successfully without failures.
Compared with the previous RTX 4070 Ti report (101 passed, 2 ignored), this run executed 18 additional passing tests on a newer repository revision. The difference in counts should not be interpreted as a GPU performance or compatibility improvement.
This is a translation test result on an NVIDIA GPU, not direct verification against native Xbox RDNA2 hardware.
I'm not a programmer, but I'm interested in helping the project through additional hardware testing, bug reproduction, and diagnostics.
If the maintainers have other tests that would benefit from independent verification on an RTX 5080, I'd be happy to run them and report the results.
gpu-test-rtx5080.log
@omonkeyz on GitHub · 2026-11-23 02:45 UTC · original
Thanks for the run and the clear write-up. A clean 119/0 on an RTX 5080 at
ad24144is useful: it's a third NVIDIA generation passing the hardware path. As before, the verified counts in progress.json are written only by the maintainers' generator, so this report helps as evidence but doesn't edit the map directly.If you'd like to help more, these are the most useful next runs, all on current main (
c16f0faor later):TOMBOX_EXEC_HW=1 cargo test --locked -p tombox-xshader --test exec rdna2_silicon -- --nocapture: the recorded gfx1036 silicon vectors, with the f16 FMA NaN-class handling from #197. Please post theTOMBOX_EXEC_HW:line it prints.TOMBOX_EXEC_HW=1 cargo test --locked -p tombox-xshader --test exec gather_explicit_lodand--test exec leonida: new sincead24144.cargo test --locked -p compat-common --test gdk_xtaskqueue_conformance_real: runs the XTaskQueue scenarios against the PC runtime installed on your machine. Please report your xgameruntime.dll version, from the file's properties in System32.Plain-text output pasted into the comment is best; there's no need to attach files.
@NemesisDawn on GitHub · 2026-11-23 02:58 UTC · original
Thanks for the guidance! I've completed all three requested test groups on commit
c16f0fa.Test environment:
1. RDNA2 silicon verification
Command:
TOMBOX_EXEC_HW=1 cargo test --locked -p tombox-xshader --test exec rdna2_silicon -- --nocaptureRelevant output:
2. Additional shader tests
gather_explicit_lod:
leonida:
The ignored test was
vop::leonida::wave_scc_readfirstlane_isa, with the lane-model limitation reported by the test suite.3. Xbox TaskQueue conformance
Command:
cargo test --locked -p compat-common --test gdk_xtaskqueue_conformance_realOutput:
All 60 TaskQueue tests completed successfully against the installed PC runtime.
Overall: 72 passed, 0 failed, 1 ignored across the requested runs.
I'm happy to continue with further verification, particularly any untested GPU features, regression cases or known failures where independent RTX 5080 results would help.
Please let me know which tests would be most valuable next!
@omonkeyz on GitHub · 2026-11-23 03:22 UTC · original
Thanks, all clean: rdna2_silicon 480/480 with 33 NaN-class cases, the gather and Leonida tests, and 60/60 TaskQueue conformance against xgameruntime 10.0.26100.9656. That's the same runtime version the conformance tests were written against, so it's a good second data point. If you want something larger, issue #105 is open, and I've just posted what a PR for it needs.
@QuentinDanblon on GitHub · 2026-11-23 17:04 UTC · original
Hardware run of the exec suite on an RTX 5090, current main.
f89e410(r32l)TOMBOX_EXEC_HW=1 cargo test --locked -p tombox-xshader --release --test exec -- --test-threads=1Result: 127 passed, 1 failed, 2 ignored (1130 s).
probe_resource_hlsl,vop::leonida::wave_scc_readfirstlane_isa(lane model), as in the earlier reports.rdna2_silicon: 15 mnemonics, 480 cases, 0 failing (33 f16 FMA NaN cases compared as a class); runtime inputs the same.mimg_atomics_rdna2_silicon: 13 mnemonics, 208 cases, 0 failing.pk_int16_constants_and_clamp, runtime-inputs pass:5 mnemonics verified, 1 failing, 16 cases(panic attests/exec_vop/mod.rs:94). The constant-input pass is clean (6/6). This is the case #267 addresses:v_pk_add/sub/mad_i16with CLAMP gives a wrong high lane on this GPU.This is a translation test on an NVIDIA GPU, not a check against RDNA2 hardware.