Launcher: explain when WARP is selected explicitly #909
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/915"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by MajorUnfazed on 2026-11-24T08:12:11Z.
When
XCL_ADAPTER=warpord3d12_adapter = "warp"explicitly selects WARP, the launcher says no hardware D3D12 device was usable. In this case, the launcher skips probing hardware adapters. The warning now explains that WARP was selected in settings and tells users how to switch back to hardware rendering.What is in it
crates/xcl/src/preflight.rsdistinguishes an explicit WARP selection from automatic fallback and tests both messages.Tested
cargo build --workspace --locked --offlinepassed.cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4reported 716 passed, 0 failed, 41 ignored. Two native-wave64 GPU checks skipped and are included in the pass count.xcl runwithXCL_ADAPTER=warpprints the new warning. The synthetic title exited with an access violation under forced WARP on both the older launcher and the patched build.Regression run
@eizispark ran both 60-second smoke tests on an AMD Radeon RX 9070 XT. Original test report
Main (
beaa245)PR head (
15a9aa3)Not tested
AI use
Imported from ivall/xcl. Originally posted by MajorUnfazed on 2026-11-24T08:18:21Z.
The Windows workspace tests passed on my GTX 1650. I don’t have an unpacked retail title for the required smoke comparison. Could someone with an XCL retail setup run scripts/smoke.ps1 on main and PR head
15a9aa3using the same title and duration, then share both xcl-smoke blocks here?Imported from ivall/xcl. Originally posted by eizispark on 2026-11-24T08:35:34Z.
Hardware check of
15a9aa3395efeafe5614ef65324715c5042de3f9(verified clean merge withmain09940bb): pass.Tested
rustc 1.100.0 (0ef1bc386 2026-11-09), release + test profilecargo test --workspace --no-fail-fast -- --test-threads=4:713 passed, 3 failed, 41 ignored(GPU tests skipped on this adapter:none). The 3 concurrent failures werehle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixelsand 2 downstreamPoisonErrors (transitions_apply_when_their_list_is_submitted,hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory); re-run serialized:cargo test -p xcl --lib hle::d3d12x::title_textures -- --test-threads=1(13 passed, 0 failed),cargo test -p xcl --lib hle::d3d12x::vram -- --test-threads=1(7 passed, 0 failed), andcargo test -p xcl --lib hle::d3d12x -- --test-threads=1(114 passed, 1 failed, 1 ignored;mid_list_write64_wait64_split_avoids_cycle_and_reuses_sparespassed in the workspace run and isolated1 passed, 0 failed)preflight::tests(6 passed, includingwarp_and_no_devicecovering both fallback WARP and explicitwarp_requested) and all 16 non-ignored native/split wave64 GPU tests (gpu_dispatch_matches_native_wave64_reference,gpu_wave64_ps_whole_wave_reductions,gpu_wave64_vs_spill_slots_and_identity,gpu_wave64_ps_spill_slots,console_wave64_compute_through_the_pso_hook_dispatch_and_read_back, etc.) passed with 0 skipsRegression run
main(beaa245):PR (
15a9aa3):Not tested
XCL_ADAPTER=warp; gameplay past the menusAI use
scripts/smoke.ps1harness on this machine and formatted this report.Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T10:37:20Z.
Linux / AMD RDNA3 datapoint.
Merged state: head
15a9aa3onto main6efdabc, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 720 passed, 7 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows. WARP explicit-selection messaging green.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:31:03Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by upipibi on 2026-11-26T04:40:03Z.
NVIDIA test report for
15a9aa3: RTX 3070 8 GB (Ampere, driver 616.56), Windows 11 26100, Rust 1.100.0, debug.cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2(thehle::xaudio2tests hang on this machine, onmaintoo), aftercargo build --workspace:no wave64);e2e3 passed (381 s); every other test binary passes (0 failed).preflight::tests::warp_and_no_devicepasses.hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels("cubemap extra_pages must be reused at same va"), thentransitions_apply_when_their_list_is_submittedandvram::tests::d32s8_targets_take_their_own_size_of_video_memoryon the poisoned lock. The base1c87b1dfails the same three in 2 of 3 lib runs; the head failed them in 2 of 3 too, and passed 666/0 once.title_texturesalone with--test-threads=1passes 13/13 on both.list_x::tests::mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares(E_INVALIDARG at list_x.rs:5731), once in 3 runs; I did not see it on the base in 3 runs, and this PR does not touch d3d12x.Workspace tests only (the e2e tests use the repo's own test title); no game run.
AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:35:52Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:29:33Z.
Triage (#1607) – head
15a9aa3No open or merged PR makes the same change. The new
warp_requestedfield separates an explicitXCL_ADAPTER=warp/d3d12_adapterchoice from the fallback to WARP in preflight.rs, andwarp_and_no_devicecovers both messages. 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.
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-12-03T10:26:52Z.
merge-check
base:
16c2fd082ahead:
15a9aa3395merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3012 passed, 0 failed, 56 ignored (base: the same counts, on
395405e4; only docs and scripts changed since; the PR extends an existing test); SKIPPED: 25, the same as base (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps); failing: nonereview: read the whole diff (1 file, +17 -5). No finding.
XCL_ADAPTERd3d12_adapterautowarp, also with spaces and capitalswarpautowarpThe advice in the new message (remove the variable, or set
d3d12_adaptertoauto) fits both ways of choosing WARP.2) The old message stays for the case where no hardware device was usable. This machine cannot show that case; the PR's test covers it.
3) Only the text changes: the level is still a warning, and the adapter is chosen as before.
4) Not tested: a retail title (none on this machine), AMD.
performance: none: one launcher message.
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)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.