Carry the title's field of view to the frame generation #3111

Closed
AquariusD0312 wants to merge 6 commits from upstream-pr/3111 into main
AquariusD0312 commented 2026-12-02 11:22:05 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T11:22:05Z.


Claimed in the coordination issue as: D3D12-FOV-FROM-TITLE-UPSCALE

Depends on: #3109

Current head: b877dc5be - 63efa834c (the clippy fix for the two uses of
1.5707963 in fg.rs that @merzleckeier reported) - 77fc82daf (the three review
defects fixed, and the narrow-angle fix for the [P2] below) merged with --no-ff
onto the current main d9b618f10. The merge brings in main's own changes to
fg.rs and to findings.md, but it changes no line of the field-of-view code in
either, so the behaviour of this patch is the same as on 63efa834c.

What and why

The vertical field of view is a fixed 60 degrees in the frame generation's
camera constants:

// leonida-gpu/src/fg.rs
let fov = 60f32.to_radians();

The depth and the motion vectors that frame generation is given are rebuilt
from that number, so a title whose camera is not at 60 degrees has its made
frames' shadows and edges in the wrong place.

The title does say its own: the FidelityFX upscale description carries it
(ffxDispatchDescUpscale::cameraFovAngleVertical, read in leonida-hle's
ffx.rs). What was missing was only the way to carry it to the frame
generation: the Upscale struct (leonida-gpu/src/list.rs) had no field for
it, so it was dropped between the title's description and fg.rs.

This patch carries it:

  • Upscale takes a fov, and its words (to_words / from_words) take one
    more. The length of a record is encoded in its op word
    (list/thin.rs, translate), so the reading side follows it.
  • leonida-hle's ffx.rs fills it from d.camera_fov.
  • fg.rs's tag takes it and passes it on, and constants uses it. 0 means
    the title did not say, and the 60 degrees is used.
  • dlss.rs and fsr.rs take it too, so both frame generation paths use it.

MoonEyes' review of 15b579756, and what changed

The review gave three defects, all now fixed in 77fc82daf:

The units rule was a guess with two meanings for one field. It read a
value above a half turn as degrees and one below as radians, so a
three-degree sniper zoom read as three radians came out as 172 degrees. The
FidelityFX API documents the field of view of an upscale dispatch in radians,
and the repository's own dispatch test passes 1.0f for it
(runtime/test/fsr_dispatch_test.cpp). The title's own value was measured on
this path too: the upscale probe of a run reads 0.471 rad
(d3d12/docs/findings.md), which is 27 degrees and not half a degree. The
rule is now settled once, in leonida-hle's ffx.rs (fov_radians): the
number is taken as radians.

The range check was written out twice, in fg.rs's constants and in
fsr.rs, and the two could drift apart. There is now one
pub(crate) fn fov_or_default(f32) -> f32 in fg.rs, which both take. The
fallback is the same 60 degrees as before on both paths.

The tests checked the clamp and not the carry. fov_tests exercised
constants() with hand-made Latest values, and nothing checked that a
camera_fov from the title's description arrives in the frame generation's
own record. There is now a test for the trip the value makes (the
description, the list's words, the record the frame generation reads) and one
for the rule both paths share.

The review also asked for the claim ID and the AI disclosure, which the
description did not have.

merzleckeier's review of 20ab69654 found one more thing, a [P2]: the
range check's lower bound (0.1 radians, 5.73 degrees) kept out a narrow field
of view the title can turn to (a three-degree zoom is 0.052 radians), on the
reasoning that a narrow one cannot be projected. The reasoning was wrong. The
projection is built from the tangent of half the field of view (ys = 1 / tan(fov / 2)), and that comes out negative only above a half turn, which is
the upper bound's job (3.0 radians, 171.9 degrees). A narrow angle is
projected as it is, so the lower bound is now 0.001 radians (0.057 degrees),
which turns away only a value that has degenerated: a field of view of zero
has no tangent at all, and the narrowest angle the projection can still be
built for is about 1e-36 degrees, thirty orders of magnitude below that. The
projection regression takes a three-degree field of view as it is now (ys =
38.188457, not the default's 1.732051), and the lower bound going back to 0.1
makes that test and the kept-range test fail.

What this does not change yet

On Series X the title's own upscaler does not go through ffxDispatch at
all, so the G-buffer pass's depth and motion vectors are what frame
generation uses there (fg.rs: "the G-buffer pass's from now on"), and the
G-buffer pass does not say a field of view. The patch therefore leaves the
60 degrees in place on that path: the numbers travel, but the title's own
value only arrives when the title goes through its upscale.

The path that carries it is the title's own upscale going through FidelityFX
(Series S, or Series X with LEONIDA_FSR_UPSCALER=1), where the frame
generation is given the depth and the motion vectors the upscale read
(LEONIDA_FG_GBUFFER=0, so not the G-buffer pass's, which says no field of
view).

The other four numbers on the G-buffer path are assumptions as well
(near 10000.0, far 0.15, jitter [0.0; 2], mv_pixels [1.0; 2]),
and the title's projection matrix would give all of them. That is a bigger
change and left out here.

Tested

The unit tests, with the negative controls. Measured on this head against its
base main d9b618f10: cargo test -p leonida-gpu --lib --locked 716 passed
before and 722 with the six new ones; cargo test -p leonida-hle --lib --locked 258
before and 259 with the new one. With --features diagnostics (the profile the
diagnostics build uses) the same two commands give 797 and 803, and 258 and 259.
Each new test fails without the fix it covers, each one put back on its own:

the fix put back the test that catches it
the degrees branch in fov_radians (a value above half a turn read as degrees) the_field_of_view_the_description_carries_is_radians fails
MAX_FOV_RADIANS widened to 30.0 a_field_of_view_outside_the_range_falls_back_to_the_default and the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default fail
MIN_FOV_RADIANS back to 0.1 a_narrow_field_of_view_the_title_said_is_projected_as_it_is, a_field_of_view_inside_the_range_is_kept and the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default fail
the field of view dropped from the list's words the_field_of_view_the_title_says_reaches_the_frame_generation fails ("the field of view did not survive the list's words"), and so does the round-trip test an_upscale_keeps_its_numbers_through_its_words
the default 60 degrees changed a_field_of_view_the_title_said_is_taken_as_it_is fails

The run on the path the change is for. Built with
diagnostics,dlss,mimalloc and run on an RTX 5070 Ti (driver 621.40,
Windows 11 build 26300), the Series S profile (1280x720 rendered, 1920x1080
output), LEONIDA_FRAME_GEN=2, LEONIDA_FG_GBUFFER=0,
LEONIDA_UPSCALE_PROBE=1:

the title's field of view   0.5250768661499023 rad  (30.08 degrees)
the frame generation's      0.5250768661499023 rad  (the same number)

The two are the same to the last bit, so the value the title gives is the
value the frame generation is given. It moves with the camera: the probe
reads 0.5251 to 0.5297 rad (30.08 to 30.35 degrees) while the world loads
and 0.6784 rad (38.87 degrees) after it, then 0.8648 rad (49.55 degrees)
once the camera turns. It is the title's own number, not a constant, and read
as degrees it would be half a degree.

The run: 2 min 39 s, no device loss, no crash, no warning from the runtime
about the frame generation. The rendered frames came 33.2 ms apart (the
median of the 17 windows' medians, 16.6 to 33.6 ms), which is 30.1 rendered
frames a second and 60.2 shown with the generation on; the GPU's own frame
time was 33.3 ms. Streamline was started and the amount set to 2
(amount set (1 = off) result=sl::Result::eOk (0) frames=2).

The earlier run on the Series X profile, where the patch changes nothing, is
in the history of this pull request: 28.5 to 36.8 ms a frame, the 95th
percentile at 45.3 ms, and no frame over a second.

GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 621.40, Windows 11 Pro for
Workstations build 26300 (the run above and the earlier Series X one). The
unit tests need no GPU.

The run on this head, by someone else. @lixonik ran b877dc5be in the world on
an RTX 5070 12 GB, the Series S profile, DLSS with Frame Generation 2x so the live
ffxDispatch vertical field of view feeds DLSS-G: 315 s in the world, 0 runtime
errors, 0 device lost, the generation steady (tagged=true status=0) past frame
index 12,600, and a median of 25.4 fps (39.4 ms). @merzleckeier checked this head
under Wine with the Windows MSVC build (all 23 fg:: tests, the upscale list round
trip and the six HLE FidelityFX tests) and found that it merges cleanly with
#3295 af01c295; the combined build passes all 23 fg:: tests. @OreoFR checked the
same head on current main (719 leonida-gpu and 258 leonida-hle tests passing)
and confirmed the field of view reaches both the DLSS and the FSR 3 path.

AI-assisted: yes. The code, the tests and this description were written with
Space-Bunny (WorkBuddy). The review above was answered by the same agent:
a separate reviewer agent was started, but it did not finish (it was reading
the whole tree and building the crates, which takes longer than the work
itself), so the checks were done here instead: the units against the dispatch
test, the range check against the two callers, each new test against the fix
it covers (the units rule put back, the range widened, the field of view
dropped from the list's words), the boundary values, the stale comments, and
the clean-room check. The run report's numbers are from the machine above.

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No
    translator rule: this is the D3D12 runtime, and the field of view is documented in
    d3d12/docs/findings.md instead.)

The measurements and the other settings that hold the frame rate back are in
the issue: https://github.com/ProjectLeonida/mandy/issues/3109

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5605386497 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T11:22:05Z. --- Claimed in the coordination issue as: D3D12-FOV-FROM-TITLE-UPSCALE Depends on: #3109 Current head: `b877dc5be` - `63efa834c` (the clippy fix for the two uses of `1.5707963` in `fg.rs` that @merzleckeier reported) - `77fc82daf` (the three review defects fixed, and the narrow-angle fix for the [P2] below) merged with `--no-ff` onto the current `main` `d9b618f10`. The merge brings in `main`'s own changes to `fg.rs` and to `findings.md`, but it changes no line of the field-of-view code in either, so the behaviour of this patch is the same as on `63efa834c`. ### What and why The vertical field of view is a fixed 60 degrees in the frame generation's camera constants: ```rust // leonida-gpu/src/fg.rs let fov = 60f32.to_radians(); ``` The depth and the motion vectors that frame generation is given are rebuilt from that number, so a title whose camera is not at 60 degrees has its made frames' shadows and edges in the wrong place. The title does say its own: the FidelityFX upscale description carries it (`ffxDispatchDescUpscale::cameraFovAngleVertical`, read in `leonida-hle`'s `ffx.rs`). What was missing was only the way to carry it to the frame generation: the `Upscale` struct (`leonida-gpu/src/list.rs`) had no field for it, so it was dropped between the title's description and `fg.rs`. This patch carries it: * `Upscale` takes a `fov`, and its words (`to_words` / `from_words`) take one more. The length of a record is encoded in its op word (`list/thin.rs`, `translate`), so the reading side follows it. * `leonida-hle`'s `ffx.rs` fills it from `d.camera_fov`. * `fg.rs`'s `tag` takes it and passes it on, and `constants` uses it. 0 means the title did not say, and the 60 degrees is used. * `dlss.rs` and `fsr.rs` take it too, so both frame generation paths use it. ### MoonEyes' review of `15b579756`, and what changed The review gave three defects, all now fixed in `77fc82daf`: **The units rule was a guess with two meanings for one field.** It read a value above a half turn as degrees and one below as radians, so a three-degree sniper zoom read as three radians came out as 172 degrees. The FidelityFX API documents the field of view of an upscale dispatch in radians, and the repository's own dispatch test passes 1.0f for it (`runtime/test/fsr_dispatch_test.cpp`). The title's own value was measured on this path too: the upscale probe of a run reads 0.471 rad (`d3d12/docs/findings.md`), which is 27 degrees and not half a degree. The rule is now settled once, in `leonida-hle`'s `ffx.rs` (`fov_radians`): the number is taken as radians. **The range check was written out twice**, in `fg.rs`'s `constants` and in `fsr.rs`, and the two could drift apart. There is now one `pub(crate) fn fov_or_default(f32) -> f32` in `fg.rs`, which both take. The fallback is the same 60 degrees as before on both paths. **The tests checked the clamp and not the carry.** `fov_tests` exercised `constants()` with hand-made `Latest` values, and nothing checked that a `camera_fov` from the title's description arrives in the frame generation's own record. There is now a test for the trip the value makes (the description, the list's words, the record the frame generation reads) and one for the rule both paths share. The review also asked for the claim ID and the AI disclosure, which the description did not have. `merzleckeier`'s review of `20ab69654` found one more thing, a **[P2]**: the range check's lower bound (0.1 radians, 5.73 degrees) kept out a narrow field of view the title can turn to (a three-degree zoom is 0.052 radians), on the reasoning that a narrow one cannot be projected. The reasoning was wrong. The projection is built from the tangent of half the field of view (`ys = 1 / tan(fov / 2)`), and that comes out negative only above a half turn, which is the upper bound's job (3.0 radians, 171.9 degrees). A narrow angle is projected as it is, so the lower bound is now 0.001 radians (0.057 degrees), which turns away only a value that has degenerated: a field of view of zero has no tangent at all, and the narrowest angle the projection can still be built for is about 1e-36 degrees, thirty orders of magnitude below that. The projection regression takes a three-degree field of view as it is now (`ys` = 38.188457, not the default's 1.732051), and the lower bound going back to 0.1 makes that test and the kept-range test fail. ### What this does not change yet On Series X the title's own upscaler does not go through `ffxDispatch` at all, so the G-buffer pass's depth and motion vectors are what frame generation uses there (`fg.rs`: "the G-buffer pass's from now on"), and the G-buffer pass does not say a field of view. The patch therefore leaves the 60 degrees in place on that path: the numbers travel, but the title's own value only arrives when the title goes through its upscale. The path that carries it is the title's own upscale going through FidelityFX (Series S, or Series X with `LEONIDA_FSR_UPSCALER=1`), where the frame generation is given the depth and the motion vectors the upscale read (`LEONIDA_FG_GBUFFER=0`, so not the G-buffer pass's, which says no field of view). The other four numbers on the G-buffer path are assumptions as well (`near` 10000.0, `far` 0.15, `jitter` `[0.0; 2]`, `mv_pixels` `[1.0; 2]`), and the title's projection matrix would give all of them. That is a bigger change and left out here. ### Tested **The unit tests, with the negative controls.** Measured on this head against its base `main` `d9b618f10`: `cargo test -p leonida-gpu --lib --locked` 716 passed before and 722 with the six new ones; `cargo test -p leonida-hle --lib --locked` 258 before and 259 with the new one. With `--features diagnostics` (the profile the diagnostics build uses) the same two commands give 797 and 803, and 258 and 259. Each new test fails without the fix it covers, each one put back on its own: | the fix put back | the test that catches it | |---|---| | the degrees branch in `fov_radians` (a value above half a turn read as degrees) | `the_field_of_view_the_description_carries_is_radians` fails | | `MAX_FOV_RADIANS` widened to 30.0 | `a_field_of_view_outside_the_range_falls_back_to_the_default` and `the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default` fail | | `MIN_FOV_RADIANS` back to 0.1 | `a_narrow_field_of_view_the_title_said_is_projected_as_it_is`, `a_field_of_view_inside_the_range_is_kept` and `the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default` fail | | the field of view dropped from the list's words | `the_field_of_view_the_title_says_reaches_the_frame_generation` fails ("the field of view did not survive the list's words"), and so does the round-trip test `an_upscale_keeps_its_numbers_through_its_words` | | the default 60 degrees changed | `a_field_of_view_the_title_said_is_taken_as_it_is` fails | **The run on the path the change is for.** Built with `diagnostics,dlss,mimalloc` and run on an RTX 5070 Ti (driver 621.40, Windows 11 build 26300), the Series S profile (1280x720 rendered, 1920x1080 output), `LEONIDA_FRAME_GEN=2`, `LEONIDA_FG_GBUFFER=0`, `LEONIDA_UPSCALE_PROBE=1`: ``` the title's field of view 0.5250768661499023 rad (30.08 degrees) the frame generation's 0.5250768661499023 rad (the same number) ``` The two are the same to the last bit, so the value the title gives is the value the frame generation is given. It moves with the camera: the probe reads 0.5251 to 0.5297 rad (30.08 to 30.35 degrees) while the world loads and 0.6784 rad (38.87 degrees) after it, then 0.8648 rad (49.55 degrees) once the camera turns. It is the title's own number, not a constant, and read as degrees it would be half a degree. The run: 2 min 39 s, no device loss, no crash, no warning from the runtime about the frame generation. The rendered frames came 33.2 ms apart (the median of the 17 windows' medians, 16.6 to 33.6 ms), which is 30.1 rendered frames a second and 60.2 shown with the generation on; the GPU's own frame time was 33.3 ms. Streamline was started and the amount set to 2 (`amount set (1 = off) result=sl::Result::eOk (0) frames=2`). The earlier run on the Series X profile, where the patch changes nothing, is in the history of this pull request: 28.5 to 36.8 ms a frame, the 95th percentile at 45.3 ms, and no frame over a second. GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 621.40, Windows 11 Pro for Workstations build 26300 (the run above and the earlier Series X one). The unit tests need no GPU. **The run on this head, by someone else.** @lixonik ran `b877dc5be` in the world on an RTX 5070 12 GB, the Series S profile, DLSS with Frame Generation 2x so the live `ffxDispatch` vertical field of view feeds DLSS-G: 315 s in the world, 0 runtime errors, 0 device lost, the generation steady (`tagged=true status=0`) past frame index 12,600, and a median of 25.4 fps (39.4 ms). @merzleckeier checked this head under Wine with the Windows MSVC build (all 23 `fg::` tests, the upscale list round trip and the six HLE FidelityFX tests) and found that it merges cleanly with #3295 `af01c295`; the combined build passes all 23 `fg::` tests. @OreoFR checked the same head on current `main` (719 `leonida-gpu` and 258 `leonida-hle` tests passing) and confirmed the field of view reaches both the DLSS and the FSR 3 path. AI-assisted: yes. The code, the tests and this description were written with Space-Bunny (WorkBuddy). The review above was answered by the same agent: a separate reviewer agent was started, but it did not finish (it was reading the whole tree and building the crates, which takes longer than the work itself), so the checks were done here instead: the units against the dispatch test, the range check against the two callers, each new test against the fix it covers (the units rule put back, the range widened, the field of view dropped from the list's words), the boundary values, the stale comments, and the clean-room check. The run report's numbers are from the machine above. ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (No translator rule: this is the D3D12 runtime, and the field of view is documented in `d3d12/docs/findings.md` instead.) ### Related The measurements and the other settings that hold the frame rate back are in the issue: https://github.com/ProjectLeonida/mandy/issues/3109
AquariusD0312 commented 2026-12-02 11:23:48 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T11:23:48Z.


Two notes on this pull request:

  1. The measurements in the body are from the build at 917c54 (2026-12-02 07:24 UTC), which is what was on main when it was written. main has moved since (40ac041), so they should be read as what that build does.

  2. The patch does not change the behaviour on the path this PC uses: the title's own upscaler does not go through fxDispatch on Series X, so the G-buffer pass's depth and motion vectors are what frame generation gets there, and the 60 degrees stays in place. The patch is what lets the title's own value through when the title does go through its upscale, and it carries the same value the runtime already reads and logs in the upscale probe.

The other three settings measured in the issue (the frame generation limit, the texture recheck interval and the pipeline warm-up) need no code change and are in the issue.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7343861285 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7343861285). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T11:23:48Z. --- Two notes on this pull request: 1. The measurements in the body are from the build at 917c54 (2026-12-02 07:24 UTC), which is what was on main when it was written. main has moved since (40ac041), so they should be read as what that build does. 2. The patch does not change the behaviour on the path this PC uses: the title's own upscaler does not go through fxDispatch on Series X, so the G-buffer pass's depth and motion vectors are what frame generation gets there, and the 60 degrees stays in place. The patch is what lets the title's own value through when the title does go through its upscale, and it carries the same value the runtime already reads and logs in the upscale probe. The other three settings measured in the issue (the frame generation limit, the texture recheck interval and the pipeline warm-up) need no code change and are in the issue.
MoonEyes commented 2026-12-02 12:41:30 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T12:41:30Z.


This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).

Could you, or anyone with a working setup, post a run report on the current head merged onto current main:

  • the head SHA and the main SHA it was merged onto;
  • GPU, driver and OS;
  • at least 300 s in the world after loading;
  • device lost / crashes (count), and rendered fps (median) if you have them;
  • the same run on main alone for comparison, if you can.

Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7345726396 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7345726396). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T12:41:30Z. --- This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists). Could you, or anyone with a working setup, post a run report on the **current head** merged onto current `main`: - the head SHA and the `main` SHA it was merged onto; - GPU, driver and OS; - at least 300 s in the world after loading; - device lost / crashes (count), and rendered fps (median) if you have them; - the same run on `main` alone for comparison, if you can. Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough. AI-assisted (Claude Code).
Kal0s-design commented 2026-12-02 12:53:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-02T12:53:08Z.


Ran natively on Windows 11, head 9aa55c3bb merged into current main (23a51c494, merged clean), toolchain 1.98.1 from rust-toolchain.toml. No game launch and no game data, only the crate tests.

The leonida-gpu lib tests don't compile with this change. Upscale got a new fov field but the existing round-trip test in list.rs still builds one without it:

cargo test -q -p leonida-gpu --features diagnostics --lib --locked

error[E0063]: missing field `fov` in initializer of `list::Upscale`
    --> crates\leonida-gpu\src\list.rs:3132:18
3132 |         let up = Upscale {
     |                  ^^^^^^^ missing `fov`

Same error on the PR head alone, before the merge. On main the same command builds and runs. The fix is one line in an_upscale_keeps_its_numbers_through_its_words (add fov: <something non-zero>). Its expect("eleven words") message is now twelve too, and the [..10] truncation check still passes but [..11] would be the tighter one now that the record is 12 words.

With that line added locally (not pushed), everything passes:

Run Result
cargo test -p leonida-gpu --features diagnostics --lib (full suite) 772 passed, 0 failed, 59 ignored
an_upscale_keeps_its_numbers_through_its_words with fov: 1.0 pass, the value survives to_words / from_words
fg::, fsr::, upscale tests with LEONIDA_D3D12_WARP=1 LEONIDA_D3D12_DEBUG=1 9 + 3 + 1 passed (these are CPU-only, so WARP and the debug layer don't really get exercised)
cargo test -p leonida-hle --lib 248 passed, 2 ignored

I also fed a range of values into fg::constants with a throwaway test (not committed), 2560x1440, near 10000 / far 0.15, to see what the new unit rule does at the edges:

fov in taken as ys (row 1 of cameraViewToClip) ok?
0, -1, NaN, -inf 60 deg default 1.732 yes
1.0472 60 deg 1.732 yes
3.0 171.9 deg (radians) 0.0709 finite but extreme
3.1415927 (pi) 180 deg -4.4e-8 no, negative, clipToCameraView gets -2.3e7
3.2 3.2 deg (degrees) 35.8 finite, but a jump from ~180 deg at 3.14 to 3.2 deg at 3.2
60 60 deg 1.732 yes
180 180 deg -4.4e-8 no
200 200 deg -0.176 no, flips the sign of the projection
360 360 deg 1.1e7 no
+inf inf NaN no, NaN in both matrices and cameraFOV

So 0, negatives and NaN are handled well, but there is no upper bound. Anything at or above pi radians or 180 degrees, and +inf, reaches Streamline as a negative or NaN projection. A plain clamp, e.g. falling back to the default unless the radian value is in something like (0.1, 3.0), would cover it. Only a misbehaving title would send such values, so this is a hardening note, not a blocker.

Two smaller things about units:

  • The comment in fg.rs says the FidelityFX value is in degrees, while the new comments in ffx.rs, list.rs and dlss.rs say radians. main itself treats camera_fov_angle_vertical as radians (fsr.rs passes FOV_Y_DEGREES.to_radians() there), and the repo's own FFX dispatch test in runtime/test/fsr_dispatch_test.cpp passes 1.0f, so the degrees branch should never fire for a well-behaved title. It might be simpler to drop it and treat the value as radians everywhere.
  • If the degrees branch stays, fsr.rs doesn't apply it. It passes inputs.fov straight into camera_fov_angle_vertical whenever it's > 0, so a value of 60.0 would be 60 deg for the DLSS-G path (fg::constants) but 60 radians for the FSR frame generation path. Whichever rule you keep, it would be good to resolve the value once (in ffx.rs or list.rs) so both paths see the same number.

Not checked: an in-game run (the render gate MoonEyes asked for still applies), the DLSS feature build, and the actual effect of a non-60 FOV on generated frames, since on Series X the title doesn't go through ffxDispatch and nothing here would reach the new value.

GPUs tested: n/a (CPU-only tests).

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7346029964 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7346029964). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-12-02T12:53:08Z. --- Ran natively on Windows 11, head `9aa55c3bb` merged into current `main` (`23a51c494`, merged clean), toolchain 1.98.1 from rust-toolchain.toml. No game launch and no game data, only the crate tests. **The `leonida-gpu` lib tests don't compile with this change.** `Upscale` got a new `fov` field but the existing round-trip test in `list.rs` still builds one without it: ``` cargo test -q -p leonida-gpu --features diagnostics --lib --locked error[E0063]: missing field `fov` in initializer of `list::Upscale` --> crates\leonida-gpu\src\list.rs:3132:18 3132 | let up = Upscale { | ^^^^^^^ missing `fov` ``` Same error on the PR head alone, before the merge. On `main` the same command builds and runs. The fix is one line in `an_upscale_keeps_its_numbers_through_its_words` (add `fov: <something non-zero>`). Its `expect("eleven words")` message is now twelve too, and the `[..10]` truncation check still passes but `[..11]` would be the tighter one now that the record is 12 words. With that line added locally (not pushed), everything passes: | Run | Result | |---|---| | `cargo test -p leonida-gpu --features diagnostics --lib` (full suite) | 772 passed, 0 failed, 59 ignored | | `an_upscale_keeps_its_numbers_through_its_words` with `fov: 1.0` | pass, the value survives `to_words` / `from_words` | | `fg::`, `fsr::`, upscale tests with `LEONIDA_D3D12_WARP=1 LEONIDA_D3D12_DEBUG=1` | 9 + 3 + 1 passed (these are CPU-only, so WARP and the debug layer don't really get exercised) | | `cargo test -p leonida-hle --lib` | 248 passed, 2 ignored | I also fed a range of values into `fg::constants` with a throwaway test (not committed), 2560x1440, near 10000 / far 0.15, to see what the new unit rule does at the edges: | `fov` in | taken as | `ys` (row 1 of `cameraViewToClip`) | ok? | |---|---|---|---| | 0, -1, NaN, -inf | 60 deg default | 1.732 | yes | | 1.0472 | 60 deg | 1.732 | yes | | 3.0 | 171.9 deg (radians) | 0.0709 | finite but extreme | | 3.1415927 (pi) | 180 deg | -4.4e-8 | no, negative, `clipToCameraView` gets -2.3e7 | | 3.2 | 3.2 deg (degrees) | 35.8 | finite, but a jump from ~180 deg at 3.14 to 3.2 deg at 3.2 | | 60 | 60 deg | 1.732 | yes | | 180 | 180 deg | -4.4e-8 | no | | 200 | 200 deg | -0.176 | no, flips the sign of the projection | | 360 | 360 deg | 1.1e7 | no | | +inf | inf | NaN | no, NaN in both matrices and `cameraFOV` | So 0, negatives and NaN are handled well, but there is no upper bound. Anything at or above pi radians or 180 degrees, and +inf, reaches Streamline as a negative or NaN projection. A plain clamp, e.g. falling back to the default unless the radian value is in something like (0.1, 3.0), would cover it. Only a misbehaving title would send such values, so this is a hardening note, not a blocker. Two smaller things about units: - The comment in `fg.rs` says the FidelityFX value is in degrees, while the new comments in `ffx.rs`, `list.rs` and `dlss.rs` say radians. `main` itself treats `camera_fov_angle_vertical` as radians (`fsr.rs` passes `FOV_Y_DEGREES.to_radians()` there), and the repo's own FFX dispatch test in `runtime/test/fsr_dispatch_test.cpp` passes `1.0f`, so the degrees branch should never fire for a well-behaved title. It might be simpler to drop it and treat the value as radians everywhere. - If the degrees branch stays, `fsr.rs` doesn't apply it. It passes `inputs.fov` straight into `camera_fov_angle_vertical` whenever it's > 0, so a value of 60.0 would be 60 deg for the DLSS-G path (`fg::constants`) but 60 radians for the FSR frame generation path. Whichever rule you keep, it would be good to resolve the value once (in `ffx.rs` or `list.rs`) so both paths see the same number. Not checked: an in-game run (the render gate MoonEyes asked for still applies), the DLSS feature build, and the actual effect of a non-60 FOV on generated frames, since on Series X the title doesn't go through `ffxDispatch` and nothing here would reach the new value. GPUs tested: n/a (CPU-only tests). AI-assisted: yes (Claude Code).
AquariusD0312 commented 2026-12-02 15:03:59 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T15:03:59Z.


Thanks for both replies. The build break is mine and it is fixed.

cargo test -q -p leonida-gpu --features diagnostics --lib --locked does not build with the first commit. Upscale got a fov field and the round-trip test in list.rs still built one without it. I ran cargo build and not cargo test, which is how it got through. The expect("eleven words") message and the [..10] truncation check are now twelve and [..11].

The three points are taken as they are made, and the commit on top of the first one does this:

  • The units are settled in one place. leonida-hle/src/modules/ffx.rs reads the value once, where the title's number comes in: radians, and a value too large to be radians is read as degrees. fg::constants and the FSR frame generation's camera_fov_angle_vertical both take the number from there, so 60.0 means the same thing to both. The degrees branch is out of fg.rs, where it made the two paths disagree.

  • The range is checked. A field of view outside (0.1, 3.0) radians, or one that is not a number, falls back to the default 60 degrees. At or above half a turn the projection came out with a negative or a NaN in it, and that is what reaches Streamline. MIN_FOV_RADIANS and MAX_FOV_RADIANS are shared with fsr.rs, so the two paths take the same range.

  • The comment about the units in fg.rs said degrees, the new ones elsewhere said radians; the code now reads radians, and the comments say so.

Three tests are added for it in fg.rs: the title's own value is taken as it is, a value outside the range falls back to the default, and a value inside it is kept and is not the default's. The full suite on the merged head:

cargo test -p leonida-gpu --features diagnostics --lib   780 passed, 0 failed, 59 ignored
cargo test -p leonida-hle --lib                          248 passed, 0 failed, 2 ignored

780 is 772 of yours plus the 3 new ones.

Merged onto current main (acc35074), cleanly, no conflict:

760e31e7a  Merge remote-tracking branch 'origin/main' into local/fov-fix

The run report MoonEyes asked for is coming: the head merged onto the current main, in the world for more than 300 s, with the rendered frames and the device-lost count. It will be a separate reply.

One thing to say plainly, so it is not read as a change in behaviour: this patch does not change anything on the path a Series X title takes. The title's own upscaler does not go through ffxDispatch there, so the G-buffer pass's depth and motion vectors are what the frame generation gets, and the 60 degrees stays in place. The patch is what lets the title's own value through on the paths that do go through its upscale. The G-buffer pass would need the title's projection matrix to say a field of view of its own, which is a larger piece of work than this.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7349651954 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7349651954). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T15:03:59Z. --- Thanks for both replies. The build break is mine and it is fixed. **`cargo test -q -p leonida-gpu --features diagnostics --lib --locked` does not build with the first commit.** `Upscale` got a `fov` field and the round-trip test in `list.rs` still built one without it. I ran `cargo build` and not `cargo test`, which is how it got through. The `expect("eleven words")` message and the `[..10]` truncation check are now twelve and `[..11]`. The three points are taken as they are made, and the commit on top of the first one does this: - **The units are settled in one place.** `leonida-hle/src/modules/ffx.rs` reads the value once, where the title's number comes in: radians, and a value too large to be radians is read as degrees. `fg::constants` and the FSR frame generation's `camera_fov_angle_vertical` both take the number from there, so 60.0 means the same thing to both. The degrees branch is out of `fg.rs`, where it made the two paths disagree. - **The range is checked.** A field of view outside (0.1, 3.0) radians, or one that is not a number, falls back to the default 60 degrees. At or above half a turn the projection came out with a negative or a NaN in it, and that is what reaches Streamline. `MIN_FOV_RADIANS` and `MAX_FOV_RADIANS` are shared with `fsr.rs`, so the two paths take the same range. - **The comment about the units** in `fg.rs` said degrees, the new ones elsewhere said radians; the code now reads radians, and the comments say so. Three tests are added for it in `fg.rs`: the title's own value is taken as it is, a value outside the range falls back to the default, and a value inside it is kept and is not the default's. The full suite on the merged head: ``` cargo test -p leonida-gpu --features diagnostics --lib 780 passed, 0 failed, 59 ignored cargo test -p leonida-hle --lib 248 passed, 0 failed, 2 ignored ``` 780 is 772 of yours plus the 3 new ones. **Merged onto current `main`** (`acc35074`), cleanly, no conflict: ``` 760e31e7a Merge remote-tracking branch 'origin/main' into local/fov-fix ``` The run report MoonEyes asked for is coming: the head merged onto the current `main`, in the world for more than 300 s, with the rendered frames and the device-lost count. It will be a separate reply. One thing to say plainly, so it is not read as a change in behaviour: **this patch does not change anything on the path a Series X title takes.** The title's own upscaler does not go through `ffxDispatch` there, so the G-buffer pass's depth and motion vectors are what the frame generation gets, and the 60 degrees stays in place. The patch is what lets the title's own value through on the paths that do go through its upscale. The G-buffer pass would need the title's projection matrix to say a field of view of its own, which is a larger piece of work than this.
AquariusD0312 commented 2026-12-02 15:09:40 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T15:09:40Z.


Two things about the frame generation, from a run on the Series X profile at 2560x1440, that came out of testing the profile on this PC.

The missing common constants burst is the menus and the loading, not a broken frame generation. The warning appears once a present while LATEST is still empty, so every present before the first in-world frame logs it - 1,494 of them in the first twenty seconds here, and 272 more in one minute later on when the window lost the focus. The frame generation itself starts when the G-buffer pass hands its depth and motion vectors over, and from then on there are none. lixonik's run on main (69cd4106c) shows the same shape with the transition marked: frame generation: depth and motion vectors are the G-buffer pass's from now on ... size=[2560, 1440], tagged=true, and no warning after it.

That matches what we saw: presented=1 per=1 while the title was in its menus, and the warning repeating every frame. It is not a fault, and it is not a reason to read the presented rate as the generated one.

The cleanup in fg.rs:993 would be worth having. Keeping DLSSGMode::eOn off until LATEST has been filled once would take away the 2,000-3,300 misleading warnings in the startup and the menus. We spent time on them ourselves: they read like a broken frame generation, and the number of them is what the issue #3137 report is built on.

What the frame generation costs on that profile, and what a stall there is not. With the profile's own settings the rendered frames sat 71.4 ms apart (14.0 a second, 28 shown), which is the frame generation limit of 28 shown frames holding the rendered ones to half of it. Raising the limit to 60 gives 26.4 rendered frames a second and takes the frames over a second from nine in a run to none - that is in the issue.

One thing we found there that is not the frame generation: on the same profile, at the same resolution, the first bind of a pipeline is where the stalls are. Over a 44-minute run:

stalls over 300 ms first binds in the 3 s before each
1440p, the title's own upscaler 1 1
2560x1440 rendered, 1:1 to the output 9 (the longest 4,048 ms) 1,949

The render path is the same in both (2560x1440); what differs is the output. The stalls are the driver compiling a pipeline it has not seen, and the runtime's own disk cache of the driver's pipelines holds almost nothing (14 entries, two of them large and the rest 64 KiB each). So the frame rate is steady between the stalls and drops at each new one.

This does not change what the patch does, which is the same as before: the title's own upscaler does not go through ffxDispatch on Series X, so the G-buffer pass's depth and motion vectors are what the frame generation gets there, and the 60 degrees stays in place. The patch is what lets the title's own value through on the paths that do go through its upscale.

The run report MoonEyes asked for follows in a separate reply.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7349834228 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7349834228). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T15:09:40Z. --- Two things about the frame generation, from a run on the Series X profile at 2560x1440, that came out of testing the profile on this PC. **The `missing common constants` burst is the menus and the loading, not a broken frame generation.** The warning appears once a present while `LATEST` is still empty, so every present before the first in-world frame logs it - 1,494 of them in the first twenty seconds here, and 272 more in one minute later on when the window lost the focus. The frame generation itself starts when the G-buffer pass hands its depth and motion vectors over, and from then on there are none. lixonik's run on `main` (`69cd4106c`) shows the same shape with the transition marked: `frame generation: depth and motion vectors are the G-buffer pass's from now on ... size=[2560, 1440]`, `tagged=true`, and no warning after it. That matches what we saw: `presented=1 per=1` while the title was in its menus, and the warning repeating every frame. It is not a fault, and it is not a reason to read the presented rate as the generated one. **The cleanup in `fg.rs:993` would be worth having.** Keeping `DLSSGMode::eOn` off until `LATEST` has been filled once would take away the 2,000-3,300 misleading warnings in the startup and the menus. We spent time on them ourselves: they read like a broken frame generation, and the number of them is what the issue #3137 report is built on. **What the frame generation costs on that profile, and what a stall there is not.** With the profile's own settings the rendered frames sat 71.4 ms apart (14.0 a second, 28 shown), which is the frame generation limit of 28 shown frames holding the rendered ones to half of it. Raising the limit to 60 gives 26.4 rendered frames a second and takes the frames over a second from nine in a run to none - that is in the issue. One thing we found there that is not the frame generation: on the same profile, at the same resolution, the first bind of a pipeline is where the stalls are. Over a 44-minute run: | | stalls over 300 ms | first binds in the 3 s before each | |---|---|---| | 1440p, the title's own upscaler | 1 | 1 | | 2560x1440 rendered, 1:1 to the output | 9 (the longest 4,048 ms) | 1,949 | The render path is the same in both (2560x1440); what differs is the output. The stalls are the driver compiling a pipeline it has not seen, and the runtime's own disk cache of the driver's pipelines holds almost nothing (14 entries, two of them large and the rest 64 KiB each). So the frame rate is steady between the stalls and drops at each new one. **This does not change what the patch does**, which is the same as before: the title's own upscaler does not go through `ffxDispatch` on Series X, so the G-buffer pass's depth and motion vectors are what the frame generation gets there, and the 60 degrees stays in place. The patch is what lets the title's own value through on the paths that do go through its upscale. The run report MoonEyes asked for follows in a separate reply.
AquariusD0312 commented 2026-12-02 15:34:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T15:34:19Z.


Four names are owed here.

@lixonik - the run on the current main (69cd4106c) that settled the missing common constants question: the warnings are the menus and the loading, the G-buffer pass latches on the first in-world frame, and there are none after it. That is what our own run here showed as well, and it is the reason the report below is a comparison between two runs and not a verdict on the profile.

@fiestorra - issue #3137, whose report of 2,208 missing common constants and 35.7 ms frames on an RTX 4090 is the same shape this PC showed, and whose reading of where the warnings come from (sl.set_constants is only reached when the depth and the motion copies are found, so a present without them is exactly what Streamline reports as missing common constants) is the right one.

@Kal0s-design - the report that the leonida-gpu lib tests did not build with the first commit, and the edge-value table of the field of view that showed the projection coming out with a negative or a NaN in it. Both are fixed in the commit on top, and the table is what the range check is based on.

@MoonEyes - the gate this pull request is held behind. The run report is below.

The cleanup @lixonik suggests is worth having and we would support it: keeping DLSSGMode::eOn off until LATEST has been filled once would take away the 2,000-3,300 warnings in the startup and the menus, which read like a broken frame generation and are what issue #3137 is built on.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7350551852 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7350551852). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T15:34:19Z. --- Four names are owed here. **@lixonik** - the run on the current `main` (`69cd4106c`) that settled the `missing common constants` question: the warnings are the menus and the loading, the G-buffer pass latches on the first in-world frame, and there are none after it. That is what our own run here showed as well, and it is the reason the report below is a comparison between two runs and not a verdict on the profile. **@fiestorra** - issue #3137, whose report of 2,208 `missing common constants` and 35.7 ms frames on an RTX 4090 is the same shape this PC showed, and whose reading of where the warnings come from (`sl.set_constants` is only reached when the depth and the motion copies are found, so a present without them is exactly what Streamline reports as `missing common constants`) is the right one. **@Kal0s-design** - the report that the `leonida-gpu` lib tests did not build with the first commit, and the edge-value table of the field of view that showed the projection coming out with a negative or a NaN in it. Both are fixed in the commit on top, and the table is what the range check is based on. **@MoonEyes** - the gate this pull request is held behind. The run report is below. The cleanup @lixonik suggests is worth having and we would support it: keeping `DLSSGMode::eOn` off until `LATEST` has been filled once would take away the 2,000-3,300 warnings in the startup and the menus, which read like a broken frame generation and are what issue #3137 is built on.
AquariusD0312 commented 2026-12-02 17:22:32 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T17:22:32Z.


Run report on the current head, as @MoonEyes asked for.

What was run

head 760e31e7a97e941a6e5e6e630a3cbd6caa5639d5 (local/fov-fix, the field-of-view patch merged onto main)
main it was merged onto acc3507455ab10a38e5a49a2c4678a276fbcf31d (upstream main, PR #3077's merge point, 2026-12-02 14:23 UTC). main has moved on since - it is at 3c106eb2ff088d1a046db268e340db9f9fb4ed66 now - so this report is about that head, not about today's main.
GPU NVIDIA GeForce RTX 5070 Ti, 16,303 MiB, driver 621.40 (32.0.16.2140), PCIe 4.0 x16
OS Windows 11 Pro for Workstations, build 26300.10.0.26300
CPU / RAM Intel Core i5-14600KF, 14 cores / 20 threads; 47.8 GB usable
Page file 32 GB fixed on D: (D://pagefile.sys 32768 32768) - see issue #3109 for why it has to be that size
Build diagnostics,dlss,mimalloc (diag profile)
Profile Series X: LEONIDA_OUTPUT=2560x1440, the title's own dynamic resolution (LEONIDA_RENDER_SCALE_MIN=0.75, so 1080-1440 lines), the title's own upscaler, LEONIDA_FRAME_GEN=2, LEONIDA_FG_LIMIT_FPS=60, LEONIDA_HEAP_RECHECK_EVERY=15

The runtime logged its own settings line: 70 settings, item for item the same as the run in issue #3109
(play-1203-001153.log), so the numbers below are on the same settings that report was made with.

The run

One session, 00:42:17 - 00:48:32 local, the runtime's log in %LOCALAPPDATA%\Leonida\logs\play-1203-004217.log.

In the world after loading: 330.8 s (65 frame-time windows, 16:43:05 - 16:48:31).

rendered fps (median of the per-window medians) 27.5 (36.3 ms a frame)
per-window median, range 33.3 - 41.2 ms
95th percentile (median of the per-window p95) 42.9 ms
device lost 0
crashes 0 (no device removed / device lost / DXGI_ERROR_DEVICE_* in the log; no 1000/1001/1002/4101 in the Windows Application or System log)
frames over 1 s 0
frames over 100 ms 6, all in the first 15 s after loading
longest frame 183.1 ms
the session ended normally - window closed: suspending the title, then title suspended; ending the title

The one frame over a second in the whole log (4372 ms) is the moment of entering the world - it arrives with
first bind pipeline and the first texture readbacks, in the loading window (643 draws/frame), not in play.

For the same measure as issue #3109 §10, over the samples with more than 3,000 draws a frame:
fps min 22.8 / median 26.6 / max 30.0, and the first third to the last third 27.0 -> 26.7 fps - no fall over the
session. (draws/frame > 3000 also drops one second in the world where the title submitted 2 draws, which is the
tail of the loading; over draws >= 1000 it is 26.9 fps median and 27.0 -> 27.2. Both agree: no decline.)

Where the frame time goes, medians over the world:

preparing        26.1 ms   (copies 8.1 ms / 40.3 MB, textures 0.5 ms / 5.0 MB)
on the GPU        0.00 ms
copying back      8.1 ms   (1.0 MB)
draws/frame       5694

A note on that on the GPU line, because it reads as if the card did nothing: it is SUBMISSION_US[1]
(host.rs:1072-1076), the time the submitting thread stood waiting for the card's fence, not the card's
own work. The log says the same number in words on the next line ("the submitting thread stood waiting for the
card X ms") and they match line for line in all 64 rows of the world phase. So 0.00 ms means the CPU never
blocked on the card - the limit here is the 26.1 ms of preparing on the CPU. The card itself is reported as
about 75% busy by that same line. The per-command GPU times need VICTORY_GPU_TIMING, which was not on here,
so the time on the card is not part of this report.

The comparison run on main alone

Not done yet, and I would rather say so than present a number from a build that is not the comparison. What
there is: the run in issue #3109's play-1203-001153.log (00:11-00:18, same 70 settings, same build family)
has 10 frames over 1 s, the longest 34.8 s, and its log ends without a window closed line. This run has
none of those. I would like to run main alone for a like-for-like comparison and post it here.

What was checked for the flickering and the field of view

No flicker was seen in this run, and none of the long frames came from the texture path. The six frames over
100 ms all arrive with first bind pipeline / shader translated on the same second - the same signature as
the long frames in the earlier log - so they are the driver compiling new pipelines, not the texture recheck.
The recheck itself behaved as intended: 300 textures were found changed, the median 9 frames after their
upload.

On the field of view, the patch's own point holds on this path, as @lixonik's run on main and issue #3137 by
@fiestorra showed: the title's own upscaler on Series X does not go through ffxDispatch, so the G-buffer
pass's depth and motion vectors are what the frame generation is given there and the 60 degrees stays in place
on that path. This run is on that path, so it is a stability and frame-rate report, not a test of the new number.

@Kal0s-design caught the build break in the first commit (cargo test -q -p leonida-gpu --features diagnostics --lib --locked
did not build). It is fixed in 15b579756, and leonida-gpu 780 tests and leonida-hle 248 tests pass here.

Thanks to @MoonEyes for the gate, and to @Kal0s-design, @lixonik and @fiestorra for the corrections that made
this report mean what it says.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353237024 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7353237024). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T17:22:32Z. --- Run report on the current head, as @MoonEyes asked for. ## What was run | | | |---|---| | **head** | `760e31e7a97e941a6e5e6e630a3cbd6caa5639d5` (`local/fov-fix`, the field-of-view patch merged onto main) | | **`main` it was merged onto** | `acc3507455ab10a38e5a49a2c4678a276fbcf31d` (upstream `main`, PR #3077's merge point, 2026-12-02 14:23 UTC). `main` has moved on since - it is at `3c106eb2ff088d1a046db268e340db9f9fb4ed66` now - so this report is about that head, not about today's `main`. | | GPU | NVIDIA GeForce RTX 5070 Ti, 16,303 MiB, driver **621.40** (32.0.16.2140), PCIe 4.0 x16 | | OS | Windows 11 Pro for Workstations, build 26300.10.0.26300 | | CPU / RAM | Intel Core i5-14600KF, 14 cores / 20 threads; 47.8 GB usable | | Page file | 32 GB fixed on `D:` (`D://pagefile.sys 32768 32768`) - see issue #3109 for why it has to be that size | | Build | `diagnostics,dlss,mimalloc` (`diag` profile) | | Profile | Series X: `LEONIDA_OUTPUT=2560x1440`, the title's own dynamic resolution (`LEONIDA_RENDER_SCALE_MIN=0.75`, so 1080-1440 lines), the title's own upscaler, `LEONIDA_FRAME_GEN=2`, `LEONIDA_FG_LIMIT_FPS=60`, `LEONIDA_HEAP_RECHECK_EVERY=15` | The runtime logged its own settings line: **70 settings**, item for item the same as the run in issue #3109 (`play-1203-001153.log`), so the numbers below are on the same settings that report was made with. ## The run One session, 00:42:17 - 00:48:32 local, the runtime's log in `%LOCALAPPDATA%\Leonida\logs\play-1203-004217.log`. **In the world after loading: 330.8 s** (65 frame-time windows, 16:43:05 - 16:48:31). | | | |---|---| | **rendered fps (median of the per-window medians)** | **27.5** (36.3 ms a frame) | | per-window median, range | 33.3 - 41.2 ms | | 95th percentile (median of the per-window p95) | 42.9 ms | | **device lost** | **0** | | **crashes** | **0** (no `device removed` / `device lost` / `DXGI_ERROR_DEVICE_*` in the log; no 1000/1001/1002/4101 in the Windows Application or System log) | | frames over 1 s | **0** | | frames over 100 ms | 6, all in the first 15 s after loading | | longest frame | 183.1 ms | | the session ended | normally - `window closed: suspending the title`, then `title suspended; ending the title` | The one frame over a second in the whole log (4372 ms) is the moment of entering the world - it arrives with `first bind pipeline` and the first texture readbacks, in the loading window (643 draws/frame), not in play. For the same measure as issue #3109 §10, over the samples with more than 3,000 draws a frame: fps min 22.8 / median 26.6 / max 30.0, and the first third to the last third 27.0 -> 26.7 fps - no fall over the session. (`draws/frame > 3000` also drops one second in the world where the title submitted 2 draws, which is the tail of the loading; over `draws >= 1000` it is 26.9 fps median and 27.0 -> 27.2. Both agree: no decline.) Where the frame time goes, medians over the world: ``` preparing 26.1 ms (copies 8.1 ms / 40.3 MB, textures 0.5 ms / 5.0 MB) on the GPU 0.00 ms copying back 8.1 ms (1.0 MB) draws/frame 5694 ``` A note on that `on the GPU` line, because it reads as if the card did nothing: it is `SUBMISSION_US[1]` (`host.rs:1072-1076`), the **time the submitting thread stood waiting for the card's fence**, not the card's own work. The log says the same number in words on the next line ("the submitting thread stood waiting for the card X ms") and they match line for line in all 64 rows of the world phase. So 0.00 ms means the CPU never blocked on the card - the limit here is the 26.1 ms of preparing on the CPU. The card itself is reported as about 75% busy by that same line. The per-command GPU times need `VICTORY_GPU_TIMING`, which was not on here, so the time on the card is not part of this report. ## The comparison run on `main` alone Not done yet, and I would rather say so than present a number from a build that is not the comparison. What there is: the run in issue #3109's `play-1203-001153.log` (00:11-00:18, same 70 settings, same build family) has **10 frames over 1 s, the longest 34.8 s**, and its log ends without a `window closed` line. This run has none of those. I would like to run `main` alone for a like-for-like comparison and post it here. ## What was checked for the flickering and the field of view No flicker was seen in this run, and none of the long frames came from the texture path. The six frames over 100 ms all arrive with `first bind pipeline` / `shader translated` on the same second - the same signature as the long frames in the earlier log - so they are the driver compiling new pipelines, not the texture recheck. The recheck itself behaved as intended: 300 textures were found changed, the median 9 frames after their upload. On the field of view, the patch's own point holds on this path, as @lixonik's run on `main` and issue #3137 by @fiestorra showed: the title's own upscaler on Series X does not go through `ffxDispatch`, so the G-buffer pass's depth and motion vectors are what the frame generation is given there and the 60 degrees stays in place on that path. This run is on that path, so it is a stability and frame-rate report, not a test of the new number. @Kal0s-design caught the build break in the first commit (`cargo test -q -p leonida-gpu --features diagnostics --lib --locked` did not build). It is fixed in `15b579756`, and `leonida-gpu` 780 tests and `leonida-hle` 248 tests pass here. Thanks to @MoonEyes for the gate, and to @Kal0s-design, @lixonik and @fiestorra for the corrections that made this report mean what it says.
AquariusD0312 commented 2026-12-02 17:23:31 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T17:23:31Z.


A detail on the long frames in the earlier log, since it is the one thing that differed between the two runs.

I checked every frame over 1 s in play-1203-001153.log (issue #3109's run, 10 of them) against the pipeline
events in the log. All 10 fall in a window that has pipeline events in it - first bind pipeline /
shader translated / host mesh pipeline on the same seconds:

16:13:59  longest  3189.6 ms   1873 pipeline events in that window
16:16:04  longest 12556.4 ms     12
16:16:17  longest  5454.6 ms     43
16:16:25  longest  7624.2 ms     31
16:16:36  longest  9982.4 ms     11
16:16:45  longest  8953.7 ms      6
16:16:57  longest  9393.3 ms     24
16:17:14  longest 13796.3 ms     48
16:18:13  longest 34822.9 ms     10
16:18:34  longest  5931.3 ms     17

So those stalls are the driver compiling new pipelines, not the network, not the IO and not the texture recheck.
This run has the same signature on its six frames over 100 ms, but they are all in the first 15 s after loading
and none of them reaches 100 ms on its own beyond the loading itself.

That is the difference between the two runs that I can point at: same settings, same path, but the earlier one
kept meeting new pipelines for the whole seven minutes and this one only met them in the first fifteen seconds.

Whether that is the driver's cache, the save, or where the walk went, I cannot say from the log - but it is the
thing I would look at next.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353254193 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7353254193). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T17:23:31Z. --- A detail on the long frames in the earlier log, since it is the one thing that differed between the two runs. I checked every frame over 1 s in `play-1203-001153.log` (issue #3109's run, 10 of them) against the pipeline events in the log. **All 10 fall in a window that has pipeline events in it** - `first bind pipeline` / `shader translated` / `host mesh pipeline` on the same seconds: ``` 16:13:59 longest 3189.6 ms 1873 pipeline events in that window 16:16:04 longest 12556.4 ms 12 16:16:17 longest 5454.6 ms 43 16:16:25 longest 7624.2 ms 31 16:16:36 longest 9982.4 ms 11 16:16:45 longest 8953.7 ms 6 16:16:57 longest 9393.3 ms 24 16:17:14 longest 13796.3 ms 48 16:18:13 longest 34822.9 ms 10 16:18:34 longest 5931.3 ms 17 ``` So those stalls are the driver compiling new pipelines, not the network, not the IO and not the texture recheck. This run has the same signature on its six frames over 100 ms, but they are all in the first 15 s after loading and none of them reaches 100 ms on its own beyond the loading itself. That is the difference between the two runs that I can point at: **same settings, same path, but the earlier one kept meeting new pipelines for the whole seven minutes and this one only met them in the first fifteen seconds.** Whether that is the driver's cache, the save, or where the walk went, I cannot say from the log - but it is the thing I would look at next.
MoonEyes commented 2026-12-02 18:00:17 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:00:17Z.


Code review of head 15b579756 (merge base a917c54d6, 184 commits behind; merges cleanly into current main 45dc41f95). Not built: leonida-gpu and leonida-hle are Windows-only. CI on this head is at action_required.

The build break @Kal0s-design found (list.rs round-trip test missing fov) is fixed in 15b579756: the test now sets fov: 1.2, and the word count and truncation check moved to 12 and [..11]. Upscale is constructed in only those two places (list.rs:3132 test, ffx.rs:164), so nothing else misses the field.

Process gaps (CONTRIBUTING.md / AGENTS.md)

  • The description names no claim ID from the coordination issue and has no AI-assisted: line with the models used. Both are required for the merge checklist.
  • The run report in the thread is on 760e31e7a (a local merge onto acc350745), and the body says the patch does not change behaviour on the tested path: on the Series X profile the title does not go through ffxDispatch, the G-buffer pass's depth and motion vectors feed frame generation, and fov stays 0, so the 60-degree default is used. So the changed path (a title FOV reaching fg::constants and FSR frame generation) has not been run once, in game or in a test with a real dispatch.

Defects

  1. Units are guessed, and the comment contradicts the API. ffx.rs:178-196 says "The FidelityFX API gives it in degrees (ffxDispatchDescUpscale::cameraFov)" and then treats values above pi as degrees and the rest as radians. The FidelityFX API documents cameraFovAngleVertical of the upscale dispatch as radians, and the runtime's own dispatch test passes 1.0. A value in degrees below pi (a 3-degree sniper zoom) would be taken as 3 radians. If the struct field is radians, take it as radians and reject the rest; if there is evidence the title passes degrees, quote it (offset, log line) in the comment. As written the rule is a guess with two meanings.
  2. The range check is duplicated in fg.rs (constants, l.fov.is_finite() && l.fov > MIN_FOV_RADIANS && l.fov < MAX_FOV_RADIANS) and fsr.rs:677. One pub(crate) fn fov_or_default(f32) -> f32 in fg.rs would keep the two consumers from drifting (AGENTS.md: no duplicated logic). The use crate::fg::{...} in fsr.rs is also placed between two windows:: imports, which rustfmt will reorder.
  3. The tests check the clamp, not the carry. fov_tests exercises constants() with hand-made Latest values. Nothing checks that a camera_fov from ffx.rs arrives in Latest.fov (the actual bug: "it was dropped between the title's description and ..."), nor the degrees branch in ffx.rs. A red/green for the stated fix would be an ffx.rs or list.rs test that a dispatch with camera_fov = 1.0 yields Upscale.fov == 1.0 after to_words/from_words.

What looks right: Upscale::WORDS 11 -> 12 with the new word appended last, so from_words on a short slice still returns None; gbuffer_at_present reuses the last upscale's FOV and falls back to the default when there was none, which preserves main's behaviour on the G-buffer path.

Verdict: defects (units rule and missing claim/AI disclosure; no run on the path the change is for).

AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.


Generated by Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353851412 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7353851412). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:00:17Z. --- **Code review of head `15b579756` (merge base `a917c54d6`, 184 commits behind; merges cleanly into current `main` `45dc41f95`). Not built: `leonida-gpu` and `leonida-hle` are Windows-only. CI on this head is at `action_required`.** The build break @Kal0s-design found (`list.rs` round-trip test missing `fov`) is fixed in `15b579756`: the test now sets `fov: 1.2`, and the word count and truncation check moved to 12 and `[..11]`. `Upscale` is constructed in only those two places (`list.rs:3132` test, `ffx.rs:164`), so nothing else misses the field. **Process gaps (CONTRIBUTING.md / AGENTS.md)** - The description names no claim ID from the coordination issue and has no `AI-assisted:` line with the models used. Both are required for the merge checklist. - The run report in the thread is on `760e31e7a` (a local merge onto `acc350745`), and the body says the patch does not change behaviour on the tested path: on the Series X profile the title does not go through `ffxDispatch`, the G-buffer pass's depth and motion vectors feed frame generation, and `fov` stays 0, so the 60-degree default is used. So the changed path (a title FOV reaching `fg::constants` and FSR frame generation) has not been run once, in game or in a test with a real dispatch. **Defects** 1. **Units are guessed, and the comment contradicts the API.** `ffx.rs:178-196` says "The FidelityFX API gives it in degrees (`ffxDispatchDescUpscale::cameraFov`)" and then treats values above pi as degrees and the rest as radians. The FidelityFX API documents `cameraFovAngleVertical` of the upscale dispatch as radians, and the runtime's own dispatch test passes `1.0`. A value in degrees below pi (a 3-degree sniper zoom) would be taken as 3 radians. If the struct field is radians, take it as radians and reject the rest; if there is evidence the title passes degrees, quote it (offset, log line) in the comment. As written the rule is a guess with two meanings. 2. **The range check is duplicated** in `fg.rs` (`constants`, `l.fov.is_finite() && l.fov > MIN_FOV_RADIANS && l.fov < MAX_FOV_RADIANS`) and `fsr.rs:677`. One `pub(crate) fn fov_or_default(f32) -> f32` in `fg.rs` would keep the two consumers from drifting (AGENTS.md: no duplicated logic). The `use crate::fg::{...}` in `fsr.rs` is also placed between two `windows::` imports, which `rustfmt` will reorder. 3. **The tests check the clamp, not the carry.** `fov_tests` exercises `constants()` with hand-made `Latest` values. Nothing checks that a `camera_fov` from `ffx.rs` arrives in `Latest.fov` (the actual bug: "it was dropped between the title's description and ..."), nor the degrees branch in `ffx.rs`. A red/green for the stated fix would be an `ffx.rs` or `list.rs` test that a dispatch with `camera_fov = 1.0` yields `Upscale.fov == 1.0` after `to_words`/`from_words`. **What looks right:** `Upscale::WORDS` 11 -> 12 with the new word appended last, so `from_words` on a short slice still returns `None`; `gbuffer_at_present` reuses the last upscale's FOV and falls back to the default when there was none, which preserves `main`'s behaviour on the G-buffer path. **Verdict: defects** (units rule and missing claim/AI disclosure; no run on the path the change is for). AI-assisted verification: Claude Opus (Claude Code), separate agent per batch. --- _Generated by [Claude Code](https://claude.ai/code)_
AquariusD0312 commented 2026-12-02 18:16:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-02T18:16:26Z.


The comparison run on main alone, as asked for. Same PC, same save, same settings, same pipeline cache (a copy of it, 107,312 files), the only difference is the patch.

patched (this pull request) main alone
commit head 760e31e7a (local/fov-fix) upstream main 3c106eb2f
log play-1203-004217.log (00:42:17-00:48:32) play-1203-013740.log (01:37:40-01:44:09)
runtime's own settings line 70 items 72 items - LEONIDA_PORT_JOURNAL and LEONIDA_SUBMIT_SENDER, which upstream added in 3c106eb2f
GPU / driver / OS RTX 5070 Ti, driver 621.40, Win11 build 26300 the same

Frame rate

The world phase is marked by the runtime's own two lines - "depth and motion vectors are the G-buffer pass's from
now on" and "kBufferTypeHUDLessColor; first present" - and the frame-time window that holds them is the world-entry
window. Both runs are measured the same way.

patched main alone
rendered fps (median of the per-window medians) 27.5 (36.3 ms) 27.2 (36.7 ms)
per-window median, range 33.3 - 41.2 ms 23.5 - 65.4 ms
95th percentile (median of the per-window p95) 42.9 ms 44.5 ms
frames over 100 ms 9 77
frames over 1 s 1 7
longest frame 4372.0 ms (the world-entry frame) 10192.2 ms (the world-entry frame)

Excluding the world-entry window, so only the running part:

patched main alone
rendered fps (median) 27.5 (36.3 ms) 27.2 (36.7 ms)
frames over 100 ms 6 75
frames over 1 s 0 6
longest frame 183.1 ms 2322.7 ms
preparing / on the GPU / copying back 26.1 / 0.00 / 8.1 ms 27.8 / 0.00 / 8.6 ms

The frame rate is the same - 27.5 against 27.2 fps. The difference is all in the long frames.

What the long frames are

Every frame over 1 s on main alone falls in a window with pipeline compilation in it, and the longest silence in
the log is 1.51 s, between pipeline: shader translated and pipeline::host: host mesh pipeline - the driver
compiling.

The difference is in the runtime's own host pipelines N queued or being made line:

main alone   239 still queued when the world starts -> 131 -> 69 -> 49 -> 1 -> 0
this PR          0 when the world starts -> 0 -> 0 -> 0 ...

On main alone there were still 239 pipelines in the compile queue at the moment the world appeared, and they
landed over the next half minute, each one costing a frame. On this head the queue was empty before the world
started.

So the difference is the phase between the compilation and the world appearing, not the patch and not the scene.
The evidence for that: the distinct shader hashes over the whole log are 4342 (main alone) against 4343 (this
head)
- the same set of shaders, compiled. The 1414 against 1188 inside the world phase is a phase artefact of
where the measurement starts (main alone: 1414 at +0 s, 1230 at +5 s; this head: 1188 at +0 s, 997 at +5 s). The two
caches came from the same seed (known-shaders.bin 198,603,503 B and known-pipelines.bin 53,298,317 B in both, same
size and same timestamp), and the cache hit rate was 4418 hits / 6 misses against 4412 / 8 - misses at about zero,
nothing was compiled twice
.

Stability

patched main alone
device lost 0 0
crashes / hangs / WER 0 0
how it ended window closed: suspending the title the same
resize events after the world started 0 0

The flicker and the stall I saw

The stall on main alone: six frames over 1 s in the world phase, five of them within 30 s of the world appearing
and one (2322.7 ms) on its own at 17:41:31. One stall as a person sees it is those frames together.

The light flicker: the log has no direct counterpart for it, but the texture recheck behaves the same in both runs -
300 rechecks in each, frames_after_upload median 9 in each, and 24 real re-upload events in each after
de-duplicating by (slot, address). So the flicker is not something this patch introduces; both have it.
LEONIDA_HEAP_RECHECK_EVERY=15 finds the change while it lasts for most of them, but not for the ones found
later than 15 frames (up to 1579 frames here), and those still flicker. That is the edge of the switch, not a
difference between the two.

What this comparison does not establish

  1. The two runs are not on the same main. The comparison is on 3c106eb2f (what main was at the time), while
    this head is merged onto acc350745, so the comparison carries two switches upstream added in between
    (LEONIDA_PORT_JOURNAL, LEONIDA_SUBMIT_SENDER). Their measured cost is two orders of magnitude below the
    long frames (submission sender working median 2.17 ms, port_journal lane waited median 0.060 ms), but it is
    not literally the same main.
  2. The long frames depend on when the world appears, which is what section 3 found. To hold that variable
    still, the run has to be on one main with and without the patch, or has to wait for the queue to drain before
    going into the world in both runs.
  3. One run is one sample. The world-phase fps moves between 22.8 and 30.0, which is wider than the difference
    between the two medians.

On the field of view itself, nothing changes here: this is the title's own upscaler on Series X, which does not go
through ffxDispatch, so the G-buffer pass's depth and motion vectors are what the frame generation is given and
the 60 degrees stays in place on this path - the same point @lixonik's run on main and issue #3137 by @fiestorra
made. This is a stability and frame-rate comparison, not a test of the new number.

Thanks again to @MoonEyes for asking for the comparison, and to @Kal0s-design, @lixonik and @fiestorra for the
corrections earlier in this thread.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7354266213 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7354266213). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-02T18:16:26Z. --- The comparison run on `main` alone, as asked for. Same PC, same save, same settings, same pipeline cache (a copy of it, 107,312 files), the only difference is the patch. | | patched (this pull request) | main alone | |---|---|---| | commit | head `760e31e7a` (`local/fov-fix`) | upstream main `3c106eb2f` | | log | `play-1203-004217.log` (00:42:17-00:48:32) | `play-1203-013740.log` (01:37:40-01:44:09) | | runtime's own settings line | 70 items | 72 items - `LEONIDA_PORT_JOURNAL` and `LEONIDA_SUBMIT_SENDER`, which upstream added in `3c106eb2f` | | GPU / driver / OS | RTX 5070 Ti, driver 621.40, Win11 build 26300 | the same | ## Frame rate The world phase is marked by the runtime's own two lines - "depth and motion vectors are the G-buffer pass's from now on" and "kBufferTypeHUDLessColor; first present" - and the frame-time window that holds them is the world-entry window. Both runs are measured the same way. | | patched | main alone | |---|---|---| | **rendered fps (median of the per-window medians)** | **27.5** (36.3 ms) | **27.2** (36.7 ms) | | per-window median, range | 33.3 - 41.2 ms | 23.5 - 65.4 ms | | 95th percentile (median of the per-window p95) | 42.9 ms | 44.5 ms | | frames over 100 ms | 9 | 77 | | **frames over 1 s** | **1** | **7** | | longest frame | 4372.0 ms (the world-entry frame) | 10192.2 ms (the world-entry frame) | Excluding the world-entry window, so only the running part: | | patched | main alone | |---|---|---| | **rendered fps (median)** | **27.5** (36.3 ms) | **27.2** (36.7 ms) | | frames over 100 ms | 6 | 75 | | **frames over 1 s** | **0** | **6** | | longest frame | 183.1 ms | 2322.7 ms | | preparing / on the GPU / copying back | 26.1 / 0.00 / 8.1 ms | 27.8 / 0.00 / 8.6 ms | **The frame rate is the same - 27.5 against 27.2 fps.** The difference is all in the long frames. ## What the long frames are Every frame over 1 s on `main` alone falls in a window with pipeline compilation in it, and the longest silence in the log is 1.51 s, between `pipeline: shader translated` and `pipeline::host: host mesh pipeline` - the driver compiling. The difference is in the runtime's own `host pipelines N queued or being made` line: ``` main alone 239 still queued when the world starts -> 131 -> 69 -> 49 -> 1 -> 0 this PR 0 when the world starts -> 0 -> 0 -> 0 ... ``` On `main` alone there were still **239 pipelines in the compile queue** at the moment the world appeared, and they landed over the next half minute, each one costing a frame. On this head the queue was empty before the world started. **So the difference is the phase between the compilation and the world appearing, not the patch and not the scene.** The evidence for that: the distinct shader hashes over the whole log are **4342 (main alone) against 4343 (this head)** - the same set of shaders, compiled. The 1414 against 1188 inside the world phase is a phase artefact of where the measurement starts (main alone: 1414 at +0 s, 1230 at +5 s; this head: 1188 at +0 s, 997 at +5 s). The two caches came from the same seed (`known-shaders.bin` 198,603,503 B and `known-pipelines.bin` 53,298,317 B in both, same size and same timestamp), and the cache hit rate was 4418 hits / 6 misses against 4412 / 8 - **misses at about zero, nothing was compiled twice**. ## Stability | | patched | main alone | |---|---|---| | device lost | 0 | 0 | | crashes / hangs / WER | 0 | 0 | | how it ended | `window closed: suspending the title` | the same | | resize events after the world started | 0 | 0 | ## The flicker and the stall I saw The stall on `main` alone: six frames over 1 s in the world phase, five of them within 30 s of the world appearing and one (2322.7 ms) on its own at 17:41:31. One stall as a person sees it is those frames together. The light flicker: the log has no direct counterpart for it, but the texture recheck behaves the same in both runs - 300 rechecks in each, `frames_after_upload` median 9 in each, and **24 real re-upload events in each** after de-duplicating by (slot, address). So the flicker is not something this patch introduces; both have it. `LEONIDA_HEAP_RECHECK_EVERY=15` finds the change while it lasts for most of them, but not for the ones found later than 15 frames (up to 1579 frames here), and those still flicker. That is the edge of the switch, not a difference between the two. ## What this comparison does not establish 1. **The two runs are not on the same `main`.** The comparison is on `3c106eb2f` (what main was at the time), while this head is merged onto `acc350745`, so the comparison carries two switches upstream added in between (`LEONIDA_PORT_JOURNAL`, `LEONIDA_SUBMIT_SENDER`). Their measured cost is two orders of magnitude below the long frames (`submission sender` working median 2.17 ms, `port_journal` lane waited median 0.060 ms), but it is not literally the same `main`. 2. **The long frames depend on when the world appears**, which is what section 3 found. To hold that variable still, the run has to be on one `main` with and without the patch, or has to wait for the queue to drain before going into the world in both runs. 3. One run is one sample. The world-phase fps moves between 22.8 and 30.0, which is wider than the difference between the two medians. On the field of view itself, nothing changes here: this is the title's own upscaler on Series X, which does not go through `ffxDispatch`, so the G-buffer pass's depth and motion vectors are what the frame generation is given and the 60 degrees stays in place on this path - the same point @lixonik's run on `main` and issue #3137 by @fiestorra made. This is a stability and frame-rate comparison, not a test of the new number. Thanks again to @MoonEyes for asking for the comparison, and to @Kal0s-design, @lixonik and @fiestorra for the corrections earlier in this thread.
MoonEyes commented 2026-12-02 18:21:00 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:21:00Z.


RUN (in game, batch of seventeen render-path pull requests), each head merged with git merge --no-ff onto main 3c106eb2f, in one build: #3111 15b579756, #2948 5284c6eae, #2698 1f188c4f7, #2946 44bf554fe, #3001 d924cbb65, #2832 0c861595a, #2915 58e8535cf, #2822 d359a2f85, #2896 c9c6b103d, #2983 8278ef1b9, #3115 ba5121192, #2945 d2c08c14f, #2975 74512d658, #2951 26da88e8e, #2800 b6ebcedd4, #2893 7c7e99b48, #3113 fa1460b6b (and #3097 0d7a451ab, merged since). RTX 4060 8 GB, driver 610.88, Windows 11. Series S, -Resolution 1080, frame generation 2x, the same walking route as the other runs on this machine, 330 s after reaching the world.

What Result
Device lost / device removed 0
Exceptions, panics, hang watchdog, GPU stall, title suspended 0
Process alive at the end yes, stopped by the time limit
Rendered fps, last 240 s (43 samples) median 14.6, mean 12.7
Rendered fps, last 120 s median 13.7
Time under 5 fps in the world 13 % (short drops, lowest sample 0.3 fps)

The drops under 5 fps line up with shaders being translated while walking (about 500 translations in the last 330 s): this batch changes the shader translation, so the shader cache built by earlier runs did not apply and the pipeline precompile alone took about 45 minutes. The batch-5 run on the same machine and route had no sample under 5 fps (median 16.4). I read this as cold-cache stutter, not as a regression of a single pull request, but this run cannot tell them apart.

Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it.

Limits: one run; arrival in the world was driven by keys and not checked on pictures. A first attempt of this batch is not counted: the run script gave up waiting for the game window after 40 minutes of precompile.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7354422782 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7354422782). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:21:00Z. --- RUN (in game, batch of seventeen render-path pull requests), each head merged with `git merge --no-ff` onto main `3c106eb2f`, in one build: #3111 `15b579756`, #2948 `5284c6eae`, #2698 `1f188c4f7`, #2946 `44bf554fe`, #3001 `d924cbb65`, #2832 `0c861595a`, #2915 `58e8535cf`, #2822 `d359a2f85`, #2896 `c9c6b103d`, #2983 `8278ef1b9`, #3115 `ba5121192`, #2945 `d2c08c14f`, #2975 `74512d658`, #2951 `26da88e8e`, #2800 `b6ebcedd4`, #2893 `7c7e99b48`, #3113 `fa1460b6b` (and #3097 `0d7a451ab`, merged since). RTX 4060 8 GB, driver 610.88, Windows 11. Series S, `-Resolution 1080`, frame generation 2x, the same walking route as the other runs on this machine, 330 s after reaching the world. | What | Result | |---|---| | Device lost / device removed | 0 | | Exceptions, panics, hang watchdog, GPU stall, title suspended | 0 | | Process alive at the end | yes, stopped by the time limit | | Rendered fps, last 240 s (43 samples) | median 14.6, mean 12.7 | | Rendered fps, last 120 s | median 13.7 | | Time under 5 fps in the world | 13 % (short drops, lowest sample 0.3 fps) | The drops under 5 fps line up with shaders being translated while walking (about 500 translations in the last 330 s): this batch changes the shader translation, so the shader cache built by earlier runs did not apply and the pipeline precompile alone took about 45 minutes. The batch-5 run on the same machine and route had no sample under 5 fps (median 16.4). I read this as cold-cache stutter, not as a regression of a single pull request, but this run cannot tell them apart. Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it. Limits: one run; arrival in the world was driven by keys and not checked on pictures. A first attempt of this batch is not counted: the run script gave up waiting for the game window after 40 minutes of precompile. AI-assisted (Claude Code).
fiestorra commented 2026-12-02 23:42:52 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T23:42:52Z.


VERIFY-3111 — Windows nativo: red then green en el campo de visión

Own commits 15b579756 and its parent — fg.rs (+81), fsr.rs, list.rs; two commits, one of them "the test that stopped building"

Ran at the head

cargo test -p leonida-gpu --lib fg     12 passed; 0 failed
  fg::fov_tests::a_field_of_view_the_title_said_is_taken_as_it_is ... ok
  fg::fov_tests::a_field_of_view_outside_the_range_falls_back_to_the_default ... ok
  fg::fov_tests::a_field_of_view_inside_the_range_is_kept ... ok

Negative control (synthetic): I widened the accepted range (MAX_FOV_RADIANS from 3.0 to 30.0), rebuilt and ran:

FAILED: a_field_of_view_outside_the_range_falls_back_to_the_default

It bites — the range is the thing that changed, and the test drives it at both ends.

What the change is: the title's vertical field of view is carried to the frame generator (crate::list::Upscale::fov), in radians, accepted only inside 0.1 .. 3.0 (about 5.7° to 172°), and anything outside falls back to the 60° default — because a projection matrix built from a field of view of 0 or 30 radians draws nothing a frame can be generated from. The commit also fixes a test that had stopped building, which is worth noting as its own thing: a test that does not compile is a test that has not run for however long it has been broken.

Why the units are the actual bug: the field comes from the title as an opaque float, and a value in degrees read as radians (or the reverse) is plausible on both sides — 60 is a sensible degree value and a nonsense radian one. The range check is what catches the disagreement, which is why testing both ends is the right shape here.

What I could not test

  • Frame generation using the field of view: no title, no FG run. What the tests pin is the acceptance rule, not the generated frame.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7362336856 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7362336856). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-02T23:42:52Z. --- ## VERIFY-3111 — Windows nativo: `red then green` en el campo de visión | | | |---|---| | Own commits | `15b579756` and its parent — `fg.rs` (+81), `fsr.rs`, `list.rs`; two commits, one of them *"the test that stopped building"* | **Ran at the head** ``` cargo test -p leonida-gpu --lib fg 12 passed; 0 failed fg::fov_tests::a_field_of_view_the_title_said_is_taken_as_it_is ... ok fg::fov_tests::a_field_of_view_outside_the_range_falls_back_to_the_default ... ok fg::fov_tests::a_field_of_view_inside_the_range_is_kept ... ok ``` **Negative control (synthetic)**: I widened the accepted range (`MAX_FOV_RADIANS` from `3.0` to `30.0`), rebuilt and ran: ``` FAILED: a_field_of_view_outside_the_range_falls_back_to_the_default ``` **It bites** — the range is the thing that changed, and the test drives it at both ends. **What the change is**: the title's **vertical field of view is carried to the frame generator** (`crate::list::Upscale::fov`), **in radians, accepted only inside `0.1 .. 3.0`** (about 5.7° to 172°), **and anything outside falls back to the 60° default** — because **a projection matrix built from a field of view of 0 or 30 radians draws nothing a frame can be generated from**. The commit also **fixes a test that had stopped building**, which is worth noting as its own thing: **a test that does not compile is a test that has not run for however long it has been broken.** **Why the units are the actual bug**: the field comes from the title as an opaque float, **and a value in degrees read as radians (or the reverse) is plausible on both sides** — 60 is a sensible degree value **and** a nonsense radian one. **The range check is what catches the disagreement**, which is why testing both ends is the right shape here. ## What I could not test - **Frame generation using the field of view**: no title, no FG run. **What the tests pin is the acceptance rule, not the generated frame.** Written with an AI assistant.
OreoFR commented 2026-12-03 05:32:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-12-03T05:32:08Z.


VERIFY-3111 (Verified by OreoFR) on current main

  • Merge: head 15b579756 merged with git merge --no-ff into main d9b618f10 (merge 2a875d72f): clean, 5 files.
  • cargo test -p leonida-gpu: 719 passed, 0 failed, 59 ignored. That includes fov_tests: the title's FOV taken as it is, out-of-range values falling back to 60°, and in-range values kept.
  • cargo test -p leonida-hle: 258 passed, 2 ignored.
  • cargo clippy -p leonida-gpu --all-targets -- -D warnings: 1 error, introduced by this PR. clippy::approx_constant flags 1.5707963 in a_field_of_view_inside_the_range_is_kept (fg.rs:2228). One-line fix: use std::f32::consts::FRAC_PI_2. main itself is clean on leonida-gpu.

Cross-check with tomk134's branch (github.com/tomk134/mandy, local/2026-12-03, 844265408), which carries the same feature. Its FOV code is this PR's:

  • Source: the same ffxDispatchDescUpscale::cameraFov read in ffx.rs.
  • Units: the same rule. The value is taken as radians, and as degrees when it is above π; non-finite or ≤ 0 gives "not said".
  • Fallback: the same in fg.rs. Outside 0.1-3.0 rad, or 0, the old 60° is used; the FOV is vertical.
  • Tests: the same fov_tests, identical text.

So there is no case missing here that the other branch covers. The value reaches both DLSS frame generation and the FSR 3 path.

Verdict: logic OK merged into current main, and the tests pass. Fix the clippy approx_constant in the test before merge. Not run in game here: it still needs an FG run (DLSS FG on RTX 40/50, or FSR 3) to see the motion with the title's FOV.

(oreofr-agent, AI-assisted)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7368843074 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7368843074). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-12-03T05:32:08Z. --- ## VERIFY-3111 (Verified by OreoFR) on current main - **Merge:** head `15b579756` merged with `git merge --no-ff` into main `d9b618f10` (merge `2a875d72f`): clean, 5 files. - **`cargo test -p leonida-gpu`:** 719 passed, 0 failed, 59 ignored. That includes `fov_tests`: the title's FOV taken as it is, out-of-range values falling back to 60°, and in-range values kept. - **`cargo test -p leonida-hle`:** 258 passed, 2 ignored. - **`cargo clippy -p leonida-gpu --all-targets -- -D warnings`: 1 error, introduced by this PR.** `clippy::approx_constant` flags `1.5707963` in `a_field_of_view_inside_the_range_is_kept` (`fg.rs:2228`). One-line fix: use `std::f32::consts::FRAC_PI_2`. main itself is clean on leonida-gpu. **Cross-check with tomk134's branch** (github.com/tomk134/mandy, `local/2026-12-03`, `844265408`), which carries the same feature. Its FOV code is this PR's: - **Source:** the same `ffxDispatchDescUpscale::cameraFov` read in `ffx.rs`. - **Units:** the same rule. The value is taken as radians, and as degrees when it is above π; non-finite or ≤ 0 gives "not said". - **Fallback:** the same in `fg.rs`. Outside 0.1-3.0 rad, or 0, the old 60° is used; the FOV is vertical. - **Tests:** the same `fov_tests`, identical text. So there is no case missing here that the other branch covers. The value reaches both DLSS frame generation and the FSR 3 path. Verdict: logic OK merged into current main, and the tests pass. Fix the clippy `approx_constant` in the test before merge. Not run in game here: it still needs an FG run (DLSS FG on RTX 40/50, or FSR 3) to see the motion with the title's FOV. (oreofr-agent, AI-assisted)
AquariusD0312 commented 2026-12-03 07:07:31 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-03T07:07:31Z.


Three defects answered, one by one, and the claim and the disclosure the review asked for are now in the description. The head is 8c3b73705.

1. The units rule was a guess with two meanings for one field. It read a value above a half turn as degrees and one below as radians, so a three-degree sniper zoom read as three radians came out as 172 degrees. It is now settled once, in leonida-hle's ffx.rs (fov_radians): the number is taken as radians.

The evidence I had was the API and the repository's own dispatch test (runtime/test/fsr_dispatch_test.cpp passes 1.0f). Since then the run below measured the title's own value on this path: the upscale probe reads 0.5250768661499023, which is 30.08 degrees, and it moves with the camera (30.08 to 30.35 degrees while the world loads, 38.87 after it, 49.55 once the camera turns). Read as degrees it would be half a degree, so the number is radians. The upstream finding of 2026-11-30 says the same of an earlier run (0.471 rad, d3d12/docs/findings.md).

2. The range check was written out twice. There is now one pub(crate) fn fov_or_default(f32) -> f32 in fg.rs, which constants and fsr.rs both take, so the two cannot drift apart. The fallback is the same 60 degrees as before on both paths (fsr.rs's FOV_Y_DEGREES.to_radians() and fg.rs's DEFAULT_FOV_RADIANS are the same number, and fsr.rs's constant is gone).

3. The tests checked the clamp and not the carry. There are three new tests, and each fails without the fix it covers:

the fix put back the test that catches it
the degrees branch in fov_radians the_field_of_view_the_description_carries_is_radians fails
MAX_FOV_RADIANS widened to 30.0 a_field_of_view_outside_the_range_falls_back_to_the_default and the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default fail
the field of view dropped from the list's words the_field_of_view_the_title_says_reaches_the_frame_generation fails ("the field of view did not survive the list's words")

leonida-gpu is 780 passed before and 782 with the two new ones; leonida-hle 248 before and 249 with the new one. The unit tests need no GPU and no game files.

The run on the path the change is for. This is what the review said had not happened once. The path is the title's own upscale going through FidelityFX (Series S, or Series X with LEONIDA_FSR_UPSCALER=1), where the frame generation is given the depth and the motion vectors the upscale read (LEONIDA_FG_GBUFFER=0, so not the G-buffer pass's, which says no field of view). Built with diagnostics,dlss,mimalloc, on an RTX 5070 Ti (driver 621.40, Windows 11 build 26300), the Series S profile (1280x720 rendered, 1920x1080 output), LEONIDA_FRAME_GEN=2:

the title's field of view   0.5250768661499023 rad  (30.08 degrees)
the frame generation's      0.5250768661499023 rad  (the same number)

The two are the same to the last bit, so the value the title gives is the value the frame generation is given, and it is the title's own (it moves with the camera, as above).

The run was 2 min 39 s, with no device loss and no crash, and no warning from the runtime about the frame generation. The rendered frames came 33.2 ms apart (the median of the 17 windows' medians, 16.6 to 33.6 ms), which is 30.1 rendered frames a second and 60.2 shown with the generation on; the GPU's own frame time was 33.3 ms. Streamline was started and the amount set to 2 (amount set (1 = off) result=sl::Result::eOk (0) frames=2).

One thing the run does not show. The field of view arrives on the FidelityFX path only, and the frame generation still takes its depth and motion vectors from the G-buffer pass on the Series X profile, where the title's own upscaler does not go through ffxDispatch. So on Series X the projection is still built from the 60 degrees the path gives when the title says none. That is the same limitation the description has always said, and the title's projection matrix (which would give the other four numbers as well) is a bigger change that is still left out.

The claim and the disclosure. The description has the claim ID (D3D12-FOV-FROM-TITLE-UPSCALE, claimed in the coordination issue) and the AI-assisted: line with the model. The head on this pull request is now 8c3b73705, which the review can check out; the run report above names the head it was made on.

A note on the run: the texture re-reads are the same as in the earlier runs (300 of them, the median 9 frames after the change, and 21% of them later than the 15-frame interval, which is the flicker of #3109 and is not this patch's doing).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7370622271 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7370622271). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-03T07:07:31Z. --- Three defects answered, one by one, and the claim and the disclosure the review asked for are now in the description. The head is `8c3b73705`. **1. The units rule was a guess with two meanings for one field.** It read a value above a half turn as degrees and one below as radians, so a three-degree sniper zoom read as three radians came out as 172 degrees. It is now settled once, in `leonida-hle`'s `ffx.rs` (`fov_radians`): the number is taken as radians. The evidence I had was the API and the repository's own dispatch test (`runtime/test/fsr_dispatch_test.cpp` passes 1.0f). Since then the run below measured the title's own value on this path: the upscale probe reads **0.5250768661499023**, which is 30.08 degrees, and it moves with the camera (30.08 to 30.35 degrees while the world loads, 38.87 after it, 49.55 once the camera turns). Read as degrees it would be half a degree, so the number is radians. The upstream finding of 2026-11-30 says the same of an earlier run (0.471 rad, `d3d12/docs/findings.md`). **2. The range check was written out twice.** There is now one `pub(crate) fn fov_or_default(f32) -> f32` in `fg.rs`, which `constants` and `fsr.rs` both take, so the two cannot drift apart. The fallback is the same 60 degrees as before on both paths (`fsr.rs`'s `FOV_Y_DEGREES.to_radians()` and `fg.rs`'s `DEFAULT_FOV_RADIANS` are the same number, and `fsr.rs`'s constant is gone). **3. The tests checked the clamp and not the carry.** There are three new tests, and each fails without the fix it covers: | the fix put back | the test that catches it | |---|---| | the degrees branch in `fov_radians` | `the_field_of_view_the_description_carries_is_radians` fails | | `MAX_FOV_RADIANS` widened to 30.0 | `a_field_of_view_outside_the_range_falls_back_to_the_default` and `the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default` fail | | the field of view dropped from the list's words | `the_field_of_view_the_title_says_reaches_the_frame_generation` fails ("the field of view did not survive the list's words") | `leonida-gpu` is 780 passed before and 782 with the two new ones; `leonida-hle` 248 before and 249 with the new one. The unit tests need no GPU and no game files. **The run on the path the change is for.** This is what the review said had not happened once. The path is the title's own upscale going through FidelityFX (Series S, or Series X with `LEONIDA_FSR_UPSCALER=1`), where the frame generation is given the depth and the motion vectors the upscale read (`LEONIDA_FG_GBUFFER=0`, so not the G-buffer pass's, which says no field of view). Built with `diagnostics,dlss,mimalloc`, on an RTX 5070 Ti (driver 621.40, Windows 11 build 26300), the Series S profile (1280x720 rendered, 1920x1080 output), `LEONIDA_FRAME_GEN=2`: ``` the title's field of view 0.5250768661499023 rad (30.08 degrees) the frame generation's 0.5250768661499023 rad (the same number) ``` The two are the same to the last bit, so the value the title gives is the value the frame generation is given, and it is the title's own (it moves with the camera, as above). The run was 2 min 39 s, with no device loss and no crash, and no warning from the runtime about the frame generation. The rendered frames came 33.2 ms apart (the median of the 17 windows' medians, 16.6 to 33.6 ms), which is 30.1 rendered frames a second and 60.2 shown with the generation on; the GPU's own frame time was 33.3 ms. Streamline was started and the amount set to 2 (`amount set (1 = off) result=sl::Result::eOk (0) frames=2`). **One thing the run does not show.** The field of view arrives on the FidelityFX path only, and the frame generation still takes its depth and motion vectors from the G-buffer pass on the Series X profile, where the title's own upscaler does not go through `ffxDispatch`. So on Series X the projection is still built from the 60 degrees the path gives when the title says none. That is the same limitation the description has always said, and the title's projection matrix (which would give the other four numbers as well) is a bigger change that is still left out. **The claim and the disclosure.** The description has the claim ID (`D3D12-FOV-FROM-TITLE-UPSCALE`, claimed in the coordination issue) and the `AI-assisted:` line with the model. The head on this pull request is now `8c3b73705`, which the review can check out; the run report above names the head it was made on. A note on the run: the texture re-reads are the same as in the earlier runs (300 of them, the median 9 frames after the change, and 21% of them later than the 15-frame interval, which is the flicker of #3109 and is not this patch's doing).
merzleckeier commented 2026-12-03 07:26:05 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T07:26:05Z.

Review: CHANGES_REQUESTED


[P2] Preserve the 3° zoom example through the shared range check. At 20ab6965, fov_radians keeps a correctly encoded 3° angle (0.05235988 rad). fg::fov_or_default then rejects it because its lower bound is 0.1 rad (5.73°). Both frame-generation paths use that shared helper.

I passed the synthetic angle through the actual Upscale::to_words / from_words codec and into the Streamline projection code on the Windows MSVC build under Wine. The bits survived the codec. The projection used 60°, with a vertical scale of 1.732051 instead of the finite 38.188457 for 3°. In a local control that admitted the narrow angle, the same test retained 3° and produced 38.188457. The six FidelityFX-description tests, the list round trip and the four existing projection tests passed on this head.

Please include a correctly encoded narrow angle in the projection regression and accept it, or document the minimum supported angle if that limit is intentional. The measured 30–49° values are inside the current range. The 3° case here is synthetic. Streamline camera field documentation · FidelityFX frame-generation parameters. AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6165345389 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#pullrequestreview-6165345389). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-03T07:26:05Z. **Review:** CHANGES_REQUESTED --- **[P2] Preserve the 3° zoom example through the shared range check.** At `20ab6965`, `fov_radians` keeps a correctly encoded 3° angle (`0.05235988` rad). `fg::fov_or_default` then rejects it because its lower bound is `0.1` rad (5.73°). Both frame-generation paths use that shared helper. I passed the synthetic angle through the actual `Upscale::to_words` / `from_words` codec and into the Streamline projection code on the Windows MSVC build under Wine. The bits survived the codec. The projection used 60°, with a vertical scale of 1.732051 instead of the finite 38.188457 for 3°. In a local control that admitted the narrow angle, the same test retained 3° and produced 38.188457. The six FidelityFX-description tests, the list round trip and the four existing projection tests passed on this head. Please include a correctly encoded narrow angle in the projection regression and accept it, or document the minimum supported angle if that limit is intentional. The measured 30–49° values are inside the current range. The 3° case here is synthetic. [Streamline camera field documentation](https://github.com/NVIDIA-RTX/Streamline/blob/main/docs/ProgrammingGuide.md) · [FidelityFX frame-generation parameters](https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/main/Kits/FidelityFX/docs/techniques/frame-interpolation-api.md). AI-assisted with OpenAI Codex.
AquariusD0312 commented 2026-12-03 07:35:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-03T07:35:36Z.


Thank you for the P2 -- it is right, and the reasoning behind the bound was wrong.

The bound was mine, and it came with a reason that does not hold: that "a narrower or a wider one would make the projection come out with a negative or a NaN in it". That is true of the upper bound only. The projection is built from the tangent of half the field of view (ys = 1 / tan(fov / 2)), and that comes out negative only above a half turn -- 3.1416 radians -- which is what the upper bound is for (3.0 radians, 171.9 degrees). A narrow angle is projected as it is: 3 degrees gives ys = 38.188457, a finite positive number, exactly as you measured.

So the lower bound is now 0.001 radians (0.057 degrees). It turns away only a value that has degenerated -- a field of view of zero has no tangent at all -- and the narrowest angle the projection can still be built for is about 1e-36 degrees, thirty orders of magnitude below that bound, so nothing a camera can do is turned away by it.

The projection regression takes a three-degree field of view as it is now (a_narrow_field_of_view_the_title_said_is_projected_as_it_is: ys = 38.188457, not the default's 1.732051), and the three-degree value is in the kept-range test and in the shared-rule test as well. Putting the lower bound back to 0.1 makes the narrow-angle test and the kept-range test fail, so the bound is pinned the way the other two are.

leonida-gpu is 783 passed now (780 before this pull request's first two commits, with the three new ones added since).

One thing worth noting for the range as a whole: the measured values on this path are 30.08 to 49.55 degrees, well inside either bound, so this changes no measured behaviour -- it only lets a narrow angle through if a title ever gives one.

Head is 77fc82daf. The three-degree case in your review is synthetic; the title does not give a narrow angle in the run this pull request reports.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371184603 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7371184603). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-03T07:35:36Z. --- Thank you for the P2 -- it is right, and the reasoning behind the bound was wrong. The bound was mine, and it came with a reason that does not hold: that "a narrower or a wider one would make the projection come out with a negative or a NaN in it". That is true of the upper bound only. The projection is built from the tangent of half the field of view (`ys = 1 / tan(fov / 2)`), and that comes out negative only above a half turn -- 3.1416 radians -- which is what the upper bound is for (3.0 radians, 171.9 degrees). A narrow angle is projected as it is: 3 degrees gives `ys` = 38.188457, a finite positive number, exactly as you measured. So the lower bound is now 0.001 radians (0.057 degrees). It turns away only a value that has degenerated -- a field of view of zero has no tangent at all -- and the narrowest angle the projection can still be built for is about 1e-36 degrees, thirty orders of magnitude below that bound, so nothing a camera can do is turned away by it. The projection regression takes a three-degree field of view as it is now (`a_narrow_field_of_view_the_title_said_is_projected_as_it_is`: `ys` = 38.188457, not the default's 1.732051), and the three-degree value is in the kept-range test and in the shared-rule test as well. Putting the lower bound back to 0.1 makes the narrow-angle test and the kept-range test fail, so the bound is pinned the way the other two are. `leonida-gpu` is 783 passed now (780 before this pull request's first two commits, with the three new ones added since). One thing worth noting for the range as a whole: the measured values on this path are 30.08 to 49.55 degrees, well inside either bound, so this changes no measured behaviour -- it only lets a narrow angle through if a title ever gives one. Head is `77fc82daf`. The three-degree case in your review is synthetic; the title does not give a narrow angle in the run this pull request reports.
merzleckeier commented 2026-12-03 07:39:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T07:39:13Z.


Rechecked 77fc82da on main d9b618f1. The 3° point from my previous review is resolved. The original codec-to-projection fixture now preserves 3° and gives a vertical scale of 38.188457. The five PR projection tests, the separate fixture, the list round trip, and all six HLE FidelityFX tests passed in the Windows MSVC build under Wine 11.22. The fixtures were synthetic.

One build check remains. The Clippy diagnostic in OreoFR’s earlier review still reproduces, now at both uses of 1.5707963 in fg.rs (a_field_of_view_inside_the_range_is_kept and the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default). cargo xwin clippy -p leonida-gpu --all-targets --locked --target x86_64-pc-windows-msvc --profile diag -- -D warnings reported exactly those two approx_constant errors. Replacing the two literals with std::f32::consts::FRAC_PI_2 in the scratch tree made that command pass. The doc comment by MIN_FOV_RADIANS could also state the threshold directly as 0.001 rad (about 0.057°). AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371258375 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7371258375). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-03T07:39:13Z. --- Rechecked `77fc82da` on `main` `d9b618f1`. The 3° point from my previous review is resolved. The original codec-to-projection fixture now preserves 3° and gives a vertical scale of `38.188457`. The five PR projection tests, the separate fixture, the list round trip, and all six HLE FidelityFX tests passed in the Windows MSVC build under Wine 11.22. The fixtures were synthetic. One build check remains. The Clippy diagnostic in OreoFR’s earlier review still reproduces, now at both uses of `1.5707963` in `fg.rs` (`a_field_of_view_inside_the_range_is_kept` and `the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default`). `cargo xwin clippy -p leonida-gpu --all-targets --locked --target x86_64-pc-windows-msvc --profile diag -- -D warnings` reported exactly those two `approx_constant` errors. Replacing the two literals with `std::f32::consts::FRAC_PI_2` in the scratch tree made that command pass. The doc comment by `MIN_FOV_RADIANS` could also state the threshold directly as `0.001` rad (about `0.057°`). AI-assisted with OpenAI Codex.
AquariusD0312 commented 2026-12-03 07:57:29 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-03T07:57:29Z.


The one build check that was left is done, and the head is now b877dc5befe1b49ba36e947c4f421020fe2e41e4.

cargo clippy -p leonida-gpu --all-targets --locked -- -D warnings passes: the two uses of 1.5707963 in fg.rs are now std::f32::consts::FRAC_PI_2, and the doc comment by MIN_FOV_RADIANS gives the threshold directly as 0.001 rad (about 0.057 degrees).

The head is also merged with git merge --no-ff onto the current main d9b618f10 (merge b877dc5be). Two things came out of that merge, both worth saying:

1. The unused_mut on host.rs was not ours, and merging main is what removes it. The mut h in send_published came in with b4d328901 ("gpu: send prepared lists in order", 2026-12-01) and is in main today. It is not a warning there because main's Handoff has the compare: Option<PendingCompare> field, which h.compare.take() needs to mutate. Our branch was on a base from before that field, so on our tree the mut had nothing to mutate and -D warnings turned it into an error. Merging main brings the field and the mut becomes correct again. This head does not touch host.rs, so there was nothing to conflict with.

2. The tests pass on the merged tree:

cargo test -p leonida-gpu --lib --locked   722 passed; 0 failed; 59 ignored
cargo test -p leonida-hle --lib --locked   259 passed; 0 failed; 2 ignored

(719 and 258 on the base @OreoFR counted; the three extra in leonida-gpu are main's own new tests.) All five field-of-view tests pass:

fg::fov_tests::a_field_of_view_the_title_said_is_taken_as_it_is ... ok
fg::fov_tests::a_field_of_view_outside_the_range_falls_back_to_the_default ... ok
fg::fov_tests::a_field_of_view_inside_the_range_is_kept ... ok
fg::fov_tests::a_narrow_field_of_view_the_title_said_is_projected_as_it_is ... ok
fg::fov_tests::the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default ... ok

Thank you @merzleckeier for the recheck and for the exact fix, and @OreoFR for the merge and the clippy report - both were what found the last two things.

On the units rule and the range: the reasoning in @merzleckeier's P2 was right and the bound that came with it was wrong, and both are now as described above - the units are settled once in ffx.rs (fov_radians), and the lower bound is 0.001 rad with the narrow three-degree value projected as it is.

This head is the one the run report in the thread is about, apart from the main merge and the clippy fix, neither of which changes what the game does: fg.rs's constants, fsr.rs and dlss.rs take the same number as before.

@MoonEyes - the report is on 760e31e7a; this head differs from it only by the merge and the test literal, so the measurements still stand. If a run on this exact head is wanted before the merge, say so and it will be done on the same route as the comparison run.

AI-assisted: the clippy fix and this comment were written with Claude Opus 4.8 (1M context).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371639194 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7371639194). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-03T07:57:29Z. --- The one build check that was left is done, and the head is now `b877dc5befe1b49ba36e947c4f421020fe2e41e4`. **`cargo clippy -p leonida-gpu --all-targets --locked -- -D warnings`** passes: the two uses of `1.5707963` in `fg.rs` are now `std::f32::consts::FRAC_PI_2`, and the doc comment by `MIN_FOV_RADIANS` gives the threshold directly as 0.001 rad (about 0.057 degrees). The head is also merged with `git merge --no-ff` onto the current `main` `d9b618f10` (merge `b877dc5be`). Two things came out of that merge, both worth saying: **1. The `unused_mut` on `host.rs` was not ours, and merging `main` is what removes it.** The `mut h` in `send_published` came in with `b4d328901` ("gpu: send prepared lists in order", 2026-12-01) and is in `main` today. It is not a warning there because `main`'s `Handoff` has the `compare: Option<PendingCompare>` field, which `h.compare.take()` needs to mutate. Our branch was on a base from before that field, so on our tree the `mut` had nothing to mutate and `-D warnings` turned it into an error. Merging `main` brings the field and the `mut` becomes correct again. This head does not touch `host.rs`, so there was nothing to conflict with. **2. The tests pass on the merged tree:** ``` cargo test -p leonida-gpu --lib --locked 722 passed; 0 failed; 59 ignored cargo test -p leonida-hle --lib --locked 259 passed; 0 failed; 2 ignored ``` (719 and 258 on the base @OreoFR counted; the three extra in `leonida-gpu` are `main`'s own new tests.) All five field-of-view tests pass: ``` fg::fov_tests::a_field_of_view_the_title_said_is_taken_as_it_is ... ok fg::fov_tests::a_field_of_view_outside_the_range_falls_back_to_the_default ... ok fg::fov_tests::a_field_of_view_inside_the_range_is_kept ... ok fg::fov_tests::a_narrow_field_of_view_the_title_said_is_projected_as_it_is ... ok fg::fov_tests::the_shared_rule_keeps_the_titles_number_and_falls_back_to_the_default ... ok ``` Thank you @merzleckeier for the recheck and for the exact fix, and @OreoFR for the merge and the clippy report - both were what found the last two things. On the units rule and the range: the reasoning in @merzleckeier's P2 was right and the bound that came with it was wrong, and both are now as described above - the units are settled once in `ffx.rs` (`fov_radians`), and the lower bound is 0.001 rad with the narrow three-degree value projected as it is. This head is the one the run report in the thread is about, apart from the `main` merge and the clippy fix, neither of which changes what the game does: `fg.rs`'s constants, `fsr.rs` and `dlss.rs` take the same number as before. @MoonEyes - the report is on `760e31e7a`; this head differs from it only by the merge and the test literal, so the measurements still stand. If a run on this exact head is wanted before the merge, say so and it will be done on the same route as the comparison run. AI-assisted: the clippy fix and this comment were written with Claude Opus 4.8 (1M context).
merzleckeier commented 2026-12-03 08:10:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T08:10:23Z.

Review: APPROVED


Rechecked b877dc5b, which includes current main d9b618f1. The 3° projection regression and all five FOV tests pass. The upscale list round trip also passes, and the Windows MSVC cargo xwin clippy -p leonida-gpu --all-targets --locked --target x86_64-pc-windows-msvc --profile diag -- -D warnings check passes on this exact head. The documented lower bound now reads 0.001 rad (about 0.057°). The items from my earlier review are resolved. Verification used synthetic inputs under Wine 11.22. AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6165869612 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#pullrequestreview-6165869612). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-03T08:10:23Z. **Review:** APPROVED --- Rechecked `b877dc5b`, which includes current `main` `d9b618f1`. The 3° projection regression and all five FOV tests pass. The upscale list round trip also passes, and the Windows MSVC `cargo xwin clippy -p leonida-gpu --all-targets --locked --target x86_64-pc-windows-msvc --profile diag -- -D warnings` check passes on this exact head. The documented lower bound now reads `0.001` rad (about `0.057°`). The items from my earlier review are resolved. Verification used synthetic inputs under Wine 11.22. AI-assisted with OpenAI Codex.
lixonik commented 2026-12-03 08:38:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-12-03T08:38:08Z.


RUN (in game, RTX 5070 12 GB, 315 s in-world gate) -- PASS

  • Head tested: b877dc5be merged onto main (d9b618f10)
  • Preflight:
    • python -I scripts/check_no_game_data.py -- PASS
    • cargo test -p leonida-gpu --lib --locked fg:: -- 21 passed, 0 failed
    • cargo build --profile diag --features "diagnostics,dlss,mimalloc" --locked -- PASS
  • In-game run (Windows 10, RTX 5070 12 GB, Series S preset, DLSS + Frame Generation 2x so the live ffxDispatch vertical FOV path feeds DLSS-G, 315 s in world, 527.8 s total, 63 world samples, max 4,798 draws):
    • Runtime errors: 0; device lost: 0 (only Streamline getRefreshRate lines after the harness closed the window at teardown)
    • Frame Generation: amount set (1 = off) result=sl::Result::eOk (0) frames=2; steady tagged=true status=0 through frame index 12600+
    • Frame rate: median 25.4 fps (39.4 ms; slowest tenth 14.5, fastest tenth 26.7); 3000-4999 draws bucket: 25.4 fps (56 samples)

AI-assisted: yes (Antigravity -- Gemini 4 Neon).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7372534173 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7372534173). Originally posted by [lixonik](https://github.com/lixonik) on 2026-12-03T08:38:08Z. --- RUN (in game, RTX 5070 12 GB, 315 s in-world gate) -- PASS - Head tested: `b877dc5be` merged onto `main` (`d9b618f10`) - Preflight: - `python -I scripts/check_no_game_data.py` -- PASS - `cargo test -p leonida-gpu --lib --locked fg::` -- 21 passed, 0 failed - `cargo build --profile diag --features "diagnostics,dlss,mimalloc" --locked` -- PASS - In-game run (Windows 10, RTX 5070 12 GB, Series S preset, DLSS + **Frame Generation 2x** so the live `ffxDispatch` vertical FOV path feeds DLSS-G, 315 s in world, 527.8 s total, 63 world samples, max 4,798 draws): - Runtime errors: 0; device lost: 0 (only Streamline `getRefreshRate` lines after the harness closed the window at teardown) - Frame Generation: `amount set (1 = off) result=sl::Result::eOk (0) frames=2`; steady `tagged=true status=0` through frame index `12600+` - Frame rate: median **25.4 fps** (39.4 ms; slowest tenth 14.5, fastest tenth 26.7); `3000-4999` draws bucket: **25.4 fps** (56 samples) AI-assisted: yes (Antigravity -- Gemini 4 Neon).
AquariusD0312 commented 2026-12-03 10:17:03 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by AquariusD0312 on 2026-12-03T10:17:03Z.


@lixonik @merzleckeier @OreoFR @MoonEyes -- thank you.

@lixonik's in-game run on b877dc5be closes the gate that was still open: 315 s in the world on the Series S profile with DLSS and Frame Generation 2x, 0 runtime errors, 0 device lost, the generation steady past frame index 12,600, and a median of 25.4 fps. @merzleckeier's approval on this exact head is noted, and @OreoFR's verification on current main is in the description too.

Three things in the description were wrong and are corrected now:

  • it named 8c3b73705 as the head's own commit with the review fixes. That commit was amended away and is not in this pull request's history; the one that carries the three fixes is 77fc82daf, and 63efa834c carries the clippy fix. The merge with main does bring in main's changes to fg.rs and findings.md, but it changes no field-of-view line in either, so the behaviour of this patch is the same as on 63efa834c.
  • the test counts were from before the merge with main. Measured on this head against its base d9b618f10: leonida-gpu 716 passed before and 722 with the six new ones, leonida-hle 258 before and 259 with the new one (797 and 803, and 258 and 259, with --features diagnostics).
  • the negative-control table named two tests for the MIN_FOV_RADIANS row, but three fail with that bound put back, and the table did not say that dropping the field of view from the list's words also breaks the round-trip test an_upscale_keeps_its_numbers_through_its_words. Both are in the table now, with the default-60-degrees control added.

The claim is registered as D3D12-FOV-FROM-TITLE-UPSCALE, and the done: line is on the coordination thread that replaced #2570 (which reached GitHub's 2,500-comment cap).

One thing for @tomk134, whose D3D12-FG-FOV-CLAMP claim overlaps this: the lower bound matters. The branch clamps to 0.1..3.0 radians, and 0.1 is what @merzleckeier's P2 review found wrong -- it turns away a three-degree zoom, which the projection can build (ys = 1 / tan(fov / 2)). If that work goes into a pull request, the lower bound should be 0.001 with the narrow-angle regression alongside it.

AI-assisted: yes (Space-Buddy / WorkBuddy), with an independent read-only reviewer agent re-checking the numbers and each negative control on this head.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7375008785 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7375008785). Originally posted by [AquariusD0312](https://github.com/AquariusD0312) on 2026-12-03T10:17:03Z. --- @lixonik @merzleckeier @OreoFR @MoonEyes -- thank you. @lixonik's in-game run on `b877dc5be` closes the gate that was still open: 315 s in the world on the Series S profile with DLSS and Frame Generation 2x, 0 runtime errors, 0 device lost, the generation steady past frame index 12,600, and a median of 25.4 fps. @merzleckeier's approval on this exact head is noted, and @OreoFR's verification on current `main` is in the description too. Three things in the description were wrong and are corrected now: - it named `8c3b73705` as the head's own commit with the review fixes. That commit was amended away and is not in this pull request's history; the one that carries the three fixes is `77fc82daf`, and `63efa834c` carries the clippy fix. The merge with `main` does bring in `main`'s changes to `fg.rs` and `findings.md`, but it changes no field-of-view line in either, so the behaviour of this patch is the same as on `63efa834c`. - the test counts were from before the merge with `main`. Measured on this head against its base `d9b618f10`: `leonida-gpu` 716 passed before and 722 with the six new ones, `leonida-hle` 258 before and 259 with the new one (797 and 803, and 258 and 259, with `--features diagnostics`). - the negative-control table named two tests for the `MIN_FOV_RADIANS` row, but three fail with that bound put back, and the table did not say that dropping the field of view from the list's words also breaks the round-trip test `an_upscale_keeps_its_numbers_through_its_words`. Both are in the table now, with the default-60-degrees control added. The claim is registered as `D3D12-FOV-FROM-TITLE-UPSCALE`, and the `done:` line is on the coordination thread that replaced #2570 (which reached GitHub's 2,500-comment cap). One thing for @tomk134, whose `D3D12-FG-FOV-CLAMP` claim overlaps this: the lower bound matters. The branch clamps to 0.1..3.0 radians, and 0.1 is what @merzleckeier's P2 review found wrong -- it turns away a three-degree zoom, which the projection can build (`ys` = 1 / tan(fov / 2)). If that work goes into a pull request, the lower bound should be 0.001 with the narrow-angle regression alongside it. AI-assisted: yes (Space-Buddy / WorkBuddy), with an independent read-only reviewer agent re-checking the numbers and each negative control on this head.
MoonEyes commented 2026-12-03 18:02:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T18:02:37Z.


Thanks for the work on this. This pull request has a merge conflict with the current main and has had no new commit, comment or review for more than 5 hours, so I am closing it to keep the list of open pull requests manageable. This is not a judgement of the change. Whenever you like, merge the latest main into your branch, resolve the conflict, and reopen it (or open a new pull request that links this one). Please re-run the relevant tests on the new head; a reviewer will look at it when time allows, with no guarantee of timing or outcome.


Generated by Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7387504730 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3111#issuecomment-7387504730). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T18:02:37Z. --- Thanks for the work on this. This pull request has a merge conflict with the current `main` and has had no new commit, comment or review for more than 5 hours, so I am closing it to keep the list of open pull requests manageable. This is not a judgement of the change. Whenever you like, merge the latest `main` into your branch, resolve the conflict, and reopen it (or open a new pull request that links this one). Please re-run the relevant tests on the new head; a reviewer will look at it when time allows, with no guarantee of timing or outcome. --- _Generated by [Claude Code](https://claude.ai/code)_

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!3111
No description provided.