tombox-xshader exec suite on an AMD Radeon RX 6600 XT (RDNA2): four existing tests fail with TOMBOX_EXEC_HW=1 on main, all pass on WARP #333
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#333
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?
@GDAgent on GitHub · 2026-11-23 20:21 UTC · original
Related: #188 (independent hardware run on an NVIDIA GPU, all passing) and #194 (f16 NaN results on an RTX 3080, closed).
Setup
mainatf89e410, Windows 11 (build 26200), native, not run under Proton.GPU: AMD Radeon RX 6600 XT (RDNA2, gfx1032), driver 32.0.21045.29003.
The first three tests run on their own, twice, with the same numbers both times;
vop::basic::vop2_basicon its own once, and the wholeexecbinary once on a branch ofmainwith an unrelated SOP1 translator fix (126 passed, 4 failed, 2 ignored, 1667 s; the four failures are the four below, with identical numbers):The same four tests without
TOMBOX_EXEC_HW(WARP): all pass.Failures
f16_omod_follows_modeOnly the rerun with runtime inputs fails, and only case 4:
v_add_f16 v3, v3(both inputs0x8000, i.e. -0.0, output modifier x2, no clamp). The expected result is -0.0 (0x8000); the GPU gives +0.0, so the sign of zero is lost.exec_mem::mtbuf::mtbuf_d16_store_formatsAll four mnemonics of the group fail, every one with several wrong dwords, not only the last bit of a conversion. The failing cases are the first ones of the group (indices 0 to 5 of 330).
scalar_smem_loadsOnly the
s_load_dword*forms fail (thes_buffer_load_dword*forms of the same test pass). The wrong values are consistently 6 off in the two low bytes (0x23for0x29,0x43for0x49, ...), so it looks like a systematic address or stride difference of one element, not noise.vop::basic::vop2_basicOnly the rerun with runtime inputs fails, on four NaN cases of
v_sub_f32andv_subrev_f32: the expected quiet NaN0x7fc00000comes back as 0. The same shape as #194 (NaN results on hardware), but for the f32 subtract.What I did not check
RWStructuredBufferGetDimensionsstride or about the f16 zero sign that holds on one vendor) or in this driver. I did not debug it further.TOMBOX_EXEC_DEBUG.Full output of these runs is available if useful.
@BuHHuTlyx on GitHub · 2026-11-23 21:28 UTC · original
I ran the four exact tests on a clean
maincheckout atf89e4106fe8a1728515afa34ceb5097132cadcdaon native Windows 11 24H2 (build 26100.9711), with Rust 1.100.0 MSVC and DXC 1.9.2609.5.32.0.16.2124)exec_mem::mtbuf::mtbuf_d16_store_formatsf16_omod_follows_modescalar_smem_loadsvop::basic::vop2_basicBoth runs had 4 passed and 0 failed, including the runtime-input reruns of the two VOP tests. I used the command below with
TOMBOX_EXEC_HWunset for WARP and set to1for the RTX 3070.