Repository navigation
Description
The README says XCL was developed on RDNA4 and that other GPUs are untested. Here are test-suite results from a machine with two other ones, run on each GPU in turn. Counts only, no game data.
Machine: Windows 11 Pro 26200, Ryzen 5 7600X, Rust stable x86_64-pc-windows-msvc, DXC 1.8.2502 (SDK 10.0.26100), system XGameRuntime 10.0.26100.9656. Built from main at cf08a50 with cargo build --release --workspace, no warnings or errors.
| adapter | driver | waves | mesh shaders | raytracing | SM |
|---|---|---|---|---|---|
| NVIDIA GeForce RTX 3080 (10 GB) | 32.0.16.1088 | 32 only | tier 1 | 1.2 | 6.8 |
| AMD Radeon iGPU (RDNA2, in the 7600X) | 24.30.66 | 32–64 | not supported | 1.1 | 6.8 |
cargo test --workspace --release --no-fail-fast -- --test-threads=4, no XCL_SAMPLE_*:
| passed | failed | ignored | skipped inside a passing test | |
|---|---|---|---|---|
RTX 3080, main as is (the default adapter) |
352 | 0 | 34 | 39 recompiler GPU tests (no wave64); 10 sample tests |
Radeon iGPU, main + only the XCL_ADAPTER commit of #41 |
351 | 3 | 34 | 10 sample tests |
| Radeon iGPU, with #41 | 354 | 0 | 34 | 2 mesh-draw tests (no mesh shaders); 10 sample tests |
The 3 iGPU failures without #41, and what caused them:
gpu::recomp::tests::gpu_mesh_mode_two_passesandgpu_geometry_mode_es_gs_stripfailed withCreatePipelineState (mesh): E_INVALIDARG. This is hardware-specific: the iGPU has wave64 but no mesh shader tier, and the tests only checked for wave64. Run the GPU tests on any adapter: XCL_ADAPTER, mesh-shader check, the test title's device from d3d12_xs #41 adds a mesh-tier check.e2e::test_title_runs_and_game_folder_is_untouchedhad 5 of the test title's D3D12.X checks fail, then an access violation inD3D12Core.dll. This one is not a hardware problem. The test title'sD3D12CreateDevicebinds tod3d12.dllinstead ofd3d12_xs.dll(symbol clash with thewindowscrate), so the title gets the system's device for the default adapter. That is XCL's device only when XCL picked the default adapter. It would also fail on a laptop whose discrete GPU is not the display adapter. Run the GPU tests on any adapter: XCL_ADAPTER, mesh-shader check, the test title's device from d3d12_xs #41 fixes it.
On the RTX 3080, 39 of the 41 wave64 recompiler tests (gpu_ready()) are skipped but reported as passed. So on NVIDIA, test.ps1 shows green while most of the per-instruction GPU coverage did not run. Only the 2 wave32 recompiler tests run there.
I'll add the XCL_SAMPLE_RPF (retail shader pack) results for both adapters in a comment when they finish.
Activity
grahamster2 commentedon Nov 22, 2026
Results with
XCL_SAMPLE_RPFset to a retailshaders.rpf.xcl shaderson it gives 26 503 records, 26 698 FSSM programs, 44.4 M instructions, 0 undecoded dwords and 452 mnemonics, so it looks like the same pack HANDOFF.md measures. The otherXCL_SAMPLE_*variables were not set.cargo test --workspace --release --no-fail-fastonmain(+ only theXCL_ADAPTERcommit, to choose the GPU):retail_mesh_pipelines_through_the_hook(7 / 7 MS+PS pipelines fail);retail_pipelines_built_in_the_background_behind_a_stand_in(the background build of the mesh pipeline fails, soresolve_waitreturns the stand-in)retail_es_gs_voxelize_geometry_mode,retail_gs_pipeline_through_the_hook,retail_mesh_pipelines_through_the_hook,retail_pipelines_built_in_the_background_behind_a_stand_in: allE_INVALIDARGwhen the mesh pipeline is createdgpu_pso_e2epasses 6 / 6 on the iGPU, and the VS / PS pipelines from the pack render and read back correctly there.The full DXC corpus compile is a CPU-side run, so a second GPU vendor adds nothing there, and I did not repeat it.
grahamster2 commentedon Nov 22, 2026
On the RTX 3080, 40 recompiler GPU tests return early through
gpu_ready()(no wave64), plus the wave64-gated checks inside some others. libtest counts each one as passed, so a run there reports325 passed, 0 failedwhile most of the GPU coverage never ran. The open wave64 work adds more tests of this kind: #35 adds about 20 GPU tests behindwave64_supported(), and they skip on exactly the hardware they target.Proposal, before I write any code: how would you like skips reported?
gpu_ready()/mesh_ready()(and thewave64_supported()checks in themesh_*tests) printSKIPPED <test>: <reason>to stderr, so the line shows without--nocapture, and count into a static. One#[test]that runs last in the binary isn't possible with libtest, so the count would come from a small summary inscripts/test.ps1(grep theSKIPPEDlines and printN skipped: no wave64 / no mesh shaders).XCL_REQUIRE_GPU=wave64(or=mesh), a test that would skip fails instead. CI or a wave64 machine can then make sure the GPU coverage really ran, and the default stays as it is.I'd go with 3, but I'll do whichever you prefer, or leave it alone.
README: mesh shaders are required; what GPUs with 32-lane waves run (#42
ivall commentedon Nov 22, 2026
Thank you, this is very useful, and the per-adapter tables are exactly what was missing.
SKIPPED <test>: <reason>lines to stderr and count them inscripts/test.ps1, and addXCL_REQUIRE_GPU=wave64|meshto turn a skip into a failure. A green run on NVIDIA that silently skipped 40 GPU tests is misleading.gefydev commentedon Nov 22, 2026
GTX 1650 (Turing), driver 32.0.16.2114, Windows 11 (26300), MSVC, release,
mainat 521ec08. NoXCL_SAMPLE_*variables set.cargo test --workspace --release --no-fail-fast: everything passes excepttest_title_runs_and_game_folder_is_untouched, which fails because the repository is on D:, not because of the GPU (VFS: a console drive mount leaves the PC's own folders on that drive #49). With VFS: a console drive mount leaves the PC's own folders on that drive #49 applied, the whole suite passes.cargo test -p xcl --lib --release gpu:: -- --show-output: 171 passed, 13 ignored. 40 of them return early fromgpu_ready()(GPU/DXC wave64 unavailable – skipping (None / Some(false) / None)), the same count as on the RTX 3080. Two more skip forXCL_SAMPLE_RPF/XCL_SAMPLE_TTPF. None skips for mesh shaders, so the mesh tests ran and passed.So the GTX 1650 matches the RTX 3080 row: a wave32 GPU with mesh shaders runs the same part of the suite.
GPU tests that cannot run on the adapter say so: SKIPPED <test>: <rea…
Merge pull request #51 from Foniass/t3/make-gpu-test-skips-visible
Foniass commentedon Nov 22, 2026
RTX 5070 Ti results. That is Blackwell, a GPU generation this issue doesn't cover yet. The RDNA2 iGPU on this CPU is disabled on this machine, so only the NVIDIA card was tested. No
XCL_SAMPLE_*variables were set, so the tests on game data pass without running.x86_64-pc-windows-msvc, VS 2022 Build Tools 17.14 (MSVC 14.44)dxcompiler.dll1.9.2602.17System32\xgameruntime.dll10.0.26100.9656 (Gaming Services 39.118.30001.0)cargo build --release --workspace, thencargo test --workspace --release --no-fail-fast -- --test-threads=4:mainSKIPPED …: no wave64GPU/DXC wave64 unavailable – skippinggpu_pso_e2etests ran and passed. There was no TDR and no device removal.XCL_SAMPLE_… not set – skipping. 18 more return without a message:console_dlls_e2e12,console_shaders3,xg_oracle3. The retail mesh-pipeline tests that fail on the RTX 3080 therefore didn't run here.e2e) passes against the system XGameRuntime.Atomic::fetch_updateis deprecated (renamed totry_update) athle/xgameruntime/mod.rs:538.So the RTX 5070 Ti matches the RTX 3080 and GTX 1650 rows: a wave32 GPU with mesh shaders runs the same part of the suite, and Blackwell adds no failures.
FZNull commentedon Nov 23, 2026
RTX 4060 (Ada, wave32 only) results on native Windows 11, no
XCL_SAMPLE_*variables set.cargo build --workspace(debug): OK, 66.7 s, one warning (fetch_updatedeprecation, fixed by Support MSAA tiled texture placement and layout calculations #43)cargo test --workspace --no-fail-fast -- --test-threads=4: 372 passed, 0 failed, 34 ignored, 63.2 sSKIPPED ...: no wave64on this adapter, so it matches the 32-lane rows: wave32-onlyXCL_REQUIRE_GPU=wave64ongpu::recompfails as intended:58 passed; 41 failed; 13 ignored, so the skip mechanism reports rather than hidesbackend: "real", adapterNVIDIA GeForce RTX 4060, 1 present / 1 frame boundaryxcl run <demo-game> -- --hello: exit 0, 50[PASS]/ 0[FAIL], a 640x360 frame presented throughPresentX, XMA2 and Opus decodedNo TDRs or device removals in any run. Nothing from a game package was used.
AI-assisted.
certified-retart commentedon Nov 23, 2026
Windows 10 Pro results covering both an NVIDIA GeForce RTX 5070 (Blackwell) and the Ryzen 7 9800X3D RDNA 2 iGPU (
AMD Radeon(TM) Graphics). NoXCL_SAMPLE_*variables were set.10.0.19045.5794(inboxD3D12Core.dllstops at SM 6.5)32.0.16.1074(wave32-only, mesh shader tier 1)32.0.21030.2001(both wave64 and mesh shader tier 1)rustc 1.100.0x86_64-pc-windows-msvc10.0.26100.0,dxcompiler.dll1.9.2602.17System32\xgameruntime.dll10.0.26100.9656Inbox Windows 10 (
main@dd713e3)System32\D3D12Core.dllcaps at Shader Model 6.5 on both adapters, so all SM 6.6+ GPU tests skip withno SM 6.6.gpu::recomp::mesh_dispatch::tests::gpu_dispatch_matches_native_wave64_referencepanicked onrunner::adapter().unwrap()instead of callingrunner::skip_test("no GPU")— fixed in GPU tests: skip mesh_dispatch test when no SM 6.6 GPU is available #74.e2epasses (2 passed, 0 failed) against inbox D3D12 and system XGameRuntime.With D3D12 Agility SDK
1.620.2(D3D12SDKVersion = 620, #75)XCL_ADAPTER=1)cargo test --workspacewithXCL_REQUIRE_GPU=wave64,meshXCL_ADAPTER=0)cargo test -p xcl --lib+e2elib) + 2 (e2e)lib)no wave64(0 mesh skips)Notable finding on the 9800X3D iGPU: unlike the earlier RDNA 2 iGPU noted in the issue title, driver
32.0.21030.2001with Agility SDK1.620.2exposes both wave64 and mesh shader tier 1, so the full workspace passes underXCL_REQUIRE_GPU=wave64,meshwith zero GPU skips and no TDRs/device removals.AI-assisted.
BaggyALPHA commentedon Nov 23, 2026
Additional RTX 3080 results.
Ran
.\scripts\test.ps1, which builds the workspace and runscargo test --workspace -- --test-threads=4.Across all test binaries: 372 passed, 0 failed, 34 ignored.
The script reports:
GPU tests skipped on this adapter: 41 (no wave64)Those 41 skipped tests are included in the reported passed count.
No
XCL_SAMPLE_*variables were set, so tests requiring game orconsole sample files skipped their work as well.
Both e2e tests passed, including
test_title_runs_and_game_folder_is_untouched.Full PowerShell output attached.
Windows PowerShell.txt
phantom54 commentedon Nov 23, 2026
Environment
cargo test --workspace --release --no-fail-fast -- --test-threads=4 (no XCL_SAMPLE_*)
Raw log: xcl-test-raw.log
xcl shaders --recomp on retail shader pack
Raw log: xcl-shaders-raw.log
ivall commentedon Nov 23, 2026
Thanks everyone – these reports shaped the last round of merges. Status on
mainat 55df81b:What changed for 32-lane GPUs (NVIDIA)
docs/wave64-on-wave32.md), instead of being refused. The recompiler GPU tests that skipped withno wave64now run in that form: on the RTX 5070 Ti only 2 skips are left (tests that need 64-lane hardware), down from ~40.v_fract_f32of ±inf / NaN is NaN as on RDNA.Checked on AMD (RX 9070, RDNA4)
cargo test --workspacewith the retail samples (XCL_SAMPLE_RPF,XCL_SAMPLE_DLLS,XCL_SAMPLE_TTPF): all pass – natively, and with the newXCL_SPLIT_WAVE64=1, which forces the 32-lane split form on RDNA (it runs both wave sizes), so the NVIDIA path can be tested on AMD too.SV_GroupIndexin 2-D / 3-D groups – it lays them out in 2×2 quads (an 8×8 group's lanes 0, 1, 4, 5, 8, 9 … hold indices 0, 1, 2, 3 …; 1-D groups are in order). Every native 2-D / 3-D console compute program read the wrong neighbouring lanes (DPP, readlane, bpermute, mbcnt). Fixed in 46a1c3f the way Wave64 console programs on GPUs with 32-lane waves only (NVIDIA) #67 handles NVIDIA: each hardware wave takes the next console threads as it arrives.What would help now
A re-run on
main(55df81b or later), especially on 32-lane GPUs:.\scripts\test.ps1– how manySKIPPED …: no wave64are left (expected: 2), and whether anything fails;XCL_SAMPLE_RPFset – the mesh / GS pipeline tests (retail_mesh_pipelines_through_the_hook,retail_pipelines_built_in_the_background_behind_a_stand_in) failed on NVIDIA before Wave64 console programs on GPUs with 32-lane waves only (NVIDIA) #67;XCL_SPLIT_WAVE64=1runs as well;RDNA2 iGPUs without a mesh shader tier still cannot draw console GS / NGG programs (they run as compute + a mesh pass) – that is a hardware limit, not planned to change.
phantom54 commentedon Nov 23, 2026
commit f311ca5 and added missing dxc binaries (dxil.dll, dxcompiler.dll)
Environment
Tests without XCL_SAMPLE_*
SKIPPED by reason:
Raw log: xcl-test-raw.log
Tests with XCL_SAMPLE_RPF
SKIPPED by reason:
Raw log: xcl-test-rpf-raw.log
xcl shaders --recomp on the retail shader pack
Raw log: xcl-shaders-raw.log
TDR / device removal
No Display 4101 (driver timeout/reset) events during this run.
Issue templates: a game report form that asks for report.json and xcl…
194 remaining items
Royalflamejlh commentedon Nov 26, 2026
nvidia-devc044dc6din a debug build on an RTX 2070 SUPER, the default profile ofcargo test, failed two tests that the RTX 5080 release run above does not list.texture_upload::tests::pieces_hold_the_texels_of_their_levelsandgpu_parts_of_a_texture_go_up_and_the_rest_stayspanicked withattempt to multiply with overflowatcrates/xcl/src/hle/d3d12x/texture_upload.rs:983, the random step of the test helpersome_ranges(from73fc616f). A release build wraps it.Setup: NVIDIA GeForce RTX 2070 SUPER 8 GB (driver 621.01), Ryzen 7 5700X3D, Windows 11 Pro 26200, rustc 1.100.0, DXC 1.9.2602.17;
cargo test --workspace --no-fail-fast -- --test-threads=4in debug, once, then the failing tests again on one thread.console_ms_in_as_slot_and_ms_with_as_are_refused_cleanlyandasync_compute_pso_registers_real_pso_and_not_standinpassed onmainb49be18here (1 run); the two-pass test is not onmain.Releaseof a stand-in sends the real pipeline behind it tolate_release::hold_pipeline(real.rs,pso_release), and a two-pass pipeline's compute pass goes there too (TwoPassPso::drop). That thread releases them once the queues are past a fence. As we read it,async_compute_pso_registers_real_pso_and_not_standinand the two-pass test check right after the drop, before that thread runs. WithXCL_LATE_RELEASE=0both passed (1 run, both tests).E_INVALIDARG; it failed at the message check (d3d12_mesh_stream.rs:96), the recorded reason beingMS: no NGG hardware variant.d3d12SDKLayers.dllhere).@theaustinayers: with this line both texture tests passed in a debug build, with the other six
texture_upload::tests (1 run):Not tested: a release build here; the whole suite with the fix or with
XCL_LATE_RELEASE=0; the title; AMD GPUs.AI use: Claude Code (Claude Opus 5.5) ran the tests on the Windows machine through a script, read the failing lines, and wrote this text.
Posted without review by a person: the account owner was away and reads replies later.
Alm0stSurely commentedon Nov 26, 2026
Tested — Linux / RTX 5080, compute dispatch during world load
Proton Experimental, NVIDIA 620.73.04, vkd3d-proton 4522cc1a8b13 with local queue diagnostics. This is a local XCL integration based on 50a9fde, with #2205-style argument tracking and a pre-dispatch GPU readback (executable SHA-256 prefix 242f2a77c4e8). Ran
xcl run <title.exe>with warm caches,XCL_HEAP_WINDOWS=1andVKD3D_CONFIG=single_queue,no_upload_hvv.ed970693eb8d3798matches a BC1 mip-0 compression program. It is outside the 1,000 distinct hashes selected by the name filter reported in NVIDIA: the device is removed when the pipelines in use need more than 512 MB of shader code (0x887a0005) #2403.Follow-up — standalone dispatch on the same RTX 5080. Using the same translated DXIL and vkd3d build, a standalone D3D12 probe dispatched 42×42×1 with the recorded parameters. The input was a synthetic 1320×1320 pattern, with a black texel at a different position in each 4×4 block. Both textures were committed resources. The fence completed without device removal. All 108,900 output blocks were written; decoding them reproduced all 1,742,400 input texels exactly. The title’s resource backing, queue history and input content differ from this test.
Sparse bindings in the title. On the same executable and warm cache seed, a passive trace of the native Vulkan binds identified all 121 input tiles and all 18 output tiles. Both bindings succeeded. The queue timeline had already passed their signal values before the batch containing the dispatch was submitted. The input, output and two same-sized sibling render targets occupied four non-overlapping ranges in one Vulkan memory allocation. No subsequent bind or unbind for those images was recorded during the run. This rules out a missing tile or overlap between these four images in this run. Loading artwork then black, 0 s in world. In this run the last observed queue timeline value was 177191. Batch 91 was to signal 177192, before the BC1 batch (95, signal 177195). The kernel logged Xid 109 (context switch timeout). Earlier input writes, layout transitions and the contents of batch 91 remain open.
Input producer and sparse replay. A second title run on the same configuration recorded a full opaque magenta clear on the exact input image (1320×1320, mip/layer 0, load CLEAR, store STORE, layout GENERAL), then the BC1 dispatch in the same command buffer generation. No covered draw, copy or resolve to that image was recorded between them. This time the preceding queue signal completed (177039), and the BC1 batch signal (177040) was never observed. The kernel reported Xid 13 during loading. Loading artwork then black, 0 s in world. The trace establishes the clear command and its intended value. It does not read back the input texels from the title.
A standalone D3D12 control used the same traced driver, same translated DXIL, a 64 MiB CUSTOM / WRITE_COMBINE / L0 heap, and fully mapped reserved input and output images (121 and 18 tiles on disjoint ranges). It recorded the same clear, an explicit RENDER_TARGET to NON_PIXEL_SHADER_RESOURCE transition, and the 42×42×1 dispatch. The fence completed and all 108,900 output blocks decoded to opaque magenta, covering all 1,742,400 texels.
Synchronization check. With the GPU table readback enabled, the title recorded two global barriers via COPY between the input clear and BC1. Disabling only that readback removed the pair. The remaining image barrier targeted a sibling texture, and the remaining global barrier did not cover color attachment writes. Both runs reached loading artwork, then black, with Xid 13. The immediately preceding native signal completed in both runs, and the signal for the BC1 batch was never observed. The trace covers pipeline barriers recorded in the same command buffer generation.
In the sparse control, replacing the direct image dependency with that exact pair of global barriers still produced the same 871,200 output bytes. Finally, on the title with the readback still disabled, we inserted a single Vulkan memory dependency from COLOR_ATTACHMENT_OUTPUT / COLOR_ATTACHMENT_WRITE to COMPUTE_SHADER / SHADER_SAMPLED_READ immediately before the matching direct dispatch. The trace confirmed the source image, clear and command buffer generation. The previous batch signalled (179826); the target batch signal (179827) was never observed. GPU checkpoints still bracketed BC1 at device loss. This addition alone did not get the batch through.
Short BC1 encoder control. On the same RTX 5080 we replaced the 118,616-byte native compute module with a 13,768-byte encoder for this opaque 1320×1320 input. It reads the source and destination indices from the table, reads 16 actual texels per block and writes the 330×330 output. Original reflection and wave/group dimensions were retained. With the original module reinserted through the same override path, and again with the short module, both the patterned input and the sparse magenta clear produced all 108,900 reference blocks byte for byte. This tests the observed path and these inputs; the shorter encoder omits the original V# parameter loads and generic fallbacks.
In the title, with the diagnostic GPU table copy off, the short override was confirmed at the 42×42×1 dispatch. The preceding signal completed (179971). The batch containing BC1 was submitted successfully, but its signal (179972) was never observed. Checkpoints still bracketed the dispatch at device loss; the kernel reported Xid 13. Loading artwork then black, 0 s in world. Shortening this computation alone did not get the title through loading.
Two further runs added
faulttoVKD3D_CONFIGon the same warm cache seed. The native queue passed the BC1 batch with both the short module (signal 177019, queue later at 177055) and the reinserted original (176165, later 176200). In the original run, all 1,146 PresentX calls had already returned by 68.208 s. The count was still 1,146 at the 480 s limit, although XCL logged 446 successful compute pipeline creations after the last presentation window. The video showed loading artwork followed by black throughout the remaining seven minutes. Both modules can get past this batch without producing a world frame. Run-to-run variation and the effect of the diagnostic option remain open.A third run with the original module and the same fault diagnostics passed the BC1 batch again (178251, queue later at 178287). At 100, 125 and 150 s the presenting thread was sampled in WaitForSingleObject at the same title call site. All 1,135 PresentX calls had returned. At all three samples the coordinator waited on slot 82. Its worker finished a graphics pipeline at 101.051 s and was sampled in the condition wait in resolve_for_bind at both 125 and 150 s. The trace does not identify the pending compute pipeline, its producer, or whether this wait accounts for the presenter stall. Loading artwork then black, 0 s in world.
Not tested: stock main, AMD, or the Windows integration from #2403. These readings do not establish which GPU instruction faulted.
AI use: OpenAI Codex (GPT-6.2 Astra) for instrumentation, test execution and report.
luckyteagirl commentedon Nov 26, 2026
RX 6800M focused check of PR #2642
Tested: PR #2642 at exact head
742116a9338ffd6c53819dabc636710576a0f74e, based onmainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7. Clean detached worktree; Windows 11 build 26200; AMD Radeon RX 6800M (DEV_73DF, driver30.0.13002.13003); Rust/Cargo 1.99.0 MSVC. The machine also has an integrated AMD GPU. I setXCL_ADAPTER=6800M,XCL_REQUIRE_GPU=wave64, andXCL_DIRECT_DXIL=1for the GPU commands. Their logs do not print the selected adapter LUID, so this is selector-based attribution. DXC loggeddxcompiler/dxil 1.8.2502.11from Windows SDK 10.0.26100.0.cargo test --locked -p xcl --lib 'gpu::dxil::cfg::tests::' -j 2 -- --test-threads=1 --nocapture: 4 passed, 0 failed, 0 ignored, 0 explicit SKIPPED. These CFG unit tests do not themselves establish GPU execution.cargo test --locked -p xcl --lib 'gpu::dxil::compact_tests::gpu_compact_form_runs_as_the_plain_form' -j 2 -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored, 0 explicit SKIPPED; direct DXIL compact form logged 163 blocks.cargo test --locked -p xcl --lib 'gpu::dxil::compact_tests::a_gpu_with_64_lane_waves_keeps_the_first_table_limit' -j 2 -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored, 0 explicit SKIPPED; direct DXIL compact form logged 16,387 blocks.Not tested: the complete DXIL/workspace suite, a paired main/head retail smoke run on this machine, other adapters or drivers, or direct timing of the CFG optimization. These focused results do not establish a whole-suite or frame-rate regression comparison.
AI use: OpenAI Codex ran the commands and wrote this report from the saved logs. The exact model identifier for this root session is not exposed to me.
NickHu150 commentedon Nov 26, 2026
For anyone using this thread as a buying guide: the RDNA2 iGPU rows are the important part. A GPU without mesh shader tiers is a hard gate for running a game, even when the test suite is patched by #41 — that patch fixes the tests, not the hardware path. Also note the 39 wave64 recompiler tests skipped on the wave32-only RTX 3080: a green run there is not full coverage. We put a 30-second preflight and a per-game status list in a player-facing guide: https://xclxbox.run/check/ and https://xclxbox.run/games/.
PACDevX commentedon Nov 26, 2026
I tested the Xbox Series version of GTA VI with a local XCL build in Windows Sandbox. XCL runs the title’s x64 code natively, reimplements console APIs, and translates RDNA2 shaders to DXIL. I tested two-pass mesh rendering, its PSO cache, and stability during the scene.
DXGI_ERROR_DEVICE_HUNG(0x887A0006). The control had ended in0x887A0005withDMAFAULT. The exact cause of the new hang is still unknown. DirectStorage logged 108,885 requests with zero failures. XAPU decoded 13,583 Opus packets with zero errors. I heard intermittent audio. The process WASAPI meter, attached around T+136 s, recorded eight periods with signal. The last was about 2.3 seconds before exit.The title run used a local integration build. I also prepared generic changes against main for the mesh PSO cache, fence tracking, and DRED reporting. On the host with the RTX 3090 and the same driver, the full workspace suite on the review commit reported 1,455 passed, 0 failed, and 47 ignored, with 26 SKIPPED entries. The release build also passed. The WARP compositor test passed with known RGBA inputs. In the title logs, the raw scene plane already had a cyan cast. A matched capture of the second plane is still needed to explain the final image. Thanks to Cattn and PracticalStudios for the two-pass mesh work, ZekkJJ for the PSO identities and persistence, and Kalmarv for safe thread-stack capture. The NVIDIA code heap measurements and DRS profile proposal are in the linked threads. #2092 · #1941 · #1942 · #253 · #2403 · #2590
AI use. Codex (GPT-6.2 Sol) assisted with implementation, tests, log analysis, and this draft. I watched the run and operated the controls.
Review commit
luckyteagirl commentedon Nov 26, 2026
RX 6800M crash stack on current
mainFollow-up to my earlier RX 6800M suite report. On clean
mainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7, Windows 11 Home build 26200, AMD Radeon RX 6800M driver30.0.13002.13003, Rust 1.99.0 MSVC and SDK DXC/DXIL 1.8.2502.11, I usedXCL_ADAPTER=6800M,XCL_REQUIRE_GPU=1, and a freshXCL_DXIL_CACHEto run:The isolated process exited
0xc0000005before libtest could report a pass/fail count. LLDB caught the firstwave32case (lanes=32) atamdxc64.dll+0x43801: the driver read address0x28through a nullrax. The stack enters the driver fromID3D12GraphicsCommandList::SetComputeRootSignatureatrunner.rs:1548, afterCreateComputePipelineStatereturned successfully and before the test bound root UAVs or dispatched. The 6576-byte DXIL length is from the debugger frame; I have not proved whether its content or the root signature triggers the driver fault.As a separate control with the same binary and another fresh cache,
gpu::recomp::tests::gpu_unified_memory_arenaalso exited0xc0000005; Windows Event 1000 placed it at the sameamdxc64.dll+0x43801fault offset. This control uses one UMA window and a different shader, so neither four windows nor the raw-load test's shader alone is necessary. The evidence narrows the crash to the shared runner/driver path; it does not establish root cause or justify skipping this test. No XCL code or driver was changed.Not tested: newer AMD drivers, other adapters, a retail title, or a workaround.
AI use: OpenAI Codex (GPT-6.2 Sol) ran the clean-main tests and LLDB diagnostics; OpenAI Codex (GPT-6.2 Astra) checked the command, stack, and report.
luckyteagirl commentedon Nov 26, 2026
Integrated Radeon control for the RX 6800M crash
On the same Windows 11 Home build 26200 laptop and clean
mainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7, I probed the separate integratedAMD Radeon(TM) Graphicsadapter (PCI1002:1638, LUID00000000:0001440f, driver30.0.13002.13003). It reports D3D feature level 12.1, shader model 6.6, wave ops with 64-lane waves, and Int64ShaderOps. The RX 6800M is a distinct DXGI adapter (PCI1002:73df, LUID00000000:00014d72).With
XCL_ADAPTER='AMD Radeon(TM) Graphics'andXCL_REQUIRE_GPU=1, this clean-main focused command also exited0xc0000005before a libtest summary or anySKIPPEDline:The test does not print the selected adapter. The runner requires a match for the explicit unique name; the independent DXGI probe distinguishes it from the RX 6800M. I did not capture an integrated-GPU debugger stack, so this result does not prove the same internal crash site. It shows that the integrated adapter is not a healthy substitute for completing this machine's full GPU suite. No code or driver was changed.
AI use: OpenAI Codex (GPT-6.2 Sol) ran the DXGI probe and test; OpenAI Codex (GPT-6.2 Astra) checked the evidence and report.
inf1425 commentedon Nov 26, 2026
nvidia-devaf2cecc4, RTX 4060 Laptop GPU 8 GB, debug: the same 5 failures as the RTX 5080 and RTX 2070 SUPER reports above. PRs for 4 of them, and two races behind flakyhle::kernelxtests.Machine: NVIDIA GeForce RTX 4060 Laptop GPU (driver 616.64), Ryzen 7 7840HS (iGPU not used), 31 GB RAM, Windows 11 build 26300, Rust 1.95.0, DXC 1.9.2602.17. Command:
cargo test --workspace --no-fail-fast -- --test-threads=4, debug. Counts are from each test binary's owntest result:line, so the two-pass test's child process is not counted twice.mainb49be183nvidia-devaf2cecc4af2cecc4+ #2770 #2771 #2772 #2773The SKIPPED tests: 21 need wave64; 3 are f16 ops the per-lane form refuses (#1426); 2 need
XCL_HEAP_WINDOWS=1. The one failure left isconsole_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, the same as in #2632 (70f9185 / #541).The failures reported above
async_compute_pso_registers_real_pso_and_not_standinand the two-pass cache test now wait up to 5 s for late release before checking that the pipelines are gone. It is the cause the RTX 2070 SUPER report names. With late release on, the state was gone about 7 ms after the drop. Whenhold_pipelinewas locally changed to leak every pipeline, both updated tests still failed.some_rangesoverflow, using the line proposed above.New: two races in
hle::kernelx.memory_under_a_shown_page_is_told_to_sparse_before_it_goesfailed once in 8 full runs (Shows::Nothingatkernelx.rs:4710). Repeatingcargo test -p xcl --lib hle::kernelx -- --test-threads=4gave 10 failures in 40 runs, across 3 more tests.VirtualFreereleases a whole graphics reservation, it removes the record, forgets the title's page mappings there and clears the places of shown pages there only after Windows has released the range. If another thread reserves the same address in between, its reservation loses all of that. It includes a test that reproduces the race on every run.a_page_whose_move_fails_stays_mapped_where_it_wasfreed an address and assumed it stays free. Another test can take it first, and the move then wrote into that test's memory.Not tested: AMD, other NVIDIA cards, Linux/Wine, a release build, any retail title. Smoke runs for #2772 (and for #2771 / #2773, unless they get
test-only) will follow once a title is available.AI use: Claude Code (Claude Opus 5.5) ran the builds, tests and stress runs, traced the races, wrote the PRs and drafted this comment. I read and checked it before posting.
minimalhipster990 commentedon Nov 26, 2026
RTX 4090, Series X profile on
b49be1836— the first 34 indexed indirect draws beforePSSpotLightalready have zero instances in the CPU upload. Two locally instrumented Windows replays used a warm shader cache and native D3D12 queue-fenced readbacks. In the second replay the title went on to present the story's location/time card over a flat background.I tracked the same 34 argument offsets within each replay. In the replay with upload tracing, XCL's
sparse::State::upload_dirtycopied all 34 records from the CPU staging ring into sparse window 0. A diagnostic list on that upload queue read the destination immediately afterward. All five DWORDs of each indexed draw matched at three points: staging source, VRAM destination, and the argument resource sampled at the draw. Twelve records were(48, 0, 0, 0, 0)and 22 were(6, 0, 0, 0, 0). Each native call hadMaxCommandCount=1, no count buffer, and zero VS and PS invocations.The same list has three repetitions of the following compute sequence before the first indexed draw. The table gives the X group count in each repetition in the upload-traced replay. For the two all-zero final calls, Y and Z were also zero. Every other call had Y=Z=1.
CS_BatchCullMeshletsa6724f20f309a480CS_BatchCullPreSkinnedMeshlets51788b20c402ace3CS_BatchCullInitArgs4401d482ef24797cIn both replays, GPU snapshots of the 34 complete records immediately before and after each of those nine dispatches matched the arguments at the draws. That narrows the stale-indirect-read hypothesis for this batch: no positive instance count was observed for the draw to lose. A shader storing zero over zero would give the same samples. These are instrumented runs, and this batch alone cannot establish why the world is missing.
The next discriminating measurement is the effective output address and store/atomic predicate in the active culling dispatches. Do any of their active lanes target the instance-count DWORDs in these indexed records, or do they build a different argument stream?
RobertAndreiGit commentedon Nov 26, 2026
RTX 3060 Ti 8 GB: a downstream comparison for the world-load investigation in #2666. These are
cool_fox/VIctory measurements, not XCL test-suite results or a reproduction on XCLmain.Tested: Ryzen 5 5600 / 32 GB / NVIDIA 615.78.08, CachyOS Proton with vkd3d-proton 3.2.0, Series S, 1.0.2.1. Fork base
f4b48ad766ddbec1a1867022cd42f7645b0dd55eplus local instrumentation. A command-timed world run attributed 309.36 ms/frame to 12 console upscaler shaders, 79% of the 390.8 ms in timed guest commands. The matches were against the local upscaler DLL. That build ran at 712 ms/frame with timing enabled.Replacing the console dispatch with the host temporal provider (local commit
4d8e5728a3df8907de4665ba3efd64a6d2a1ffd2) confirmed1280×720 → 1920×1080. The final release trial used the local invocationbench-world.py final-temporal-1080-wait24 --edge 512 --upscaler sdk --pipeline-wait-ms 24 --minutes 10 --runner <temporal-exe>. Medians over 15 intervals: 288.4 ms/frame, 149.1 ms preparing copies, 4,376 draws and 292 dropped draws. Same save, 3,000–6,000 draws/frame and ≤15 pending pipelines; not a replay. A GPU readback passed, but world/UI equivalence was not confirmed. Sparse material mips were disabled.For the 8 GB case in #2666, it may be useful to separate guest upscaler dispatch time from queue backlog and CPU copy preparation before interpreting a VRAM reduction as an FPS improvement. We haven't run XCL's Windows suite or measured these counters on XCL itself.
Report prepared from the actual run logs with OpenCode (OpenAI GPT-6.2 Astra).
minimalhipster990 commentedon Nov 26, 2026
RTX 4090 follow-up to the 34 zero-instance indexed draws. On locally instrumented
b49be1836with the Series X profile, the output UAV of each of the three indirect argument-initialization dispatches was already empty when XCL created the console buffer view.CreatePlacedResourceX, at addresses below the first UMA window. Each call returned a committed D3D12 buffer with unordered access enabled. Each requested view was raw, with 8,192 elements starting at zero.real::buffer_viewtook the missing-console_bufferbranch and returned four zero DWORDs. The title then copied the 32-byte source slot into its one-entry table. The CPU table stayed identical through binding. The first three DWORDs read back on the GPU matched. Other tables populated by the same copy site carried nonzero descriptors.VirtualQueryat entry toCreatePlacedResourceX. All three ranges were alreadyMEM_COMMITthroughout. On these inputs thehas_cpu_pagesguard in D3D12.X: GPU-only buffers placed outside the memory windows live in them #2799 would exclude them from its GPU-only placement path. This is a comparison against that PR's source code. The measured build was main with probes.The three resource objects differ from the buffer containing the 34 draw records. A focused regression case would place a 32 KiB raw UAV over committed title pages outside the UMA windows, write a sentinel from compute and verify it through the consumer of that buffer. It remains open whether fixing this path changes the indirect draw counts or the rendered scene.
minimalhipster990 commentedon Nov 26, 2026
Synthetic RTX 4090 reproduction for the CPU-backed placement case in the previous comment. Tested on Windows, NVIDIA driver 621.40, XCL
b49be1836with test-only additions. Two synthetic RDNA2 compute shaders were translated with XCL's direct DXIL path and heap windows. The producer executes a raw DWORD store at byte offset 4. A separate consumer loads the same offset through the same console descriptor and reports it through an independent coherent buffer. A UAV barrier separates the dispatches, and readback waits for the queue fence.The resource was a 32 KiB raw UAV (8,192 elements). Native GPU readback before either dispatch confirmed the seed
0x13579BDF. Both dispatches wrote independent completion markers in every case.0xC0DEC0DE0xC0DEC0DE0xC0DEC0DE00x13579BDF0x13579BDF0x2600from a 64 KiB boundary00x13579BDF0x13579BDFAll pages of both outside ranges were already
MEM_COMMITat placement.CreatePlacedResourceXproduced native resources and XCL emitted four zero console UAV descriptor DWORDs for both. Adjacent native DWORDs retained their canaries. The positive control and both outside cases used the same shaders. This supplies a game-independent regression case for preserving writable raw views over CPU-backed pages outside UMA. The experiment covers this resource path only; its effect on the 34 indirect draws and the rendered scene remains untested.thisguyStan commentedon Nov 26, 2026
nvidia-devaf2cecc40886a8682ecf3267f5328c6dc4b66ad7on RTX 4070 Ti (Windows, NVIDIA)Tested
cargo test --workspace --no-fail-fast -- --test-threads=4: 1743 passed, 8 failed, 48 ignored. The 8 failures are in 7 tests (the two-pass test runs a second copy of itself). Three more full runs with the same command: 1745 passed, 6 failed, 48 ignored each (thekernelxande2efailures below did not recur).SKIPPED: 21 no wave64, 3 f16/f32 per-lane forms refused (gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426), 2 no heap windows, 3 no D3D12 debug layer /d3d12SDKLayers.dll.Failures, each rerun alone
texture_upload::pieces_hold_the_texels_of_their_levels,…gpu_parts_of_a_texture_go_up_and_the_rest_stays: multiply overflow attexture_upload.rs:1002, fixed by Tests: some_ranges in texture_upload wraps its generator instead of overflowing #2771.kernelx::a_page_whose_move_fails_stays_mapped_where_it_was: passes alone 3 of 3, failed in 1 of 4 full runs, as Tests: a page's failed move goes to an address Windows never hands out #2773 describes.d3d12_mesh_stream::console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly: gotMS: no NGG hardware variant, fixed by Tests: a console MS in the AS slot is refused by its MS translation #2788.gpu_compute_e2e::async_compute_pso_registers_real_pso_and_not_standinandgpu_two_pass_cache_e2e::two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs(left: 3, right: 0): both pass withXCL_LATE_RELEASE=0, as Tests: wait for late release before checking released pipelines are gone #2770 describes.e2e::test_title_runs_and_game_folder_is_untouched:[FAIL] D3D12.X: a texture in title memory (XG layout, #44) follows CPU writes: subresource 2 row 0 differs from the title memory. Failed in 1 of 4 full runs (the same run as thekernelxfailure) and passed 5 of 5 withcargo test -p xcl --test e2e -- --test-threads=4, so it is intermittent. No open PR or issue found for it. Cause not looked into.The three Wine-lane failures from #2688 (
indirect_guard::an_execute_indirect_with_garbage_counts_draws_nothing,…_runs_no_groups,real::descriptor_heap_tests::a_copy_of_a_destroyed_resources_view_is_the_null_view): pass here, each alone with--exactand all three together 5 of 5.Not tested: release build, the PRs above applied, AMD, Wine, a title run.
AI use: Claude Code (Claude Opus 5.5) ran the tests on my machine and wrote this; posted by me.
minimalhipster990 commentedon Nov 26, 2026
RTX 4090, driver 621.40, follow-up to the CPU-backed UAV reproduction above.
Separately, unmodified builds of MacieGx's public lab branch did present recognizable 3D geometry on this card with the #505 outside-buffer/skip-file setup (Series X, 1000 resolve hashes, 3990 MiB coherent). On 4ae4e70 with an initially empty XCL cache there were two visible human figures at 651 s. A warm replay showed a character, palm trees and buildings at 156 s, then a D3D12 device reset at 242 s (0x887A0007). On 782fde7, with stencil UINT enabled, the 60 s GPU wait setting and hot write-watch enabled, the credits were readable while skin glowed blue-white against mostly black surroundings. The title ended at 483 s with 0x80000003. No interactive cell was confirmed in that run. The lab results are independent of the test-only import path.
Skin follow-up on 782fde7: in two warm replays of the same raised-hands scene, adding all 14 local subsurfacescatter record hashes to the 1000-entry skip file still left blue-white skin against a dark background. The runtime reported skip sets of 1000 and 1014, respectively. These are comparable shots, not identical animation frames. Four timed attempts to snapshot seven prefilter/resolve compute passes in the control returned zero resources, so the first pass producing the wrong colour is still open.
AI use: OpenAI Codex ran the tests, inspected the presented frames and drafted this report. The person running the game independently reported blue-white skin, dark backgrounds, game audio and visible credits.
minimalhipster990 commentedon Nov 26, 2026
Follow-up to the 483 s breakpoint reported above on the experimental branch at
782fde74. A second RTX 4090 reaches the cell from a local story checkpoint on this commit, and the horizontal camera responds to virtual right-stick input.0x80000003). Intro still in Prestream, internal frame 1027, 731 streaming requests, instance-list pool 45,000/45,000. No device removal recorded.0x887A0005) at 264.37 s while waiting for a texture upload. Same intro in Prestream, internal frame 1040, 745 streaming requests, pool 30,192/45,000. The 483 s failure time and breakpoint did not repeat.For the input check, XCL logged alternating +0.55 and −0.55 virtual RX pulses. At 820 px image width, tracking fixed features of the room gave median horizontal shifts of −7.79 / +9.37 px across opposite inputs and −0.03 px at rest (121 / 154 / 185 tracked points). A second pair gave −9.10 / +7.52 px. This verifies horizontal camera response; walking and physical pad input are still untested locally.
Same RTX 4090 driver (621.40) as run 47, Ryzen 5800X3D, 32 GiB RAM. Local cache was warmed by gameplay and NVAPI found no dedicated xcl.exe application profile. Rendering settings were held constant, including 3,990 MiB coherent, stencil UINT, the 1,000-entry skip list and hot write-watch. The checkpoint arm used more frequent frame dumps and scripted RX. Game settings matched byte-for-byte across both starting profiles; player data differed alongside the added story slot. These runs support separating intro-streaming failures from tests of the playable cell.
AI use: OpenAI Codex ran the replays, compared logs and captured frames, measured camera motion and drafted this comment.
Follow-up on frame dumps and left-stick input (same checkpoint and binary). With the same virtual RX schedule, removing
XCL_FRAME_DUMPchanged 151 presents in 400.31 s (0.377/s) to 211 in 400.50 s (0.527/s, +40%). Both runs reached 700 s, exit 0. Frame-readback timeouts dropped from 74 to zero. Single pair with a shared warm cache.With frame dumps off and the right stick neutral, the character visibly turns in response to left-stick input and the camera follows. Three movement attempts ended in device removal (
0x887A0005): at 439.18 s after reversing LY, at 409.16 s in neutral after one LY hold, and at 387.11 s in neutral after opposite LX holds without any LY input. Upload waits first reported removal in the first two. We confirmed an input response. A player-position trace or an unambiguous crossing of a fixed landmark would confirm walking distance. The underlying GPU fault is still open. Codex ran the tests and inspected the logs and screen sequences.Single left-stick hold in the cell, experimental 782fde7, RTX 4090. With frame dumps off and RX neutral, the title’s own player-position fields were stationary before LY. Net displacement was 0.162 game units at release and 0.471 just before device loss. The final XYZ and update timestamp matched the title’s crash report. A second run with GPU markers reached the 500 s test limit with exit 0 and also ended 0.471 units from its starting position.
On the unmodified binary the present fence advanced from 1816 to 1817 at 365.689 s, confirming completion of the back-buffer transition to PRESENT on that queue. The first device-removal error surfaced at 367.048 s during pipeline creation. DRED reported VA 0 and provided no incomplete list identifying a draw or dispatch. Two diagnostic replays did not reproduce that removal: one finished normally and one exited on a CPU access violation before input or markers. The draw or dispatch responsible for removal remains unknown. The blue-white character is already visible before the stick is read, so the rendering defect can be investigated from the stationary checkpoint. OpenAI Codex ran these tests, checked the position and fence traces, and drafted this update.