xcl run: XCL_FRAME_DUMP=0 and XCL_DRED=0 turn them off #1643

Open
vladbondarenko97 wants to merge 1 commit from upstream-pr/1653 into main
vladbondarenko97 commented 2026-11-24 18:45:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vladbondarenko97 on 2026-11-24T18:45:23Z.


XCL_FRAME_DUMP=0 turned frame dumps on (every 120th frame) and XCL_DRED=0 turned DRED on, because any value counted as set. 0 and an empty value now mean off for both, the way XCL_TRACE_APU and XCL_DSTORAGE_BCPACK_FILL read theirs. XCL_FRAME_DUMP=1 is still every 120th frame and N > 1 still every N-th.

What is in it

  • crates/xcl/src/hle/d3d12x/present.rs: the XCL_FRAME_DUMP parse moves into the pure frame_dump_every; unset, empty or 0 is off. New test frame_dump_zero_and_empty_are_off.
  • crates/xcl/src/hle/d3d12x/real.rs: XCL_DRED is read like XCL_TRACE_APU (set, non-empty, not 0).

Tested

  • RTX 3080 Ti (driver 32.0.16.1060), i7-12700KF, Windows 11 build 26300, rustc 1.100.0, debug; release for the regression run.
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4: 776 passed, 1 failed, 41 ignored (lib: 728 passed, 0 failed, 21 ignored). The failure is e2e::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.
  • SKIPPED: 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).
  • The new test's 0, empty and 1 cases fail with the old parse: the old expression returns 120 for 0 and 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.ps1 then prints no block; see #1270).

main:

xcl-smoke v1
commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 2517 (PresentX 2517)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 29769 MB

this PR:

xcl-smoke v1
commit: 69f70c154d458d43177fde959aadaa4e56cfa2b5
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 2350 (PresentX 2350)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 32720 MB

Not tested

  • AMD; a retail run with XCL_FRAME_DUMP=0 or XCL_DRED=0 set (the regression runs above use neither).
  • XCL_DRED=0 has no unit test: it is read inside D3D12 device creation.

AI use

  • Claude Code: Claude Sonnet 5.5 wrote the change and the test and ran the build and tests on the box; Claude Opus 5.5 reviewed the diff and ran the two regression runs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s

<!-- greyfinch-sync:ivall/xcl:issue:5478244446 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653). Originally posted by [vladbondarenko97](https://github.com/vladbondarenko97) on 2026-11-24T18:45:23Z. --- `XCL_FRAME_DUMP=0` turned frame dumps on (every 120th frame) and `XCL_DRED=0` turned DRED on, because any value counted as set. `0` and an empty value now mean off for both, the way `XCL_TRACE_APU` and `XCL_DSTORAGE_BCPACK_FILL` read theirs. `XCL_FRAME_DUMP=1` is still every 120th frame and `N > 1` still every N-th. **What is in it** - `crates/xcl/src/hle/d3d12x/present.rs`: the `XCL_FRAME_DUMP` parse moves into the pure `frame_dump_every`; unset, empty or `0` is off. New test `frame_dump_zero_and_empty_are_off`. - `crates/xcl/src/hle/d3d12x/real.rs`: `XCL_DRED` is read like `XCL_TRACE_APU` (set, non-empty, not `0`). **Tested** - RTX 3080 Ti (driver 32.0.16.1060), i7-12700KF, Windows 11 build 26300, rustc 1.100.0, debug; release for the regression run. - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`: 776 passed, 1 failed, 41 ignored (lib: 728 passed, 0 failed, 21 ignored). The failure is `e2e::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. - SKIPPED: `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). - The new test's `0`, empty and `1` cases fail with the old parse: the old expression returns 120 for `0` and 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.ps1` then prints no block; see #1270). main: ``` xcl-smoke v1 commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 2517 (PresentX 2517) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 29769 MB ``` this PR: ``` xcl-smoke v1 commit: 69f70c154d458d43177fde959aadaa4e56cfa2b5 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 2350 (PresentX 2350) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 32720 MB ``` **Not tested** - AMD; a retail run with `XCL_FRAME_DUMP=0` or `XCL_DRED=0` set (the regression runs above use neither). - `XCL_DRED=0` has no unit test: it is read inside D3D12 device creation. **AI use** - Claude Code: Claude Sonnet 5.5 wrote the change and the test and ran the build and tests on the box; Claude Opus 5.5 reviewed the diff and ran the two regression runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
DavidM1911 commented 2026-11-24 21:29:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T21:16:39Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7144715192 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7144715192). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T21:16:39Z. --- 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 commented 2026-11-25 05:08:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:55:39Z.


XCL PR #1653 verification

Clean detached head 69f70c154d458d43177fde959aadaa4e56cfa2b5. The diff touches crates/xcl/src/hle/d3d12x/present.rs (frame-dump interval parsing and its test) and crates/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 --version reported 1.9.2609.5. rustc -vV reported 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized dev/test profiles with debug info and incremental compilation disabled.

Tested

  • cargo build --workspace and cargo test --workspace --no-run succeeded 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 -- --exact with XCL_ADAPTER=NONE_CPU_ONLY outside the mutex: 1 passed, 0 failed, 0 ignored, 0 SKIPPED lines. The parser returns 0 for unset, 0, and empty, 120 for 1, and 5 for 5.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 under Invoke-ArcTest.ps1 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1: exit 101. Summing all 20 test result: lines in pr1653-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 reported CreateComputePipelineState error 0x80070057. Four reported result mismatches in FMA, pixel sampling, f16 VALU, and pixel wave reductions.
  • xcl --test e2e: test_title_runs_and_game_folder_is_untouched failed when the dynamic depth-bias check saw a blue pixel where it expected green.
  • Six lines begin with 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/1 behavior, frame-dump file output, retail-title smoke, sample-dependent paths (XCL_SAMPLE_* unset), and other GPU vendors. There was no matched main run 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.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7153289619 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7153289619). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:55:39Z. --- # XCL PR #1653 verification Clean detached head `69f70c154d458d43177fde959aadaa4e56cfa2b5`. The diff touches `crates/xcl/src/hle/d3d12x/present.rs` (frame-dump interval parsing and its test) and `crates/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 --version` reported 1.9.2609.5. `rustc -vV` reported 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized dev/test profiles with debug info and incremental compilation disabled. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` succeeded 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 -- --exact` with `XCL_ADAPTER=NONE_CPU_ONLY` outside the mutex: 1 passed, 0 failed, 0 ignored, 0 `SKIPPED` lines. The parser returns 0 for unset, `0`, and empty, 120 for `1`, and 5 for `5`. - `cargo test --workspace --no-fail-fast -- --test-threads=4` under `Invoke-ArcTest.ps1` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`: exit 101. Summing all 20 `test result:` lines in `pr1653-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 reported `CreateComputePipelineState` error `0x80070057`. Four reported result mismatches in FMA, pixel sampling, f16 VALU, and pixel wave reductions. - `xcl --test e2e`: `test_title_runs_and_game_folder_is_untouched` failed when the dynamic depth-bias check saw a blue pixel where it expected green. - Six lines begin with `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`/`1` behavior, frame-dump file output, retail-title smoke, sample-dependent paths (`XCL_SAMPLE_*` unset), and other GPU vendors. There was no matched `main` run 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.log` and published.
afpruivo commented 2026-11-26 13:05:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by afpruivo on 2026-11-26T12:18:24Z.


Tested 69f70c1 on an RTX 3090, as part of a batch merged onto main b49be18: no failures, no regression.

  • Batch: #1384 e15ddb2, #1594 6ea563b, #1621 39788e8, #1653 69f70c1. They touch no common file and merged cleanly onto b49be18 (local commit 1e3fb07). Check posted in #1607: B21, https://github.com/xcl-dev/xcl/issues/1607#issuecomment-7191828681.
  • Hardware: RTX 3090 24 GB, driver 621.40, Windows 11 26300, Rust stable MSVC.
  • Suite: cargo test --workspace -- --test-threads=4 (debug): 1,439 passed, 0 failed, 47 ignored. 26 SKIPPED GPU tests, mostly no wave64 on this card; they are not coverage.
  • Smoke: scripts/smoke.ps1, 60 s, retail 1.0.2.1 (title: 3c290c16), release. Peak commit was lower on the batch.
commit frames shown presents per 2 s (last 3) device removals crashes peak commit
main b49be18 1,649 60 60 60 0 0 17,023 MB
batch 1e3fb07 1,627 60 60 60 0 0 15,516 MB
  • I read the diff. A behaviour change worth knowing: before this PR, XCL_DRED=0 turned DRED on (any value did), and XCL_FRAME_DUMP=0 dumped every 120th frame (0 fell back to 120). Both are now off, which matches the PR title.

Not tested: a run that reaches this change on purpose (the smoke title only shows that nothing regresses); AMD.

AI use: Claude Code (Claude Opus 5.5) ran the commands on my machine and drafted this. Checked by me before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7191832513 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7191832513). Originally posted by [afpruivo](https://github.com/afpruivo) on 2026-11-26T12:18:24Z. --- **Tested `69f70c1` on an RTX 3090, as part of a batch merged onto `main` `b49be18`: no failures, no regression.** - **Batch:** #1384 `e15ddb2`, #1594 `6ea563b`, #1621 `39788e8`, #1653 `69f70c1`. They touch no common file and merged cleanly onto `b49be18` (local commit `1e3fb07`). Check posted in #1607: B21, https://github.com/xcl-dev/xcl/issues/1607#issuecomment-7191828681. - **Hardware:** RTX 3090 24 GB, driver 621.40, Windows 11 26300, Rust stable MSVC. - **Suite:** `cargo test --workspace -- --test-threads=4` (debug): 1,439 passed, 0 failed, 47 ignored. 26 `SKIPPED` GPU tests, mostly no wave64 on this card; they are not coverage. - **Smoke:** `scripts/smoke.ps1`, 60 s, retail 1.0.2.1 (`title: 3c290c16`), release. Peak commit was lower on the batch. | | commit | frames shown | presents per 2 s (last 3) | device removals | crashes | peak commit | |---|---|---|---|---|---|---| | `main` | `b49be18` | 1,649 | 60 60 60 | 0 | 0 | 17,023 MB | | batch | `1e3fb07` | 1,627 | 60 60 60 | 0 | 0 | 15,516 MB | - I read the diff. A behaviour change worth knowing: before this PR, `XCL_DRED=0` turned DRED on (any value did), and `XCL_FRAME_DUMP=0` dumped every 120th frame (0 fell back to 120). Both are now off, which matches the PR title. **Not tested:** a run that reaches this change on purpose (the smoke title only shows that nothing regresses); AMD. **AI use:** Claude Code (Claude Opus 5.5) ran the commands on my machine and drafted this. Checked by me before posting.
Decodere commented 2026-11-27 14:25:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T14:25:53Z.


Independent desktop NVIDIA verification of PR #1653 at head 69f70c154d458d43177fde959aadaa4e56cfa2b5 (1 commit; exact parent & merge-base: 9e3831e1f570d3646e53ab753b19ec07eb8f1485, pre-#2555 ancestor of main).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12, Wave32-only Ada), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6C / 12T), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200 (Developer Mode off)
  • Toolchain: rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC 1.9.2609.5, --release

Targeted tests & build (69f70c15)

Command Result
cargo test --release -p xcl --lib -- --nocapture frame_dump_zero_and_empty_are_off (3 consecutive runs) 1 passed; 0 failed; 0 ignored; 748 filtered out × 3 (0.00s, 0.00s, 0.00s, 0 skipped)
cargo test --release -p xcl --lib -- --nocapture hle::d3d12x::present:: (3 consecutive runs) 7 passed; 0 failed; 0 ignored; 742 filtered out × 3 (0.02s, 0.02s, 0.02s, 0 skipped)
cargo build --release -p xcl Clean build (1m 13s, exit 0, 0 new warnings in PR-touched lines)

Paired quiet 60 s retail smoke (title: 29640639)

(Note: scripts/smoke.ps1 at 9e3831e1 predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)

Exact parent & merge-base (9e3831e1f570d3646e53ab753b19ec07eb8f1485, cached baseline on the same machine):

xcl-smoke v1
commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1549 (PresentX 1549)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14715 MB

PR #1653 (69f70c154d458d43177fde959aadaa4e56cfa2b5):

xcl-smoke v1
commit: 69f70c154d458d43177fde959aadaa4e56cfa2b5
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1554 (PresentX 1555)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14714 MB

Limits of coverage

  • frame_dump_zero_and_empty_are_off and the full hle::d3d12x::present:: suite (7/7, 0 skipped) passed 3/3, directly verifying frame_dump_every treats None, "", and "0" as off (0), "1" as 120, and "5" as 5.
  • The XCL_DRED=0 guard in real.rs was inspected in the diff (is_ok_and(|v| !v.trim().is_empty() && v.trim() != "0")) and is not directly exercised by a unit test or by an explicit XCL_DRED=0 smoke launch; the 60 s retail smoke confirms default runtime stability (0 device removals, 0 crashes, steady 60 Hz).

AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ivall/xcl:comment:7220773343 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7220773343). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T14:25:53Z. --- Independent desktop NVIDIA verification of **PR #1653** at head `69f70c154d458d43177fde959aadaa4e56cfa2b5` (`1` commit; exact parent & merge-base: `9e3831e1f570d3646e53ab753b19ec07eb8f1485`, pre-`#2555` ancestor of `main`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12, Wave32-only Ada), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6C / 12T), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` (Developer Mode off) - **Toolchain:** `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC `1.9.2609.5`, `--release` ### Targeted tests & build (`69f70c15`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --lib -- --nocapture frame_dump_zero_and_empty_are_off` (3 consecutive runs) | `1 passed; 0 failed; 0 ignored; 748 filtered out` × 3 (`0.00s`, `0.00s`, `0.00s`, `0` skipped) | | `cargo test --release -p xcl --lib -- --nocapture hle::d3d12x::present::` (3 consecutive runs) | `7 passed; 0 failed; 0 ignored; 742 filtered out` × 3 (`0.02s`, `0.02s`, `0.02s`, `0` skipped) | | `cargo build --release -p xcl` | Clean build (`1m 13s`, exit `0`, `0` new warnings in PR-touched lines) | ### Paired quiet 60 s retail smoke (`title: 29640639`) *(Note: `scripts/smoke.ps1` at `9e3831e1` predates `9683e7a6` and printed the local folder basename on `title:`; replaced below with the standard `9683e7a6` title hash `29640639`, with all measured fields verbatim.)* Exact parent & merge-base (`9e3831e1f570d3646e53ab753b19ec07eb8f1485`, cached baseline on the same machine): ``` xcl-smoke v1 commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1549 (PresentX 1549) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14715 MB ``` PR #1653 (`69f70c154d458d43177fde959aadaa4e56cfa2b5`): ``` xcl-smoke v1 commit: 69f70c154d458d43177fde959aadaa4e56cfa2b5 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1554 (PresentX 1555) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14714 MB ``` ### Limits of coverage - `frame_dump_zero_and_empty_are_off` and the full `hle::d3d12x::present::` suite (`7/7`, `0` skipped) passed `3/3`, directly verifying `frame_dump_every` treats `None`, `""`, and `"0"` as off (`0`), `"1"` as `120`, and `"5"` as `5`. - The `XCL_DRED=0` guard in `real.rs` was inspected in the diff (`is_ok_and(|v| !v.trim().is_empty() && v.trim() != "0")`) and is not directly exercised by a unit test or by an explicit `XCL_DRED=0` smoke launch; the 60 s retail smoke confirms default runtime stability (`0` device removals, `0` crashes, steady 60 Hz). *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
throny commented 2026-11-28 14:12:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T14:12:43Z.


merge-check claim
head: 69f70c154d

<!-- greyfinch-sync:ivall/xcl:comment:7240500781 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7240500781). Originally posted by [throny](https://github.com/throny) on 2026-11-28T14:12:43Z. --- merge-check claim head: 69f70c154d458d43177fde959aadaa4e56cfa2b5
throny commented 2026-11-28 14:26:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T14:26:31Z.


merge-check
base: b937fbab
head: 69f70c154d
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2141 passed, 1 failed, 48 ignored (26 SKIPPED lines). The one failure is gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions, which fails on main without this PR too (reported on #3093) and in every tree of this batch; the nine failures main had since #2959 are gone at b937fbab. I did not run b937fbab alone: the last base-only run is e13d6250 (2130 passed, 10 failed, 48 ignored).
review: one thing missing for XCL_DRED=0: the PR changes the test in real.rs, but hle/d3d12x/dred.rs on main has its own (on() at line 37 reads only whether the variable is set) and the PR does not touch that file. With XCL_DRED=0 the device then has DRED off, but XCL still adds a marker and a pipeline label after every pipeline bind. One helper used in both places would do it. The frame-dump parsing is fine (unset, empty or 0 is off; 1 and unparsable values mean every 120th frame; N above 1 means every N-th). Open from the thread: the DRED part has no test.
performance: none by default; with XCL_DRED=0 the per-bind marker cost stays, which is what the switch is meant to remove.
verdict: not yet: give dred.rs the same parse (one shared helper) and a test for it; small, I will rerun on the new head.
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).

<!-- greyfinch-sync:ivall/xcl:comment:7240672482 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7240672482). Originally posted by [throny](https://github.com/throny) on 2026-11-28T14:26:31Z. --- merge-check base: b937fbab head: 69f70c154d458d43177fde959aadaa4e56cfa2b5 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2141 passed, 1 failed, 48 ignored (26 SKIPPED lines). The one failure is gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions, which fails on main without this PR too (reported on #3093) and in every tree of this batch; the nine failures main had since #2959 are gone at b937fbab. I did not run b937fbab alone: the last base-only run is e13d6250 (2130 passed, 10 failed, 48 ignored). review: one thing missing for XCL_DRED=0: the PR changes the test in real.rs, but hle/d3d12x/dred.rs on main has its own (`on()` at line 37 reads only whether the variable is set) and the PR does not touch that file. With XCL_DRED=0 the device then has DRED off, but XCL still adds a marker and a pipeline label after every pipeline bind. One helper used in both places would do it. The frame-dump parsing is fine (unset, empty or 0 is off; 1 and unparsable values mean every 120th frame; N above 1 means every N-th). Open from the thread: the DRED part has no test. performance: none by default; with XCL_DRED=0 the per-bind marker cost stays, which is what the switch is meant to remove. verdict: not yet: give dred.rs the same parse (one shared helper) and a test for it; small, I will rerun on the new head. 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).
Foniass commented 2026-12-01 06:24:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:24:30Z.


Triage (#1607) – head 69f70c1

Half of this is already on main. XCL_FRAME_DUMP=0 (and empty) turning dumps off landed in 5179437b (parse_frame_dump_every in present.rs, which also accepts false/off), so the frame_dump_every part can go.
XCL_DRED=0 is still treated as on by main. Main has moved the DRED setup to gpu/agility.rs (dred_request, read in enable_dred_once), and hle/d3d12x/dred.rs and real.rs each read var_os("XCL_DRED").is_some() again, so the init hunk here no longer applies. A rebase would need to handle 0 in dred_request and in those two readers.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7302836821 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1653#issuecomment-7302836821). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:24:30Z. --- **Triage (#1607)** – head 69f70c1 Half of this is already on main. `XCL_FRAME_DUMP=0` (and empty) turning dumps off landed in 5179437b (`parse_frame_dump_every` in `present.rs`, which also accepts `false`/`off`), so the `frame_dump_every` part can go. `XCL_DRED=0` is still treated as on by main. Main has moved the DRED setup to `gpu/agility.rs` (`dred_request`, read in `enable_dred_once`), and `hle/d3d12x/dred.rs` and `real.rs` each read `var_os("XCL_DRED").is_some()` again, so the `init` hunk here no longer applies. A rebase would need to handle `0` in `dred_request` and in those two readers. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1653:upstream-pr/1653'
git switch 'upstream-pr/1653'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/1653'
git switch 'upstream-pr/1653'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1653'
git switch 'upstream-pr/1653'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1653'
git switch 'main'
git merge --squash 'upstream-pr/1653'
git switch 'main'
git merge --ff-only 'upstream-pr/1653'
git switch 'main'
git merge 'upstream-pr/1653'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1643
No description provided.