Series S: nothing is looked for in front of the interface composite #4283

Closed
github-bot wants to merge 11 commits from github-bot/gh-4282 into main AGit
Owner

@⁠Kam471 on GitHub · 2026-11-30 18:10 UTC · original
Kam471:seriess-hudless → main · +810 −831 · 35 files · 11 commits · closed without merging

What it changes

hudless_wanted (crates/victory-gpu/src/streamline.rs) was true whenever frame generation ran on our swap chain and VICTORY_FRAMEGEN_HUDLESS was not 0, whatever the console was.

On Series S there is nothing for it to find. The title presents its interface as a plane of its own every frame: queue::present shows the title's two planes (crates/victory-gpu/src/queue.rs:1277), host::present_placed composes them (crates/victory-gpu/src/host.rs:16757), and streamline::Planes carries the second one (host.rs:17187). So planes.base already is the colour without the interface, and both frame generators take it as that with no copy of ours:

  • DLSS-G: streamline::present_begins tags planes.base's texture as BUFFER_HUDLESS_COLOR when planes.overlay is set (streamline.rs:2599 and :2664).
  • FSR 3: fsr::before_present passes base as hudless_color when two_planes (streamline/fsr.rs:756).

The copy before_target_draw records in front of the interface composite (streamline.rs:2432) is for the Series X shape: one triangle into the frame's colour. On Series S there is no such composite, and SHOWN — the list of textures it may copy from — is filled only by presents that carry no overlay (hudless_for, streamline.rs:2556). So it returns after its scan for every draw.

What the flag still cost on Series S is host_resource and that scan, reached from draw::State::before_shown_target (crates/victory-gpu/src/draw.rs:6492 and :6693) for every draw with one target and no depth, plus a once-each log line for the pipelines that draw into the base plane.

Asked::hudless becomes hudless_asked(): the look stays on Series X, is off on Series S, and VICTORY_FRAMEGEN_HUDLESS=1 asks for it there. fsr.rs read the variable itself; both paths now share the one rule. The table in docs/dlss.md says so.

Series X is unchanged. A present that carries no second plane — the composer's failure fallback in host::present_placed, which shows the base plane alone, or a present of a single plane, if the title ever makes one — then has no interface-free colour of ours on Series S, as with VICTORY_FRAMEGEN_HUDLESS=0; =1 keeps the copy for it.

How it was tested

  • GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): none, no title run on this machine. This is a code-level change, argued from the paths above.
  • Before: with frame generation on, Series S pays before_shown_target on every single-target, no-depth draw, and no copy is ever recorded (no draw target is in SHOWN).
  • After: the look is off, so before_shown_target is not called. What remains per draw is the HUDLESS_WANTED load that guards it.
  • For shader changes, the wave sizes tested (32 and/or 64 lanes): none, no shader change.
  • cargo test passed for the crates it touches: yes for victory-gpu, with two failures that fail on 84bd61e2 as well — list::thin::tests::bindings_record_no_work and shader_cache::tests::every_switch_of_the_translator_is_in_the_key. cargo check -p victory-gpu --locked passes.
  • CI: not run yet — the check job is action_required (a pull request from a fork waits for approval). cargo clippy -p victory-gpu --all-targets --locked reports the same two findings as on 84bd61e2 — Shadow::ranged never used and manual_is_multiple_of at host.rs:5092, neither in the files this changes (main's clippy gate is red; #4166 fixes it).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none for this decision. #2346 mentions the hudless tags in its body but does not change what is looked for; #1335 (merged) set the tag's extent.

AI use

Kam471, with OpenCode, model DeepSeek V4.1 Flash 1017.

**@⁠Kam471** on GitHub · 2026-11-30 18:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4282) `Kam471:seriess-hudless` → `main` · +810 −831 · 35 files · 11 commits · closed without merging ## What it changes `hudless_wanted` (`crates/victory-gpu/src/streamline.rs`) was true whenever frame generation ran on our swap chain and `VICTORY_FRAMEGEN_HUDLESS` was not `0`, whatever the console was. On Series S there is nothing for it to find. The title presents its interface as a plane of its own every frame: `queue::present` shows the title's two planes (`crates/victory-gpu/src/queue.rs:1277`), `host::present_placed` composes them (`crates/victory-gpu/src/host.rs:16757`), and `streamline::Planes` carries the second one (`host.rs:17187`). So `planes.base` already is the colour without the interface, and both frame generators take it as that with no copy of ours: - DLSS-G: `streamline::present_begins` tags `planes.base`'s texture as `BUFFER_HUDLESS_COLOR` when `planes.overlay` is set (`streamline.rs:2599` and `:2664`). - FSR 3: `fsr::before_present` passes `base` as `hudless_color` when `two_planes` (`streamline/fsr.rs:756`). The copy `before_target_draw` records in front of the interface composite (`streamline.rs:2432`) is for the Series X shape: one triangle into the frame's colour. On Series S there is no such composite, and `SHOWN` — the list of textures it may copy from — is filled only by presents that carry no overlay (`hudless_for`, `streamline.rs:2556`). So it returns after its scan for every draw. What the flag still cost on Series S is `host_resource` and that scan, reached from `draw::State::before_shown_target` (`crates/victory-gpu/src/draw.rs:6492` and `:6693`) for every draw with one target and no depth, plus a once-each log line for the pipelines that draw into the base plane. `Asked::hudless` becomes `hudless_asked()`: the look stays on Series X, is off on Series S, and `VICTORY_FRAMEGEN_HUDLESS=1` asks for it there. `fsr.rs` read the variable itself; both paths now share the one rule. The table in `docs/dlss.md` says so. Series X is unchanged. A present that carries no second plane — the composer's failure fallback in `host::present_placed`, which shows the base plane alone, or a present of a single plane, if the title ever makes one — then has no interface-free colour of ours on Series S, as with `VICTORY_FRAMEGEN_HUDLESS=0`; `=1` keeps the copy for it. ## How it was tested - GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): none, no title run on this machine. This is a code-level change, argued from the paths above. - Before: with frame generation on, Series S pays `before_shown_target` on every single-target, no-depth draw, and no copy is ever recorded (no draw target is in `SHOWN`). - After: the look is off, so `before_shown_target` is not called. What remains per draw is the `HUDLESS_WANTED` load that guards it. - For shader changes, the wave sizes tested (32 and/or 64 lanes): none, no shader change. - `cargo test` passed for the crates it touches: yes for `victory-gpu`, with two failures that fail on 84bd61e2 as well — `list::thin::tests::bindings_record_no_work` and `shader_cache::tests::every_switch_of_the_translator_is_in_the_key`. `cargo check -p victory-gpu --locked` passes. - CI: not run yet — the `check` job is `action_required` (a pull request from a fork waits for approval). `cargo clippy -p victory-gpu --all-targets --locked` reports the same two findings as on 84bd61e2 — `Shadow::ranged` never used and `manual_is_multiple_of` at `host.rs:5092`, neither in the files this changes (main's clippy gate is red; #4166 fixes it). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none for this decision. #2346 mentions the hudless tags in its body but does not change what is looked for; #1335 (merged) set the tag's extent. ## AI use Kam471, with OpenCode, model `DeepSeek V4.1 Flash 1017`.
`hudless_wanted` was true whenever frame generation ran on our swap chain and
`VICTORY_FRAMEGEN_HUDLESS` was not 0, whatever the console was. On Series S
there is nothing to find: the title presents its interface as a plane of its
own every frame (`host::present_placed` composes the base plane and the
overlay), so `planes.base` already is the colour without the interface.
`streamline::present_begins` tags it as `BUFFER_HUDLESS_COLOR` and
`fsr::before_present` passes it as `hudless_color` (`two_planes`), with no copy
made by us for either. The interface composite the look exists for — one
triangle into the frame's colour — is the Series X shape; on Series S `SHOWN`
is filled only by presents that carry no overlay, so `before_target_draw`
returns after its scan for every draw.

What the flag still cost on Series S is `host_resource` and that scan, called
from `draw::State::before_shown_target` for every draw with one target and no
depth, plus a once-each log line for the pipelines that draw into the base
plane.

`Asked::hudless` becomes `hudless_asked()`: the look stays on Series X, is off
on Series S, and `VICTORY_FRAMEGEN_HUDLESS=1` asks for it there. FSR 3 read the
variable itself; both paths now share the one rule.

Series X behaviour is unchanged. The one present with no second plane is the
composer's failure fallback in `host::present_placed`, which shows the base
plane alone; `VICTORY_FRAMEGEN_HUDLESS=1` keeps the copy for it.

Checked: `cargo check -p victory-gpu --locked` (only warning: `Shadow::ranged`
unused, on main already).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:17:20 +00:00
Author
Owner

@⁠nicolasabosch on GitHub · 2026-11-30 21:52 UTC · original

Tested on an RTX 4070 Laptop 8 GB: no measurable fps difference in this scene (2 runs).

Tested on main e1251c31 with this PR (85a385d4) merged on top and nothing else changed. Release build, same profile as main.

Setup

  • PC: RTX 4070 Laptop 8 GB, i9-14900HX, 32 GB RAM, Windows 11.
  • Command: victory play --series-s --dlss performance --framegen 2, with no fps cap and the window minimized.
  • Route: scripted Enter presses into the world from a save, then the character idles there for 300 s.
  • fps is the mean of the last 40 host: reports, about 200 s. These are real frames, not generated ones.
  • The submit-thread figures come from the "preparing per frame, the submitting thread" line, also over the last 40 reports.
  • The second run starts from a fixed copy of the save. In the first run the save had moved on, so the scene was a little different.
run fps ms/frame submit thread ms refreshes ms
main, 7 runs 15.96 – 18.76 53.4 – 62.7 35.0 – 41.4 13.3 – 15.4
main, fixed save only (4 runs) 16.21 – 18.18 (median 16.37) 55.1 – 61.8 35.0 – 40.5 13.3 – 15.2
this PR, run 1 17.99 55.7 39.0 14.4
this PR, run 2 (fixed save) 16.58 60.4 38.3 14.0

On this laptop, identical main runs differ by up to about 2–2.5 fps, so only an effect of roughly 2–3 fps or more would be visible in this scene. This is the exact case the PR targets (Series S with DLSS frame generation), and the frame did not move here.

Not tested: driving, camera turns, interiors, an image comparison, other GPUs.

**@⁠nicolasabosch** on GitHub · 2026-11-30 21:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4282#issuecomment-7293020926) **Tested on an RTX 4070 Laptop 8 GB: no measurable fps difference in this scene (2 runs).** Tested on main `e1251c31` with this PR (`85a385d4`) merged on top and nothing else changed. Release build, same profile as main. **Setup** - PC: RTX 4070 Laptop 8 GB, i9-14900HX, 32 GB RAM, Windows 11. - Command: `victory play --series-s --dlss performance --framegen 2`, with no fps cap and the window minimized. - Route: scripted Enter presses into the world from a save, then the character idles there for 300 s. - fps is the mean of the last 40 `host:` reports, about 200 s. These are real frames, not generated ones. - The submit-thread figures come from the "preparing per frame, the submitting thread" line, also over the last 40 reports. - The second run starts from a fixed copy of the save. In the first run the save had moved on, so the scene was a little different. | run | fps | ms/frame | submit thread ms | refreshes ms | |---|---|---|---|---| | main, 7 runs | 15.96 – 18.76 | 53.4 – 62.7 | 35.0 – 41.4 | 13.3 – 15.4 | | main, fixed save only (4 runs) | 16.21 – 18.18 (median 16.37) | 55.1 – 61.8 | 35.0 – 40.5 | 13.3 – 15.2 | | this PR, run 1 | 17.99 | 55.7 | 39.0 | 14.4 | | this PR, run 2 (fixed save) | 16.58 | 60.4 | 38.3 | 14.0 | On this laptop, identical main runs differ by up to about 2–2.5 fps, so only an effect of roughly 2–3 fps or more would be visible in this scene. This is the exact case the PR targets (Series S with DLSS frame generation), and the frame did not move here. **Not tested:** driving, camera turns, interiors, an image comparison, other GPUs.
github-bot closed this pull request 2026-12-01 18:50:16 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:44 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4282#issuecomment-7321459646) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4283
No description provided.