Skip to content

Preserve valid WDDM process memory rows#7

Merged
xptea merged 1 commit into
mainfrom
agent/wddm-row-hotfix
Jul 13, 2026
Merged

Preserve valid WDDM process memory rows#7
xptea merged 1 commit into
mainfrom
agent/wddm-row-hotfix

Conversation

@xptea

@xptea xptea commented Jul 13, 2026

Copy link
Copy Markdown
Owner

What changed

  • invalidate only the individual WDDM dedicated-memory rows that are impossible
  • preserve every other process VRAM value instead of blanking the entire column
  • use current NVIDIA board allocation plus bounded sampling slack to catch the reported stale DWM value as well as the 75+ GiB Zen value
  • bump the corrective release to 1.3.2 and update the accounting documentation

Root cause

The 1.3.1 fallback deliberately quarantined the entire dedicated-memory snapshot after detecting one corrupt counter. That behavior was tested, but it was the wrong product behavior because it destroyed the primary per-process view.

Live verification on the reported machine

The installed 1.3.2 candidate reports 4.54 GiB board usage and preserves 41 valid rows while rejecting only dwm.exe, zen.exe, and NVIDIA Overlay.exe. The first rows include:

  • DiscordPTB.exe: 522 MiB
  • wallpaper64.exe: 473 MiB
  • ChatGPT.exe: 184 MiB
  • msedge.exe: 194 MiB
  • System: 4.29 MiB

Validation

  • Debug native/unit/CLI/ConPTY tests
  • optimized Release native/unit/CLI/ConPTY tests
  • AddressSanitizer tests
  • MSVC static analysis
  • PE mitigation and static-runtime verification
  • package and Inno Setup build
  • full installer, curl bootstrap, PATH, upgrade, and uninstall lifecycle
  • installed-executable JSON: 41 valid dedicated rows, 3 rejected rows
  • regression test explicitly asserts that corrupt rows do not erase valid rows

@xptea
xptea marked this pull request as ready for review July 13, 2026 22:09
@xptea
xptea merged commit c47fc73 into main Jul 13, 2026
3 checks passed
@xptea
xptea deleted the agent/wddm-row-hotfix branch July 13, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant