Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8331a1d91b
|
No files matched your search
@@ -37,6 +37,15 @@ numeric core and does not move; the heading is the full version — corrected 20
|
||||
|
||||
### 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
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -464,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) |
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -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).
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Generated
+3
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user