Enable full composition pipeline to reduce screen tearing
This commit is contained in:
parent
789b0435f0
commit
2cbf8a918b
1 changed files with 24 additions and 1 deletions
|
@ -50,5 +50,28 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver = {
|
||||||
|
videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
|
# Section "Screen"
|
||||||
|
# Identifier "Screen0"
|
||||||
|
# Device "Device0"
|
||||||
|
# Monitor "Monitor0"
|
||||||
|
# DefaultDepth 24
|
||||||
|
# Option "Stereo" "0"
|
||||||
|
# Option "nvidiaXineramaInfoOrder" "DFP-2"
|
||||||
|
# Option "metamodes" "DP-4: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}, DP-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
|
||||||
|
# Option "SLI" "Off"
|
||||||
|
# Option "MultiGPU" "Off"
|
||||||
|
# Option "BaseMosaic" "off"
|
||||||
|
# SubSection "Display"
|
||||||
|
# Depth 24
|
||||||
|
# EndSubSection
|
||||||
|
# EndSection
|
||||||
|
|
||||||
|
screenSection = ''
|
||||||
|
Option "metamodes" "DP-0: nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}, DP-4: nvidia-auto-select +3840+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
|
||||||
|
Option "TripleBuffer" "On"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue