xcl run: XCL_FRAME_DUMP=0 and XCL_DRED=0 turn them off #1653
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!1653
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1653"
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?
@vladbondarenko97 on GitHub · 2026-11-24 18:45 UTC · original
vladbondarenko97:xcl-run/env-zero-off→main· +20 −6 · 2 files · 1 commits · openXCL_FRAME_DUMP=0turned frame dumps on (every 120th frame) andXCL_DRED=0turned DRED on, because any value counted as set.0and an empty value now mean off for both, the wayXCL_TRACE_APUandXCL_DSTORAGE_BCPACK_FILLread theirs.XCL_FRAME_DUMP=1is still every 120th frame andN > 1still every N-th.What is in it
crates/xcl/src/hle/d3d12x/present.rs: theXCL_FRAME_DUMPparse moves into the pureframe_dump_every; unset, empty or0is off. New testframe_dump_zero_and_empty_are_off.crates/xcl/src/hle/d3d12x/real.rs:XCL_DREDis read likeXCL_TRACE_APU(set, non-empty, not0).Tested
cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4: 776 passed, 1 failed, 41 ignored (lib: 728 passed, 0 failed, 21 ignored). The failure ise2e::test_title_runs_and_game_folder_is_untouched(presents: 0; the run was over SSH without a desktop session), which fails the same way on main on this machine.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64);heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).0, empty and1cases fail with the old parse: the old expression returns 120 for0and empty (checked by compiling it on its own).Regression run
Both 120 s (at 600 s both main and this branch reach the world load on this card and are killed there, and main's
smoke.ps1then prints no block; see #1270).main:
this PR:
Not tested
XCL_FRAME_DUMP=0orXCL_DRED=0set (the regression runs above use neither).XCL_DRED=0has no unit test: it is read inside D3D12 device creation.AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
@DavidM1911 on GitHub · 2026-11-24 21:16 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.Thanks!
@JJAutoCompare on GitHub · 2026-11-25 04:55 UTC · original
XCL PR #1653 verification
Clean detached head
69f70c154d458d43177fde959aadaa4e56cfa2b5. The diff touchescrates/xcl/src/hle/d3d12x/present.rs(frame-dump interval parsing and its test) andcrates/xcl/src/hle/d3d12x/real.rs(DRED opt-in).STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200, AMD64 Family 23 Model 113 (~3.9 GHz), Intel Arc A770 (driver 32.0.101.9175).
dxc.exe --versionreported 1.9.2609.5.rustc -vVreported 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized dev/test profiles with debug info and incremental compilation disabled.Tested
cargo build --workspaceandcargo test --workspace --no-runsucceeded outside the Arc mutex. Cargo listed 19 test executables.cargo test -p xcl --lib hle::d3d12x::present::frame_dump_tests::frame_dump_zero_and_empty_are_off -- --exactwithXCL_ADAPTER=NONE_CPU_ONLYoutside the mutex: 1 passed, 0 failed, 0 ignored, 0SKIPPEDlines. The parser returns 0 for unset,0, and empty, 120 for1, and 5 for5.cargo test --workspace --no-fail-fast -- --test-threads=4underInvoke-ArcTest.ps1withXCL_ADAPTER=A770andRUST_TEST_NOCAPTURE=1: exit 101. Summing all 20test result:lines inpr1653-suite.log(19 executables plus doc-tests) gives 761 passed, 16 failed, 41 ignored. The log identifies the A770, and the frame-dump parser test passed again.Workspace failures and skips
xcl --lib: 15 GPU recompiler failures. Eleven reportedCreateComputePipelineStateerror0x80070057. Four reported result mismatches in FMA, pixel sampling, f16 VALU, and pixel wave reductions.xcl --test e2e:test_title_runs_and_game_folder_is_untouchedfailed when the dynamic depth-bias check saw a blue pixel where it expected green.SKIPPED: two for wave64, two for the D3D12 debug layer, one for tiled tier below 2, and one for unavailable heap windows. These cases provide no coverage.Not tested
Live
XCL_DRED=0/1behavior, frame-dump file output, retail-title smoke, sample-dependent paths (XCL_SAMPLE_*unset), and other GPU vendors. There was no matchedmainrun to establish whether the workspace failures predate this PR.AI use
T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1653-suite.logand published.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.