Changed "fetch_update" for "try_update" #2191
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2201"
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 nar001 on 2026-11-25T09:09:52Z.
What is in it
Tested
Regression run
main:
PR:
Not tested
AI use
Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T09:36:23Z.
Regression run of
62a7c9d6on the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon568e7db7, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 105 % of
main's frames, 101 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; a script posted this right after the run, with both blocks exactly as printed.Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T09:52:50Z.
Correction: please disregard my first version of this comment. I said this head doesn't build on stable Rust, but that came from an outdated toolchain on my machine (rustc 1.90.0, where
try_updateon the atomics is still unstable). With Rust 1.98.1,cargo check -p xcl --releaseof head62a7c9dsucceeds. CI installs the current stable, so this PR is fine there.The only concern left is a small one.
try_updateneeds a newer toolchain thanfetch_updatedid, so a contributor on an older stable getsE0658(atomic_try_update). If the project wants to support older toolchains, arust-versioninCargo.tomlwould say so. That's up to the maintainer, not something this PR must change.Regression run: a retail title, from
scripts/smoke.ps1as printed. 60 s, release, default settings, A pressed every 4 s from 20 s. RTX 3060 12 GB, Windows 11, both commits built with Rust 1.98.1.base (
8c4a46a):this PR:
No device removal or crash. Frames are 102 % of the base's and peak commit is 94 %. This is a regression check only: the run does not show whether the title reaches the changed paths.
AI use: Claude Code (Claude Opus 5.5) built the commits with both toolchains, ran the smoke pair and wrote this comment.
Imported from ivall/xcl. Originally posted by SergeAx on 2026-11-25T11:21:34Z.
Test report on head
62a7c9d(its parent ismain8c4a46a).Tested
XCL_DXC_DIR)cargo build --workspace: 0 warnings. Onmain568e7dbthe same build has the twouse of deprecated method ... fetch_updatewarnings this PR removes (hle/d3d12x/real.rs:3388,hle/xgameruntime/mod.rs:547).cargo test --workspace --no-fail-fast -- --test-threads=4: 993 passed, 2 failed, 45 ignored (lib tests 944 / 2 / 25). The e2e test, whose title callsXUserCloseHandle, passed.8c4a46aand onmain568e7db:gpu::recomp::heap_window_tests::gpu_raw_window_view_reaches_its_top:HRESULT(0x80070057)atheap_window_tests.rs:100hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it: 20 of 40 ExecuteIndirects ran group count 0no GPU, 21no GPU with 32-lane waves, 20no SM 6.6 (on Windows 10, set XCL_D3D12_DIR to a D3D12 Agility SDK folder), 2no wave64, one eachno wave32,no heap windows,no GPU with 32- or 64-lane waves,no GPU / DXC / mesh shaders.Not tested
driver_pso(real.rs):heap_window_out_of_memory_falls_back_to_the_switch_form, the test that reaches it, skipped (no heap windows).AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T15:54:23Z.
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 github-actions[bot] on 2026-11-29T20:43:13Z.
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.Pull request closed