feat(vk): MAKO Scaler as an Upscaler choice #3211

Merged
HumanBean merged 1 commit from HumanBean/Longshot:feat/mako-scaler into main 2026-12-05 17:15:36 +00:00
Owner

Summary

The Upscaler setting takes a new choice, MAKO Scaler: MAKO's open spatial upscaler (GPL-3.0-or-later), in every build, on any GPU. It leaves the game's network out as Off does and enlarges each frame with a sharper filter and its own sharpening, driven by Sharpness. It adds no anti-aliasing of its own; the game's still runs. Only the scaler is taken: no MAKO frame generation (closed, non-commercial), no LSFG or LS1.

  • It runs before the HUD, so the HUD is never scaled, and frame generation takes its HUD-less copy after it. FSR 3.1 FG and the built-in maker work with it; DLSS FG needs a temporal upscaler.
  • Dynamic resolution and FSR 3.1's render shares. HDR: under Native, highlights past 1 are measured against the light around the pixel.
  • Longshot's sharpening pass is skipped on its frames, so the picture is not sharpened twice.
  • Also, at the maintainer's request: every Sharpness hint now says 50 to 80%, for every upscaler. One FSR 4 hint that named FSR 3.1 is fixed.

Read first: gpu/vk/shaders/mako_scale.comp (its head lists the changes from the pinned original in third_party/mako), then temporal_spatial, stretch_record and temporal_mako_drew in gpu/vk/vk_temporal.cpp.

Testing

Tested: Linux (CachyOS), RTX 3090, NVIDIA 620.70.06, on earlier code, before the rebase onto main @ 6b888fa3 and the changes since:

  • dev.py smoke headless: PASS on defaults, and PASS with MAKO Scaler at 50% render resolution, Sharpness 80 (log: network left out, 1280x720 to 2560x1440 by MAKO's shader).
  • A visible session played by hand: the picture looked good. The log shows MAKO drawing at 100%, 75%, 67% and 50%, no run of Longshot's sharpening pass, no fatal line. The run held the Upscaler fixed, so switching it was not tried, and frame generation was not turned on.

On the head, rebased onto main @ b6330a5b (Linux), a compile check only: the renderer builds with symbols checked, and cargo check -p api -p longshot-game -p build-assets passes.

Quick checks on the previous head, rebased onto main @ 6b888fa3, not a full run:

  • Renderer alone: builds, symbols checked.
  • The upscaler, MAKO, sharpening, menu-text and settings-key checks run one by one pass. test_dlssg and test_vk_draw_overhead_lean fail, with the same compile errors on main's files.
  • cargo test -p api: 636 passed. cargo fmt --check: passes.
  • The full run_all.py and the other Rust tests were not run on this head.

@klimovich008 tested the earlier head d6e37e8f on a Steam Deck (comment below): switching, frame generation, Render resolution and Auto, and a GPU-time comparison against Off.

Since #3222 the MAKO hints and docs no longer say its edges are unsmoothed (13 languages, machine-written).

Still to test:

  • Linux RTX: switch Upscaler between MAKO, Off, DLSS and Game's own while playing, expecting each to apply at once (by hand).
  • Linux RTX: frame generation Auto and 2x with FSR 3.1 FG and Built-in FG, expecting a still, clean HUD in made frames (by hand).
  • An HDR display: Expanded, Native, Native with PsychoV35, expecting highlights as with Off (by hand).
  • Dynamic resolution on, expecting the share to move down to 42% with MAKO still drawing (by hand).
  • Windows: never compiled or run (@Beanstalk Windows).
  • AMD, Intel, Steam Deck: the picture with the game's networks left out (@Beanstalk Linux AMD, Steam Deck).

Measurements

Verdict: not measured yet.

No fps or GPU time was compared. The shader makes 13 texture reads per output pixel, so its cost against Off needs numbers, on the Steam Deck above all.

Risks

No anti-aliasing beyond the game's own: edges can shimmer, more at low render resolutions and in generated frames. It is opt-in: no default, Auto (this PC) or quality preset picks it, and choosing another Upscaler turns it off. A saved dlss value 10 is new. What players notice without choosing it: the new Sharpness hint text, and one more entry in the list.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit. (Not ticked: it also changes the Sharpness advice.)
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (Not ticked: not run in the game since the rebase; frame generation, switching and HDR not tried.)
  • mise run test passes (any failure that also fails on main is named). (Not ticked: only quick checks on the head, no full run.)
  • Measured against main, or Measurements says why there is nothing to measure. (Not ticked: not measured.)
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible. (third_party/mako is new, unmodified upstream with its provenance note.)

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • The SPIR-V headers regenerated (a shader changed). (Generated at build from recipes.toml.)
  • Screenshots of the same spot on main and here, for a change that shows on screen. (Not yet taken.)
  • 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

https://claude.ai/code/session_017vw8e2tPWCPNuu4UnUHJ7h

## Summary The **Upscaler** setting takes a new choice, **MAKO Scaler**: [MAKO](https://github.com/eugeniosegala/MAKO)'s open spatial upscaler (GPL-3.0-or-later), in every build, on any GPU. It leaves the game's network out as Off does and enlarges each frame with a sharper filter and its own sharpening, driven by **Sharpness**. It adds no anti-aliasing of its own; the game's still runs. Only the scaler is taken: no MAKO frame generation (closed, non-commercial), no LSFG or LS1. - It runs before the HUD, so the HUD is never scaled, and frame generation takes its HUD-less copy after it. FSR 3.1 FG and the built-in maker work with it; DLSS FG needs a temporal upscaler. - Dynamic resolution and FSR 3.1's render shares. HDR: under Native, highlights past 1 are measured against the light around the pixel. - Longshot's sharpening pass is skipped on its frames, so the picture is not sharpened twice. - Also, at the maintainer's request: every Sharpness hint now says 50 to 80%, for every upscaler. One FSR 4 hint that named FSR 3.1 is fixed. Read first: `gpu/vk/shaders/mako_scale.comp` (its head lists the changes from the pinned original in `third_party/mako`), then `temporal_spatial`, `stretch_record` and `temporal_mako_drew` in `gpu/vk/vk_temporal.cpp`. ## Testing **Tested:** Linux (CachyOS), RTX 3090, NVIDIA 620.70.06, on earlier code, before the rebase onto `main` @ 6b888fa3 and the changes since: - `dev.py smoke` headless: PASS on defaults, and PASS with MAKO Scaler at 50% render resolution, Sharpness 80 (log: network left out, 1280x720 to 2560x1440 by MAKO's shader). - A visible session played by hand: the picture looked good. The log shows MAKO drawing at 100%, 75%, 67% and 50%, no run of Longshot's sharpening pass, no fatal line. The run held the Upscaler fixed, so switching it was not tried, and frame generation was not turned on. On the head, rebased onto `main` @ b6330a5b (Linux), a compile check only: the renderer builds with symbols checked, and `cargo check -p api -p longshot-game -p build-assets` passes. Quick checks on the previous head, rebased onto `main` @ 6b888fa3, not a full run: - Renderer alone: builds, symbols checked. - The upscaler, MAKO, sharpening, menu-text and settings-key checks run one by one pass. `test_dlssg` and `test_vk_draw_overhead_lean` fail, with the same compile errors on `main`'s files. - `cargo test -p api`: 636 passed. `cargo fmt --check`: passes. - The full `run_all.py` and the other Rust tests were not run on this head. @klimovich008 tested the earlier head d6e37e8f on a Steam Deck ([comment below](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/3211)): switching, frame generation, Render resolution and Auto, and a GPU-time comparison against Off. Since #3222 the MAKO hints and docs no longer say its edges are unsmoothed (13 languages, machine-written). **Still to test:** - Linux RTX: switch Upscaler between MAKO, Off, DLSS and Game's own while playing, expecting each to apply at once (by hand). - Linux RTX: frame generation Auto and 2x with FSR 3.1 FG and Built-in FG, expecting a still, clean HUD in made frames (by hand). - An HDR display: Expanded, Native, Native with PsychoV35, expecting highlights as with Off (by hand). - Dynamic resolution on, expecting the share to move down to 42% with MAKO still drawing (by hand). - Windows: never compiled or run (@Beanstalk Windows). - AMD, Intel, Steam Deck: the picture with the game's networks left out (@Beanstalk Linux AMD, Steam Deck). ## Measurements **Verdict:** not measured yet. No fps or GPU time was compared. The shader makes 13 texture reads per output pixel, so its cost against Off needs numbers, on the Steam Deck above all. ## Risks No anti-aliasing beyond the game's own: edges can shimmer, more at low render resolutions and in generated frames. It is opt-in: no default, Auto (this PC) or quality preset picks it, and choosing another Upscaler turns it off. A saved `dlss` value 10 is new. What players notice without choosing it: the new Sharpness hint text, and one more entry in the list. ## Checklist ### Ready for review - [ ] One topic, on current `main`; the title is a Conventional Commit. (Not ticked: it also changes the Sharpness advice.) - [ ] Tested on my own PC, in the game for a change the game runs, as Testing says. (Not ticked: not run in the game since the rebase; frame generation, switching and HDR not tried.) - [ ] `mise run test` passes (any failure that also fails on `main` is named). (Not ticked: only quick checks on the head, no full run.) - [ ] Measured against `main`, or Measurements says why there is nothing to measure. (Not ticked: not measured.) - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. (`third_party/mako` is new, unmodified upstream with its provenance note.) ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] The SPIR-V headers regenerated (a shader changed). (Generated at build from `recipes.toml`.) - [ ] Screenshots of the same spot on `main` and here, for a change that shows on screen. (Not yet taken.) - [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) https://claude.ai/code/session_017vw8e2tPWCPNuu4UnUHJ7h
gpu/vk/menu/ is renderer settings glue, not menu UI. No behaviour change.
settings_now() and settings_start() move to settings/settings.h, which the
renderer files that only read values include.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The audio output, the microphone and its test, the fullscreen monitor, the NFC
tags, the vibration test and Restart/Quit move out of gpu/vk into
api services/devices.rs, which drives the host through game_host.h. Their lists
and status facts go into the renderer link's capabilities and status on the way
to the game, so the settings service and menu mod read them as before.
MkwVkHost drops the matching members (MKWVK_API_VERSION 95). Input recordings
were already Rust; their dead C++ is removed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The Upscaler and Render resolution locks and the help tables behind them could never show: Off is
always available and every full-size upscaler has a Native step.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The menu's state is api services/menu_input.rs: its keys, the controller's button, chord and
touchpad, the page's Back and @close, the held close, the permission prompt, debug pages, the
compact key and RX_VK_MENU_SCRIPT. The renderer asks ui_begin what is hosted and which keys are
the game's, and draws UI's frame.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
settings/ (the snapshots, appliers, actions, capabilities and the per-present tick), vk_stats,
vk_startup, vk_drs, vk_auto and vk_lang; menu_ names and the MENU_ macros renamed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The menu's input checks are Rust tests (api services/menu_input) or read the new files.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The renderer writes its list out and says what it alone knows (MkwVkRenderer.pipeline_list, LsPipelineList); the zip,
the template, Downloads, the clipboard and the opens are longshot-game pipeline_share.rs. One API version for the
whole change: 96.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The UI input's hosted-page and menu fields (MKW_UI_VERSION 13), MkwVkHost.screen_size, fmt_text.h and renderer
functions nothing calls.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
MkwVkRenderer.pipeline_list is guarded; the translations of the renderer's old pipeline-share lines, which nothing
shows, are dropped.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- the screens' display modes are read only when the window comes or its screen changes, outside the device lock
- the Output resolution's sizes are read again once the window is there
- the picture told to the renderer is widened before hos_main.c has made it, and is the Handheld profile's there
- Esc works when a debug page was asked for and nothing hosts it
- the saved microphone is told before the first frame, and not again every frame
- Ultrawide on in the pipeline list means the Aspect ratio is the screen's shape, as before
- the menu's other keys make the prompts name keys again, and the script switch is read once

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
feat(vk): MAKO Scaler as an Upscaler choice, and one Sharpness advice for every upscaler
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
c697b28310
The Upscaler row takes MAKO's open spatial upscaler (GPL-3.0-or-later, pinned in
third_party/mako): spatial as Off is, drawn before the HUD, with HDR, dynamic resolution
and frame generation by FSR 3.1 or the built-in maker. The Sharpness row drives its own
sharpening. Every Sharpness hint now says 50 to 80%.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2tPWCPNuu4UnUHJ7h
Author
Owner

Tested in game: Linux (CachyOS), RTX 3090, NVIDIA 620.70.06, on the code before the base's latest rewrite and the Sharpness hint texts: headless smoke from kokiri-start passed on defaults and with MAKO Scaler at 50%; a session played by hand looked good, MAKO drew at 100/75/67/50% with no fatal line. Not tried: frame generation, switching upscalers while playing, HDR.

Tested in game: Linux (CachyOS), RTX 3090, NVIDIA 620.70.06, on the code before the base's latest rewrite and the Sharpness hint texts: headless smoke from kokiri-start passed on defaults and with MAKO Scaler at 50%; a session played by hand looked good, MAKO drew at 100/75/67/50% with no fatal line. Not tried: frame generation, switching upscalers while playing, HDR.
HumanBean force-pushed feat/mako-scaler from c697b28310
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 d6e37e8fce
Some checks failed
PR description / Title and description (pull_request_target) Successful in 9s
CI / What the change needs (pull_request) Successful in 10s
CI / Third-party parts and guide screenshots (pull_request) Successful in 16s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Failing after 21s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 14m1s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m20s
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-05 00:36:21 +00:00
Compare
Member

Tested on a Steam Deck: d6e37e8f

Setup: Steam Deck OLED, SteamOS 3.9.5 (kernel 7.2.7), Mesa 26.2.0-devel RADV (VANGOGH), stock 15 W, AC power. Built from d6e37e8f on the Deck, as a player's build is. Every run was Market as a child (kokiri-start save, the Debug tab's teleport), 1280x720, uncapped, headless unless noted. Settings were changed while playing through the control bridge's option_set (the menu's own setter), with a shot and the log read after each change.

Works, with no Vulkan error, device loss or fatal line in any session:

  • Switching the Upscaler while playing: MAKO → Off → Game's own → MAKO. Each change applied within the 8 s I waited, and the log named each one (MAKO: network 72ba090c70fe2614 left out, its input scaled by MAKO's shader (640x360 -> 1280x720), then Off: ... stretched linearly).
  • Render resolution under MAKO: 75, 67, 100, 33 and 50 %, with a log line at each input size (960x540, 854x480, 1280x720, 427x240, 640x360 → 1280x720).
  • No double sharpening: Longshot's sharpening pass was logged under Off at 80 % (vk: sharpness: 80% on the 3D scene before the HUD) and never while MAKO drew.
  • Sharpness drives MAKO's own sharpening, at once: I toggled 0 ↔ 100 % under MAKO with the camera still and measured the mean luma gradient of the shots. It went 2.30 → 2.46 and 2.31 → 2.47 (Off: 1.76 → 2.09). By that measure, MAKO at 0 % is already sharper than Off at 100 %.
  • The picture: at the same 50 %, MAKO is clearly crisper than Off (banner edges, window frames, flowers), with no halo or ringing seen at 2x zoom. Thin diagonals stair-step, as Risks says (no AA). The HUD is not scaled.
  • Dynamic resolution: with Render resolution at Auto, MAKO drew at 100 %, then the dynamic resolution moved to 50 % (vk: drs: 100% -> 50%) with MAKO drawing at 640x360. 50 % is the floor with the default minimum scale; the 42 % floor was not tried.
  • Frame generation with MAKO (in a gamescope window at 1280x720, since frame generation doesn't run headless):
    • Built-in FG at 2x and Auto, and FSR 3.1 FG at 2x and Auto, all made frames. FSR 3.1 reported 596 of the last 600 presents made by FSR 3.1 and the HUD laid over the made frames.
    • Switching Off ↔ MAKO with FSR 3.1 FG on worked too.
    • The HUD was clean in the shots I checked closely (built-in 2x, FSR 3.1 2x and Auto). A shot may be one of the game's own frames, and the camera was still, so made frames in motion were not judged.

Measurements (the Deck's standard test: Market as a child, uncapped, 3 alternating pairs, 150 s lead-in, stock 15 W). Both arms are this build at Render resolution 50 % and Sharpness 80 %; only the Upscaler differs:

Steam Deck, 15 W Off MAKO Scaler
fps (median of 3 runs) 42.80 43.71 (+2.1 %, within the run-to-run spread)
CPU ms a frame 79.0 78.8
1 % low / p99 27.8 / 33.5 ms 28.1 / 33.5 ms
GPU ms a frame (the renderer's vk: GPU time) 10.4 (10.6, 10.4, 10.3) 10.0 (10.0, 10.2, 9.9)
APU power 14.7–15.0 W 14.8–15.1 W

At the same Sharpness, MAKO cost no more GPU time than Off on the Deck; it took about 0.4 ms a frame less in every pair. That fits MAKO's one pass replacing two: Off's linear stretch and Longshot's separate sharpening pass. The Deck is CPU-bound in Market, so fps doesn't move. MAKO against Off with both at Sharpness 0 (the scaler's own cost) was not A/B'd.

Checks: run_all.py --strict on d6e37e8f against main f359e262 (this stack's base), both on the Deck. Nothing fails only here: 52 checks fail, all of which also fail on f359e262 on this machine. test_mako.py passes. test_no_map_reload.py fails on main f359e262 too, with the same message (a map change is asked outside world.travel: loader/tests.rs), which answers that checklist point.

Not from this PR, seen while testing:

  • The bridge's option_set of Dynamic resolution replies On, but the row reads Off again and Render resolution stays at its stop. That happens with every Upscaler and on main f8b54338 too, so Dynamic resolution was tested through Render resolution Auto instead.
  • system/mods-tab faulted ... ran past the 5 ms of CPU appears once at start; it also does in main's runs on the Deck.

Not tested here: HDR (no HDR output in these runs), Windows, and the Deck in Game Mode at 1280x800.

🤖 Generated with Claude Code

https://claude.ai/code/session_012MibRabbL9JhKKrsNVaBfg

## Tested on a Steam Deck: d6e37e8f **Setup:** Steam Deck OLED, SteamOS 3.9.5 (kernel 7.2.7), Mesa 26.2.0-devel RADV (VANGOGH), stock 15 W, AC power. Built from d6e37e8f on the Deck, as a player's build is. Every run was Market as a child (kokiri-start save, the Debug tab's teleport), 1280x720, uncapped, headless unless noted. Settings were changed while playing through the control bridge's `option_set` (the menu's own setter), with a shot and the log read after each change. **Works, with no Vulkan error, device loss or fatal line in any session:** - **Switching the Upscaler while playing:** MAKO → Off → Game's own → MAKO. Each change applied within the 8 s I waited, and the log named each one (`MAKO: network 72ba090c70fe2614 left out, its input scaled by MAKO's shader (640x360 -> 1280x720)`, then `Off: ... stretched linearly`). - **Render resolution under MAKO:** 75, 67, 100, 33 and 50 %, with a log line at each input size (960x540, 854x480, 1280x720, 427x240, 640x360 → 1280x720). - **No double sharpening:** Longshot's sharpening pass was logged under Off at 80 % (`vk: sharpness: 80% on the 3D scene before the HUD`) and never while MAKO drew. - **Sharpness drives MAKO's own sharpening, at once:** I toggled 0 ↔ 100 % under MAKO with the camera still and measured the mean luma gradient of the shots. It went 2.30 → 2.46 and 2.31 → 2.47 (Off: 1.76 → 2.09). By that measure, MAKO at 0 % is already sharper than Off at 100 %. - **The picture:** at the same 50 %, MAKO is clearly crisper than Off (banner edges, window frames, flowers), with no halo or ringing seen at 2x zoom. Thin diagonals stair-step, as Risks says (no AA). The HUD is not scaled. - **Dynamic resolution:** with Render resolution at Auto, MAKO drew at 100 %, then the dynamic resolution moved to 50 % (`vk: drs: 100% -> 50%`) with MAKO drawing at 640x360. 50 % is the floor with the default minimum scale; the 42 % floor was not tried. - **Frame generation with MAKO** (in a gamescope window at 1280x720, since frame generation doesn't run headless): - Built-in FG at 2x and Auto, and FSR 3.1 FG at 2x and Auto, all made frames. FSR 3.1 reported `596 of the last 600 presents made by FSR 3.1` and `the HUD laid over the made frames`. - Switching Off ↔ MAKO with FSR 3.1 FG on worked too. - The HUD was clean in the shots I checked closely (built-in 2x, FSR 3.1 2x and Auto). A shot may be one of the game's own frames, and the camera was still, so made frames in motion were not judged. **Measurements** (the Deck's standard test: Market as a child, uncapped, 3 alternating pairs, 150 s lead-in, stock 15 W). Both arms are this build at Render resolution 50 % and Sharpness 80 %; only the Upscaler differs: | Steam Deck, 15 W | Off | MAKO Scaler | |---|---|---| | fps (median of 3 runs) | 42.80 | 43.71 (+2.1 %, within the run-to-run spread) | | CPU ms a frame | 79.0 | 78.8 | | 1 % low / p99 | 27.8 / 33.5 ms | 28.1 / 33.5 ms | | GPU ms a frame (the renderer's `vk: GPU time`) | 10.4 (10.6, 10.4, 10.3) | 10.0 (10.0, 10.2, 9.9) | | APU power | 14.7–15.0 W | 14.8–15.1 W | At the same Sharpness, MAKO cost no more GPU time than Off on the Deck; it took about 0.4 ms a frame less in every pair. That fits MAKO's one pass replacing two: Off's linear stretch and Longshot's separate sharpening pass. The Deck is CPU-bound in Market, so fps doesn't move. MAKO against Off with both at Sharpness 0 (the scaler's own cost) was not A/B'd. **Checks:** `run_all.py --strict` on d6e37e8f against main f359e262 (this stack's base), both on the Deck. Nothing fails only here: 52 checks fail, all of which also fail on f359e262 on this machine. `test_mako.py` passes. `test_no_map_reload.py` fails on main f359e262 too, with the same message (`a map change is asked outside world.travel: loader/tests.rs`), which answers that checklist point. **Not from this PR, seen while testing:** - The bridge's `option_set` of Dynamic resolution replies On, but the row reads Off again and Render resolution stays at its stop. That happens with every Upscaler and on main f8b54338 too, so Dynamic resolution was tested through Render resolution Auto instead. - `system/mods-tab faulted ... ran past the 5 ms of CPU` appears once at start; it also does in main's runs on the Deck. **Not tested here:** HDR (no HDR output in these runs), Windows, and the Deck in Game Mode at 1280x800. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012MibRabbL9JhKKrsNVaBfg
HumanBean force-pushed feat/mako-scaler from d6e37e8fce
Some checks failed
PR description / Title and description (pull_request_target) Successful in 9s
CI / What the change needs (pull_request) Successful in 10s
CI / Third-party parts and guide screenshots (pull_request) Successful in 16s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Failing after 21s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 14m1s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m20s
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 d403878567
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-05 17:01:22 +00:00
Compare
HumanBean force-pushed feat/mako-scaler from d403878567
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 54424bb8a5
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-05 17:08:34 +00:00
Compare
HumanBean force-pushed feat/mako-scaler from 54424bb8a5
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 e4d321036c
Some checks failed
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Successful in 13s
PR description / Title and description (pull_request_target) Failing after 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 23s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m30s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 14m30s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m30s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 9m34s
CI / Website build and checks (pull_request) Failing after 42s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 47m25s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
2026-12-05 17:13:33 +00:00
Compare
HumanBean changed title from WIP: feat(vk): MAKO Scaler as an Upscaler choice to feat(vk): MAKO Scaler as an Upscaler choice 2026-12-05 17:15:29 +00:00
HumanBean deleted branch feat/mako-scaler 2026-12-05 17:15:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!3211
No description provided.