Changed "fetch_update" for "try_update" #2201
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2201
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@nar001 on GitHub · 2026-11-25 09:09 UTC · original
nar001:main→main· +2 −2 · 2 files · 1 commits · openWhat is in it
Tested
Regression run
main:
PR:
Not tested
AI use
@Toons29 on GitHub · 2026-11-25 09:36 UTC · original
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.@Anon64 on GitHub · 2026-11-25 09:52 UTC · original · edited 2026-11-25 09:57 UTC
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.
@SergeAx on GitHub · 2026-11-25 11:21 UTC · original
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
@DavidM1911 on GitHub · 2026-11-25 15:54 UTC · original
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!
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.