fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too #3068

Merged
HumanBean merged 5 commits from llun/Longshot:fix/streamline-sandboxed-start into main 2026-12-03 15:05:58 +00:00
Member

Summary

DLSS Frame Generation through Streamline does not work on main (2ca7d4f74, Windows). The game never starts Streamline, says nothing, and uses NGX instead. With this PR it starts, makes frames and spaces them, with the sandbox on.

To see it on main: a Windows build with Streamline's files beside longshot-game.exe, an NVIDIA RTX card, Upscaler at NVIDIA DLSS, Frame generation at Fixed 2x by DLSS FG, "DLSS FG through" at Streamline. The log has no vk: Streamline started line and there is no sl.log.

Three things stopped it, one behind the other:

  1. The settings came too late. mkwvk_init loads Vulkan (and decides on Streamline) and makes the device before the host hands over the settings, so everything read there with settings_start() was 0: frame generation looked off. Since #2822; before it, Streamline's code read the settings file itself (from the code, not run). MkwVkHost now gives them first (version 89).
  2. The sandbox refused NVIDIA's models folder. sl.pcl asks what %ProgramData%\NVIDIA\NGX\models is as it loads. Refused, it is unloaded, sl.reflex after it, and DLSS FG with them. The folder is now listed alone.
  3. Longshot's layer under Streamline could not start. The game writes its manifest in the game folder, which the sandbox never lets it. The builder now writes it before the start.

How the sandbox stays as strict:

  • The models folder is served by the builder as a folder listed, as the user folder is: no ACL changed, nothing in it opened, nothing written. Only beside sl.interposer.dll, and only when it is a folder of its own, not a link (any program may write under C:\ProgramData\NVIDIA).
  • The manifest is not in a folder the game may write, because it names a DLL to load and a mod could leave one for a later start. The game only reads it and uses it only when it names the game's own longshot_vk.dll. The builder resolves links in the game folder path, but refuses a link in the layer folder's path under the resolved game folder.

Read first: init_body in vk_main.cpp, nvidia_models and prepare_layer in sandbox_windows/gather.rs, layer_manifest_names in dlssg_rules.h.

Testing

Tested: Windows 11 (26300), RTX 5080, NVIDIA 621.47, llvm-mingw, sandbox on in every run (sandbox: in the AppContainer), Link's house in Kokiri Forest, 1080p output, 1920x1080 at 360 Hz.

  • main, Streamline chosen: no vk: Streamline line, no sl.log; NGX made the frames. A temporary log line showed why: settings generation 0, could 1, starts 0.
  • This PR, Streamline chosen, window in front: Streamline started, ready (up to 6x), on, 2x; the layer's own recording is in Measurements. sl.log is in diagnostics\logs. The person I work for looked at the picture before the layer's fix and said it looked right; nobody has judged it with the layer running.
  • This PR, NGX chosen: the setting is obeyed at the start (the log says so), NGX made the frames, Streamline not started.
  • No crash, device loss or FATAL line in any run.
  • tests/test_settings_before_start.py fails on main and passes here. The Rust tests of both sandbox parts, with their refusals: what is in, beside or above the models folder, writes, renames, removals, a link in its place, a manifest naming another DLL.
  • mise run test: 831 passed, 2 failed, 51 skipped. The two, test_i18n_complete.py (untranslated ReShade preset names) and test_lifter.py (sites' list of hook sites), fail the same way on main. mise run lint passes; clippy passes on build-core (Windows target, warnings as errors). Linux: not built or run; rx_backend.c, vk_main.cpp, vk_dlssg_layer.cpp and vk_dlssg.cpp pass a syntax check with gcc / g++ on Ubuntu 24.04.

Still to test:

  • Windows, NVIDIA RTX 40 and 50: DLSS FG through Streamline at 2x and up, with the picture judged, expecting as before #2822 (by hand)
  • Windows, NVIDIA, a game folder moved by a junction: Streamline, expecting it to start (by hand)
  • Windows, AMD or Intel: a start with Streamline's files there, expecting nothing of Streamline loaded (by hand)
  • Linux: a start, expecting the same as main (by hand)

Measurements

Verdict: Streamline goes from never starting to 2x.

Setup: as Testing; Fixed 2x by DLSS FG, NVIDIA DLSS, game cap 60; about 60 s in play, one run a row.

Before: main @ 2ca7d4f74 After: this PR @ 54f67de44
Streamline never started on, 2x
The game's own frames a second 60.00 59.93
Presents a second the layer saw, frame generation on none (layer not there) about 120, for about a minute
Present times read back by the layer none 4608 of 8284 had a first pixel out
Uneven frames corrected (one present held) none 3

The same run before the layer's manifest: frames 596 shown for 300 made (a temporary counter). It says nothing about frame pacing against main, which shows no Streamline frames.

Risks

  • All early settings (settings_start() in mkwvk_init) now have their saved values instead of 0, not only Streamline's: the mesh path, robust buffers, the present queue, the game queue's priority and others. They default to Auto or Off, so a player who never changed one should see no difference; one who did now gets it, as documented.
  • Streamline now starts for players whose builds have it and who chose it. "DLSS FG through" at NGX is as before.
  • The game's builder writes one file in the game folder, longshot_vk_layer\VkLayer_longshot_streamline.json.
  • Revert is enough. Saves, settings and caches don't change.

Not changed: the file layer's list of modules it has patched never lets go of an address (hos_file_windows.c, is_patched). It may skip a DLL loaded where another was unloaded; not shown, and not a way out by my reading.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • A check under tests/ that reads changed source is updated, not weakened.
  • MKWVK_API_VERSION bumped (MkwVkHost or MkwVkRenderer in gpu/vk/vk_api.h changed).
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Windows built and run; Linux: syntax check of the changed files alone, the build is CI's)
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary DLSS Frame Generation through Streamline does not work on `main` (`2ca7d4f74`, Windows). The game never starts Streamline, says nothing, and uses NGX instead. With this PR it starts, makes frames and spaces them, with the sandbox on. To see it on `main`: a Windows build with Streamline's files beside `longshot-game.exe`, an NVIDIA RTX card, Upscaler at NVIDIA DLSS, Frame generation at Fixed 2x by DLSS FG, "DLSS FG through" at Streamline. The log has no `vk: Streamline started` line and there is no `sl.log`. Three things stopped it, one behind the other: 1. **The settings came too late.** `mkwvk_init` loads Vulkan (and decides on Streamline) and makes the device before the host hands over the settings, so everything read there with `settings_start()` was 0: frame generation looked off. Since #2822; before it, Streamline's code read the settings file itself (from the code, not run). `MkwVkHost` now gives them first (version 89). 2. **The sandbox refused NVIDIA's models folder.** `sl.pcl` asks what `%ProgramData%\NVIDIA\NGX\models` is as it loads. Refused, it is unloaded, `sl.reflex` after it, and DLSS FG with them. The folder is now listed alone. 3. **Longshot's layer under Streamline could not start.** The game writes its manifest in the game folder, which the sandbox never lets it. The builder now writes it before the start. How the sandbox stays as strict: - The models folder is served by the builder as a folder listed, as the user folder is: no ACL changed, nothing in it opened, nothing written. Only beside `sl.interposer.dll`, and only when it is a folder of its own, not a link (any program may write under `C:\ProgramData\NVIDIA`). - The manifest is not in a folder the game may write, because it names a DLL to load and a mod could leave one for a later start. The game only reads it and uses it only when it names the game's own `longshot_vk.dll`. The builder resolves links in the game folder path, but refuses a link in the layer folder's path under the resolved game folder. Read first: `init_body` in `vk_main.cpp`, `nvidia_models` and `prepare_layer` in `sandbox_windows/gather.rs`, `layer_manifest_names` in `dlssg_rules.h`. ## Testing **Tested:** Windows 11 (26300), RTX 5080, NVIDIA 621.47, llvm-mingw, sandbox on in every run (`sandbox: in the AppContainer`), Link's house in Kokiri Forest, 1080p output, 1920x1080 at 360 Hz. - `main`, Streamline chosen: no `vk: Streamline` line, no `sl.log`; NGX made the frames. A temporary log line showed why: settings generation 0, `could` 1, starts 0. - This PR, Streamline chosen, window in front: `Streamline started`, `ready (up to 6x)`, `on, 2x`; the layer's own recording is in Measurements. `sl.log` is in `diagnostics\logs`. The person I work for looked at the picture before the layer's fix and said it looked right; nobody has judged it with the layer running. - This PR, NGX chosen: the setting is obeyed at the start (the log says so), NGX made the frames, Streamline not started. - No crash, device loss or FATAL line in any run. - `tests/test_settings_before_start.py` fails on `main` and passes here. The Rust tests of both sandbox parts, with their refusals: what is in, beside or above the models folder, writes, renames, removals, a link in its place, a manifest naming another DLL. - `mise run test`: 831 passed, 2 failed, 51 skipped. The two, `test_i18n_complete.py` (untranslated ReShade preset names) and `test_lifter.py` (`sites`' list of hook sites), fail the same way on `main`. `mise run lint` passes; clippy passes on `build-core` (Windows target, warnings as errors). Linux: not built or run; `rx_backend.c`, `vk_main.cpp`, `vk_dlssg_layer.cpp` and `vk_dlssg.cpp` pass a syntax check with gcc / g++ on Ubuntu 24.04. **Still to test:** - Windows, NVIDIA RTX 40 and 50: DLSS FG through Streamline at 2x and up, with the picture judged, expecting as before #2822 (by hand) - Windows, NVIDIA, a game folder moved by a junction: Streamline, expecting it to start (by hand) - Windows, AMD or Intel: a start with Streamline's files there, expecting nothing of Streamline loaded (by hand) - Linux: a start, expecting the same as `main` (by hand) ## Measurements **Verdict:** Streamline goes from never starting to 2x. Setup: as Testing; Fixed 2x by DLSS FG, NVIDIA DLSS, game cap 60; about 60 s in play, one run a row. | | Before: main @ 2ca7d4f74 | After: this PR @ 54f67de44 | |---|---|---| | Streamline | never started | on, 2x | | The game's own frames a second | 60.00 | 59.93 | | Presents a second the layer saw, frame generation on | none (layer not there) | about 120, for about a minute | | Present times read back by the layer | none | 4608 of 8284 had a first pixel out | | Uneven frames corrected (`one present held`) | none | 3 | The same run before the layer's manifest: frames 596 shown for 300 made (a temporary counter). It says nothing about frame pacing against `main`, which shows no Streamline frames. ## Risks - All early settings (`settings_start()` in `mkwvk_init`) now have their saved values instead of 0, not only Streamline's: the mesh path, robust buffers, the present queue, the game queue's priority and others. They default to Auto or Off, so a player who never changed one should see no difference; one who did now gets it, as documented. - Streamline now starts for players whose builds have it and who chose it. "DLSS FG through" at NGX is as before. - The game's builder writes one file in the game folder, `longshot_vk_layer\VkLayer_longshot_streamline.json`. - Revert is enough. Saves, settings and caches don't change. Not changed: the file layer's list of modules it has patched never lets go of an address (`hos_file_windows.c`, `is_patched`). It may skip a DLL loaded where another was unloaded; not shown, and not a way out by my reading. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] `MKWVK_API_VERSION` bumped (`MkwVkHost` or `MkwVkRenderer` in `gpu/vk/vk_api.h` changed). - [ ] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Windows built and run; Linux: syntax check of the changed files alone, the build is CI's) - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fails on main: mkwvk_init loads Vulkan and makes the device before the host hands it the settings, so everything read there
reads 0.

Assisted-by: Claude Opus 5.5 (Claude Code)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
mkwvk_init loads Vulkan (Streamline's start among it) and makes the device, each reading settings_start() once; the host handed
the settings over only after it, so all of them read 0 and DLSS FG through Streamline never started, with nothing said.

Assisted-by: Claude Opus 5.5 (Claude Code)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
sl.pcl asks what %ProgramData%\NVIDIA\NGX\models is as it loads; refused, it is unloaded, and DLSS FG with it. The folder is
listed alone, served by the builder with no ACL changed, only beside Streamline's files and never through a link.

Assisted-by: Claude Opus 5.5 (Claude Code)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(vk): the builder writes the manifest of Longshot's layer under Streamline, which the sandboxed game may not
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
54f67de447
Without it the game started with no reader of when DLSS FG's presents reach the screen, and no correction of uneven ones.
The game only reads it, and uses it only when it names its own renderer.

Assisted-by: Claude Opus 5.5 (Claude Code)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11 (26300), RTX 5080, NVIDIA 621.47, sandbox on, Link's house in Kokiri Forest: Streamline starts and shows about 120 frames a second from the game's 60 for about a minute, and the layer under it reads when they reach the screen. NGX still works when it is chosen. No crash.

Tested in game: Windows 11 (26300), RTX 5080, NVIDIA 621.47, sandbox on, Link's house in Kokiri Forest: Streamline starts and shows about 120 frames a second from the game's 60 for about a minute, and the layer under it reads when they reach the screen. NGX still works when it is chosen. No crash.
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. A game folder reached through a junction cannot get the layer manifest, so its Streamline presents lose the layer’s pacing correction. The reported run shows Streamline producing frames on an RTX 5080, but the resulting picture and other affected platforms still need testing. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The change hands saved settings to the renderer before Vulkan initialization, grants Streamline limited access to NVIDIA’s models folder, and prepares the layer manifest before a sandboxed start. It restores Streamline frame generation in the reported Windows run, at the cost of changing early renderer settings and sandbox startup behavior across platforms.

Should fix (1): not blocking, but worth doing before merging.

  • L1 builder/crates/build-core/src/sandbox_windows/gather.rs:279: The manifest preparation rejects a junction anywhere above the layer directory, including a junction used to move the game folder. (more on the line) Do: Resolve and validate the game folder separately, then safely prepare the layer directory under its resolved location while still refusing a link substituted for the layer directory itself; add a junction case to the tests.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L2: The restored layer’s output has not been judged in the game. When: The RTX 5080 run counted generated presents, but no one checked the picture with the layer running; counting presents cannot detect visual defects or uneven pacing. Do: Run Streamline frame generation on RTX 40 and 50 hardware at 2x and higher supported multipliers, judge the picture and pacing, and record the results.
  • L3: The changed early settings and initialization paths have not been run on the other affected systems. When: Linux and Windows AMD or Intel now initialize Vulkan using saved settings, even though the reported game run covers only Windows NVIDIA. Do: Run representative starts on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and verify the saved startup settings and normal rendering.

@fix can do L1.

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Yes, for starting Streamline in the reported case: on Windows 11 with an RTX 5080, main did not start Streamline, while this head reported 2x and about 120 layer-observed presents per second from a 60 fps game. The single run does not establish picture correctness or frame pacing.

Other systems: Early settings affect Vulkan device creation on Windows and Linux, including NVIDIA, AMD, Intel and Steam Deck. The manifest and models-folder changes affect Windows sandbox starts. The reported run covers Windows on an RTX 5080; picture judgment, other NVIDIA generations, AMD or Intel starts and Linux starts remain outstanding.

Switches: None added, changed or removed.

Reviewed: 54f67de447 against 2ca7d4f741: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete diff and commit messages; inspected the changed settings, manifest and sandbox code and relevant callers, grants and path resolution. Skimmed the changed tests and documentation. docs/review-checklist.md and the adjacent Tooling checkout were absent. The large changed code files and all dependent code were not read in full.; nothing run (a code review).

Checked and fine:

  • MKWVK_API_VERSION is bumped for the added host callbacks.
  • All four commits record AI assistance.
  • The diff adds no game-derived files or third-party runtime.
  • The reported NGX selection still starts without Streamline.

Testing: No commands that build, execute tests or run project scripts were used. The author reports a Windows RTX 5080 game run and syntax checks on Linux; CI was still running.

Overlaps and merge order: Not checked; the network is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Approve.** A game folder reached through a junction cannot get the layer manifest, so its Streamline presents lose the layer’s pacing correction. The reported run shows Streamline producing frames on an RTX 5080, but the resulting picture and other affected platforms still need testing. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The change hands saved settings to the renderer before Vulkan initialization, grants Streamline limited access to NVIDIA’s models folder, and prepares the layer manifest before a sandboxed start. It restores Streamline frame generation in the reported Windows run, at the cost of changing early renderer settings and sandbox startup behavior across platforms. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `builder/crates/build-core/src/sandbox_windows/gather.rs:279`: The manifest preparation rejects a junction anywhere above the layer directory, including a junction used to move the game folder. (more on the line) **Do:** Resolve and validate the game folder separately, then safely prepare the layer directory under its resolved location while still refusing a link substituted for the layer directory itself; add a junction case to the tests. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2**: The restored layer’s output has not been judged in the game. *When:* The RTX 5080 run counted generated presents, but no one checked the picture with the layer running; counting presents cannot detect visual defects or uneven pacing. **Do:** Run Streamline frame generation on RTX 40 and 50 hardware at 2x and higher supported multipliers, judge the picture and pacing, and record the results. - **L3**: The changed early settings and initialization paths have not been run on the other affected systems. *When:* Linux and Windows AMD or Intel now initialize Vulkan using saved settings, even though the reported game run covers only Windows NVIDIA. **Do:** Run representative starts on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and verify the saved startup settings and normal rendering. `@fix` can do L1. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes, for starting Streamline in the reported case: on Windows 11 with an RTX 5080, main did not start Streamline, while this head reported 2x and about 120 layer-observed presents per second from a 60 fps game. The single run does not establish picture correctness or frame pacing. **Other systems:** Early settings affect Vulkan device creation on Windows and Linux, including NVIDIA, AMD, Intel and Steam Deck. The manifest and models-folder changes affect Windows sandbox starts. The reported run covers Windows on an RTX 5080; picture judgment, other NVIDIA generations, AMD or Intel starts and Linux starts remain outstanding. **Switches:** None added, changed or removed. **Reviewed:** 54f67de447ba against 2ca7d4f74182: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete diff and commit messages; inspected the changed settings, manifest and sandbox code and relevant callers, grants and path resolution. Skimmed the changed tests and documentation. docs/review-checklist.md and the adjacent Tooling checkout were absent. The large changed code files and all dependent code were not read in full.; nothing run (a code review). **Checked and fine:** - MKWVK_API_VERSION is bumped for the added host callbacks. - All four commits record AI assistance. - The diff adds no game-derived files or third-party runtime. - The reported NGX selection still starts without Streamline. **Testing:** No commands that build, execute tests or run project scripts were used. The author reports a Windows RTX 5080 game run and syntax checks on Linux; CI was still running. **Overlaps and merge order:** Not checked; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -250,0 +276,4 @@
}
make_dirs(&dir);
if !is_dir(Some(&dir)) || !resolve(&dir, false).is_ok_and(|r| super::same(&r, &dir)) {
return None;
Member

L1 (should fix): The manifest preparation rejects a junction anywhere above the layer directory, including a junction used to move the game folder.

When: When the game is started through a junction to its installation, real_path with follow=false rejects that ancestor. No manifest is written, and the sandboxed renderer cannot write one, so Streamline starts without the layer that reads and corrects its presents.

Do: Resolve and validate the game folder separately, then safely prepare the layer directory under its resolved location while still refusing a link substituted for the layer directory itself; add a junction case to the tests.

**L1** (should fix): The manifest preparation rejects a junction anywhere above the layer directory, including a junction used to move the game folder. *When:* When the game is started through a junction to its installation, real_path with follow=false rejects that ancestor. No manifest is written, and the sandboxed renderer cannot write one, so Streamline starts without the layer that reads and corrects its presents. **Do:** Resolve and validate the game folder separately, then safely prepare the layer directory under its resolved location while still refusing a link substituted for the layer directory itself; add a junction case to the tests.
llun force-pushed fix/streamline-sandboxed-start from 54f67de447
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to fbd9701e92
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 10:13:45 +00:00
Compare
HumanBean changed title from WIP: fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too to fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too 2026-12-03 15:01:11 +00:00
Owner
@fix
BeanBot force-pushed fix/streamline-sandboxed-start from fbd9701e92
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 6c914a5c8a
Some checks failed
PR description / Title and description (pull_request_target) Failing after 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 19s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m15s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 16m55s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 12m56s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 12m38s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 51m46s
2026-12-03 15:04:18 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. Streamline starts and produces frames on the tested RTX 5080, but the restored layer’s picture and pacing have not been judged. The changed initialization paths also need runs on the other affected systems. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 6c914a5c8a. I rebased it onto main (238f4f65ff). I edited its description to match the change.

Changed

  • Manifest preparation through junctions: Resolved the program folder before preparing the layer, retained the original DLL path in the manifest, and added a simulated junction case that also checks layer-directory link refusal in builder/crates/build-core/src/sandbox_windows/gather.rs:270. Tests were not run as requested.

Nothing was built or run: the checks run again on the new head.

The change restores Streamline frame generation in the Windows sandbox by supplying settings earlier, allowing the NVIDIA models folder to be listed, and preparing the layer manifest before launch. The latest fix also prepares the manifest through a game-folder junction.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L2: The restored layer’s output has not been judged in the game. When: The RTX 5080 run counted generated presents, but no one checked the picture with the layer running; counting presents cannot detect visual defects or uneven pacing. Do: Run Streamline frame generation on RTX 40 and 50 hardware at 2x and higher supported multipliers, judge the picture and pacing, and record the results.
  • L3: The changed early settings and initialization paths have not been run on the other affected systems. When: Linux and Windows AMD or Intel now initialize Vulkan using saved settings, even though the reported game run covers only Windows NVIDIA. Do: Run representative starts on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and verify the saved startup settings and normal rendering.

Checks: they run again on this head; a failure shows on the pull request.

Also noticed (2; not asked for, not blocking)
  • A Windows game run through an actual game-folder junction would verify the new path alongside the simulated resolver test.
  • The supplied base-to-head diff includes substantially more files than the pull request’s listed changes.
More: does it help, other systems, switches, what was read

Does it help: Unproven overall: the reported RTX 5080 run shows about 120 presents per second from a 60 fps game, but nobody has judged the picture or pacing with the restored layer. The report contains one run per side.

Other systems: Early settings and initialization also affect Linux and other Windows GPU configurations; those paths have not been run. A real Windows junction case has not yet been tested.

Switches: No switches added, changed, or removed by the latest fix.

Reviewed: 6c914a5c8a against 238f4f65ff: Read the latest fix diff and the manifest preparation code and tests in gather.rs. Read the repository instructions and PR template, and inspected the overall diff and file list; the overall diff output was truncated, so not all changed code was read in full.; nothing run (a code review).

Checked and fine:

  • The junction fix resolves the program folder before preparing the layer while retaining the original renderer path in the manifest.
  • The layer directory is checked for links after resolving the program folder.

Testing: No commands from the project were run. The author reports a Windows RTX 5080 game run and game-free checks; CI has not yet run on this head.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. Streamline starts and produces frames on the tested RTX 5080, but the restored layer’s picture and pacing have not been judged. The changed initialization paths also need runs on the other affected systems. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 6c914a5c8ac1. I rebased it onto `main` (238f4f65ffaf). I edited its description to match the change. **Changed** - **Manifest preparation through junctions**: Resolved the program folder before preparing the layer, retained the original DLL path in the manifest, and added a simulated junction case that also checks layer-directory link refusal in builder/crates/build-core/src/sandbox_windows/gather.rs:270. Tests were not run as requested. Nothing was built or run: the checks run again on the new head. The change restores Streamline frame generation in the Windows sandbox by supplying settings earlier, allowing the NVIDIA models folder to be listed, and preparing the layer manifest before launch. The latest fix also prepares the manifest through a game-folder junction. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2**: The restored layer’s output has not been judged in the game. *When:* The RTX 5080 run counted generated presents, but no one checked the picture with the layer running; counting presents cannot detect visual defects or uneven pacing. **Do:** Run Streamline frame generation on RTX 40 and 50 hardware at 2x and higher supported multipliers, judge the picture and pacing, and record the results. - **L3**: The changed early settings and initialization paths have not been run on the other affected systems. *When:* Linux and Windows AMD or Intel now initialize Vulkan using saved settings, even though the reported game run covers only Windows NVIDIA. **Do:** Run representative starts on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and verify the saved startup settings and normal rendering. **Checks:** they run again on this head; a failure shows on the pull request. <details> <summary>Also noticed (2; not asked for, not blocking)</summary> - A Windows game run through an actual game-folder junction would verify the new path alongside the simulated resolver test. - The supplied base-to-head diff includes substantially more files than the pull request’s listed changes. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven overall: the reported RTX 5080 run shows about 120 presents per second from a 60 fps game, but nobody has judged the picture or pacing with the restored layer. The report contains one run per side. **Other systems:** Early settings and initialization also affect Linux and other Windows GPU configurations; those paths have not been run. A real Windows junction case has not yet been tested. **Switches:** No switches added, changed, or removed by the latest fix. **Reviewed:** 6c914a5c8ac1 against 238f4f65ffaf: Read the latest fix diff and the manifest preparation code and tests in gather.rs. Read the repository instructions and PR template, and inspected the overall diff and file list; the overall diff output was truncated, so not all changed code was read in full.; nothing run (a code review). **Checked and fine:** - The junction fix resolves the program folder before preparing the layer while retaining the original renderer path in the manifest. - The layer directory is checked for links after resolving the program folder. **Testing:** No commands from the project were run. The author reports a Windows RTX 5080 game run and game-free checks; CI has not yet run on this head. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/streamline-sandboxed-start 2026-12-03 15:05:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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
MagicBeanDev/Longshot!3068
No description provided.