The driver watch counts warnings and errors only, not the Auto HDR notice #1252
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1255"
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?
Imported from fxceless/victory-fork. Originally posted by CarverXI on 2026-11-26T02:52:29Z.
Part 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