Compare commits

...
Author SHA1 Message Date
poli0981andClaude Opus 5.5 8331a1d91b feat: a session under the NVIDIA App's Dynamic frame generation reads DLSS 4.5; Disclaimer 2.13 (D83) (beta.34 PR-2)
The owner, 2026-11-06: Phantom Blade Zero under the NVIDIA App's Dynamic multi frame generation,
up to x3, read "DLSS 4" - but Dynamic (and x6) exist only in DLSS 4.5. The DLSS line named a
generation from the measured multiplier alone, and "up to x3" never passes x3.0.

- Domain: DlssEvidence.DynamicFrameGeneration, DlssBasis.DynamicFrameGeneration; the rule's new
  row sits below a measured x5 and above every DLSS 4 row.
- App: DlssText reads Dynamic as DLSS Frame Generation counted AND the game's driver profile
  setting NGX_DLSSG_MODE to 4 (NvidiaDriverSettings.DlssgModeDynamic, NVIDIA's own name) AND the
  driver's FG word reporting the mode override applied (FG_MODE). The driver's own mode number
  (3 Dynamic / 1 Fixed on all sixteen stored sessions) is recorded, not keyed on. Label "DLSS 4.5
  (Dynamic multi frame generation, set in the NVIDIA App)", CSV basis=dynamic_frame_generation.
  A Fixed multiplier names nothing by itself (Witcher 3 under Fixed x6 still presented x2.0).
- Dlss_Basis_Dynamic in en/vi/ja (ja review).
- Docs: 05_DETECTION (row + amendment), 03_METRICS (the ceiling decode confirmed), LIMITATIONS,
  guide/03, guide/10, the accuracy block re-dated 2026-11-06 + Disclaimer 2.13, spike-notes 26
  (new), HANDOFF decisions index (D83), CHANGELOG.
- Tests: DlssGenerationTests, DlssTextTests (a row shaped from the owner's session 129 and four
  negatives).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:02:23 +07:00
poli0981andClaude Opus 5.5 f7bfe1e8f1 fix: an Xbox game's picture name that names a file's stream is passed over, not thrown on; the guard's note on GuardedInjectImpl sits above it again (beta.34 PR-1) (#356)
Two things a self-review of #351 and #352 found after their gates were green.

- XboxArtCache.Image: a ShellVisuals name in MicrosoftGame.config that points at a
  stream of a file, named like a drive ("Resources\a:b.png"), made the scale
  search's pattern "a:b.scale-*.png", and EnumerateFiles throws ArgumentException
  on a rooted pattern ("Second path fragment must not be a drive or UNC name") -
  which XboxArtCache.Find does not catch. GameArt.ForAsync's task then faulted:
  the game page showed no picture and logged an unobserved task, and a command
  that awaits the page's reload would reach the dispatcher's crash report. A name
  whose leaf holds ':' is now no picture, like a name outside the package. Red
  without the fix (the exact ArgumentException), green with it; no install of
  the owner's eleven titles has such a name (spike-notes §25).
- fl_guard.cpp: #352 put BlockingMitigation and TargetIsolationVerdict between
  GuardedInjectImpl and the comment that describes it ("A refusal returns here
  ... runs only for a target the full evaluation allowed"), so it read as the
  first line of BlockingMitigation's. It moves back above GuardedInjectImpl and
  names the target's isolation among what runs after the evaluation. No code
  change there.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:09:29 +00:00
poli0981andClaude Opus 5.5 405449283b docs: 0.1.0-alpha.2's notes - its changelog file opening with the experimental-build warning, its row, HANDOFF's alpha.2 lines, owner-only item 29 (D82) (alpha.2 PR-2) (#354)
The second alpha is the source of 0.1.0-beta.33 on .NET 11 RC3 (D82: right after
beta.33, on RC3 because the train reached it before .NET 11's release on
2026-11-10). Its notes are on main as every release's are; the alpha branch takes
them with the sync that follows this pull request (13_CI_CD §The alpha line).

- docs/changelog/0.1.0-alpha.2.md: the experimental-build warning, the update
  from alpha.1 (the ledger copy, the Privacy Policy 2.13 once, the Alpha notice's
  box again), installing over a beta and going back, and what differs from the
  beta - the same as alpha.1 from beta.32.
- CHANGELOG.md: its row in the Releases table.
- docs/HANDOFF.md: START HERE's "0.1.0-alpha.2" lines (the sync by a merge commit,
  the switch unchanged, the first delta an alpha's release has to find - #350's
  lookup) and owner-only item 29, the second alpha on real hardware.

No release line moves (README, ACCURACY, the Disclaimer's copy and LIMITATIONS
keep naming the newest beta).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:37:51 +00:00
28 changed files with 327 additions and 21 deletions

No files matched your search

+26
View File
@@ -35,12 +35,38 @@ numeric core and does not move; the heading is the full version — corrected 20
## [Unreleased]
### Changed
- **A session under the NVIDIA App's *Dynamic* frame generation reads DLSS 4.5** (owner decision D83, amending D64).
Dynamic and its ×6 mode exist only in DLSS 4.5, and the DLSS line named a generation from the measured multiplier
alone: the owner's Phantom Blade Zero under *Dynamic, up to ×3* held ×2.0 and ×3.0 and read *DLSS 4 (a ×3.0
frame-generation state)*. It reads *DLSS 4.5 (Dynamic multi frame generation, set in the NVIDIA App)* where the game's
driver profile sets Dynamic, the driver reports its frame-generation override applied in the game's process, and DLSS
Frame Generation was counted; a state measured at ×5 or more still ranks first, and a *Fixed* multiplier names nothing
by itself (The Witcher 3 under Fixed ×6 still presented ×2.0). The game page's chip and the CSV's `# dlss:` line
(`basis=dynamic_frame_generation`) follow; the **Disclaimer 2.13** says so in its accuracy block
(`src/FrameLedger.Domain/Detection/DlssGeneration.cs`, `src/FrameLedger.App/Services/DlssText.cs`; `spike-notes` §26).
- **The guard's source reads in order again** (developers only; no behaviour changes): the note that says what runs only
for a target the anti-cheat evaluation allowed sits above the function it describes again — beta.33's two isolation
checks had come between them — and names that isolation check among what runs
(`src/native/FrameLedger.Injector/src/fl_guard.cpp`).
### Fixed
- **An Xbox game's page no longer fails on a strange picture name** in the game's own `MicrosoftGame.config` (beta.33's):
a name that points at a stream of a file (`a:b.png`) made the search for its scaled variants throw — the page then
showed no picture and logged an error, and an action on the page that reloads it could end in the crash report. Such a
name is no picture a package ships, so it is passed over like a name outside the package
(`src/FrameLedger.Infrastructure/Art/XboxArtCache.cs`). Found by a self-review of #351 and #352 after their gates
passed; no install of the owner's eleven titles has such a name.
## Releases
Newest first. Each file holds that release's section exactly as it stood here.
| Version | Date | Notes |
|---|---|---|
| `0.1.0-alpha.2` | 2026-11-03 | [`docs/changelog/0.1.0-alpha.2.md`](docs/changelog/0.1.0-alpha.2.md) |
| `0.1.0-beta.33` | 2026-11-03 | [`docs/changelog/0.1.0-beta.33.md`](docs/changelog/0.1.0-beta.33.md) |
| `0.1.0-alpha.1` | 2026-10-31 | [`docs/changelog/0.1.0-alpha.1.md`](docs/changelog/0.1.0-alpha.1.md) |
| `0.1.0-beta.32` | 2026-10-31 | [`docs/changelog/0.1.0-beta.32.md`](docs/changelog/0.1.0-beta.32.md) |
+3 -1
View File
@@ -106,7 +106,9 @@ shown is recorded too, from outside the game. ([Capture](docs/04_CAPTURE.md))
show neither the driver's report nor the NVIDIA App's mode. ([Metrics](docs/03_METRICS.md))
- **Which DLSS ran** (since 0.1.0-beta.24) is named only from what the session showed: the model preset the NVIDIA
driver reports (L or M: DLSS 4.5; J or K: DLSS 4), a measured multi-frame factor (×5 or ×6: DLSS 4.5; ×3 or ×4:
DLSS 4), or a library whose major version names one (2.x, 3.x). A 310 library with no such evidence shows its
DLSS 4), the NVIDIA App's *Dynamic* frame generation that the driver reports applied (DLSS 4.5, whatever multiplier
it chose — since 0.1.0-beta.34), or a library whose major version names one (2.x, 3.x). A *Fixed* ×5 or ×6 set in
the App names DLSS 4.5 only when the frames show it. A 310 library with no such evidence shows its
version only. DLSS 5 is shown only as *runtime loaded*, by a library name not yet seen on a real game. Where each
library was loaded from is read from its folder, for sessions recorded since 0.1.0-beta.24.
- **Ray tracing** is *Yes*, *No* or *N/A* — measured from the game's ray-tracing calls on Direct3D 12, and
+3 -2
View File
@@ -11,7 +11,7 @@ guide, Help ▸ Limitations), and on the project's [wiki](https://github.com/pol
pages.
<!-- accuracy-block:begin -->
> ⚠ **What FrameLedger actually measures today — 2026-10-19.** The software is a beta; its latest
> ⚠ **What FrameLedger actually measures today — 2026-11-06.** The software is a beta; its latest
> **beta is `0.1.0-beta.33`** (2026-11-03), an unsigned installer built from that tag with its
> checksums published beside it (alphas — experimental builds on a prerelease .NET — are published apart). The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
@@ -44,7 +44,8 @@ pages.
> every other case — FSR at a dynamic resolution among them — no mode is shown.
> - **DLSS version:** the version of each DLSS library the game loaded and whether it came from the game or from
> the NVIDIA driver; "DLSS 4" or "DLSS 4.5" only when the session shows it (the model preset the driver reports,
> or a measured multi-frame factor); DLSS 5 only as "runtime loaded".
> a measured multi-frame factor, or the NVIDIA App's Dynamic frame generation that the driver reports applied);
> DLSS 5 only as "runtime loaded".
> - **Render → output resolution:** measured where the vendor's own per-frame call carries the render
> size (AMD FidelityFX dispatches, and Streamline titles whose resource tags state it); `N/A` where it
> does not: DLSS titles that bypass Streamline, Streamline titles whose tags carry no size, and Vulkan
+4 -1
View File
@@ -535,7 +535,10 @@ F_app = Σ fgEvaluations (APPLICATION frames, counted at the
> in a game's menu is not read — it reaches the runtime through `sl::DLSSGOptions`, the route `HANDOFF` §2b refused —
> so the measured row is its evidence. The dynamic ceiling (`NGX_DLSSG_DYNAMIC_MULTI_FRAME_COUNT_MAX`) is decoded as
> `NGX_DLSSG_MULTI_FRAME_COUNT` is (frames generated per rendered frame) and the automatic target as "max refresh
> rate"; NVIDIA's header names neither, and owner-only item 20(a) checks both against the App.
> rate"; NVIDIA's header names neither, and owner-only item 20(a) checks both against the App. *(2026-11-06, beta.34:
> the ceiling's decode held on the owner's Phantom Blade Zero — a ceiling of 5 held states up to ×6.0, a ceiling of 2
> nothing above ×3.0 — `spike-notes` §26. And the context line is no longer the only place the Dynamic mode shows: the
> DLSS line names DLSS 4.5 where the driver reports Dynamic applied, D83, `05_DETECTION` §DLSS generation.)*
`fgEvaluations` is recorded per present by ~~the NGX/Streamline/FFX/XeSS FG hooks~~ the `slGetNewFrameToken`
detour; where Streamline never issued a token, by the FidelityFX dispatches — new PREPARE `frameID`s, else UPSCALE
+12
View File
@@ -482,6 +482,7 @@ never the path), and the super-resolution preset the driver reports applied:
|---|---|---|
| Super-resolution render preset **L or M** that the NVIDIA driver reports applied, in a session where super resolution ran | DLSS 4.5 (2nd-gen transformer) | `ngx_driver_words` — the SR word's `PRESET` bit and `renderPreset`; presets L/M arrived with DLL 310.5.0 (NVIDIA's DLSS 4.5 release, driver 591.74) |
| A DLSS Frame Generation state measured at **×5 or more** | DLSS 4.5 (Dynamic / 6× multi-frame generation) | `fg_mix` / `fg_factor` with `fg_mode = dlssg` |
| The NVIDIA App's **Dynamic** frame generation — set in the game's profile and reported applied by the driver — in a session where DLSS Frame Generation was counted *(beta.34, owner decision D83)* | DLSS 4.5 (Dynamic multi frame generation, set in the NVIDIA App) | `driver_profile`'s `NGX_DLSSG_MODE` = 4 (dynamic), `ngx_driver_words`' FG word with `FG_MODE` (bit 13), `fg_mode = dlssg` |
| Preset **J or K** reported applied | DLSS 4 (transformer) | as above |
| A DLSS Frame Generation state at **×3 or ×4** | DLSS 4 (multi-frame generation) | as above |
| `nvngx_dlss.dll` **2.x** | DLSS 2 | `runtime_modules` |
@@ -489,6 +490,17 @@ never the path), and the super-resolution preset the driver reports applied:
| A **310.x** library alone, a CNN preset (A–F), ×2 | *no label* — the versions are shown | DLSS 4 and 4.5 ship the same major number; the preset is what names the model |
| `nvngx_dlssnr.dll` loaded | "DLSS 5 runtime loaded" — never a generation of these features | the module name is community-sourced until owner-only item 20(d) sees it load |
**Amended 2026-11-06 (beta.34, owner decision D83): Dynamic is DLSS 4.5's.** The NVIDIA App's *Dynamic* frame
generation and its ×6 mode exist only in DLSS 4.5, so a session the driver reports running Dynamic is DLSS 4.5 whatever
multiplier the mode chose: the owner's Phantom Blade Zero under *Dynamic, up to ×3* held ×2.0 and ×3.0 — nine hooked sessions
from 2026-11-03 to 11-05 — and read *DLSS 4 (a ×3.0 frame-generation state)* until then. The row needs all three: the
profile's Dynamic (`NGX_DLSSG_MODE` = 4, NVIDIA's own name for the value), the driver's report that its frame-generation
override applied in the game's process (the FG word's `FG_MODE` bit), and DLSS Frame Generation counted in the session —
a profile set to Dynamic that the driver never applied is a setting, not evidence. The driver's own mode number is not
read: it answers 3 under Dynamic and 1 under *Fixed* on every stored session (`spike-notes` §26), and NVIDIA's header
names neither. A *Fixed* ×5 or ×6 is not this row — Witcher 3 under the App's Fixed ×6 still presented ×2.0 — and
names DLSS 4.5 only where a state is measured at ×5 or more, which ranks above it.
Never a default preset inferred from a version: what a DLL "would" run by default is the game's and the driver's to
decide. A preset the driver applied to a super resolution it never saw created and evaluated names the model of
nothing and is not used (the owner's Silent Hill 2 session: preset L applied, no SR feature created — its label is
+22
View File
@@ -146,6 +146,21 @@ refuses `FILE_READ_DATA`/`FILE_EXECUTE` outside its package, so no Unreal versio
**Owner-only:** item 28 — the Xbox titles on real hardware.
### 0.1.0-alpha.2 — the second alpha, the same day (D82)
`alpha` took main at this pull request — `v0.1.0-beta.33` and these notes, no other change — by a merge commit, as
`13_CI_CD` §The alpha line says: no file the switch holds had moved on main, so nothing conflicted and the switch is the
first alpha's (SDK `11.0.100-rc.3.26522.148`, the three packages at `11.0.0-rc.3.26522.148`, the same NuGet licence
texts). Its gate on the 11 SDK must pass before the pull request into `alpha` is merged by hand (the branch has no
auto-merge); the release runs from the signed tag `v0.1.0-alpha.2` on `alpha`, and its delta from alpha.1 is the first
an alpha's release has to find — #350's lookup, by the name the pack lists. Its notes are
`docs/changelog/0.1.0-alpha.2.md`, which open with the experimental-build warning.
- **The next alpha moves to .NET 11's release**: from 2026-11-10 the switch is SDK `11.0.100` and the packages `11.0.0`,
and RC3 is out of support — move the alpha even if no beta comes.
**Owner-only:** item 29 — the second alpha on real hardware.
## Owner-only — no PR can close these
@@ -347,6 +362,12 @@ refuses `FILE_READ_DATA`/`FILE_EXECUTE` outside its package, so no Unreal versio
`Play_Xbox_NotStarted_Format`, `Play_PackagedGame_Format`, `Play_ToolTip_Store`, `Play_ToolTip_Direct`,
`Settings_PlayMode_Body`, `Guard_TargetAppContainer`, `Guard_TargetMitigation`. Then
`docs/LIST_GAME_TESTED.md` gains the Xbox titles from a ledger copy (D35), approved before the commit.
29. **0.1.0-alpha.2 on real hardware** (D73, D82). (a) **The update from alpha.1**: Help ▸ Check for updates offers
alpha.2 — the first update an alpha's updater has found — and *Restart to update* installs it; say whether it
downloaded the delta or the whole package. (b) The terms window shows the Privacy Policy 2.13 and the Alpha notice
with its box again, and Accept waits for the tick. (c)
`%LOCALAPPDATA%\FrameLedger\backups\ledger-before-0.1.0-alpha.2.db` exists beside alpha.1's, and opens. (d) Item 28's
Xbox checks, on the alpha.
**Answered 2026-08-05, do not re-ask:** remove `gameguard` and keep `guard` (approved
over a red `Rules` gate, with the reasoning recorded in the merge commit); vendor NVAPI
headers **and** `amd64/nvapi64.lib`; Windows 11 is the **measurement scope** only —
@@ -443,6 +464,7 @@ Where each owner decision is recorded — the file and its section, and a label
| D80 | [`08_UI.md`](08_UI.md) §Games | Play on an Xbox game always activates its package, in both modes; the Agent answers `PackagedGame` and records it in attach mode |
| D81 | [`20_OPEN_QUESTIONS.md`](20_OPEN_QUESTIONS.md) §G | title lists stay keyed by Steam id; an Xbox copy is matched by everything but that entry |
| D82 | [`HANDOFF.md`](HANDOFF.md) §START HERE | alpha.2 right after beta.33; on RC3 unless the train reaches it after .NET 11 ships (then SDK 11.0.100, packages 11.0.0) |
| D83 | [`05_DETECTION.md`](05_DETECTION.md) §DLSS generation | the NVIDIA App's Dynamic frame generation, reported applied by the driver in a session that counted DLSS Frame Generation, is DLSS 4.5 (amends D64) |
---
+33
View File
@@ -0,0 +1,33 @@
<!-- The second alpha's notes (D73, D82), on main as every release's are; the alpha branch takes them with its sync. CHANGELOG.md lists every release. -->
## [0.1.0-alpha.2] - 2026-11-03
> ⚠ **EXPERIMENTAL BUILD — YOU USE IT AT YOUR OWN RISK.** This is an **alpha**: the source of `0.1.0-beta.33` built on
> **.NET 11 Release Candidate 3** (SDK `11.0.100-rc.3.26522.148`, runtime `11.0.0-rc.3.26522.148`), a version of .NET
> Microsoft has not finished, with the C# 15 compiler. It has not been tested the way a beta is, and it can crash, record
> wrongly or fail to update in ways no beta has. **If you want results you can rely on, use the beta.** Before it runs it
> shows the *Alpha notice* (`legal/ALPHA_NOTICE.md` 1.0), which you must accept, with its own box to tick.
**The second alpha: `0.1.0-beta.33` on .NET 11 RC3** — games from the Xbox app and the Microsoft Store (the beta's
notes, `docs/changelog/0.1.0-beta.33.md`, say what that brings). What an alpha is and how to go back: the user guide's
*Alpha builds* page (`guide/11-alpha-builds.md`), and the *Alpha builds* section of `LIMITATIONS.md`.
**Updating from `0.1.0-alpha.1`:** Help ▸ Check for updates, then *Restart to update* with no game running — an alpha
updates only to newer alphas. Before it first opens your database it copies it to
`%LOCALAPPDATA%\FrameLedger\backups\ledger-before-0.1.0-alpha.2.db` (the newest three copies are kept). The terms window
shows the **Privacy Policy 2.13** once and, as every time an alpha's terms window opens, waits for the Alpha notice's box
to be ticked again; the notice itself stays 1.0. The ledger stays at schema 21; the detection rules move to `2026.11.1`.
**Installing it over a beta:** download `FrameLedger.App-alpha-Setup.exe` below, verify its hash against
`SHA256SUMS.txt`, and let it replace the FrameLedger already installed; the Alpha notice is shown first. **Going back:**
install the newest beta's `FrameLedger.App-win-Setup.exe` over it; your database stays where it is.
**Windows and your PC:** as for the first alpha — Microsoft supports .NET 11 on Windows 11 24H2 and later, and on Windows
10 only in its LTSC and IoT editions; it needs a processor with SSE4.2 and POPCNT. .NET 11 RC3 is supported until .NET 11
ships (10 November 2026); the next alpha moves to the final release.
### What differs from 0.1.0-beta.33
The same as `0.1.0-alpha.1` differed from `0.1.0-beta.32` (`docs/changelog/0.1.0-alpha.1.md`): the runtime and the
compiler, the three libraries serviced with the runtime, what .NET 11 itself changes — and the part of FrameLedger loaded
into a game is the beta's.
+1
View File
@@ -49,3 +49,4 @@ Each section below lives in its own file under `docs/spike-notes/`, moved verbat
| §23 | The owner's runs of beta.26 on real hardware (2026-10-20) | [`spike-notes/23-owner-runs-2026-10-20.md`](spike-notes/23-owner-runs-2026-10-20.md) |
| §24 | The whole gate on .NET 11 RC3 — what the alpha line's SDK asks of the source (2026-10-31, beta.32, D73–D76) | [`spike-notes/24-dotnet11-probe.md`](spike-notes/24-dotnet11-probe.md) |
| §25 | Xbox app / Microsoft Store (GDK) titles — the layout, the launch chain, the image paths (2026-11-03, beta.33, D77–D82) | [`spike-notes/25-xbox-gdk.md`](spike-notes/25-xbox-gdk.md) |
| §26 | DLSS 5 on Hogwarts Legacy, Dynamic frame generation on Phantom Blade Zero, and Streamline 2.12 → 2.14.16 (2026-11-06, beta.34, D83, D84) | [`spike-notes/26-dlss5-dynamic-streamline.md`](spike-notes/26-dlss5-dynamic-streamline.md) |
@@ -0,0 +1,68 @@
## 26 · DLSS 5 on Hogwarts Legacy, Dynamic frame generation on Phantom Blade Zero, and Streamline 2.12 → 2.14.16 *(2026-11-06, beta.34, owner decisions D83, D84)*
**Why this was measured.** The owner asked, on 2026-11-06, how FrameLedger detects DLSS 5's Neural Rendering on
Hogwarts Legacy — turned on in the game — and why Phantom Blade Zero under the NVIDIA App's *Dynamic* multi frame
generation, up to ×3, read "DLSS 4" when Dynamic and ×6 exist only in DLSS 4.5; then, while the plan was written,
what had changed in Streamline since the copy the Overlay is built against.
**Where, and how.** The owner's ledger was read **read-only** — Python's `sqlite3` with `mode=ro`, no FrameLedger
binary, the Agent of `0.1.0-alpha.2` running beside it — on the dev box of §Environment (Windows 11 Pro build 29648,
i7-14700KF, RTX 5080, 2560×1440 at 240 Hz; NVIDIA driver 32.0.16.2101, then 32.0.16.2114 from 2026-11-05 18:29).
Streamline's headers were compared with the upstream repository's tags through GitHub's API, byte for byte.
### The NVIDIA App's frame-generation settings against the driver's report
`driver_profile` is the game's profile as the Agent read it at the session's start; the FG word and `frameGenerationMode`
are `NvAPI_NGX_GetNGXOverrideState`'s, from `ngx_driver_words`. Bits: `0x1F` initialised … selected, `0x20` preset,
`0x200`/`0x400` created/evaluated, `0x2000` `FG_MODE`, `0x8000` `FG_MULTI_FRAME`.
| Sessions | The App's setting (profile) | FG word | `frameGenerationMode` | Frames counted |
|---|---|---|---|---|
| Phantom Blade Zero 111, 112, 114 (11-01 → 11-02) | `NGX_DLSSG_MODE` 4 *dynamic*, ceiling 5, target `0x01000000` | `0x263F` | 3 | states ×3.0 … ×4.0, ×5.2, ×6.0 |
| Phantom Blade Zero 116 → 129 (11-03 → 11-05), the eight hooked sessions the driver answered (130 was recovered without its report) | `NGX_DLSSG_MODE` 4 *dynamic*, **ceiling 2**, target `0x01000000` | `0x263F` (`0x203F` once) | 3 | ×2.0 and ×3.0 only; ×3.0 held 75–94 % of each session longer than an hour |
| SILENT HILL 2 60, 71 (10-19, 10-20) | `NGX_DLSSG_MODE` 4 *dynamic*, ceiling 5 | `0xA03F` | 3 | ×2.0, ×3.0, ×6.1 |
| Clair Obscur: Expedition 33 64, The Witcher 3 68, SILENT HILL 2 36 | `NGX_DLSSG_MODE` 2 *on*, multi-frame count 5 (*Fixed ×6*) | `0xA03F` | 1 | ×6.0; Witcher 3 ×2.0 |
| Cyberpunk 2077 69 (multiplier chosen in the game) | none set | `0x5` | 0 | ×1.9, ×3.0, ×4.0 |
So the driver reports `FG_MODE` applied under both of the App's modes and its own mode number tells them apart — 3 under
Dynamic, 1 under Fixed, on all sixteen sessions — but NVIDIA's header names neither number. **What D83 reads is the
profile's value, which the header does name (4, `NGX_DLSSG_MODE_DYNAMIC`), with the report's `FG_MODE` bit as proof the
driver applied it**, and DLSS Frame Generation counted in the session. The ceiling's decode (frames generated per
rendered frame, `03_METRICS` §The mix) held: a ceiling of 5 reached ×6.0, a ceiling of 2 never passed ×3.0.
**Decided (D83):** a session the driver reports running the App's Dynamic mode is **DLSS 4.5**, below a measured ×5 and
above every DLSS 4 row; *Fixed* stays the frames' to name (`05_DETECTION` §DLSS generation).
### DLSS 5 on Hogwarts Legacy
Session 132 (2026-11-06 13:56, hooked, attached, 141 s, Neural Rendering on in the game): `runtime_modules` holds
**`nvngx_dlssnr.dll` 310.9.16.0, loaded from the game's folder** — the name `CensusNames` carried from community sources
(owner-only item 20(d)) seen on a real game for the first time — beside `nvngx_dlss.dll`, `nvngx_dlssd.dll`,
`nvngx_dlssg.dll` 310.9.16.0 and Streamline 2.14.16 (`sl.interposer.dll`, `sl.common.dll`, `sl.dlss_g.dll`,
`sl.reflex.dll`). The install ships the matching Streamline plugin, `Engine\Plugins\Runtime\Nvidia\StreamlineCore\
Binaries\ThirdParty\Win64\sl.dlss_nr.dll` (402,048 bytes; `nvngx_dlssnr.dll` is 266,424,944), which no list asked about.
The driver's super-resolution word read `0x80605` (created and evaluated, no override); the session counted DLSS Frame
Generation but refused a factor (non-uniform, ×1.97 overall); 140.2 FPS presented.
What the App made of it: *DLSS · Super Resolution 310.9.16, from the game · … · DLSS 5 runtime loaded* — loaded, never
whether it ran. Nothing measured that: an evaluation of a Streamline feature the Overlay does not decode lights
`FL_FEAT_SL_UNDECODED`, which the Agent does not store, and the session's `sl_tag_census` (`0x20E00`) shows only that
the game tags a buffer type the census does not name, per frame (bit 17) — which Streamline 2.14 names, below.
### Streamline: the vendored copy against the releases
The vendored closure (`src/native/third_party/streamline`, "main, 2026-08-09") is **byte-identical to tag `v2.12.0`**,
all eleven files. Releases since: `v2.14.1` (2026-09-08: V-Sync and frame-rate limiters in Dynamic multi frame
generation, `VK_NV_low_latency2`) and `v2.14.16` (2026-10-16: fixes) — the version Hogwarts Legacy ships and the NVIDIA
App's override loads (`1B0_E658700.dll` 2.14.16.0). From `v2.12.0` to `v2.14.16` three of the eleven change:
- `sl_core_types.h`: **`kFeatureDLSS_NR = 1004`**; buffer types 70–72, reserved until then, become
`kBufferTypeUpliftInputColor`, `kBufferTypeUpliftOutputColor` and `kBufferTypeUpliftControlMask` — "neural-net
uplift passes", DLSS 5's inputs; `Resource::reserved` (32 bits) becomes `internalFlags` + `reserved` (16 each, the
struct's size unchanged).
- `sl_struct.h`: `kStructVersion7`.
- `sl_version.h`: 2.14.16.
`sl_core_api.h` (`PFun_slEvaluateFeature`), `sl_dlss.h`, `sl.h` and `license.txt` are unchanged, and nothing of
FrameLedger reads `Resource::reserved`. **Decided:** re-vendor at `v2.14.16` (the owner: "check what changed … and fix it
if really needed") so the Overlay decodes DLSS 5's evaluations by the vendor's own constant (D84).
+2 -1
View File
@@ -19,7 +19,8 @@ A value FrameLedger could not measure reads **N/A** — never 0, and never an es
settled. For FSR it is the mode the game asked AMD's library about and then rendered at; at a dynamic resolution
none is shown.
- **The DLSS line** names the DLSS the game ran: *DLSS 4.5* or *DLSS 4* only when the session showed it (the model
preset the NVIDIA driver reports, or a frame-generation multiplier of ×3 and above), each DLSS library's version and
preset the NVIDIA driver reports, a frame-generation multiplier of ×3 and above, or the NVIDIA App's *Dynamic* frame
generation, which is DLSS 4.5's), each DLSS library's version and
whether it came from the game or from the graphics driver (the NVIDIA App can swap in the driver's copy), and *DLSS 5
runtime loaded* when it was. With nothing to add to the header's *DLSS*, it is not shown.
- **Frame generation in this session** (sessions recorded with 0.1.0-beta.24 or later) lists every frame-generation
+2 -1
View File
@@ -16,7 +16,8 @@ What the words on FrameLedger's screens mean, in alphabetical order. How each fi
says. Sessions are still recorded.
- **Displayed FPS** — the frames you saw, generated frames included.
- **DLSS 4, DLSS 4.5** — NVIDIA's DLSS generations. FrameLedger names one only when the session shows it: the model
preset the NVIDIA driver reports, or a frame-generation multiplier of ×3 and above.
preset the NVIDIA driver reports, a frame-generation multiplier of ×3 and above, or the NVIDIA App's *Dynamic*
frame generation (DLSS 4.5 only).
- **FG factor** — Displayed FPS divided by Native FPS, shown as `×1.9 FG`.
- **FPS** — frames per second over the time measured.
- **Frame generation** — the technology (DLSS Frame Generation, FSR Frame Generation) that inserts frames the game did
+3 -2
View File
@@ -11,7 +11,7 @@
that changes what FrameLedger.Overlay or the capture host does; date the change.
HTML comments are not part of the block.
-->
> ⚠ **What FrameLedger actually measures today — 2026-10-19.** The software is a beta; its latest
> ⚠ **What FrameLedger actually measures today — 2026-11-06.** The software is a beta; its latest
> **beta is `0.1.0-beta.33`** (2026-11-03), an unsigned installer built from that tag with its
> checksums published beside it (alphas — experimental builds on a prerelease .NET — are published apart). The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
@@ -44,7 +44,8 @@
> every other case — FSR at a dynamic resolution among them — no mode is shown.
> - **DLSS version:** the version of each DLSS library the game loaded and whether it came from the game or from
> the NVIDIA driver; "DLSS 4" or "DLSS 4.5" only when the session shows it (the model preset the driver reports,
> or a measured multi-frame factor); DLSS 5 only as "runtime loaded".
> a measured multi-frame factor, or the NVIDIA App's Dynamic frame generation that the driver reports applied);
> DLSS 5 only as "runtime loaded".
> - **Render → output resolution:** measured where the vendor's own per-frame call carries the render
> size (AMD FidelityFX dispatches, and Streamline titles whose resource tags state it); `N/A` where it
> does not: DLSS titles that bypass Streamline, Streamline titles whose tags carry no size, and Vulkan
+4 -3
View File
@@ -1,6 +1,6 @@
# FrameLedger — Disclaimer
**Version:** 2.12 · **Effective:** {{RELEASE_DATE}}
**Version:** 2.13 · **Effective:** {{RELEASE_DATE}}
## 0. This is pre-release software
@@ -115,7 +115,7 @@ Software running inside another process can, in principle, destabilize it. Frame
Frame timing is derived from high-resolution timestamps taken at the moment the game presents each frame; upscaling, frame-generation and ray-tracing state are read from the parameters the game passes to those APIs. This is substantially more accurate than inferring settings from files on disk, but **no measurement is guaranteed to be exact**:
<!-- accuracy-block:begin -->
> ⚠ **What FrameLedger actually measures today — 2026-10-19.** The software is a beta; its latest
> ⚠ **What FrameLedger actually measures today — 2026-11-06.** The software is a beta; its latest
> **beta is `0.1.0-beta.33`** (2026-11-03), an unsigned installer built from that tag with its
> checksums published beside it (alphas — experimental builds on a prerelease .NET — are published apart). The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
@@ -148,7 +148,8 @@ Frame timing is derived from high-resolution timestamps taken at the moment the
> every other case — FSR at a dynamic resolution among them — no mode is shown.
> - **DLSS version:** the version of each DLSS library the game loaded and whether it came from the game or from
> the NVIDIA driver; "DLSS 4" or "DLSS 4.5" only when the session shows it (the model preset the driver reports,
> or a measured multi-frame factor); DLSS 5 only as "runtime loaded".
> a measured multi-frame factor, or the NVIDIA App's Dynamic frame generation that the driver reports applied);
> DLSS 5 only as "runtime loaded".
> - **Render → output resolution:** measured where the vendor's own per-frame call carries the render
> size (AMD FidelityFX dispatches, and Streamline titles whose resource tags state it); `N/A` where it
> does not: DLSS titles that bypass Streamline, Streamline titles whose tags carry no size, and Vulkan
+21 -2
View File
@@ -15,7 +15,8 @@ namespace FrameLedger.App.Services;
/// <summary>
/// The DLSS a session ran, in words (beta.24, owner decision D64; <c>05_DETECTION</c> §DLSS generation): each DLSS
/// library's version and where it was loaded from, the model preset the NVIDIA driver reports, and a generation only
/// where the session shows one (<see cref="DlssGeneration"/>, strongest evidence first). DLSS 5 only as "runtime loaded".
/// where the session shows one (<see cref="DlssGeneration"/>, strongest evidence first) — since beta.34 (D83) also the
/// NVIDIA App's Dynamic frame generation the driver reports applied. DLSS 5 only as "runtime loaded".
/// </summary>
/// <remarks>Read from what the row stores; nothing here infers a generation from a version that does not name one.</remarks>
[SuppressMessage("Performance", "CA1863:Use 'CompositeFormat'", Justification = "the format strings are resources that follow the UI culture, which changes at runtime")]
@@ -32,7 +33,8 @@ public static class DlssText
{
ArgumentNullException.ThrowIfNull(row);
Dictionary<string, string?> modules = Modules(row.RuntimeModulesJson);
return new DlssEvidence(VersionOf(modules, _superResolutionFile), VersionOf(modules, _frameGenerationFile), ReportedPreset(row), LargestFrameGenerationFactor(row));
return new DlssEvidence(VersionOf(modules, _superResolutionFile), VersionOf(modules, _frameGenerationFile), ReportedPreset(row), LargestFrameGenerationFactor(row),
DynamicFrameGeneration(row));
}
/// <summary>The generation the row establishes, as a label with what it rests on (<c>DLSS 4.5 (preset L)</c>), or null.</summary>
@@ -116,6 +118,7 @@ public static class DlssText
{
DlssBasis.Preset => string.Format(CultureInfo.CurrentCulture, Strings.Nv_Preset_Format, DlssGeneration.PresetLetter(evidence.Preset)),
DlssBasis.FrameGenerationFactor => string.Format(CultureInfo.CurrentCulture, Strings.Dlss_Basis_Factor_Format, evidence.LargestFrameGenerationFactor),
DlssBasis.DynamicFrameGeneration => Strings.Dlss_Basis_Dynamic,
_ => string.Format(CultureInfo.CurrentCulture, Strings.Dlss_Basis_Library_Format, Short(evidence.SuperResolution is { Major: 2 or 3 } ? evidence.SuperResolution : evidence.FrameGeneration)),
});
@@ -123,6 +126,7 @@ public static class DlssText
{
DlssBasis.Preset => "preset",
DlssBasis.FrameGenerationFactor => "frame_generation_factor",
DlssBasis.DynamicFrameGeneration => "dynamic_frame_generation",
_ => "library_version",
};
@@ -183,6 +187,21 @@ public static class DlssText
: null;
}
/// <summary>
/// The NVIDIA App's Dynamic frame generation ran in the session (beta.34, D83): DLSS Frame Generation was counted, the
/// game's driver profile sets <c>NGX_DLSSG_MODE</c> to Dynamic, and the driver's frame-generation word reports the mode
/// override applied in the game's process (<see cref="NgxOverrideFlags.FgMode"/>). The driver's own mode number —
/// 3 under Dynamic and 1 under Fixed on every stored session (<c>spike-notes</c> §26) — is not what is read: NVIDIA's
/// header names the profile's values and not the report's. A profile that sets Dynamic the driver never applied, or a
/// session where no DLSS Frame Generation was counted, is not evidence.
/// </summary>
private static bool DynamicFrameGeneration(SessionRow row) =>
Is(row.FgMode, "dlssg")
&& DriverProfileRecord.Parse(row.DriverProfileJson) is { } profile && NvidiaOverrides.IsRead(profile)
&& profile.ValueOf(NvidiaDriverSettings.DlssgMode) == NvidiaDriverSettings.DlssgModeDynamic
&& NgxDriverWords.Parse(row.NgxDriverWordsJson) is { Outcome: nameof(NgxProbeOutcome.Answered) } words
&& (Mask(words.Fg) & NgxOverrideFlags.FgMode) != 0;
/// <summary>The largest DLSS Frame Generation state the session measured: the mix's states, else its one factor.</summary>
private static double? LargestFrameGenerationFactor(SessionRow row)
{
@@ -134,7 +134,7 @@ public static class NvidiaOverrides
string? fixedCount = multiplier is null ? null : string.Format(CultureInfo.CurrentCulture, Strings.FgMix_Context_Fixed_Format, multiplier);
return profile.ValueOf(S.DlssgMode) switch
{
4 => string.Join(", ", new[]
S.DlssgModeDynamic => string.Join(", ", new[]
{
Strings.FgMix_Context_Dynamic,
Multiplier(profile.ValueOf(S.DlssgDynamicMultiFrameCountMax)) is { } ceiling ? string.Format(CultureInfo.CurrentCulture, Strings.FgMix_Context_UpTo_Format, ceiling) : null,
@@ -250,7 +250,7 @@ public static class NvidiaOverrides
1 => Strings.Nv_FgMode_Off,
2 => Strings.Nv_FgMode_On,
3 => Strings.Nv_FgMode_Auto,
4 => Strings.Nv_FgMode_Dynamic,
S.DlssgModeDynamic => Strings.Nv_FgMode_Dynamic,
_ => null,
};
+3
View File
@@ -274,6 +274,7 @@ public static class Strings
nameof(Display_Window_Format),
nameof(Display_WindowOnMonitor_Format),
nameof(Display_WindowOnMonitorHz_Format),
nameof(Dlss_Basis_Dynamic),
nameof(Dlss_Basis_Factor_Format),
nameof(Dlss_Basis_Library_Format),
nameof(Dlss_Feature_FrameGeneration),
@@ -1683,6 +1684,8 @@ public static class Strings
public static string Display_WindowOnMonitorHz_Format => ResourceManager.GetString(nameof(Display_WindowOnMonitorHz_Format), Culture) ?? nameof(Display_WindowOnMonitorHz_Format);
public static string Dlss_Basis_Dynamic => ResourceManager.GetString(nameof(Dlss_Basis_Dynamic), Culture) ?? nameof(Dlss_Basis_Dynamic);
public static string Dlss_Basis_Factor_Format => ResourceManager.GetString(nameof(Dlss_Basis_Factor_Format), Culture) ?? nameof(Dlss_Basis_Factor_Format);
public static string Dlss_Basis_Library_Format => ResourceManager.GetString(nameof(Dlss_Basis_Library_Format), Culture) ?? nameof(Dlss_Basis_Library_Format);
+4
View File
@@ -4569,6 +4569,10 @@
<value>ライブラリ {0}</value>
<comment>review</comment>
</data>
<data name="Dlss_Basis_Dynamic" xml:space="preserve">
<value>NVIDIA App で設定した Dynamic マルチフレーム生成</value>
<comment>review</comment>
</data>
<data name="Dlss_Feature_SuperResolution" xml:space="preserve">
<value>Super Resolution</value>
<comment>review</comment>
+3
View File
@@ -3437,6 +3437,9 @@ The documents below are the full terms; this summary does not replace them.</val
<data name="Dlss_Basis_Library_Format" xml:space="preserve">
<value>library {0}</value>
</data>
<data name="Dlss_Basis_Dynamic" xml:space="preserve">
<value>Dynamic multi frame generation, set in the NVIDIA App</value>
</data>
<data name="Dlss_Feature_SuperResolution" xml:space="preserve">
<value>Super Resolution</value>
</data>
+3
View File
@@ -3432,6 +3432,9 @@ Các văn bản bên dưới là điều khoản đầy đủ; bản tóm tắt
<data name="Dlss_Basis_Library_Format" xml:space="preserve">
<value>thư viện {0}</value>
</data>
<data name="Dlss_Basis_Dynamic" xml:space="preserve">
<value>tạo nhiều khung hình Dynamic, đặt trong NVIDIA App</value>
</data>
<data name="Dlss_Feature_SuperResolution" xml:space="preserve">
<value>Super Resolution</value>
</data>
@@ -53,6 +53,12 @@ public static class NvidiaDriverSettings
/// <summary><c>NGX_DLSSG_MODE</c>: 0 not set (the default), 1 off, 2 on, 3 auto, 4 dynamic.</summary>
public const uint DlssgMode = 0x10308298;
/// <summary>
/// <see cref="DlssgMode"/>'s <c>NGX_DLSSG_MODE_DYNAMIC</c> — the NVIDIA App's <i>Dynamic</i> frame generation, which
/// exists only in DLSS 4.5 (beta.34, D83).
/// </summary>
public const uint DlssgModeDynamic = 4;
/// <summary><c>NGX_DLSSG_DYNAMIC_MULTI_FRAME_COUNT_MAX</c>: 0 off, else the dynamic mode's ceiling.</summary>
public const uint DlssgDynamicMultiFrameCountMax = 0x10562D0F;
@@ -17,4 +17,7 @@ public enum DlssBasis
/// <summary>A loaded library's major version.</summary>
LibraryVersion = 3,
/// <summary>The NVIDIA App's Dynamic frame generation, which the driver reported applied (beta.34, D83).</summary>
DynamicFrameGeneration = 4,
}
@@ -3,9 +3,15 @@
namespace FrameLedger.Domain.Detection;
/// <summary>What a session observed about DLSS, for <see cref="DlssGeneration.Of"/> (beta.24, D64).</summary>
/// <summary>What a session observed about DLSS, for <see cref="DlssGeneration.Of"/> (beta.24, D64; beta.34, D83).</summary>
/// <param name="SuperResolution">The loaded <c>nvngx_dlss.dll</c>'s file version.</param>
/// <param name="FrameGeneration">The loaded <c>nvngx_dlssg.dll</c>'s file version.</param>
/// <param name="Preset">The super-resolution render preset the NVIDIA driver reports applied in a session where it ran (1 = A …).</param>
/// <param name="LargestFrameGenerationFactor">The largest DLSS Frame Generation state the session measured.</param>
public sealed record DlssEvidence(Version? SuperResolution, Version? FrameGeneration, uint? Preset, double? LargestFrameGenerationFactor);
/// <param name="DynamicFrameGeneration">
/// The NVIDIA App's <i>Dynamic</i> frame generation ran in the session (beta.34, D83): the game's driver profile sets the
/// Dynamic mode, the driver reports its frame-generation override applied in the game's process, and DLSS Frame Generation
/// was counted. Dynamic exists only in DLSS 4.5, whatever multiplier it settled on.
/// </param>
public sealed record DlssEvidence(Version? SuperResolution, Version? FrameGeneration, uint? Preset, double? LargestFrameGenerationFactor,
bool DynamicFrameGeneration = false);
@@ -18,6 +18,14 @@ namespace FrameLedger.Domain.Detection;
/// model it runs is the preset's to say. Never a default preset inferred from a version.
/// </para>
/// <para>
/// <b>The NVIDIA App's Dynamic frame generation is DLSS 4.5's</b> (beta.34, owner decision D83): Dynamic and the ×6 mode
/// exist only in DLSS 4.5, so a session the driver reports running Dynamic is DLSS 4.5 even where the multiplier it chose
/// stayed at ×3 — the owner's Phantom Blade Zero under "up to ×3" held ×2.0 and ×3.0 and read "DLSS 4" until then. It
/// ranks below the ×5 state (a measured multiplier is stronger evidence than a setting the driver confirms) and above
/// every DLSS 4 row. A Fixed multiplier the App sets is not this row: Witcher 3 under Fixed ×6 still presented ×2.0, so a
/// Fixed ×5 or ×6 names DLSS 4.5 only where the frames show it.
/// </para>
/// <para>
/// DLSS 5's neural rendering is not a generation of these features and is not in this table: a session states only that
/// its runtime was loaded.
/// </para>
@@ -40,6 +48,11 @@ public sealed record DlssGeneration(DlssGenerationKind Kind, DlssBasis Basis)
return new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.FrameGenerationFactor);
}
if (evidence.DynamicFrameGeneration)
{
return new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.DynamicFrameGeneration);
}
if (evidence.Preset is 10 or 11)
{
return new DlssGeneration(DlssGenerationKind.Dlss4, DlssBasis.Preset);
@@ -67,6 +67,13 @@ public sealed class XboxArtCache : IStoreArtCache
return null; // a name that escapes the package is not the package's picture
}
if (Path.GetFileName(full).Contains(':', StringComparison.Ordinal))
{
// A file's stream (name:stream) is no picture a package ships, and the scale search below would throw on one
// named like a drive ("a:b.png" makes the pattern "a:b.scale-*.png", which EnumerateFiles refuses; beta.34).
return null;
}
var plain = new FileInfo(full);
if (plain.Exists && plain.Length > 0)
{
@@ -718,9 +718,6 @@ Verdict EvaluateImpl(std::uint32_t targetPid, const Sources& sources, const char
return Allow();
}
// A refusal returns here, and there is no argument that changes that (the `acknowledged` flag of 2026-09-21 was
// withdrawn on 2026-09-22 with the bypass it served). Everything below -- the payload's existence, the payload's
// identity, the primitive, the bitness answer -- runs only for a target the full evaluation allowed.
// beta.33 (D78) -- the first policy in `facts` the Overlay cannot live under, named for the refusal's signal; null
// when there is none. Which one names a refusal changes nothing a user can do, so the order is just winnt.h's.
const char* BlockingMitigation(const TargetIsolation& facts) noexcept {
@@ -765,6 +762,10 @@ Verdict TargetIsolationVerdict(std::uint32_t targetPid, const Sources& sources)
return Allow();
}
// A refusal returns here, and there is no argument that changes that (the `acknowledged` flag of 2026-09-21 was
// withdrawn on 2026-09-22 with the bypass it served). Everything below -- the payload's existence, the payload's
// identity, the target's isolation, the primitive, the bitness answer -- runs only for a target the full evaluation
// allowed.
Verdict GuardedInjectImpl(std::uint32_t targetPid, const wchar_t* dllPath, const Sources& sources,
const char* toleratedFamilies) noexcept {
const Verdict v = EvaluateImpl(targetPid, sources, toleratedFamilies);
+45 -1
View File
@@ -36,8 +36,25 @@ public sealed class DlssTextTests
}
}
// Phantom Blade Zero, 2026-11-05 (the owner's ledger, session 129): the NVIDIA App's Dynamic frame generation, up to ×3,
// target the maximum refresh rate — the profile's NGX_DLSSG_MODE 4, and the driver's FG word with FG_MODE (bit 13) set.
private const string _dynamicUpToThree = "{\"Outcome\":\"Application\",\"Profile\":\"Phantom Blade Zero\",\"NvapiStatus\":0,\"Settings\":[" +
"{\"Id\":\"0x10E41E01\",\"Value\":1,\"Location\":\"Profile\",\"Predefined\":false}," +
"{\"Id\":\"0x104D6667\",\"Value\":0,\"Location\":\"Profile\",\"Predefined\":false}," +
"{\"Id\":\"0x10308298\",\"Value\":4,\"Location\":\"Profile\",\"Predefined\":false}," +
"{\"Id\":\"0x10562D0F\",\"Value\":2,\"Location\":\"Profile\",\"Predefined\":false}," +
"{\"Id\":\"0x10CF4125\",\"Value\":16777216,\"Location\":\"Profile\",\"Predefined\":false}]}";
private const string _dynamicApplied = "{\"Outcome\":\"Answered\",\"Sr\":\"0x1F\",\"Rr\":\"0x605\",\"Fg\":\"0x263F\",\"Driver\":62101,\"Ratio\":0,\"Mode\":0," +
"\"Preset\":0,\"FgCount\":0,\"FgPreset\":3,\"FgMode\":3,\"Readings\":203,\"Answered\":201,\"Changed\":true,\"Detail\":null}";
private const string _upToThreeMix = "{\"Rows\":[" +
"{\"Kind\":\"generated\",\"Factor\":1.9954505429997065,\"NativeFps\":85.175,\"DisplayedFps\":169.9625,\"Seconds\":80,\"Share\":0.013,\"Windows\":16}," +
"{\"Kind\":\"generated\",\"Factor\":2.9986416215642575,\"NativeFps\":72.64,\"DisplayedFps\":217.83,\"Seconds\":4540,\"Share\":0.746,\"Windows\":908}," +
"{\"Kind\":\"none\",\"Factor\":null,\"NativeFps\":61.68,\"DisplayedFps\":61.69,\"Seconds\":1203.9,\"Share\":0.198,\"Windows\":241}]}";
private static SessionRow Row(string? modules = null, string? sources = null, string? upscaler = null, string? driverReported = null, string? words = null,
string fgMode = "na", double? factor = null, string? mix = null) => new()
string fgMode = "na", double? factor = null, string? mix = null, string? profile = null) => new()
{
SessionGuid = Guid.NewGuid(),
GameId = 1,
@@ -58,8 +75,35 @@ public sealed class DlssTextTests
FgMode = fgMode,
FgFactor = factor,
FgMixJson = mix,
DriverProfileJson = profile,
};
/// <summary>
/// beta.34, owner decision D83: Phantom Blade Zero under the NVIDIA App's Dynamic frame generation, up to ×3, held ×2.0
/// and ×3.0 and read "DLSS 4 (a ×3.0 frame-generation state)" — Dynamic exists only in DLSS 4.5. Evidence is the
/// profile's Dynamic AND the driver's report that the override applied AND DLSS Frame Generation counted.
/// </summary>
[Fact]
public void TheNvidiaAppsDynamicFrameGenerationTheDriverAppliedIsDlss45() => InEnglish(() =>
{
const string modules = "{\"sl.interposer.dll\":\"2,14,1,0\",\"1B0_E658700.dll\":\"2,14,16,0\",\"160_E658700.bin\":\"310,9,16,0\",\"nvngx_dlssd.dll\":\"310,9,1,0\"}";
SessionRow phantomBlade = Row(modules, upscaler: "unknown", fgMode: "dlssg", factor: 2.9986416215642575, mix: _upToThreeMix,
words: _dynamicApplied, profile: _dynamicUpToThree);
DlssText.Label(phantomBlade).Should().Be("DLSS 4.5 (Dynamic multi frame generation, set in the NVIDIA App)");
DlssText.Line(phantomBlade).Should().Be("DLSS 4.5 (Dynamic multi frame generation, set in the NVIDIA App) · Ray Reconstruction 310.9.1");
DlssText.ExportLine(phantomBlade).Should().StartWith("generation=DLSS 4.5 basis=dynamic_frame_generation; ");
DlssText.Label(phantomBlade with { NgxDriverWordsJson = _dynamicApplied.Replace("0x263F", "0x63F", StringComparison.Ordinal) })
.Should().Be("DLSS 4 (a ×3.0 frame-generation state)", "a profile set to Dynamic that the driver never reports applying is a setting, not evidence");
DlssText.Label(phantomBlade with { DriverProfileJson = _dynamicUpToThree.Replace("\"Value\":4,", "\"Value\":2,", StringComparison.Ordinal) })
.Should().Be("DLSS 4 (a ×3.0 frame-generation state)", "Fixed is not Dynamic: Witcher 3 under Fixed ×6 still presented ×2.0");
DlssText.Label(phantomBlade with { FgMode = "na", FgFactor = null, FgMixJson = null })
.Should().BeNull("no DLSS Frame Generation was counted");
DlssText.Label(phantomBlade with { NgxDriverWordsJson = null }).Should().Be("DLSS 4 (a ×3.0 frame-generation state)", "no driver report, no evidence");
return 0;
});
[Fact]
public void WitchersLibrariesAreVersionsAndNameNoGenerationAtTimesTwo() => InEnglish(() =>
{
@@ -37,6 +37,26 @@ public sealed class DlssGenerationTests
"the driver's override can run a newer model than the game's library");
}
/// <summary>
/// beta.34, owner decision D83: the NVIDIA App's Dynamic frame generation exists only in DLSS 4.5, so a session the
/// driver reports running it is DLSS 4.5 whatever multiplier it settled on — the owner's Phantom Blade Zero under
/// "up to ×3" held ×2.0 and ×3.0 and read DLSS 4 until then. A measured ×5 or more stays the stronger evidence.
/// </summary>
[Fact]
public void DynamicFrameGenerationIsDlss45BelowAMeasuredTimesFiveAndAboveEveryDlss4Row()
{
DlssGeneration.Of(new DlssEvidence(null, _dlss4Library, null, 3.0, DynamicFrameGeneration: true))
.Should().Be(new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.DynamicFrameGeneration), "Phantom Blade Zero under up to ×3");
DlssGeneration.Of(new DlssEvidence(_dlss4Library, _dlss4Library, 11, 2.0, DynamicFrameGeneration: true))
.Should().Be(new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.DynamicFrameGeneration), "above a DLSS 4 preset");
DlssGeneration.Of(new DlssEvidence(null, _dlss4Library, null, 6.0, DynamicFrameGeneration: true))
.Should().Be(new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.FrameGenerationFactor), "a measured ×6 is the stronger evidence");
DlssGeneration.Of(new DlssEvidence(_dlss4Library, null, 12, 3.0, DynamicFrameGeneration: true))
.Should().Be(new DlssGeneration(DlssGenerationKind.Dlss45, DlssBasis.Preset));
DlssGeneration.Of(new DlssEvidence(null, _dlss4Library, null, 3.0))
.Should().Be(new DlssGeneration(DlssGenerationKind.Dlss4, DlssBasis.FrameGenerationFactor), "without Dynamic a ×3 state is DLSS 4's");
}
[Fact]
public void ALibraryVersionNamesAGenerationOnlyWhereItsMajorNumberDoes()
{
@@ -159,6 +159,8 @@ public sealed class XboxLibrarySourceTests : IDisposable
files.Cover.Should().BeNull("a GDK package ships no portrait cover");
XboxArtCache.Image(content, @"..\..\outside.png").Should().BeNull("a name that escapes the package is not the package's picture");
XboxArtCache.Image(content, @"C:\Windows\System32\shell32.dll").Should().BeNull();
XboxArtCache.Image(content, @"Resources\a:b.png").Should().BeNull("a file's stream is not a picture, and its scale search threw (beta.34)");
XboxArtCache.Image(content, @"Resources\Square480x480Logo.png:Zone.Identifier").Should().BeNull();
}
/// <summary>