Driver watch trips on Windows' Auto HDR information event (Display 4125) 8 s after launch, so draw windows stay off for the whole run #1077
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#1077
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Ryanarcx2 on GitHub · 2026-11-25 18:39 UTC · original
Build:
ca8829f, diagnostics build (cargo build --profile diag -p victory --features diagnostics).d510ee4doesn't touchdrvwatch.rs.Machine: RTX 5070 Ti 16 GB (driver 32.0.16.1742), Ryzen 7 9800X3D, 32 GB, Windows 11 25H2 (26200)
Switches:
VICTORY_INDIRECT_WINDOW=1 VICTORY_COPY_PLAIN=1 VICTORY_JOIN_PARTS=1 VICTORY_BACK_OWN_VIEW=1 VICTORY_INDIRECT_GATHER=1 VICTORY_CARD_REHASH_RUNS=1, Series X profile, warm cacheWhat happened: 8 seconds after launch the driver watch logged its one and only "error" and turned off the paths under suspicion for the rest of the 15-minute run:
From then on, every frame logged
indirect commands per frame by their clamp: 0 read from a window, and the final count waserrors the graphics driver reported to the system since the start: 1.The System event log has exactly one matching entry in the run's time window. It isn't a driver error. It's Windows enabling Auto HDR for the game:
There were no
nvlddmkmentries during the run, and the game didn't lose the device. It was still running when the script stopped it at the time limit.Cause: the subscription query in
drvwatch.rsfilters by provider only:*[System[Provider[@Name='nvlddmkm' or ... or @Name='Display']]]Any
Displayentry trips it, including information-level ones. On this PC, Windows has logged 4125 (Information) 46 times since 24 Nov, including within seconds of the start of each of my six earlier test runs today. With Auto HDR on, every run loses the draw windows within seconds. A speed run on such a machine then measures the switches with windows off.Possible fix (not tested): add a level filter, e.g.
*[System[Provider[...] and (Level=1 or Level=2 or Level=3)]], or limitDisplayto event 4101 ("display driver stopped responding and has recovered").Workaround: turn off Auto HDR, or set
VICTORY_DRIVER_WATCH=0.AI-assisted (Claude Code); the run is mine.
github-bot referenced this issue2026-11-26 03:57:30 +00:00
@iGoldenNinja on GitHub · 2026-11-25 18:41 UTC · original
We saw the same early latch on an RTX 5080 / 617.14 / Windows 11 25H2, but our matching Auto HDR entry was Display ID 4127 at Information level. Lkxex included a narrow 4127 filter in PR #897. The native test kept 60 recorded NVIDIA ID 153 events selected and a later Auto HDR prompt did not trip the patched watcher. Native test · Exact filter
Your 4125 observation identifies a second Auto HDR event. The existing filter excludes only 4127 at Information level, so 4125 still matches it. A follow-up needs to cover both event IDs and verify that genuine recovery events still reach the watcher.
@KainanP on GitHub · 2026-11-25 19:27 UTC · original
Fix with a level filter instead of per-ID suppression: #1101.
Displaynow counts only from warning level up (4101, the TDR recovery, is a warning; 4125/4127 are information), and vendor drivers count at any level. Its end-to-end test fails with the old provider-only query. AI use: Claude Code (Claude Opus 5.5).