feat(settings): NVIDIA DLSS's card offers Frame Generation through Streamline on Windows #344
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!344
Loading…
Reference in a new issue
No description provided.
Delete branch "Jiro113/LongshotLauncher:feat/dlss-card-streamline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Players with an RTX 40 card or later can't turn on DLSS Frame Generation from the launcher: the builder needs NVIDIA Streamline beside the game, under a second NVIDIA licence. This PR adds that choice to the NVIDIA DLSS card, behind its own licence, and hands it to the builder through the profile, so the builder only places Streamline when a player has asked for it.
Rebuilt on
mainafter builder protocol 2 (#353):--profile <folder>everywhere, nolauncher-instance.json, no--profile-id. Longshot's side is merged: #2748 carries all of Streamline (a425fa2aa, innightly-936-a425fa2a); #2749 is closed.tests/longshot.refnow pinsa425fa2aa. Not a duplicate of #50, an ANR runtime download for the earlier .NET launcher.Screenshots
A dev build of
12e6552(this head, onmain50f0cb2, in #391's dialog style and with #394's scrolling) on Windows, in a fresh trial profile, on the Build page (nothing installed, no game file). The card and the link were taken atd8afd0a, whose card and link are the same.main(1280x800)d8afd0a)d8afd0a)What changes
main. Once its licence is accepted where Streamline is offered, the dialog becomes NVIDIA Streamline's, on the same template: the title, a summary, the licence text, then three points on what Streamline brings, and the same Close and Accept and enable (screenshots above). Close leaves DLSS on without Streamline. Elsewhere (Linux, the stable channel), and for a version whose builder can't place it, the dialog closes as before.streamlineis only the dialog's key, and its dialog doesn't open without DLSS on.ScrollViewofui/scroll-view.slintas #394 made the launcher's other scrolling views (a scrollbar that stays, a fade while more lies below).streamlineLicensein its settings), recorded once the choice is saved; the choice is per version,streamlinein the version's record beside its modules. Turning DLSS off turns it off.licenses::streamline_offered): nightly, main and pull request versions. Linux never shows it (Streamline has no Linux runtime). On the Build page, a change to a channel that doesn't offer it clears it."streamline": trueinprofile.jsonand the receiptlicenses.streamlineat pin625db07d…(Streamline's v2.14.16 tag), which the launcher writes and the builder never does. Only a builder whoseinfolistsstreamlineincapabilities.builderis told anything (the capabilities are remembered with the protocol, per program, and kept across restarts with it inbuilder-protocols.json):build --profile <folder> … --streamline on|off, with the receipt written into the profile beforeon. The builder writes the choice into the profile.--streamline, so every Play writes the version's choice into the profile first ("streamline": true, or the key taken out; nevernull, which the builder refuses), with the receipt, as it already does for the upscalers. Two versions of one profile with different choices each play with their own, the builder's rebuild key carrying Streamline when it is wanted.Enabled · Streamline FGonly when the build record (longshot_build.json) says"streamline": "placed", not merely when it was asked. On the Build page it shows the choice for the build about to start.reuse.rs): a build folder whose record asked for Streamline (placed,keptorskipped) is never copied into another version, and a new version that wants Streamline is built, not copied.tests/longshot.refmoves to Longshota425fa2aa, with what the builder's contract has there: Storage's shader cache also clears the cache a game keeps for another shader store (longshot_shader_store_ref.txt,longshot_programs.fallback.bin,.idx), under the fallback's own lock as the game takes it; andtests/fixtures/longshot-builder/codes.mdis the builder's table at that commit (streamline_skippedamong the warnings; noself-updateorsteam-shortcutrows).tests/test_launcher_core.py: the launcher's receipt must equalSL_REPOin Longshot'sbuilder/crates/build-driver/src/runtimes.rs, and its licence link the release page ofscripts/sl_sdk.py'sVERSION. CI's sparse checkout takes both files (docs/ci.md).docs/builder.mdgains--streamlineand a Streamline section.Licences (Q4: done)
The launcher carries the two texts, as it already carries
NVIDIA-DLSS.txt. Only these two texts come from NVIDIA; no DLL, archive or header is in the repository. Unchanged since the previous head:assets/licenses/NVIDIA-Reflex.txt: NVIDIA's License Agreement for NVIDIA Software Development Kits,bin/x64/reflex.license.txtof the pinnedstreamline-sdk-v2.14.16.zip, SHA-256ebf83c07fb3b2939908c3795d887afde3161c89a28ba391724efc784ce1bdabe.assets/licenses/Streamline-MIT.txt: Streamline's MITlicense.txtat the pin, SHA-2567b6f23e7d6f3ad6292f9308d2b42cdc3d82ae4e9b2abb55f230279d83bedd43d.Both are byte for byte what the zip ships. NVIDIA's text is Windows-1252, so the launcher decodes its five non-ASCII bytes for display and trims its trailing empty lines (the file keeps them);
assets/licenses/SOURCESsays how, and the pre-commit end-of-file and trailing-whitespace hooks skipassets/licenses/.Known: Q8
Reported, not reproduced yet: the game's Frame Generation option that Streamline needs turns itself off after a restart (Q8). If it does, this choice places a runtime that never starts. The game trial below did not see it: Play, quit, then Play again kept the option, and Streamline started both times. The in-game Restart now couldn't be tried: from a launcher Play, the game closes for the restart and doesn't start again, with or without Streamline (a Longshot point). It stays open until the reporter's case is known.
Still to do
--streamlinefor a builder that can.tests/longshot.refata425fa2aa(innightly-936-a425fa2a), with the Streamline pin parity and the builder's codes table. Also checked by hand ata425fa2aa: receipt keystreamline, capabilitystreamline,build --streamline on|off,"streamline": trueread from the profile (nullrefused),Record.streamlineplaced/kept/skipped.nightly-936-a425fa2a(below).verify --repairkeeps Streamline: a damaged game file is put back alone and Streamline's DLLs are unchanged.Tests
Windows (x86_64-pc-windows-gnullvm), at this head (
12e6552, onmain50f0cb2): the branch atd8afd0a(onad367dc) was rebased after #394 and #377, with no conflict;git range-diffshows the 19 commits unchanged. One commit was added,12e6552: #394 put the launcher's scrolling views on the sharedScrollViewofui/scroll-view.slint, and DLSS's dialog still scrolled with std-widgets' own, whose bar fades out; it now takes the shared one, whose default content height is what the dialog's explicit binding said (the licence text shrinks first, then the dialog scrolls). Its 18 px gutter leaves the form a right margin of 42 px against 24 px on the left. Before that, the branch at65ed273(ond6c49a1) was rebased after #387 and #391. #391 moved every dialog onto shared components (DialogCard,DialogBody,DialogTitle,DialogActions,DialogAction) and restyled the module cards;ui/build-modules.slintconflicted in the 6 commits that change the module dialog, each resolved as its own version with exactly #391's changes applied (the same transformation turnsd6c49a1's file intoad367dc's byte for byte). Streamline's dialog keeps its scrolling, now insideDialogCard.git range-diffdiffers only in those 6 commits. #387 merged without conflict. Before that, the branch at114de4d(on2ab8b52) was rebased after #390, which keeps a builder's protocol across restarts inbuilder-protocols.jsonand asks one builder once at a time.src/game/builder_cli.rsconflicted in the commit that adds the capabilities: the file now keeps each builder'scapabilitiesbeside its protocol, a row without them (written bymain's launcher) is asked again once, and the capability check goes through #390's single ask.git range-diffshows that commit alone changed, plus one new test commit. Before that, the branch atfe7e5c4(on1fb2537) was rebased after #388, with no conflict;git range-diffshows all 18 commits unchanged. Before that, the branch at34f2716(on57abf72) was rebased after #384; the 12 catalogs conflicted, both sides adding keys at the end, and keep both: #384's keys, then this PR's, no duplicate. Thatgit range-diffdiffered only in those catalogs' context lines; outsideassets/lang/, every commit's diff was unchanged. The earlier rebases (7e5b06aon29c6603, then34f2716on57abf72) had no conflict. The other commit hashes in this description are those before the rebases (on29c6603); the trials by hand, the screenshots and the game trial ran on them. The failures were compared withmainat50f0cb2, run the same way (itstests/test_launcher_core.pyagainst its own pin, Longshot7015105, an ancestor ofa425fa2aa):cargo fmt --all -- --check: clean.cargo clippy --locked --workspace --all-targets -- -D warnings: clean, with no lint allowed on the command line (#388 fixed the two Windows errorsmainhad, in files this PR doesn't touch). Also clean onmainat50f0cb2.python -I tests/test_launcher_core.py --longshot <checkout>, against a checkout of Longshota425fa2aa: the builder comparison passes (languages, licences and the Streamline pin, FP16 DLSS 5 files, save user, shader names, error codes); the catalog, translation and glyph checks pass (15 catalogs);cargo test --locked: 266 passed, 12 failed, 3 ignored (mainat50f0cb2: 251 passed, 12 failed, 3 ignored; #394's and #377's tests pass on the branch). #390's two new tests are Unix only, so neither side runs them here; CI (Linux) does. The same 12 fail onmain(folders, registry, recovery, Steam library, home, storage,update::releases: Windows path and link handling this PR does not touch).eed407c): the choice is dropped with the licence, so the card no longer says Streamline FG for a build that would refuse it. Added toinspecting_a_version_preserves_activation_and_targets_its_modules(Windows), red before the fix.a_builders_capabilities_are_known_again_after_a_restart(every platform): a builder that can place Streamline and one that can't are both known again frombuilder-protocols.jsonafter a restart, and a row withoutcapabilitiesis not taken. It fails ifsave_knownstops writing the capabilities, or ifload_knowntakes a row without them.src/game/licenses.rs.LAUNCHER=$PWD python -I ../Tooling/tests/test_release.py(Tooling8f6f6c9,.tooling-rev): 46 tests OK.streamline_is_a_version_choice_inside_dlss,streamline_is_taken_only_when_every_condition_holds), DLSS off turning it off in the record, Play writing it into the profile and taking the key out (play_writes_the_versions_choice_into_the_profile_as_the_builder_reads_it), Play leaving the key alone for a builder that can't and handing it to one that can (play_writes_streamline_into_the_profile_only_for_a_builder_that_can, every platform), the receipt as consent,--streamlineonly for a capable builder (a_build_says_streamline_on_or_off_only_to_a_builder_that_can), the receipt beforeon(a_build_tells_a_capable_builder_and_writes_the_receipt_before_on), the capabilities read frominfo,"placed"alone counting, the dialog's licence flow and Build page channel (module_tests, Windows; accepting DLSS turns the dialog into Streamline's where it is offered and closes it on Stable or for a builder that can't place it), and the fallback cache cleared under its lock (the_fallback_program_cache_is_cleared_under_its_own_lock, red before the change).inspecting_a_version_preserves_activation_and_targets_its_modules) was red before the change (the dialog stayed DLSS's) and fails with each of these nine undone, one at a time: Streamline's dialog refused where it isn't offered, and without DLSS on; the licence written on accept; the licence written only after the choice is saved; the change of dialog after DLSS; the builder that can't place Streamline kept out of that change, and refused by the handler, as is one that hasn't answered; Streamline's dialog reading DLSS's state.12e6552, after #391 and #394; also in Italian, the longest text for the link to Streamline: at 1280x800 nothing scrolls and the link fits); at781f86b, before #391's restyle, also German, not taken again since; a second click 379 ms after the first, on Streamline's button, and Tab, Enter, Enter, both accept DLSS only (debcb3e); from DLSS's dialog once on, Tab to the link, Enter, Enter opens Streamline's dialog with the focus on Close and closes it without its licence (781f86b).main); the non-Windows half of the dialog's test, which CI is the first to run.src/game/wizard/reuse_tests.rs) and the end-to-end build assertions inwizard.rsare Unix only; CI (Linux) is the first to run them.Game trial
On Windows 11 with an RTX 4090. The launcher was a dev build of this head (
7ac78d2), run in a fresh trial profile of its own (LOCALAPPDATA,APPDATAandLONGSHOT_LAUNCHER_HOMEin a scratch folder; no real settings, saves or caches touched). It installednightly-936-a425fa2a, which is Longshota425fa2aa, with NVIDIA DLSS and Frame Generation through Streamline chosen in the dialog of that head. It was not run again since: the commits after7ac78d2change the dialog, its handlers and their test (ui/build-modules.slint,ui/game-model.slint,src/game/actions.rs, the catalogs, the README; comments inversions.rs,wizard.rsandlicenses.rs), not what is written to the version or the profile. The game ran fullscreen on a virtual display with sound off.longshot.exe.profile.jsonhad"streamline": trueandlicenses.streamline=625db07d…,version.jsonhad"streamline": true, andlongshot_build.jsonsaid"streamline": "placed". The Build page and the Versions page both said Enabled · Streamline FG.frame_generation=2andframe_generation_by=0(DLSS FG) in the profile'ssettings.ini. The game's log had:vk: Streamline started for DLSS Frame Generation (its loader in place of vulkan-1.dll)vk: Streamline: DLSS Frame Generation ready (up to 2x)vk: NVIDIA DLSS: NGX started …, thenvk: Streamline DLSS Frame Generation: on, 2xdid not start,not supportedor signature line.longshot_ctl.py --sock … quit). The log ended withvk: Streamline shut down for the exit (result 0)thencontrol: exiting, and the launcher went back to Home without an error.settings.inistill hadframe_generation=2andframe_generation_by=0, the game read them back the same through the control bridge, Streamline started again and said it was ready, and the second exit was clean too. This run was quit at the title screen, before play, so it has noon, 2xline. Q8 was not seen in this path. Its other cases were not tried: the in-game Restart now, and a setting changed in the game's menu.Review notes
A cold review of
12e6552found nothing blocking. It found that the content height is the one the explicit binding gave, thatend-padding: 0pxis needed (with 8 px the dialog would scroll by 8 px at every size) and that both resets ofcontent-ystill work. Checked by hand rather than taken: the link to Streamline could have widened the form in a long language, now that the content width isn't forced; in Italian, the longest, it fits at 1280x800. Left as they are: the 18 px gutter (42 px on the right against 24 px), and two points of #394's shared view, the same in its other dialogs. Its fade is#000000on the card'sInk.black. It also stays over the bottom of the buttons while a few pixels are left to scroll.A third cold review, of the whole diff at
781f86b, found nothing blocking. Taken, ineed407c: the Build page kept Streamline's choice when its licence couldn't be recorded (above); a stray space in the Japanese text. And the README now says the Build page's card shows Streamline FG once chosen (7e5b06a). Known, left for a follow-up:show_licenseand the accept handler readcfg!(windows), and CI is Linux only: dropping the handler'sstreamline-support == 1check, or recording the licence before the choice, would pass CI. Passing the platform in would let it run on Linux.build()'s own check that a build taking Streamline has its licence (wizard.rs); the tests buildOptionsby hand.Streamline FGreading the build record, and Play'scan("streamline")call inversions.rs(the description's earlier "dropping the capability check fails it" holds forprepare_play_on, not that call).A second cold review read the new dialog (
a07f570..9bb4bb2) and found nothing blocking: no path records Streamline's licence without a press on its own button, and none treatsstreamlineas a module. Taken, indebcb3e: the licence was saved before the choice, so it stayed accepted where the choice couldn't be saved; only the button'senabledkept Streamline off for a builder that can't place it (the handler refuses it too); Shift+Tab went nowhere when the dialog's button is disabled; the focus moved to Close after a failed accept; the README and three comments still described a check box. Kept:Not nowhas no use left, onmaineither: not this PR's to remove.The first review, of the whole diff at
baf3d21:Taken: Play's profile writes had no test (now
prepare_play_on, tested on every platform; dropping itsprepare_streamlinecall or the capability check fails it); the Versions dialog showed a choice checked without the licence accepted (now as Play reads it); a missing space before NVIDIA in the two Chinese catalogs; the pre-commit exclusion now keepsSOURCESunder its hooks. Kept, on purpose:infothat fails while the dialog asks leaves the choice greyed without a reason: Play would fail on the sameinfowith its own message.tests/test_launcher_core.pycatches it.start_forreadsinfobefore Play writes the profile, as for the upscalers; it only routes on Linux, where Streamline is never taken.🤖 Generated with Claude Code
Possibly related, for context:
110b2b3f055150757c995150757c9965a112e6bb@review
Recommendation: Request changes. It conflicts with its base branch: bring it up to date (
@fixor@rebasetry first). (L2) The launcher-side choice and licence flow are demonstrated, but a game build and Play with the dependent Streamline builder have not yet been tried. Longshot #2748 and a nightly carrying it are also needed before this feature can work for players.Adds an opt-in Streamline Frame Generation choice to the Windows DLSS card, records consent and carries each version’s choice to capable builders. The implementation adds profile and builder-protocol handling; its end-to-end benefit remains unverified.
Blocking (1): must change before merging.
@fixor@rebasetry first). (for the author)Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
src/game/versions.rs:439: The feature has not yet been exercised through a game build and Play with the Streamline-capable builder. (more on the line) Do: After Longshot #2748 is available, try a Windows build and Play on a supported RTX card, restart with Frame Generation enabled, switch the choice off and on, and check rebuild and verify --repair.Checks: Still running: 5 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven: the Windows screenshots show the Build-page licence flow, and the reported builder trial checks profile parsing and flag handling without a game. No game build, Play, rebuild or repair trial is reported.
Other systems: The change touches shared profile data and builder calls on Windows and Linux. Streamline is offered only on Windows outside stable; older builders are not given the new flag. The reported tests cover profile preparation on every platform, but a game trial with the dependent builder is still missing.
Switches: Adds the per-version Streamline choice, unchecked by default, and conditionally passes the builder’s --streamline on|off flag. The opt-in default is appropriate for a separately licensed Windows runtime.
Reviewed:
65a112e6bbagainst6ae84979a2: Read repository rules, commit messages, the code changes and surrounding build, Play, profile, capability and UI paths. Skimmed translations, licence assets and recorded runs; the large changed files and generated/catalog content were not all read in full. No review checklist or pull request template was present at the named paths.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no code, scripts, builds or tests were run. The author reports Windows formatting and Clippy checks passing, with 12 test failures also present on the base; CI is still running.
Overlaps and merge order: Depends on Longshot #2748; merge it first and update the pinned builder reference and parity checks when a nightly carries it. Longshot #2749 is closed, and launcher #50 addresses a different runtime download.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@ -434,2 +438,2 @@modules::prepare_licenses(&builder, &enabled)?;modules::prepare_upscalers(&builder, &enabled)?;let enabled =modules::prepare_play_on(&builder, &version, found.can("streamline"), cfg!(windows))?;L1 (should fix): The feature has not yet been exercised through a game build and Play with the Streamline-capable builder.
When: A Windows player accepts the licence and enables Streamline, but the reported trial stops before building or starting the game; runtime placement, activation and preservation through rebuild or repair remain unknown.
Do: After Longshot #2748 is available, try a Windows build and Play on a supported RTX card, restart with Frame Generation enabled, switch the choice off and on, and check rebuild and verify --repair.
@rebase
I rebased this pull request onto
main(6bc3e1af35): the new head is330a97f69a.Conflicts resolved
Nothing was built or run: read the resolution before merging.
Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
65a112e6bb330a97f69aRecommendation: Approve. The code is ready: only testing is left (a run of the change itself). The Streamline choice has not yet been exercised through a game build and Play, and Forgejo still reports the pull request as unmergeable. Recommend approval; not approved on the forge.
The launcher offers Windows players a per-version Streamline Frame Generation choice with separate licence consent and passes it to capable builders. It adds capability checks and profile handling; the end-to-end result remains unverified.
Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
src/game/versions.rs:439: The feature has not yet been exercised through a game build and Play with the Streamline-capable builder. When: A Windows player accepts the licence and enables Streamline, but the reported trial stops before building or starting the game; runtime placement, activation and preservation through rebuild or repair remain unknown. Do: After Longshot #2748 is available, try a Windows build and Play on a supported RTX card, restart with Frame Generation enabled, switch the choice off and on, and check rebuild and verify --repair.Since the last review (on
65a112e6bb)Resolved: L2 (It conflicts with its base branch: bring it up to date (
@fixor@rebasetry first).)Still open: L1 (The feature has not yet been exercised through a game build and Play with the Streamline-c…)
Checks: Still running: 5 checks.
Also noticed (2; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Unproven: the reported builder trial checked protocol and profile behavior without a game, but did not build or play the game with Streamline.
Other systems: The choice is offered on Windows outside stable; Linux and builders without the capability follow separate paths. The Windows dialog was exercised, but a game trial with the dependent Longshot builder is still needed.
Switches: Adds a per-version Streamline choice, unchecked by default, gated by DLSS, Windows, channel and licence acceptance. The default avoids placing the separately licensed runtime without consent.
Reviewed:
330a97f69aagainst6bc3e1af35: Read AGENTS.md, CONTRIBUTING.md and src/game/info.rs in full; inspected the diff for src/game/info.rs, src/game/wizard.rs and ui/game-model.slint, the commit list, recorded runs and comments. The remaining changed files and full pull request diff were not read in this re-check.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run. The recorded Windows checks and screenshots are reported evidence; CI is still running, and the end-to-end game trial remains outstanding.
Overlaps and merge order: Depends on Longshot #2748; merge it and update the pinned builder fixture before relying on the integrated feature.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.
2 things:
Reworked: Streamline now has its own dialog, on the modules' template, shown once DLSS is accepted. No check box any more, three points say what it brings, and each dialog shows one licence.
mainA short window and German are in the description, under Screenshots.
3a9836dd3e781f86b964WIP: feat(settings): NVIDIA DLSS's card offers Frame Generation through Streamline on Windowsto feat(settings): NVIDIA DLSS's card offers Frame Generation through Streamline on WindowsRecommendation: Approve. The reported Windows game trial built and played Longshot with the Streamline-capable builder, and the log confirmed DLSS Frame Generation running. The outstanding trial item is resolved, with no blocking defect identified in the changed lines inspected. Recommend approval; not approved on the forge.
Players on supported Windows versions can choose Streamline through a separate licence dialog and have the launcher pass that choice to a capable builder. The feature adds dialog and profile-handling complexity, but the reported end-to-end trial shows the intended path working.
Since the last review (on
330a97f69a)Resolved: L1 (The feature has not yet been exercised through a game build and Play with the Streamline-c…)
Checks: Still running: 5 checks.
Also noticed (2; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Yes: the reported RTX 4090 trial built Longshot with Streamline placed, then Play logged DLSS Frame Generation on at 2x. This is a feature trial, not a comparative performance measurement.
Other systems: Streamline is offered on Windows outside stable; Linux and builders without the capability are excluded. The reported trial covered Windows and an RTX 4090; the Linux-only reuse and end-to-end build assertions await CI.
Switches: The per-version Streamline choice defaults off and requires DLSS and licence acceptance; the builder receives --streamline on or off only when it advertises the capability. The opt-in default is appropriate.
Reviewed:
7e5b06a9b0against29c6603aa4: Read AGENTS.md and CONTRIBUTING.md, the commit list, the changed dialog and shader-cache diff, and the relevant Play, consent, CI and contract-check paths. Skimmed the remaining diff, translations, generated fixtures and reported runs; the other changed code files were not read in full.; nothing run (a code review).Checked and fine:
Testing: No commands from the project were run. The author reports the Windows game trial and local checks; Forgejo CI was still running.
Overlaps and merge order: Longshot #2748 is reported merged; launcher #50 is described as a different runtime-download approach.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as Jiro113 took it out of WIP. Nothing was run; a maintainer decides.
7e5b06a9b034f27161b0Rebased onto
main57abf72:7e5b06a→34f2716. No conflicts;git range-diffdiffers only in context lines ofui/game-model.slint(#380's language properties).Windows, at
34f2716and atmain57abf72:cargo fmtclean; Clippy has onlymain'sAtomicBoolerror insrc/game/process.rs;cargo test: 243 passed, 12 failed (main: 229 passed, the same 12 failed); builder contract checks against Longshota425fa2aapass;test_release.py(Tooling8f6f6c9): 46 OK.34f27161b0fe7e5c4c93Rebased onto
main1fb2537(after #384):34f2716→fe7e5c4.assets/lang/(de, es, fr, it, ja, ko, nl, pl, pt-BR, ru, zh-Hans, zh-Hant), where #384 and this PR both add keys at the end. Both sides kept, #384's keys then this PR's, no duplicate;scripts/translations.pyvalidates the 15 catalogs.git range-diffdiffers only in those files' context lines; outsideassets/lang/, every commit's diff is unchanged.mainat1fb2537run the same way:cargo fmtclean; Clippy has the same two errors on both,main's (AtomicBoolinsrc/game/process.rs, unread fields insrc/graphics_driver.rs), and is clean past them;cargo test --locked248 passed / 12 failed (main: 234 / 12, the same 12); the builder contract against Longshota425fa2aapasses; Tooling'stest_release.py46 OK.fe7e5c4c93114de4d414Rebased onto
main2ab8b52(after #388):fe7e5c4→114de4d. No conflicts;git range-diffshows all 18 commits unchanged.Tests on Windows, branch against
mainat2ab8b52:cargo fmt --checkclean; locked Clippy (-D warnings, no-Anow) clean on both; builder comparison against Longshota425fa2aapasses;cargo test: 248 passed, 12 failed (main: 234 passed, the same 12 failed);test_release.py: 46 OK on both. Description updated.114de4d41465ed273345Rebased onto
maind6c49a1(after #390):114de4d→65ed273.src/game/builder_cli.rs, in the commit that adds the builder's capabilities. #390 persists the protocol cache inbuilder-protocols.jsonand asks one builder once at a time; this PR's cache holds the capabilities too. Kept both:builder-protocols.jsonnow storescapabilitiesbesideprotocol, andcan()/protocol()share #390's load and single ask. A row written bymain's launcher (nocapabilities) is asked again once, so a restart can't take a Streamline-capable builder for one that can't.a_builders_capabilities_are_known_again_after_a_restart(every platform), red with either half of the resolution undone.git range-diff: that commit alone changed, plus the test commit.a425fa2aapasses;cargo test249 passed, 12 failed, the same 12 asmainatd6c49a1(234 passed);test_release.py46 OK. #390's own tests are Unix only, so CI runs them.main, not changed here:info()can rewritebuilder-protocols.jsonbefore it was loaded, dropping the other builders' rows until they are asked again.65ed273345d8afd0a68dRebased onto
mainad367dc(after #387 and #391):65ed273→d8afd0a.ui/build-modules.slint, in the 6 commits that change the module dialog. #391 movedModuleDialogonto the sharedDialogCard,DialogBody,DialogTitle,DialogActionsandDialogAction, and restyled the module cards (62 px, 2 px border, wider padding). Each commit was resolved as its own version with exactly #391's changes applied. The same transformation turnsd6c49a1's file intoad367dc's byte for byte, and every rebased commit's file matches it. Streamline's dialog keeps its ScrollView, now insideDialogCard, and its focus handling; #391's Shift+Tab to Close was already this PR's.git range-diffdiffers only in those 6 commits, and only by that change.mainad367dcrun the same way (each against its owntests/longshot.ref): fmt and locked Clippy clean on both; the builder contract and the 15 catalogs pass;cargo test --locked257 passed, 12 failed, 3 ignored (main: 242, 12, 3, the same 12 Windows path tests);test_release.py46 OK on both.d8afd0ain a fresh trial profile, Build page at 1280x800: the dialogs now in #391's style, the flow unchanged. The description's screenshots are replaced by these:@review
Recommendation: Approve. The Windows trial showed Streamline being placed and running, and no defect was confirmed in the rebased lines. CI is still running, and the full code has not been read for this check. Nothing blocking is left. Recommend approval; not approved on the forge.
The launcher offers an optional Streamline licence and per-version Frame Generation choice, passing it to capable builders. The rebase retains the shared dialog style and persists builder capabilities with the protocol.
Since the last review (on
7e5b06a9b0)Nothing changed in the ledger.
Checks: Still running: 5 checks.
Also noticed (1; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Yes for the feature: the reported Windows RTX 4090 trial placed Streamline and logged DLSS Frame Generation running at 2x. This is not a measured performance comparison.
Other systems: Streamline is offered on Windows outside stable; Linux and builders without the capability are intended to remain unaffected. The reported game trial covers Windows and an RTX 4090; Linux CI is still running.
Switches: Adds a per-version Streamline choice, off by default, and passes --streamline on or off only to capable builders. The opt-in default is appropriate for the separate licence.
Reviewed:
d8afd0a68dagainstad367dc625: Read AGENTS.md, CONTRIBUTING.md, the full dialog file, the builder cache and capability paths, and the earlier dialog diff; skimmed the remaining diff, commit list, recorded runs and translations. The remaining changed code files were not read in full. No review checklist or pull request template was present at the specified paths.; nothing run (a code review).Checked and fine:
Testing: No commands from the project were run. The author reports a Windows game trial, clean formatting and Clippy, and the same 12 Windows test failures as main; Forgejo CI remains in progress.
Overlaps and merge order: Longshot #2748 is reported merged; launcher #50 is described as a different earlier feature.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
d8afd0a68d12e6552b94Rebased onto
main50f0cb2(after #394 and #377):d8afd0a→12e6552.git range-diffshows the 19 commits unchanged. #377 and this PR both touchsrc/game/info.rs, in different places.12e6552, for #394. #394 put the launcher's scrolling views on the sharedScrollViewinui/scroll-view.slint: a scrollbar that stays, and a fade while more lies below. DLSS's dialog, and Streamline's on its template, still scrolled with std-widgets' ownScrollViewin a short window. Its bar fades out, so nothing showed that the buttons were further down. The dialog now uses the shared one, with no padding of its own at the bottom. Slint's default content height (the dialog's height, or the form's minimum when that is taller) is what the explicit binding said, so the licence text still shrinks first, then the dialog scrolls. The shared view keeps an 18 px gutter on the right, so the form's right margin is now 42 px against 24 px on the left. #394 changes no focus handling; the two places that reset the scroll position and move the focus to Close work as before.main50f0cb2run the same way: fmt and locked Clippy clean on both. The builder contract and the 15 catalogs pass.cargo test --locked: 266 passed, 12 failed, 3 ignored (main: 251, 12, 3, the same 12 Windows path tests). #394's and #377's tests pass on the branch.test_release.py46 OK on both.12e6552in a fresh trial profile, Build page. At 1280x800 nothing scrolls, in English and in Italian (the longest text for the link to Streamline). At 1280x560 the licence text is at its minimum height, then the dialog scrolls, with the thumb and the fade. The fade disappears at the bottom. The description's screenshots are updated with these: