The driver watch counts warnings and errors only, not the Auto HDR notice #1255
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!1255
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1255/head"
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?
@CarverXI on GitHub · 2026-11-26 02:52 UTC · original
CarverXI:fix/drvwatch-auto-hdr→main· +14 −6 · 1 files · 1 commits · merged 2026-11-26 03:41 UTCPart 1 of #1253.
Problem
drvwatchsubscribes to every System-log entry of theDisplaysource. That source also writes information entries that are no fault, among them 4125 ("Good news-… has been enhanced"), the Auto HDR notice Windows 11 writes when a game's window first shows. On a machine with Auto HDR on, the watch logged "the graphics driver reported an error to the system's event log" about one second into every run and turned the draw windows off for the rest of it, soVICTORY_INDIRECT_WINDOW=1never took effect there.Change
The query (now the constant
QUERY, used bystartand bythe_system_takes_the_subscription) asks for levels 1 to 3 only: critical, error, warning.Display4101 ("display driver stopped responding and has recovered") is a warning, so it stays in;nvlddmkm153 is an error and stays in.Checked
Get-WinEvent -FilterXPath: it returns the onenvlddmkm153 error and none of the 14Display4125 entries; the old query returns all 15.drvwatcherror at 1.0 s after start, at the same second as theDisplay4125 entry in the System log; after it, 0 trips in 39 runs of up to five minutes each, with draw windows on throughout.cargo test -p victory-gpu --features diagnostics drvwatch: 2 passed (the subscription test now subscribes with the new query), 1 ignored as before.cargo clippyreports nothing indrvwatch.rs.One file,
crates/victory-gpu/src/drvwatch.rs.🤖 Generated with Claude Code
The subscription took every entry of the `Display` source, which also writes information entries that are no fault. Windows 11 writes one of them, 4125 ("Good news-... has been enhanced", Auto HDR), when a game's window first shows: on a machine with Auto HDR on it tripped the switch about a second into every run, and the draw windows were off from the start. Measured on an RTX 5090 (driver 621.01): n=1 at 1.0 s in every run, no device loss after. The query now asks for levels 1-3 (critical, error, warning). On the test machine's System log it keeps the one nvlddmkm 153 error and drops all 14 Auto HDR entries; Display 4101 ("stopped responding and has recovered") is a warning and stays in.