From b00876f0fd1394e5449435e4a764a108c9e16eec Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sat, 2 Jun 2018 20:03:24 +0200 Subject: [PATCH] Disable Composite and Force(Full)CompositionPipeline by default Even a GTX 1030 has a choppy image on fast movements (e.g. football) --- Manual.org | 8 ++++++-- roles/yavdr-xorg/templates/xorg.conf.j2 | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Manual.org b/Manual.org index a19ddc7..d41afd6 100644 --- a/Manual.org +++ b/Manual.org @@ -2147,7 +2147,7 @@ Section "Screen" DefaultDepth 24 Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}" Option "UseDisplayDevice" "{{ xorg.primary.connector }}" - Option "metamodes" "{{ xorg.primary.connector }}: {{ xorg.primary.mode }} +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + Option "metamodes" "{{ xorg.primary.connector }}: {{ xorg.primary.mode }} +0+0 {ForceCompositionPipeline=Off, ForceFullCompositionPipeline=Off}" Option "AllowIndirectGLXProtocol" "off" Option "TripleBuffer" "on" Option "SLI" "Off" @@ -2188,7 +2188,7 @@ Section "Screen" #Option "ConnectedMonitor" "{{ xorg.secondary.connector }}" Option "UseDisplayDevice" "{{ xorg.secondary.connector }}" #Option "CustomEDID" "{{ xorg.secondary.connector }}:/etc/X11/edid.{{ xorg.secondary.connector }}.bin" - Option "metamodes" "{{ xorg.secondary.connector }}: {{ xorg.secondary.mode }} +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + Option "metamodes" "{{ xorg.secondary.connector }}: {{ xorg.secondary.mode }} +0+0 {ForceCompositionPipeline=Off, ForceFullCompositionPipeline=Off}" Option "AllowIndirectGLXProtocol" "off" Option "TripleBuffer" "on" Option "SLI" "Off" @@ -2199,6 +2199,10 @@ Section "Screen" EndSubSection EndSection {% endif %} + +Section "Extensions" + Option "Composite" "Disable" +EndSection #+END_SRC #+BEGIN_SRC shell :tangle roles/template-test/templates/xorg.conf_test.j2 diff --git a/roles/yavdr-xorg/templates/xorg.conf.j2 b/roles/yavdr-xorg/templates/xorg.conf.j2 index 3d5e7d0..9e0ee48 100644 --- a/roles/yavdr-xorg/templates/xorg.conf.j2 +++ b/roles/yavdr-xorg/templates/xorg.conf.j2 @@ -48,7 +48,7 @@ Section "Screen" DefaultDepth 24 Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}" Option "UseDisplayDevice" "{{ xorg.primary.connector }}" - Option "metamodes" "{{ xorg.primary.connector }}: {{ xorg.primary.mode }} +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + Option "metamodes" "{{ xorg.primary.connector }}: {{ xorg.primary.mode }} +0+0 {ForceCompositionPipeline=Off, ForceFullCompositionPipeline=Off}" Option "AllowIndirectGLXProtocol" "off" Option "TripleBuffer" "on" Option "SLI" "Off" @@ -89,7 +89,7 @@ Section "Screen" #Option "ConnectedMonitor" "{{ xorg.secondary.connector }}" Option "UseDisplayDevice" "{{ xorg.secondary.connector }}" #Option "CustomEDID" "{{ xorg.secondary.connector }}:/etc/X11/edid.{{ xorg.secondary.connector }}.bin" - Option "metamodes" "{{ xorg.secondary.connector }}: {{ xorg.secondary.mode }} +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + Option "metamodes" "{{ xorg.secondary.connector }}: {{ xorg.secondary.mode }} +0+0 {ForceCompositionPipeline=Off, ForceFullCompositionPipeline=Off}" Option "AllowIndirectGLXProtocol" "off" Option "TripleBuffer" "on" Option "SLI" "Off" @@ -100,3 +100,7 @@ Section "Screen" EndSubSection EndSection {% endif %} + +Section "Extensions" + Option "Composite" "Disable" +EndSection