Tests: accept Wine’s zero DWM cloak value after a successful query #1481
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!1481
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1481"
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?
@gurvancampion on GitHub · 2026-11-24 16:46 UTC · original
gurvancampion:topic/testtitle-wine-cloak→main· +52 −4 · 1 files · 1 commits · openGE-Proton 11-12 returns
S_OKfor both DWM calls but reports zero forDWMWA_CLOAKED. The test title now accepts that value only on Wine. Both window variants must still pass the style and client-size checks. Related to #175.What is in it
tests/testtitle/src/main.rschecks the query HRESULT on every host and tests the Wine exception and native Windows requirement.Tested
rustc 1.99.0,cargo-xwin 0.24.1, debugx86_64-pc-windows-msvc. The RTX 5090 was disabled for testing (NO_GPU=1, Vulkan ICD disabled, Wine built-in DXGI withrenderer=no3d).cargo xwin build --workspace --target x86_64-pc-windows-msvcpassed on main and the PR commit.cargo xwin test -p xcl --target x86_64-pc-windows-msvc --test e2e test_title_runs_and_game_folder_is_untouched -- --nocaptureprinted[FAIL] user32 … W: not cloakedon main and[PASS] user32on the PR commit. The enclosing test still failed on both revisions, with storage and graphics failures in both runs.cargo xwin test -p xcl-testtitle --target x86_64-pc-windows-msvc -- --nocapturehad 2 failures with main's cloak assertion and 2 passes with the fix.cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4. Main930e8b4had 737 passed, 14 failed and 41 ignored. PR commit827617ehad 739 passed, the same 14 failed and 41 ignored. On each commit, 108 GPU skips were included in the pass count (107no GPU, 1no GPU with 32- or 64-lane waves).Regression run
The synthetic test title exercised the DWM query on both revisions. Retail smoke runs are only required for runtime changes.
Not tested
AI use
gpt-6.2-sol) investigated the failure, wrote the patch and tests, ran the checks, and drafted this description. Antigravity (Gemini 4 Neon) coordinated, reviewed the diff, and verified the PR checks. The author reviewed the diff and description before opening the PR.@futurepro62 on GitHub · 2026-11-24 17:20 UTC · original
Full-suite run, since this PR has no test report yet. Tested exact head
827617e(on its base930e8b4). Passes on both GPUs, on native Windows.Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4, run alone: 752 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.fine_timer_makes_short_sleeps_short(Sleep(1)over its limit), a timing check this PR doesn't touch. It passed when run alone.cloak_query_requires_s_ok,zero_cloak_requires_wine.test_title_runs_and_game_folder_is_untouchedpassed too.XCL_ADAPTER=radeon): 752 passed, 0 failed, 41 ignored, nothing skipped.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 18:53 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 05:26 UTC · original
Empirical test report (827617ef)
Verified PR #1481 at
827617ef9870aa2ad10fa21ba672cb9c1226b0b6.Hardware / environment
XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1.rustc 1.100.0 (0ef1bc386 2026-11-09). DXC reporteddxcompiler.dll: 1.9(5512-01b62ad4)(1.9.2609.5) - 1.9.2609.5 (01b62ad47). Cargo used its unoptimized test profile with incremental compilation and debug info disabled.Commands and results
cargo test --workspace --no-runbuilt all workspace test executables and exited 0.cargo test -p xcl-testtitle --bin xcl_testtitle cloakexited 0 with 2 passed, 0 failed, 0 ignored, 0 skipped, and 0 filtered out. Bothtests::zero_cloak_requires_wineandtests::cloak_query_requires_s_okpassed.Observed behavior
S_OK, the checker rejected a zero cloak value for the native Windows branch and accepted zero for the Wine branch. A nonzero cloak value passed in both branches.E_NOTIMPL,E_INVALIDARG, orS_FALSE, the checker reported the returned HRESULT for both zero and nonzero cloak values on either branch. The run on Windows 11 measured the checker's handling of supplied values. The zero value reported by the PR on GE-Proton 11-12 was represented by a fixture input.Not tested
Live Windows DWM calls, Wine behavior, the full GPU workspace suite, and game smoke runs were omitted.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1481-focused.logand published.@DavidM1911 on GitHub · 2026-11-26 05:27 UTC · original
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
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.