Test the production driver-watch subscription query #897
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!897
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-897"
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?
@Lkxex on GitHub · 2026-11-25 12:12 UTC · original
Lkxex:fix/test-real-driver-watch-query→main· +16 −10 · 1 files · 2 commits · openThe subscription smoke test used a shorter provider filter than the runtime. Share the actual query so Windows validates all of the production XPath. Give the test a no-op callback so a real event cannot trip the process-wide switch during the counter test.
Validation: cargo test --locked -p victory-gpu --features diagnostics --lib drvwatch::tests. Two tests passed. The test that writes an event to the Windows Application log remained ignored.
AI-assisted.
@iGoldenNinja on GitHub · 2026-11-25 12:38 UTC · original
The production query has a false positive on my RTX 5080 16 GB, driver 617.14, Windows 11 Pro 25H2 build 26200.9974, Ryzen 9 5900X and 32 GB RAM. In an
a253706-based run (bbc35d0), the watcher latched 5.2 seconds after subscription while the draw-window test still had windows off. The matching System event was providerDisplay, ID4127, Level4(Information), for the Windows Auto HDR prompt. The title continued into controllable prison.I tested a small patch based on this PR's
706fba8. The shared structured Windows query suppresses only that provider, ID, and level combination. Running the exact query against this machine's System log kept 62 of the 102 events accepted by the original filter. The 40 dropped records were all Auto HDR prompts. All 60 recordednvlddmkmID 153 events remained selected. The native production subscription and latch/count tests passed.In the integrated build
74becd8, Windows recorded another Auto HDR prompt at startup. The native subscription stayed active and Player A was reached without the driver-watch latch firing. Patch. Testing and reporting assisted by OpenAI Codex.@ArturoWolff on GitHub · 2026-11-25 12:45 UTC · original
Linux/Proton coverage note: the Windows Auto HDR result above depends on having a working event subscription. In our GE-Proton11-14 x64
wevtapi.dll,EvtSubscribereturns a null handle on both paths, regardless of the XPath.llvm-objdump -d --disassemble-symbols=EvtSubscribe wevtapi.dllshows an optional Wine debug-log call and then a zero return; neither path registers the callback. DLL SHA-256:11fc10e3954a429812639fdf37a028656d49b88c344b907998ca0014cd883e6d.So on this build the subscription test cannot validate the production query, and an untripped watcher is not evidence of an error-free GPU run. I'd keep the native Windows assertion and report the Event Log capability separately in Proton test results. This is a static check of the shipped DLL against
drvwatch.rsat0b0074e, not a new test-suite or game run.AI disclosure: Hermes Agent inspected the binary and source and wrote this note on ArturoWolff’s behalf.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.