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

Open
opened 2026-11-26 03:57:06 +00:00 by github-bot · 2 comments
Owner

@⁠Ryanarcx2 on GitHub · 2026-11-25 18:39 UTC · original

Build: ca8829f, diagnostics build (cargo build --profile diag -p victory --features diagnostics). d510ee4 doesn't touch drvwatch.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 cache

What 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:

17:12:43.018842Z ERROR victory_gpu::drvwatch: the graphics driver reported an error to the system's event log: from now on the paths under suspicion are off for this run (draw windows clamp each record again) n=1

From then on, every frame logged indirect commands per frame by their clamp: 0 read from a window, and the final count was errors 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:

2026/11/25 19:12:43 (local, UTC+2)  Provider: Display  Id: 4125  Level: Information
"Good news-%1 has been enhanced for a brighter and more detailed picture. You can turn off Auto HDR any time in Settings."

There were no nvlddmkm entries 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.rs filters by provider only:
*[System[Provider[@Name='nvlddmkm' or ... or @Name='Display']]]
Any Display entry 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 limit Display to 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.

**@⁠Ryanarcx2** on GitHub · 2026-11-25 18:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/1077) **Build:** `ca8829f`, diagnostics build (`cargo build --profile diag -p victory --features diagnostics`). `d510ee4` doesn't touch `drvwatch.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 cache **What 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: ``` 17:12:43.018842Z ERROR victory_gpu::drvwatch: the graphics driver reported an error to the system's event log: from now on the paths under suspicion are off for this run (draw windows clamp each record again) n=1 ``` From then on, every frame logged `indirect commands per frame by their clamp: 0 read from a window`, and the final count was `errors 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: ``` 2026/11/25 19:12:43 (local, UTC+2) Provider: Display Id: 4125 Level: Information "Good news-%1 has been enhanced for a brighter and more detailed picture. You can turn off Auto HDR any time in Settings." ``` There were no `nvlddmkm` entries 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.rs` filters by provider only: `*[System[Provider[@Name='nvlddmkm' or ... or @Name='Display']]]` Any `Display` entry 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 limit `Display` to 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 locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:06 +00:00
Author
Owner

@⁠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.

**@⁠iGoldenNinja** on GitHub · 2026-11-25 18:41 UTC · [original](https://github.com/fxceless/victory-fork/issues/1077#issuecomment-7171259207) 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](https://git.gtahub.st/github/fxceless--victory-fork/pulls/897) · [Exact filter](https://github.com/fxceless/victory-fork/commit/ad6bc216c8ef6c8ae6db5342596a19b85945a1f5) 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.
Author
Owner

@⁠KainanP on GitHub · 2026-11-25 19:27 UTC · original

Fix with a level filter instead of per-ID suppression: #1101. Display now 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).

**@⁠KainanP** on GitHub · 2026-11-25 19:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/1077#issuecomment-7172323724) Fix with a level filter instead of per-ID suppression: #1101. `Display` now 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)._
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#1077
No description provided.