[removed by author] #1688

Closed
shortside wants to merge 2 commits from upstream-pr/1698 into main
shortside commented 2026-11-24 19:23:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by shortside on 2026-11-24T19:23:50Z.


[removed by author]

<!-- greyfinch-sync:ivall/xcl:issue:5478822116 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698). Originally posted by [shortside](https://github.com/shortside) on 2026-11-24T19:23:50Z. --- [removed by author]
papasmurph0 commented 2026-11-24 21:09:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by papasmurph0 on 2026-11-24T20:08:43Z.


Regression run for this PR on Windows / NVIDIA, since it has no xcl-smoke pair yet.

Tested

  • NVIDIA GeForce RTX 4080 SUPER (driver 32.0.16.1088), Ryzen 7 7800X3D, 64 GB RAM, Windows 11 build 26200, rustc 1.100.0 MSVC, release; scripts/smoke.ps1 -Seconds 60 on the retail title of #505 (game folder passed as a neutral junction, hence title: t1), each build from a clean worktree of the exact commit.

main:

xcl-smoke v1
commit: 85e38262ff94aecd75d6f83fa8156a8b7697bd13
gpu: NVIDIA GeForce RTX 4080 SUPER
title: t1
seconds: 60
exit: 0x0
frames shown: 1333 (PresentX 1333)
presents per 2 s (last 3): 11 21 49
device removals: 0
crashes: 0
peak commit: 25722 MB

this PR:

xcl-smoke v1
commit: e2ee5c0fc24ffa9d5cf9d27bfcfe7f5408460d3a
gpu: NVIDIA GeForce RTX 4080 SUPER
title: t1
seconds: 60
exit: 0x0
frames shown: 1235 (PresentX 1235)
presents per 2 s (last 3): 44 47 60
device removals: 0
crashes: 0
peak commit: 27346 MB

Both runs started from the same state (the title's settings already saved, so no first-run screens). The PR's run is within the limits: 93 % of main's frames, 106 % of its peak commit, no crash, no device removal. A first run of this PR right after the title had saved its settings, paired with a main run that still showed the first-run screens, is left out: the two did not start from the same state.

Not tested: Wine; on native Windows the host's XAudio2 names its buffers, so the PR's branch is not reached and this is a regression check only.

AI use: Claude Code (Claude Opus 5.5) built the trees, made the runs on my PC and wrote this report; I asked for it to be posted.

<!-- greyfinch-sync:ivall/xcl:comment:7143103427 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7143103427). Originally posted by [papasmurph0](https://github.com/papasmurph0) on 2026-11-24T20:08:43Z. --- Regression run for this PR on Windows / NVIDIA, since it has no `xcl-smoke` pair yet. **Tested** - NVIDIA GeForce RTX 4080 SUPER (driver 32.0.16.1088), Ryzen 7 7800X3D, 64 GB RAM, Windows 11 build 26200, rustc 1.100.0 MSVC, release; `scripts/smoke.ps1 -Seconds 60` on the retail title of #505 (game folder passed as a neutral junction, hence `title: t1`), each build from a clean worktree of the exact commit. `main`: ``` xcl-smoke v1 commit: 85e38262ff94aecd75d6f83fa8156a8b7697bd13 gpu: NVIDIA GeForce RTX 4080 SUPER title: t1 seconds: 60 exit: 0x0 frames shown: 1333 (PresentX 1333) presents per 2 s (last 3): 11 21 49 device removals: 0 crashes: 0 peak commit: 25722 MB ``` this PR: ``` xcl-smoke v1 commit: e2ee5c0fc24ffa9d5cf9d27bfcfe7f5408460d3a gpu: NVIDIA GeForce RTX 4080 SUPER title: t1 seconds: 60 exit: 0x0 frames shown: 1235 (PresentX 1235) presents per 2 s (last 3): 44 47 60 device removals: 0 crashes: 0 peak commit: 27346 MB ``` Both runs started from the same state (the title's settings already saved, so no first-run screens). The PR's run is within the limits: 93 % of `main`'s frames, 106 % of its peak commit, no crash, no device removal. A first run of this PR right after the title had saved its settings, paired with a `main` run that still showed the first-run screens, is left out: the two did not start from the same state. **Not tested:** Wine; on native Windows the host's XAudio2 names its buffers, so the PR's branch is not reached and this is a regression check only. AI use: Claude Code (Claude Opus 5.5) built the trees, made the runs on my PC and wrote this report; I asked for it to be posted.
DavidM1911 commented 2026-11-24 23:08:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T22:09:41Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7145882134 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7145882134). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T22:09:41Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. Thanks!
vakaobr commented 2026-11-25 17:07:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vakaobr on 2026-11-25T16:15:25Z.


Tested e2ee5c0 on a Mac: the test title's Opus check passes with it.

Tested (MacBook Pro M5 Pro, macOS 27.2.1, CrossOver 26.3.0, D3DMetal 3.0, no libopus, Rust 1.100.0 x86_64-pc-windows-gnu, debug). Cherry-picked onto the Mac branch from #258 (vakaobr/xcl mac/integration, which already has #890's commit through mac7, plus #750 so the title gets that far), not onto main.

  • e2e::test_title_runs_and_game_folder_is_untouched: without it, XAudio2 … Opus GetState: ctx=0x0, queued=1 failed in 2 of 2 runs. With it, the XAudio2 check passes in 2 of 2, and 48 of the title's checks pass. The test still fails on user32 … not cloaked (Wine) and files: delete hides the file, which also failed in runs without it.
  • hle::xaudio2 lib tests, each in its own process: 11 of 11 pass, get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded and queued_contexts_follow_submits_and_flushes among them. The other 9 passed before it too.

Not tested: Windows, main, a title with audio.

AI use: Claude Code with Claude Opus 5.5 ran the tests and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7167729035 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7167729035). Originally posted by [vakaobr](https://github.com/vakaobr) on 2026-11-25T16:15:25Z. --- Tested `e2ee5c0` on a Mac: the test title's Opus check passes with it. **Tested** (MacBook Pro M5 Pro, macOS 27.2.1, CrossOver 26.3.0, D3DMetal 3.0, no libopus, Rust 1.100.0 `x86_64-pc-windows-gnu`, debug). Cherry-picked onto the Mac branch from #258 (`vakaobr/xcl` `mac/integration`, which already has #890's commit through `mac7`, plus #750 so the title gets that far), not onto `main`. - `e2e::test_title_runs_and_game_folder_is_untouched`: without it, `XAudio2 … Opus GetState: ctx=0x0, queued=1` failed in 2 of 2 runs. With it, the XAudio2 check passes in 2 of 2, and 48 of the title's checks pass. The test still fails on `user32 … not cloaked` (Wine) and `files: delete hides the file`, which also failed in runs without it. - `hle::xaudio2` lib tests, each in its own process: 11 of 11 pass, `get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded` and `queued_contexts_follow_submits_and_flushes` among them. The other 9 passed before it too. **Not tested:** Windows, `main`, a title with audio. AI use: Claude Code with Claude Opus 5.5 ran the tests and wrote this report.
futurepro62 commented 2026-11-26 17:19:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-26T17:19:08Z.


NVIDIA and AMD full-suite run, to go with the reports above by papasmurph0, vakaobr, since none of them covers AMD. Tested exact head e2ee5c0f (on its base c160d86).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 859 passed, 0 failed, 42 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: queued_contexts_follow_submits_and_flushes, get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 860 passed, 0 failed, 42 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main 8b957bec too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7198820055 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7198820055). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T17:19:08Z. --- NVIDIA and AMD full-suite run, to go with the reports above by papasmurph0, vakaobr, since none of them covers AMD. Tested exact head `e2ee5c0f` (on its base `c160d86`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **859 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `queued_contexts_follow_submits_and_flushes`, `get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **860 passed, 0 failed, 42 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `8b957bec` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
ClosetPie107 commented 2026-11-26 17:24:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-26T17:24:26Z.


Independent test report under Wine/Proton (not native Windows) for head e2ee5c0f, compared with the PR's first commit 486b9807. Not rebased: both are tested as pushed, on top of c160d86e.

Tested

  • AMD Radeon RX 9070 (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, CachyOS Linux 7.3.5

  • Proton Experimental experimental-11.0-20261112, DXVK v3.1.1-209, DXC 1.9.2609.5, Rust 1.96.0, target x86_64-pc-windows-gnu, debug build for tests

  • vkd3d-proton master ec207194 (dxil-spirv b540c8a2) with a local patch that drops the lpVtbl identity checks in d3d12_command_allocator_from_iface / d3d12_command_list_from_iface, loaded with WINEDLLOVERRIDES=d3d12,d3d12core,dxgi=n,b, VKD3D_CONFIG=ignore_shared_fence

  • cargo test -p xcl --lib hle::xaudio2:: -- --test-threads=1: 486b9807 9 passed, 0 failed. Head: 11 passed, 0 failed, including the new get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded and queued_contexts_follow_submits_and_flushes.

  • cargo test -p xcl --test e2e test_title_runs_and_game_folder_is_untouched, run with and without XCL_OPUS_DIR (no libopus means XCL does not decode the Opus voice):

    • Without libopus, 486b9807 fails [FAIL] XAudio2 … Opus GetState: ctx=0x0, queued=1. The head passes that check (Opus buffer ended after 109 ms).
    • With libopus, the XAudio2 check passes on both.
    • The e2e test still fails on both commits, with or without libopus, on one unrelated testtitle check: [FAIL] user32: a top-level window … is the hidden 1920x1080 console screen: W: not cloaked (a Wine limitation).
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 486b9807 843 passed, 15 failed, 42 ignored. Head: 845 passed, 15 failed, 42 ignored. The 15 failing tests are the same on both. SKIPPED on both: heap_window_out_of_memory_falls_back_to_the_switch_form, test_title_draws_with_a_root_signature_under_the_debug_layer, uploads_start_from_each_subresources_state.

Not tested

  • Native Windows (where XAudio2 reports the context itself), NVIDIA/Intel, the PR rebased onto current main, a retail title

AI use

  • Codex in T3 Code (gpt-6.2-sol) wrote the test scripts and ran the tests on this machine. Claude Code (Claude Opus 5.5) wrote this report from the logs.
<!-- greyfinch-sync:ivall/xcl:comment:7198962836 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7198962836). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-26T17:24:26Z. --- Independent test report under Wine/Proton (not native Windows) for head `e2ee5c0f`, compared with the PR's first commit `486b9807`. Not rebased: both are tested as pushed, on top of `c160d86e`. **Tested** - AMD Radeon RX 9070 (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, CachyOS Linux 7.3.5 - Proton Experimental `experimental-11.0-20261112`, DXVK `v3.1.1-209`, DXC `1.9.2609.5`, Rust 1.96.0, target `x86_64-pc-windows-gnu`, debug build for tests - `vkd3d-proton` master `ec207194` (dxil-spirv `b540c8a2`) with a local patch that drops the `lpVtbl` identity checks in `d3d12_command_allocator_from_iface` / `d3d12_command_list_from_iface`, loaded with `WINEDLLOVERRIDES=d3d12,d3d12core,dxgi=n,b`, `VKD3D_CONFIG=ignore_shared_fence` - `cargo test -p xcl --lib hle::xaudio2:: -- --test-threads=1`: `486b9807` 9 passed, 0 failed. Head: **11 passed, 0 failed**, including the new `get_state_names_the_oldest_buffer_of_a_voice_that_is_not_decoded` and `queued_contexts_follow_submits_and_flushes`. - `cargo test -p xcl --test e2e test_title_runs_and_game_folder_is_untouched`, run with and without `XCL_OPUS_DIR` (no libopus means XCL does not decode the Opus voice): - Without libopus, `486b9807` fails `[FAIL] XAudio2 … Opus GetState: ctx=0x0, queued=1`. The head passes that check (`Opus buffer ended after 109 ms`). - With libopus, the XAudio2 check passes on both. - The e2e test still fails on both commits, with or without libopus, on one unrelated testtitle check: `[FAIL] user32: a top-level window … is the hidden 1920x1080 console screen: W: not cloaked` (a Wine limitation). - `cargo test --workspace --no-fail-fast -- --test-threads=4`: `486b9807` 843 passed, 15 failed, 42 ignored. Head: **845 passed, 15 failed, 42 ignored**. The 15 failing tests are the same on both. SKIPPED on both: `heap_window_out_of_memory_falls_back_to_the_switch_form`, `test_title_draws_with_a_root_signature_under_the_debug_layer`, `uploads_start_from_each_subresources_state`. **Not tested** - Native Windows (where XAudio2 reports the context itself), NVIDIA/Intel, the PR rebased onto current `main`, a retail title **AI use** - Codex in T3 Code (gpt-6.2-sol) wrote the test scripts and ran the tests on this machine. Claude Code (Claude Opus 5.5) wrote this report from the logs.
Foniass commented 2026-12-01 06:31:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:31:31Z.


Triage (#1607) – head e2ee5c0

Stacked on #890: its first 13 added lines (DecodedBuffer::seq, the decoded-voice branch in get_state) are #890's commit; the top commit adds the Wine-only QUEUED record for voices XCL does not decode. That is a separate change, not a duplicate. Neither part is on main yet.
#2410 also edits get_state (just-ended buffers of decoded voices), but it fixes a different gap.
No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7302972769 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1698#issuecomment-7302972769). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:31:31Z. --- **Triage (#1607)** – head e2ee5c0 Stacked on #890: its first 13 added lines (`DecodedBuffer::seq`, the decoded-voice branch in `get_state`) are #890's commit; the top commit adds the Wine-only `QUEUED` record for voices XCL does not decode. That is a separate change, not a duplicate. Neither part is on main yet. #2410 also edits `get_state` (just-ended buffers of decoded voices), but it fixes a different gap. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1688
No description provided.