Frame clock: a 24 Hz frame interval (41,667 µs) is a valid one #3294
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3294"
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 Foniass on 2026-11-29T06:18:54Z.
SetFrameIntervalX accepts only the intervals interval_valid knows: 60,
30, 20 and 15 Hz, and 120 / 40 Hz on a 120 Hz display, each within the
rounding a title may use. A title asking for 24 Hz (41,667 µs) got
E_INVALIDARG and kept its previous interval. 41,667 µs (within 42 µs,
like the others) is now valid.
Ported from amd-dev
48cf7139(its frame.rs part), raylitebull.What is in it
crates/xcl/src/hle/d3d12x/frame.rs:interval_validaccepts 41,667 µs (±42); testinterval_valid_accepts_24hzTested
cargo test --workspace --no-fail-fast -- --test-threads=4on036978af: 2605 passed, 4 failed, 49 ignored. The 4 failures aregpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3(E_OUTOFMEMORYfromCreateComputePipelineState, seeds 70 / 545 / 1019 / 1507), the same as on main on this machine; they pass on another RTX 5070 Ti. SKIPPED GPU tests: 44 notices, almost allno wave64.Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-29T07:54:02Z.
merge-check
base:
fa204595head:
036978afverdict: safe to merge
Merged cleanly onto
origin/main(fa204595) in a 5-PR batch (#3288,#3290,#3292,#3294,#3300) and verified on NVIDIA GeForce RTX 5070 Ti with DXC 1.9.2609.5:hle::d3d12x::frame::tests(including 24 Hz frame interval): all passed.gpu::: 853 passed, 0 failed, 24 ignored (10.45 s, includingfuzz_validate_and_gpu_0..3).hle::d3d12x::(--test-threads=1, skipping 2 knownmain#3187uma_drivermixed-window tests): 1144 passed, 0 failed, 3 ignored (30.21 s).xcl --lib(--test-threads=1): 0 failed.-p xcl --test e2e(after rebuildingxcl-testtitle): 5 passed, 0 failed (including D3D12 debug layer + DRED).Build and test (Windows, no GPU)andPR description): green.Imported from ivall/xcl. Originally posted by throny on 2026-11-29T09:21:22Z.
merge-check claim
head:
036978af7fImported from ivall/xcl. Originally posted by throny on 2026-11-29T09:36:12Z.
merge-check
base:
d8bd9a38head:
036978af7fmerge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2619 passed, 0 failed, 49 ignored (27 SKIPPED lines). Base alone at
d8bd9a38: 2618 passed, 0 failed, 49 ignored.review: no blocking finding. 41,667 µs is accepted as a frame interval; the range overlaps no existing one and the test fails on main. A question rather than a finding: at 60 Hz the existing list accepts only whole multiples of the period, and 25,000 µs (1.5 periods) only with
high_refresh; 41,667 µs is 2.5 periods at 60 Hz, so by the same rule it would belong underhigh_refresh. On the PC the clock is a timer, so accepting it does no harm.performance: none.
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).