From 51f6cb013fd666d09bfb7b4bf4e79d222c2efa85 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Mon, 17 Aug 2026 18:22:52 +0100 Subject: [PATCH] fix: drop sunshine fec_percentage to 1 At the default 20, FEC mangles large frames and moonlight draws horizontal bands over an otherwise-fine stream, with no error on either side. --- hosts/common/features/remote-desktop.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/features/remote-desktop.nix b/hosts/common/features/remote-desktop.nix index ab9abb1..dbfc07f 100644 --- a/hosts/common/features/remote-desktop.nix +++ b/hosts/common/features/remote-desktop.nix @@ -37,6 +37,12 @@ _: # and never strips brackets or quotes, so "[...]" makes every entry fail # its starts_with("https://") check. csrf_allowed_origins = "https://10.7.250.1:47990,https://10.7.10.2:47990"; + + # At the default 20, sunshine's FEC mangles large frames and moonlight + # draws horizontal bands over an otherwise-fine stream — no error on + # either side, and the network shows 0% loss. konishi carries the same + # workaround in its hand-written ~/.config/sunshine/sunshine.conf. + fec_percentage = 1; }; }; }