Tests: list_x GPU fixtures use the XCL_ADAPTER adapter #3016

Open
KDenKC wants to merge 1 commit from upstream-pr/3016 into main
KDenKC commented 2026-11-27 12:22:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T12:22:21Z.


The list_x GPU tests made their devices on the default adapter (D3D12CreateDevice(None), agility::create_device(None)): on a machine with two GPUs they ran on whichever the system picked, whatever XCL_ADAPTER said. They now share fixture_device(), which takes the adapter XCL_ADAPTER selects (gpu::adapter), falls back to WARP when it is unset and no hardware adapter is there (an adapter it names that is not there is a skip), prints the adapter it used once per run, and skips the test when it cannot make a device.

What is in it (one commit, hle/d3d12x/list_x.rs, tests only)

  • fixture_device() and every list_x test that made a device on the default adapter, including the three main added after the first version of this PR: a_title_fence_wait_an_earlier_signal_covers_is_no_cycle, put_off_rig and a_split_after_kickoff_does_not_take_the_segment_just_submitted.
  • The tests that are meant to run on WARP (..._on_the_software_adapter and the WARP-only fixture) keep their WARP device.
  • Zero runtime lines change: every changed line is inside list_x.rs's #[cfg(test)] module. scripts/pr_check.py counts list_x.rs as a runtime file all the same, so this PR needs the maintainer's test-only label (CONTRIBUTING, point 3) in place of a smoke pair.

Tested

  • Current rebased head 4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d: workspace suite build exit 0; 2,877 passed, 6 failed, 51 ignored. The six VM-known failures were gpu_direct_image_get_resinfo_d16, placed_title_textures_share_vram_and_preserve_pixels, the three stream_recheck_* follow-on tests, and test_title_runs_and_game_folder_is_untouched (e2e: Invalid bitcode signature). The 5090 smoke pair is below. Earlier detailed test results are from 795e4017.
  • Rebased on main 53e85fb1 (this head 795e4017; the previous head d32774f3 was on main fa204595). The PR checks' earlier failures were 4 pipeline_library / warm_library tests of that older base, which pass on 53e85fb1.
  • RTX 3090 24 GB (VM), NVIDIA 621.24, Intel i7-10700T, Windows 11 build 26300.9974, Rust 1.99.1, debug, at 795e4017:
    • cargo test -p xcl --lib --no-run, debug and release: both build.
    • cargo test -p xcl --lib -- list_x --nocapture --test-threads=1: 113 passed, 0 failed, 0 ignored, 2570 filtered out. The fixture printed list_x fixture adapter: NVIDIA GeForce RTX 3090; WARP=false.
    • cargo test --workspace --no-fail-fast -- --test-threads=4: the lib binary was killed (STATUS_ACCESS_VIOLATION) while gpu::agility::tests::create_device_sets_dred_first, gpu::bvh::tests::scene_trace_matches_brute_force and gpu::dxil::compact_tests::a_large_program_that_repeats_itself_takes_the_compact_form ran: main's own (main fa204595 was killed the same way on this machine, with the same three running). The other binaries: 138 passed, 1 failed, 20 ignored (the e2e failure below). The lib binary rerun on 1 thread (--skip uma_driver::tests, all 8 of them): 2641 passed, 5 failed, 29 ignored, the same lib tests as main (2641 + 5 + 29 + 8 = 2683). SKIPPED in that run's output: 14 (8 no wave64, 3 no debug layer, 2 refused per-lane forms, 1 no heap windows); the killed run's are not in it.
    • Main 53e85fb1 on the same machine: 2784 passed, 6 failed, 49 ignored, 31 SKIPPED. The 6 are main's own: title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels, the 3 stream_recheck_* tests, standin::tests::concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline (main's test does not count the stand-in pipeline's deferred release, Related: #3484), e2e test_title_runs_and_game_folder_is_untouched. The lib failures here are those 5; e2e fails as on main.
  • Earlier (0624a46e): DarkPanda69's AMD + NVIDIA hybrid machine, 40/40 on both adapters with the adapter line matching XCL_ADAPTER.

Regression run

  • RTX 5090, 600 seconds each, same title and JIT setup. Both arms used the same translated-cache seed (main-full-d8bd), the same frozen accepted-terms profile (r18-terms: gamesave and pls/settings), and held Enter. The blocks below are copied verbatim from the rig script's report.

Main 9dfbe3ea:

xcl-smoke v1
commit: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b
gpu: NVIDIA GeForce RTX 5090
title: 9cc6a39e
seconds: 600
exit: 0x0
frames shown: 1872 (PresentX 1873)
presents per 2 s (last 3): 2 2 1
device removals: 0
crashes: 0
peak commit: 47791 MB

This head 4a9158b8:

xcl-smoke v1
commit: 4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d
gpu: NVIDIA GeForce RTX 5090
title: 9cc6a39e
seconds: 600
exit: 0x0
frames shown: 1893 (PresentX 1893)
presents per 2 s (last 3): 2 1 2
device removals: 0
crashes: 0
peak commit: 47961 MB

Not tested

  • A machine with two adapters on this head (the VM has one).
  • Other modules' GPU tests that make a device on the default adapter (alloc_pool.rs has three) are not part of this PR.

AI use

  • Claude Code (Claude Opus 5.5, Claude Sonnet 5.5), Codex (GPT-6.2-Sol), Antigravity (Gemini 4 Neon, Gemini 3.8 Flash): an agent swarm wrote, tested, reviewed and described this change.

🤖 Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR

<!-- greyfinch-sync:ivall/xcl:issue:5526544828 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3016). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-27T12:22:21Z. --- The list_x GPU tests made their devices on the default adapter (`D3D12CreateDevice(None)`, `agility::create_device(None)`): on a machine with two GPUs they ran on whichever the system picked, whatever `XCL_ADAPTER` said. They now share `fixture_device()`, which takes the adapter `XCL_ADAPTER` selects (`gpu::adapter`), falls back to WARP when it is unset and no hardware adapter is there (an adapter it names that is not there is a skip), prints the adapter it used once per run, and skips the test when it cannot make a device. **What is in it** (one commit, `hle/d3d12x/list_x.rs`, tests only) - `fixture_device()` and every list_x test that made a device on the default adapter, including the three main added after the first version of this PR: `a_title_fence_wait_an_earlier_signal_covers_is_no_cycle`, `put_off_rig` and `a_split_after_kickoff_does_not_take_the_segment_just_submitted`. - The tests that are meant to run on WARP (`..._on_the_software_adapter` and the WARP-only fixture) keep their WARP device. - Zero runtime lines change: every changed line is inside list_x.rs's `#[cfg(test)]` module. `scripts/pr_check.py` counts `list_x.rs` as a runtime file all the same, so this PR needs the maintainer's `test-only` label (CONTRIBUTING, point 3) in place of a smoke pair. **Tested** - Current rebased head `4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d`: workspace suite build exit 0; 2,877 passed, 6 failed, 51 ignored. The six VM-known failures were `gpu_direct_image_get_resinfo_d16`, `placed_title_textures_share_vram_and_preserve_pixels`, the three `stream_recheck_*` follow-on tests, and `test_title_runs_and_game_folder_is_untouched` (e2e: Invalid bitcode signature). The 5090 smoke pair is below. Earlier detailed test results are from `795e4017`. - Rebased on main `53e85fb1` (this head `795e4017`; the previous head `d32774f3` was on main `fa204595`). The PR checks' earlier failures were 4 `pipeline_library` / `warm_library` tests of that older base, which pass on `53e85fb1`. - RTX 3090 24 GB (VM), NVIDIA 621.24, Intel i7-10700T, Windows 11 build 26300.9974, Rust 1.99.1, debug, at `795e4017`: - `cargo test -p xcl --lib --no-run`, debug and release: both build. - `cargo test -p xcl --lib -- list_x --nocapture --test-threads=1`: 113 passed, 0 failed, 0 ignored, 2570 filtered out. The fixture printed `list_x fixture adapter: NVIDIA GeForce RTX 3090; WARP=false`. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: the lib binary was killed (`STATUS_ACCESS_VIOLATION`) while `gpu::agility::tests::create_device_sets_dred_first`, `gpu::bvh::tests::scene_trace_matches_brute_force` and `gpu::dxil::compact_tests::a_large_program_that_repeats_itself_takes_the_compact_form` ran: main's own (main `fa204595` was killed the same way on this machine, with the same three running). The other binaries: 138 passed, 1 failed, 20 ignored (the e2e failure below). The lib binary rerun on 1 thread (`--skip uma_driver::tests`, all 8 of them): 2641 passed, 5 failed, 29 ignored, the same lib tests as main (2641 + 5 + 29 + 8 = 2683). SKIPPED in that run's output: 14 (8 no wave64, 3 no debug layer, 2 refused per-lane forms, 1 no heap windows); the killed run's are not in it. - Main `53e85fb1` on the same machine: 2784 passed, 6 failed, 49 ignored, 31 SKIPPED. The 6 are main's own: `title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels`, the 3 `stream_recheck_*` tests, `standin::tests::concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline` (main's test does not count the stand-in pipeline's deferred release, Related: #3484), e2e `test_title_runs_and_game_folder_is_untouched`. The lib failures here are those 5; e2e fails as on main. - Earlier (0624a46e): DarkPanda69's AMD + NVIDIA hybrid machine, 40/40 on both adapters with the adapter line matching `XCL_ADAPTER`. **Regression run** - RTX 5090, 600 seconds each, same title and JIT setup. Both arms used the same translated-cache seed (`main-full-d8bd`), the same frozen accepted-terms profile (`r18-terms`: `gamesave` and `pls/settings`), and held Enter. The blocks below are copied verbatim from the rig script's report. Main `9dfbe3ea`: ``` xcl-smoke v1 commit: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b gpu: NVIDIA GeForce RTX 5090 title: 9cc6a39e seconds: 600 exit: 0x0 frames shown: 1872 (PresentX 1873) presents per 2 s (last 3): 2 2 1 device removals: 0 crashes: 0 peak commit: 47791 MB ``` This head `4a9158b8`: ``` xcl-smoke v1 commit: 4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d gpu: NVIDIA GeForce RTX 5090 title: 9cc6a39e seconds: 600 exit: 0x0 frames shown: 1893 (PresentX 1893) presents per 2 s (last 3): 2 1 2 device removals: 0 crashes: 0 peak commit: 47961 MB ``` **Not tested** - A machine with two adapters on this head (the VM has one). - Other modules' GPU tests that make a device on the default adapter (`alloc_pool.rs` has three) are not part of this PR. **AI use** - Claude Code (Claude Opus 5.5, Claude Sonnet 5.5), Codex (GPT-6.2-Sol), Antigravity (Gemini 4 Neon, Gemini 3.8 Flash): an agent swarm wrote, tested, reviewed and described this change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR
DarkPanda69 commented 2026-11-27 20:11:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-27T20:11:42Z.


AMD run as asked, on a two-GPU PC (RX 9070 XT + RTX 3060), so the adapter check is a real one.

Tested: pass, head 0624a46 applied on main 6089122, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X (XCL_NETWORK not set).
cargo test -p xcl --lib -- hle::d3d12x::list_x::tests:: --test-threads=4 --nocapture:

  • XCL_ADAPTER=radeon: list_x fixture adapter: AMD Radeon RX 9070 XT; WARP=false, 40 passed, 0 failed, 0 ignored, 0 SKIPPED (driver 32.0.32029.2010).
  • XCL_ADAPTER=3060: list_x fixture adapter: NVIDIA GeForce RTX 3060; WARP=false, 40 passed, 0 failed, 0 ignored, 0 SKIPPED (driver 32.0.16.1088).

On this hybrid machine the reported adapter matched the request both times, the lowercase radeon included. main without the PR: 40 passed on both, with no adapter line.

Not tested: Intel, a WARP-only machine, release.

AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7227266319 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3016#issuecomment-7227266319). Originally posted by [DarkPanda69](https://github.com/DarkPanda69) on 2026-11-27T20:11:42Z. --- AMD run as asked, on a two-GPU PC (RX 9070 XT + RTX 3060), so the adapter check is a real one. **Tested:** pass, head `0624a46` applied on `main` `6089122`, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X (`XCL_NETWORK` not set). `cargo test -p xcl --lib -- hle::d3d12x::list_x::tests:: --test-threads=4 --nocapture`: - `XCL_ADAPTER=radeon`: `list_x fixture adapter: AMD Radeon RX 9070 XT; WARP=false`, 40 passed, 0 failed, 0 ignored, 0 SKIPPED (driver 32.0.32029.2010). - `XCL_ADAPTER=3060`: `list_x fixture adapter: NVIDIA GeForce RTX 3060; WARP=false`, 40 passed, 0 failed, 0 ignored, 0 SKIPPED (driver 32.0.16.1088). On this hybrid machine the reported adapter matched the request both times, the lowercase `radeon` included. `main` without the PR: 40 passed on both, with no adapter line. **Not tested:** Intel, a WARP-only machine, release. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
Foniass commented 2026-12-01 09:53:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:53:27Z.


Triage (#1607) – head 4a9158b

No open or merged PR makes the same change. #2337 and #2879 apply the same idea to other files (vram.rs/title_textures.rs, gpu/texture.rs). Notes on the diff in list_x.rs: fixture_device falls back to WARP when the adapter chosen with XCL_ADAPTER fails to create a device, and only logs it, so a run that asked for a specific GPU can quietly test on WARP. Tests that used to skip without hardware (an_internal_wait_is_listed_until_its_fence_reaches_the_value, a_split_after_kickoff_does_not_take_the_segment_just_submitted, ...) now run on WARP. Removing the use lines left a blank line at the start of several test bodies.
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:7307355977 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3016#issuecomment-7307355977). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:53:27Z. --- **Triage (#1607)** – head 4a9158b No open or merged PR makes the same change. #2337 and #2879 apply the same idea to other files (`vram.rs`/`title_textures.rs`, `gpu/texture.rs`). Notes on the diff in `list_x.rs`: `fixture_device` falls back to WARP when the adapter chosen with `XCL_ADAPTER` fails to create a device, and only logs it, so a run that asked for a specific GPU can quietly test on WARP. Tests that used to skip without hardware (`an_internal_wait_is_listed_until_its_fence_reaches_the_value`, `a_split_after_kickoff_does_not_take_the_segment_just_submitted`, ...) now run on WARP. Removing the `use` lines left a blank line at the start of several test bodies. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
fromthemoonx commented 2026-12-01 16:27:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-12-01T16:27:50Z.


merge-check
base: 6bfb5c5153
head: 4a9158b891
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2904 passed, 0 failed, 51 ignored (base: 2904 passed, 0 failed, 51 ignored); SKIPPED: 25 (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps), the same set as base; failing: none
review: read the whole diff (1 file, +53 -226, all inside list_x.rs's #[cfg(test)] module, so test-only). No correctness problem found.

  • hle::d3d12x::list_x::tests:: (105 tests, --test-threads=4, --nocapture), one GPU here:

    XCL_ADAPTER Device Result
    unset NVIDIA GeForce RTX 3060; WARP=false 105 passed
    warp Microsoft Basic Render Driver; WARP=true 105 passed
    3060 RTX 3060 105 passed
    nosuchgpu none 105 passed, 22 SKIPPED with "nosuchgpu" matches no hardware adapter (have: 0 = NVIDIA GeForce RTX 3060)
  • Minor: split_close_rig still makes its device on the default adapter (agility::create_device(None, ...), list_x.rs:8496 in the merge), and it was already on the PR's base 9dfbe3e. So a_split_whose_close_fails_leaves_that_list_out_and_goes_on and a_split_whose_close_fails_with_no_list_in_its_place_fails_the_recording_closed do not follow XCL_ADAPTER; under XCL_ADAPTER=warp they ran on the RTX 3060. The description says "every list_x test".

  • The fixture now makes devices through agility::create_device (DRED set first, Agility factory when loaded) where most of these tests called D3D12CreateDevice directly. That is the runtime's own path; no test changed result here.

  • Foniass's note stands: a selected adapter whose device creation fails falls back to WARP with only an eprintln!. It did not come up here (every device creation succeeded).

  • put_off_dispatches_wait_at_the_submit_and_run_on_the_software_adapter, which is meant to run on WARP, keeps its WARP device.

  • list_x.rs counts as a runtime file for pr_check.py, so it still needs the maintainer's test-only label.
    performance: none: test code only.
    verdict: safe to merge
    hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7317647869 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3016#issuecomment-7317647869). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-12-01T16:27:50Z. --- merge-check base: 6bfb5c5153ccc23517daf30aa1071ddb0fadb53c head: 4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2904 passed, 0 failed, 51 ignored (base: 2904 passed, 0 failed, 51 ignored); SKIPPED: 25 (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps), the same set as base; failing: none review: read the whole diff (1 file, +53 -226, all inside `list_x.rs`'s `#[cfg(test)]` module, so test-only). No correctness problem found. - `hle::d3d12x::list_x::tests::` (105 tests, `--test-threads=4`, `--nocapture`), one GPU here: | `XCL_ADAPTER` | Device | Result | |---|---|---| | unset | `NVIDIA GeForce RTX 3060; WARP=false` | 105 passed | | `warp` | `Microsoft Basic Render Driver; WARP=true` | 105 passed | | `3060` | RTX 3060 | 105 passed | | `nosuchgpu` | none | 105 passed, 22 SKIPPED with `"nosuchgpu" matches no hardware adapter (have: 0 = NVIDIA GeForce RTX 3060)` | - Minor: `split_close_rig` still makes its device on the default adapter (`agility::create_device(None, ...)`, `list_x.rs:8496` in the merge), and it was already on the PR's base `9dfbe3e`. So `a_split_whose_close_fails_leaves_that_list_out_and_goes_on` and `a_split_whose_close_fails_with_no_list_in_its_place_fails_the_recording_closed` do not follow `XCL_ADAPTER`; under `XCL_ADAPTER=warp` they ran on the RTX 3060. The description says "every list_x test". - The fixture now makes devices through `agility::create_device` (DRED set first, Agility factory when loaded) where most of these tests called `D3D12CreateDevice` directly. That is the runtime's own path; no test changed result here. - Foniass's note stands: a selected adapter whose device creation fails falls back to WARP with only an `eprintln!`. It did not come up here (every device creation succeeded). - `put_off_dispatches_wait_at_the_submit_and_run_on_the_software_adapter`, which is meant to run on WARP, keeps its WARP device. - `list_x.rs` counts as a runtime file for `pr_check.py`, so it still needs the maintainer's `test-only` label. performance: none: test code only. verdict: safe to merge hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)
ClosetPie107 commented 2026-12-02 17:13:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-12-02T17:13:12Z.


Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on 4a9158b

Merged onto main 5eaadb54 (clean merge) and compared with main run twice on the same machine.

Setup

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.7)
  • Wine 11.23 (system), stock vkd3d-proton v3.1-83-gcae8353ed and DXVK dxgi.dll from GE-Proton11-16, DXC 1.9.2609.5
  • Debug build, cross-compiled for x86_64-pc-windows-msvc with cargo-xwin; test binaries run under Wine

Tested: cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 --skip <31 tests>

passed failed ignored
main 5eaadb54 2769 177 52
this PR merged 2769 177 52
  • Tests that fail with this PR and pass on main: none.
  • Tests this PR adds: none.
About the failures on main and the 31 skipped tests (same for every PR in this batch)
  • Most of main's 177 failures under Wine come from #175: once a test has set up the real device, vkd3d-proton refuses the command allocators XCL adopts (d3d12_command_list_Reset: Invalid command allocator), and later tests get E_INVALIDARG (0x80070057). Running vkd3d-proton master with its vtable check taken out, hle::d3d12x::sparse::tests goes from 106 passed / 38 failed to 144 / 0.
  • The 31 skipped tests make vkd3d-proton's dxil-spirv call std::terminate() (Cannot reliably convert LLVM pointer type, we cannot differentiate between Function and Private), which kills the whole test binary. They are the split-wave64, dispatch-chain and bridged-mask GPU tests, gpu_compute_mode_dispatch_abi, gpu_compute_thread_limits_leave_the_lanes_past_them_out, the two gpu_mesh_mode_* tests, and console_wave64_compute_through_the_pso_hook_dispatch_and_read_back, plus serialize_root_signature_strips_console_flags_and_preserves_pc_flags, whose null descriptor vkd3d-proton dereferences. The dxil-spirv ones crash the same way with vkd3d-proton master (f8c1cae8, dxil-spirv 93ab44c5).
  • main was run twice: same counts, same failure set. SKIPPED lines (same as main): no heap windows (2), no D3D12 debug layer (2-3), driver cache control not implemented in vkd3d-proton (1).

Not tested: Windows, NVIDIA, a retail title / scripts/smoke.ps1, a review of the diff. This is a test report, not a merge-check.

AI use: omp (Claude Opus 5.5) merged, built and ran the suites on this machine, compared the results with main, and drafted this report. The user asked for it to be posted.

<!-- greyfinch-sync:ivall/xcl:comment:7353063176 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3016#issuecomment-7353063176). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-12-02T17:13:12Z. --- **Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on `4a9158b`** Merged onto `main` `5eaadb54` (clean merge) and compared with `main` run twice on the same machine. **Setup** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.7) - Wine 11.23 (system), stock vkd3d-proton `v3.1-83-gcae8353ed` and DXVK `dxgi.dll` from GE-Proton11-16, DXC 1.9.2609.5 - Debug build, cross-compiled for `x86_64-pc-windows-msvc` with `cargo-xwin`; test binaries run under Wine **Tested:** `cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 --skip <31 tests>` | | passed | failed | ignored | |---|---|---|---| | `main` `5eaadb54` | 2769 | 177 | 52 | | this PR merged | 2769 | 177 | 52 | - **Tests that fail with this PR and pass on `main`:** none. - **Tests this PR adds:** none. <details><summary>About the failures on <code>main</code> and the 31 skipped tests (same for every PR in this batch)</summary> - Most of `main`'s 177 failures under Wine come from #175: once a test has set up the real device, vkd3d-proton refuses the command allocators XCL adopts (`d3d12_command_list_Reset: Invalid command allocator`), and later tests get `E_INVALIDARG` (`0x80070057`). Running vkd3d-proton master with its vtable check taken out, `hle::d3d12x::sparse::tests` goes from 106 passed / 38 failed to 144 / 0. - The 31 skipped tests make vkd3d-proton's dxil-spirv call `std::terminate()` (`Cannot reliably convert LLVM pointer type, we cannot differentiate between Function and Private`), which kills the whole test binary. They are the split-wave64, dispatch-chain and bridged-mask GPU tests, `gpu_compute_mode_dispatch_abi`, `gpu_compute_thread_limits_leave_the_lanes_past_them_out`, the two `gpu_mesh_mode_*` tests, and `console_wave64_compute_through_the_pso_hook_dispatch_and_read_back`, plus `serialize_root_signature_strips_console_flags_and_preserves_pc_flags`, whose null descriptor vkd3d-proton dereferences. The dxil-spirv ones crash the same way with vkd3d-proton master (`f8c1cae8`, dxil-spirv `93ab44c5`). - `main` was run twice: same counts, same failure set. `SKIPPED` lines (same as `main`): no heap windows (2), no D3D12 debug layer (2-3), driver cache control not implemented in vkd3d-proton (1). </details> **Not tested:** Windows, NVIDIA, a retail title / `scripts/smoke.ps1`, a review of the diff. This is a test report, not a `merge-check`. **AI use:** omp (Claude Opus 5.5) merged, built and ran the suites on this machine, compared the results with `main`, and drafted this report. The user asked for it to be posted.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3016:upstream-pr/3016'
git switch 'upstream-pr/3016'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3016'
git switch 'upstream-pr/3016'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3016'
git switch 'upstream-pr/3016'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3016'
git switch 'main'
git merge --squash 'upstream-pr/3016'
git switch 'main'
git merge --ff-only 'upstream-pr/3016'
git switch 'main'
git merge 'upstream-pr/3016'
git push origin 'main'
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!3016
No description provided.