Skip to content

feat: Game Boost diagnostics, PresentMon capture comparison and themed dialogs - #148

Open
PrimeBuild-pc wants to merge 2 commits into
mainfrom
feat/game-boost-diagnostics
Open

PrimeBuild-pc wants to merge 2 commits into
mainfrom
feat/game-boost-diagnostics

Conversation

@PrimeBuild-pc

Copy link
Copy Markdown
Owner

Summary

Implements docs/design/game-boost-diagnostics-plan.md:

  • Game diagnostic report (Tweaks → Game Boost → Inspect game settings): L3 groups and parked cores, the CPUs Game Boost would request per group, HAGS support/state and dedicated VRAM per display, refresh rate, Game Mode, AMD V-Cache optimizer driver, and an Intel microcode hint. The report is editable and can be saved.
  • Guided PresentMon 2.6.0 capture (Diagnostics → Compare two captures). It checks the SHA-256 hash before the elevated launch, records a 30 s segment, and uses --timed so the ETW session closes on its own even if ThreadPilot crashes.
  • Capture comparison window for PresentMon CSVs: per-stream median, P99 and spikes/min, a B − A delta and a peak-interval chart. A suggested rule needs balanced, independent pairs first. The window follows the app theme and the caption theme.
  • AppMessageBox replaces all 26 native MessageBox.Show calls, so prompts such as the autostart install confirmation use the app style and follow live theme changes. Yes/No/OK/Cancel are localized in 7 languages.

Validation details: docs/validation/game-boost-diagnostics-2026-12-01.md.

Type of Change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Security hardening
  • Performance improvement

Validation

  • Built Debug and Release successfully (Release: 0 errors)
  • Ran automated tests (1048/1048 passed, includes new PresentMonCsvTests)
  • Verified impacted UI flows. Comparison window rendered with real CSVs in dark and light themes. Recorder lifecycle tested: cancel, duplicate, game exit, missing exe, crash.
  • Verified no secrets/credentials introduced

Idle cost with the feature off is unchanged (Windows Sandbox, A/B):

  • EventPipe active-timer-count matches.
  • CPU, I/O, child processes and ETW sessions are all 0.
  • Working set is within about 1 MiB.

Security and Risk Notes

Checklist

  • Updated docs where relevant
  • Added or updated tests where relevant
  • Kept changes scoped and backwards compatible where possible

…d dialogs

- Diagnostic report: L3 groups, core parking, HAGS and VRAM per display,
  refresh rate, Game Mode, AMD V-Cache driver and Intel microcode hints.
- Guided PresentMon 2.6.0 capture (hash-checked, --timed cleanup) and an
  A/B comparison window for PresentMon CSVs with balanced-pair tracking.
- AppMessageBox replaces native MessageBox calls so prompts follow the app
  style and live theme switching; localized Yes/No/OK/Cancel in 7 languages.
- Validation report in docs/validation/game-boost-diagnostics-2026-12-01.md.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T22:25:06.753661Z 08c1867 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov-commenter

codecov-commenter commented Dec 1, 2026 •

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 08c1867a81

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Services/PresentMonCsv.cs Resolved
All streams read from one PresentMon CSV now share a capture id, so different swap chains or processes from one simultaneous capture can't count as independent A/B pairs.

This branch has not been deployed

No deployments
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.

2 participants