Expand bounded GPU compatibility coverage #112
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!112
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/112/head"
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?
@bmjask on GitHub · 2026-11-23 12:10 UTC · original
bmjask:codex/gpu-compatibility→main· +36237 −119 · 35 files · 1 commits · closed without mergingSummary
Verification
Current boundary
The measured validation compatibility shell is corpus-complete. The explicit two-pass console dispatch route is now connected for translated pipelines with checked metadata, while ordinary translated compute dispatch remains unchanged. Broader production eligibility and title-specific dispatch derivation remain fail-closed where executable/runtime evidence is unavailable.
Notes
This is compatibility-layer work only. It contains no protected content, keys, package decryption, or title-specific data.
Review follow-up
@bmjask on GitHub · 2026-11-23 12:10 UTC · original
Follow-up to the cross-vendor report on #83:
main, so it includes the existing arithmetic, Wave64, and device-removal fixes that were absent from the previously tested head.u64::MAXas completion.mesh_epoch_hlslmismatch tests pass live.The AMD result still needs confirmation on the reporting hardware. Please retest commit
74fa504withXCL_ADAPTER=1and--test-threads=1, starting with the two former TDR tests and themesh_epoch_hlslsubset. If anything remains, the first failing test and device-removed reason are sufficient.@ivall on GitHub · 2026-11-23 12:55 UTC · original
Thanks for the effort, but I'm closing this one – it can't be merged in this form. The reasons, so a follow-up can land:
1. Size and shape. One commit, 36 000 lines in 35 files. ~31 000 of them are a second translator for mesh programs (
mesh_vector9 100 lines,mesh_epoch_hlsl5 800,mesh_memory4 800,mesh_program3 900,mesh_scalar,mesh_slot, …). Nothing outside tests uses it: none of these modules is reachable fromhle//pso.rs/runner.rs, and the description itself says production eligibility stays "fail-closed". The existing recompiler already translates all 9 282 MS programs of the retail pack in full and the titles draw with them (see #67 / #94 for the 32-lane form). A parallel, unused translator is code we would have to maintain and keep in step with the real one without anything gaining from it.2. It hangs AMD GPUs. The cross-vendor report on #83 shows
DXGI_ERROR_DEVICE_HUNGfrom two of its live tests and ten mismatches on an RDNA2 iGPU; the follow-up was verified only on an RTX 4090. The maintainer's machine is AMD (RX 9070), and a hung device there has needed reboots before, so I'm not running that suite on speculation.3. Runtime changes mixed in.
bind.rs(860 lines),list_x.rs,real.rschange the draw / dispatch / reset paths every title goes through, plus a structural-trace event on every draw and atrace-validatecommand and evidence-contract document. Changes there are checked against real titles (Minecraft, XDefiant, Unicorn Overlord, Fortnite) – they need to come as small PRs that each say what visible problem they fix.What would be welcome instead, each as its own PR with a test, on current
main:host_iofor the loader's own file reads, if you have a case currentmaingets wrong (a console drive letter equal to the game's drive was already fixed in61c6be8).Thanks again – sorry this isn't the answer you hoped for.
@ivall on GitHub · 2026-11-23 13:00 UTC · original
I did run it after all – #112 (
74fa504) merged into currentmain(f311ca5, clean merge), RX 9070 (RDNA4), Windows 11, inbox D3D12:cargo test -p xcl --lib --skip mesh_epoch_hlsl: 714 passed, 1 failed –mesh_memory::tests::gpu_matches_cpu_through_bounded_u6_validation:thread 0, v22left1051372202, right1051372203(1 ulp; the test wants bit-exact GPU = CPU).mesh_epoch_hlslone at a time, the two tests that hung the RDNA2 iGPU skipped: 45 passed, 10 failed – the same ten as in the #83 report (d16_image_load_packs_halves…,d16_image_sample_implicit_and_explicit_zero_lod_match,float_math_family…,float_remainder…,fma_mix_modes…,scalar_binary64_family…,scalar_exec_transforms…,scalar_get_pc_uses_byte_next_pc…,scalar_hardware_configuration_is_inert…,transformed_binary_and_scalar_compare_sources…). The two hanging tests I did not run (a hung device on this machine has needed reboots).main: ~40–50 fps at the same point). Not investigated further.So on AMD the new suite is not green either. The decision above stands; the small, focused PRs suggested there are still welcome.
Pull request closed