Skip to content

GSF 1.4.0 Kedavra

Choose a tag to compare

@github-actions github-actions released this 22 Oct 17:08
6176caf

GSF Kedavra

GSF 1.4.0 Kedavra "Silk": smoother frame pacing with the same latency and the same GPU work.

Install: Decky → Settings → Developer → Install plugin from zip → GSF-Kedavra-1.4.0.zip, then Setup → Reinstall Gamescope KEDAVRA and reboot (the engine changed). The zip installs over 1.3.x in place. Details: README.

New in 1.4.0: silk pacing

A Deck report showed where the remaining stutter comes from: the game misses its cap now and then (1.7 % of flips were repeats), and about every 14 seconds the scheduler gave latency back by skipping a whole frame. Both show as a hitch: the picture stops for one refresh or jumps by two.

  • Catch-up instead of a skip. Content positions now have eight steps per refresh. When the display is behind (after a late game frame, or when it gives a refresh of latency back), it runs 1.25× fast for a few refreshes (1.5× when far behind) instead of jumping a whole frame.
  • Slow-down instead of a freeze. The scheduler looks a few refreshes ahead at what will be ready: the pairs whose motion analysis will be done by then, and the next game frame where the game's own rhythm puts it. When the picture would run out of frames on the way, it slows down evenly (half speed at most) and catches up once the frame is there.
  • No extra cost. Every refresh is still one warp or one copy, as in 1.3.x: no extra GPU work and no extra power. The steady latency is the same or lower.
  • Pacing analysis counts hitches. The trace analysis now reports motion (even steps, freezes, jumps, speed-ups, slow-downs) and hitches_per_min. The engine status has a new catchup counter.

Scheduler simulation (3 seeds × 5 minutes per case; hitch = a freeze or a jump of the picture):

Case Hitches per minute, 1.3.1 → 1.4.0 Jumps (5 min × 3) Median latency
×2 at 60 Hz, base 30, game near its cap (like the Deck report) 12.0 → 5.3 58 → 0 57.1 → 55.5 ms
×3 at 90 Hz, base 30, game near its cap 22.2 → 12.8 92 → 8 50.7 → 49.2 ms
×2 at 90 Hz, base 45, game near its cap 19.8 → 11.1 78 → 6 37.8 → 37.7 ms
×3 at 90 Hz, game spikes 21.1 → 11.0 79 → 0 46.7 → 46.7 ms
×3 at 90 Hz, stable game 0.8 → 0.4 6 → 0 46.7 → 46.7 ms

Low base FPS (economy modes) gains the most:

Case Hitches per minute, 1.3.1 → 1.4.0 Median latency
×3.75 at 90 Hz, base 24, game near its cap 97.7 → 32.6 61.6 → 53.2 ms
×3.75 at 90 Hz, base 24, game with room 18.7 → 10.7 58.1 → 58.2 ms
×3 at 90 Hz, base 30, game with room 65.9 → 15.0 42.6 → 42.6 ms
×2.5 at 60 Hz, base 24, game near its cap 32.9 → 8.3 61.8 → 61.8 ms
×3 at 60 Hz, base 20, game near its cap 17.3 → 16.0 74.4 → 74.0 ms

At base 20 most of what is left are long game stalls (over 100 ms), which no pacing can hide.

The freezes that are left are game frames that arrive far too late to cover: no frame, nothing to move to. All 16 pacing scenarios (3 seeds) and the unit tests pass.