sunshine: disable vsync at start

This commit is contained in:
Giulio De Pasquale 2024-02-26 16:05:09 +00:00
parent fa5d2bcc76
commit 23e5723ccb

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { config, pkgs, ... }:
let let
user = "sunshine"; user = "sunshine";
@ -23,6 +23,8 @@ let
# Apply new xrandr mode # Apply new xrandr mode
xrandr --output DP-0 --primary --mode ''${mode_alias} --pos 0x0 --rotate normal xrandr --output DP-0 --primary --mode ''${mode_alias} --pos 0x0 --rotate normal
/run/current-system/sw/bin/nvidia-settings -a 'SyncToVBlank=0'
''; '';
executable = true; executable = true;
destination = "/bin/resolution.sh"; destination = "/bin/resolution.sh";