diff --git a/README.org b/README.org index cbec773..363c404 100644 --- a/README.org +++ b/README.org @@ -1207,11 +1207,11 @@ in { services.xserver.videoDrivers = [ "nvidia" ]; # Fix screen tearing. - # services.xserver.screenSection = '' - # Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" - # Option "AllowIndirectGLXProtocol" "off" - # Option "TripleBuffer" "on" - # ''; + services.xserver.screenSection = '' + Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" + Option "AllowIndirectGLXProtocol" "off" + Option "TripleBuffer" "on" + ''; # Configure `offload-mode'. hardware.nvidia.prime = { diff --git a/modules/nvidia.nix b/modules/nvidia.nix index 68cfa3b..6b7c399 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -25,11 +25,11 @@ in { services.xserver.videoDrivers = [ "nvidia" ]; # Fix screen tearing. - # services.xserver.screenSection = '' - # Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" - # Option "AllowIndirectGLXProtocol" "off" - # Option "TripleBuffer" "on" - # ''; + services.xserver.screenSection = '' + Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" + Option "AllowIndirectGLXProtocol" "off" + Option "TripleBuffer" "on" + ''; # Configure `offload-mode'. hardware.nvidia.prime = {