gpu: log diagnostics frame intervals at present #272

Open
github-bot wants to merge 2 commits from github-bot/gh-272 into rx9070xt AGit
Owner

@⁠Adika713 on GitHub · 2026-11-26 15:44 UTC · original
Adika713:feat/display-mode-split → rx9070xt · +332 −53 · 5 files · 2 commits · draft

## What and why
Adds a diagnostics-only per-present frame interval debug log. This supports the monitor/world-entry investigation by making frame cadence available in diagnostics logs without changing present behavior.

What is in it

  • crates/victory-gpu/src/queue.rs: diagnostics-only LAST_PRESENT and debug log victory_gpu::frame interval_us=... in show().

Naming note

The source branch is feat/display-mode-split (reused worktree/branch name); the actual change is only this diagnostics frame-interval log. No display-mode/DXGI change is included.

Tested

  • Hardware: Windows 11, AMD Radeon RX 6950 XT (16337 MB), Ryzen 5 3600, 32 GB RAM. Not target RX 7900 XTX / i9-12900K / 64 GB hardware.
  • Commands (F: temp/target):
    • $env:TEMP='F:\VIctory-Belobug-AMD\_agent_tmp\tmp'; $env:TMP=$env:TEMP; $env:CARGO_TARGET_DIR='F:\VIctory-Belobug-AMD\_agent_tmp\target-split-display'; cargo test --locked -p victory-gpu --lib queue -- --test-threads=1
  • Result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 350 filtered out.
  • Pre-existing build warnings seen during test build: unused depth_written in descriptor/mod.rs, unused placed_filler_twins in resource.rs, dropping-copy warnings in pipeline/known.rs.

Not tested

  • No game run. No world-entry/FPS/visual/stability claim.
  • Did not validate log formatting against test-story-low-memory.ps1 in a live run.

AI use

Prepared with AI assistance (OpenCode, gpt-5.4) on behalf of @⁠Adika713.

**@⁠Adika713** on GitHub · 2026-11-26 15:44 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/272) `Adika713:feat/display-mode-split` → `rx9070xt` · +332 −53 · 5 files · 2 commits · draft ## What and why Adds a diagnostics-only per-present frame interval debug log. This supports the monitor/world-entry investigation by making frame cadence available in diagnostics logs without changing present behavior. ## What is in it - `crates/victory-gpu/src/queue.rs`: diagnostics-only `LAST_PRESENT` and debug log `victory_gpu::frame interval_us=...` in `show()`. ## Naming note The source branch is `feat/display-mode-split` (reused worktree/branch name); the actual change is only this diagnostics frame-interval log. No display-mode/DXGI change is included. ## Tested - Hardware: Windows 11, AMD Radeon RX 6950 XT (16337 MB), Ryzen 5 3600, 32 GB RAM. Not target RX 7900 XTX / i9-12900K / 64 GB hardware. - Commands (F: temp/target): - `$env:TEMP='F:\VIctory-Belobug-AMD\_agent_tmp\tmp'; $env:TMP=$env:TEMP; $env:CARGO_TARGET_DIR='F:\VIctory-Belobug-AMD\_agent_tmp\target-split-display'; cargo test --locked -p victory-gpu --lib queue -- --test-threads=1` - Result: `ok. 11 passed; 0 failed; 0 ignored; 0 measured; 350 filtered out`. - Pre-existing build warnings seen during test build: unused `depth_written` in `descriptor/mod.rs`, unused `placed_filler_twins` in `resource.rs`, dropping-copy warnings in `pipeline/known.rs`. ## Not tested - No game run. No world-entry/FPS/visual/stability claim. - Did not validate log formatting against `test-story-low-memory.ps1` in a live run. ## AI use Prepared with AI assistance (OpenCode, gpt-5.4) on behalf of @⁠Adika713.
Record a diagnostics-only debug frame interval in queue::show using a mutex-protected previous Instant. This is off the normal path except diagnostics builds and does not change present behavior.

Prepared with AI assistance (OpenCode, gpt-5.4) on behalf of @Adika713.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 15:48:36 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/ambient.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/pipeline/make.rs
  • crates/victory-gpu/src/queue.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/272/head:github-bot/gh-272'
git switch 'github-bot/gh-272'

Merge

Merge the changes and update on Forgejo.
git switch 'rx9070xt'
git merge --no-ff 'github-bot/gh-272'
git switch 'github-bot/gh-272'
git rebase 'rx9070xt'
git switch 'rx9070xt'
git merge --ff-only 'github-bot/gh-272'
git switch 'github-bot/gh-272'
git rebase 'rx9070xt'
git switch 'rx9070xt'
git merge --no-ff 'github-bot/gh-272'
git switch 'rx9070xt'
git merge --squash 'github-bot/gh-272'
git switch 'rx9070xt'
git merge --ff-only 'github-bot/gh-272'
git switch 'rx9070xt'
git merge 'github-bot/gh-272'
git push origin 'rx9070xt'
This discussion has been locked. Commenting is limited to contributors.
No description provided.