Document the measurements that answered the last few questions #1119

Open
github-bot wants to merge 3 commits from github-bot/gh-1119 into main AGit
Owner

@⁠superboynick on GitHub · 2026-11-25 20:19 UTC · original
superboynick:docs/diagnosing → main · +194 −0 · 1 files · 3 commits · open

Six investigations on this title kept landing on the same handful of observations, and several of them were misread the first time. This writes them down in one place, next to the switches that produce each.

Contents:

  • A breakpoint seconds into startup. Which file probes precede it, why a missing archive and a locked one produce the identical int3, and why a directory listing cannot distinguish them.
  • Geometry that is there, colour that is not. Paired colour and depth captures from the same present, and the two cautions that matter: a dark title card reads 31-35 and is correct, and gamma lifting a picture proves the pixels arrive rather than that anything is wrong.
  • Frames that hitch without dropping. Interval recording, windowed summaries, and per-stall attribution - with the two candidate explanations that were tested and rejected on measurement.
  • Audio that repeats instead of dropping out. Submission and completion tracing, the hash that makes logs independently checkable, and which counters read zero for a reason.
  • Compute pipelines refused with an invalid-argument error. The case where a valid blob, zero node mask and a small root signature leave the shader itself.
  • Two habits. One number is not a measurement, and the limits of the data belong next to the result.

No new code; every switch described already exists and is inert unless set. Written as plain observation so it stays useful if the switches themselves are renamed later.

**@⁠superboynick** on GitHub · 2026-11-25 20:19 UTC · [original](https://github.com/fxceless/victory-fork/pull/1119) `superboynick:docs/diagnosing` → `main` · +194 −0 · 1 files · 3 commits · open Six investigations on this title kept landing on the same handful of observations, and several of them were misread the first time. This writes them down in one place, next to the switches that produce each. Contents: - **A breakpoint seconds into startup.** Which file probes precede it, why a missing archive and a locked one produce the identical int3, and why a directory listing cannot distinguish them. - **Geometry that is there, colour that is not.** Paired colour and depth captures from the same present, and the two cautions that matter: a dark title card reads 31-35 and is correct, and gamma lifting a picture proves the pixels arrive rather than that anything is wrong. - **Frames that hitch without dropping.** Interval recording, windowed summaries, and per-stall attribution - with the two candidate explanations that were tested and rejected on measurement. - **Audio that repeats instead of dropping out.** Submission and completion tracing, the hash that makes logs independently checkable, and which counters read zero for a reason. - **Compute pipelines refused with an invalid-argument error.** The case where a valid blob, zero node mask and a small root signature leave the shader itself. - **Two habits.** One number is not a measurement, and the limits of the data belong next to the result. No new code; every switch described already exists and is inert unless set. Written as plain observation so it stays useful if the switches themselves are renamed later.
Six investigations on this title kept landing on the same handful of
observations, so they are written down in one place: what a startup
breakpoint turns out to mean, how to tell geometry that is present from
colour that is missing, how to measure hitching that a frame rate hides,
how to distinguish replayed audio from a starved feed, and which switches
produce each.

Each section also records what the data does not cover, because three of
these questions were answered wrongly first by reading one number as if it
stood for the whole run. No behaviour described here depends on new code;
every switch named exists and is inert unless set.
The upload correlation was written as "two thirds" from memory; the three
runs on disk are 81 of 91, 65 of 74 and 74 of 82, so nearly nine in ten.
The menu percentile is 34.1 ms, not 34.2, and that run also had three
presents over 100 ms, which is the number worth stating next to the 77
from the prologue run.

Numbers in documentation are harder to catch than numbers in code, so they
are now checked against the CSV files the runs wrote.
The three shader defect classes described in the PR were found by running
the census with the validator, and two of them are invisible without it.
This writes down what the census needs - a dxil.dll, which most machines do
not have, and the host wave width - plus which summary lines answer which
question and how to narrow the run to a handful of hashes.

Without that, the numbers in the PR cannot be checked by anyone else,
which defeats the point of reporting them.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:48 +00:00
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-25 20:57 UTC · original

A Linux/Proton data point for the first section, since "seconds into startup" is what this rig produces on every run tonight.

What the rig does (CachyOS, kernel 7.3.5, RADV Mesa 26.3.1, RX 7900 XT, Proton Experimental 11.0-20261112, 085ee7c7, diag profile, dump on local disk, 25 GB free, swap unused):

  • The title reaches the start screen and holds 30.0 fps, 33.3 ms a frame, 12-13 draws, indefinitely. That part is clean and repeatable.
  • Any advance from the start screen ends in unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x4dcbc9d, on frame 165 with 3 draws a frame. Same address in every run tonight, and the same address on runs where nothing touches the screen at all: four unattended runs broke at 18-20 s with the identical stack, #13 victory.exe+0xc6a87, #16 kernel32.dll+0x11719, #17 ntdll.dll+0x10e0f.
  • What the log shows in the second before the break, in every case: one host pipeline shaders=[compute ...] after another, then first bind pipeline=0x25759f30 frame=165, 0x257784e0 frame=165, and the break arrives while the next compute 334cf8d4ab5e2968 is being prepared. Earlier in the same log, indirect mesh dispatches: the largest group count asked for 0.
  • Ruled out on this side: the pipeline cache (2.2 GB moved aside, identical break), free memory (25 GB free, 0 swap), HDR (already disabled on DP-3), the write-watch failures reported by victory_gpu::watch (they are logged at INFO with a guard explanation and read 8-9 a frame both in runs that survive and runs that break), and the dump itself (44 files, 209 GB, no open handles; unchanged since 20 Nov).

Two things that may be worth stating in the document because they misled me:

  1. A missing window and a hidden one look the same from the logs. Runs that never create their window render at 0.2-0.5 fps with 0.3 ms preparing ... 0.0 on the GPU and die in the same place; runs with a window hold 30 fps on the same screen. The frame line separates them, the absence of a window does not.
  2. Synthetic input reaches the title through two different paths and only one of them is visible in this. kdotool and xdotool activate the window and send Return with no effect at all; the HLE key injection moves the title and lands in the break. If the document describes input, that distinction matters.

If the file-probe explanation in the first section covers a missing or locked archive, this rig is not that: the same dump ran 336 s and 11,605 draws a frame from the same build earlier the same evening, before a reboot, and nothing in the dump changed.

**@⁠rostaddotcc** on GitHub · 2026-11-25 20:57 UTC · [original](https://github.com/fxceless/victory-fork/pull/1119#issuecomment-7174420711) A Linux/Proton data point for the first section, since "seconds into startup" is what this rig produces on every run tonight. What the rig does (CachyOS, kernel 7.3.5, RADV Mesa 26.3.1, RX 7900 XT, Proton Experimental 11.0-20261112, `085ee7c7`, diag profile, dump on local disk, 25 GB free, swap unused): - The title reaches the start screen and holds 30.0 fps, 33.3 ms a frame, 12-13 draws, indefinitely. That part is clean and repeatable. - Any advance from the start screen ends in `unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x4dcbc9d`, on frame 165 with 3 draws a frame. Same address in every run tonight, and the same address on runs where nothing touches the screen at all: four unattended runs broke at 18-20 s with the identical stack, `#13 victory.exe+0xc6a87`, `#16 kernel32.dll+0x11719`, `#17 ntdll.dll+0x10e0f`. - What the log shows in the second before the break, in every case: one `host pipeline shaders=[compute ...]` after another, then `first bind pipeline=0x25759f30 frame=165`, `0x257784e0 frame=165`, and the break arrives while the next `compute 334cf8d4ab5e2968` is being prepared. Earlier in the same log, `indirect mesh dispatches: the largest group count asked for 0`. - Ruled out on this side: the pipeline cache (2.2 GB moved aside, identical break), free memory (25 GB free, 0 swap), HDR (already disabled on DP-3), the write-watch failures reported by `victory_gpu::watch` (they are logged at INFO with a guard explanation and read 8-9 a frame both in runs that survive and runs that break), and the dump itself (44 files, 209 GB, no open handles; unchanged since 20 Nov). Two things that may be worth stating in the document because they misled me: 1. A missing window and a hidden one look the same from the logs. Runs that never create their window render at 0.2-0.5 fps with `0.3 ms preparing ... 0.0 on the GPU` and die in the same place; runs with a window hold 30 fps on the same screen. The frame line separates them, the absence of a window does not. 2. Synthetic input reaches the title through two different paths and only one of them is visible in this. `kdotool` and `xdotool` activate the window and send Return with no effect at all; the HLE key injection moves the title and lands in the break. If the document describes input, that distinction matters. If the file-probe explanation in the first section covers a missing or locked archive, this rig is not that: the same dump ran 336 s and 11,605 draws a frame from the same build earlier the same evening, before a reboot, and nothing in the dump changed.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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