Disable Composite and Force(Full)CompositionPipeline by default

Even a GTX 1030 has a choppy image on fast movements (e.g. football)
This commit is contained in:
Alexander Grothe 2018-06-02 20:03:24 +02:00
parent b1389ae487
commit b00876f0fd
2 changed files with 12 additions and 4 deletions

View File

@ -2147,7 +2147,7 @@ Section "Screen"
DefaultDepth 24 DefaultDepth 24
Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}" Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}"
Option "UseDisplayDevice" "{{ 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 "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on" Option "TripleBuffer" "on"
Option "SLI" "Off" Option "SLI" "Off"
@ -2188,7 +2188,7 @@ Section "Screen"
#Option "ConnectedMonitor" "{{ xorg.secondary.connector }}" #Option "ConnectedMonitor" "{{ xorg.secondary.connector }}"
Option "UseDisplayDevice" "{{ xorg.secondary.connector }}" Option "UseDisplayDevice" "{{ xorg.secondary.connector }}"
#Option "CustomEDID" "{{ xorg.secondary.connector }}:/etc/X11/edid.{{ xorg.secondary.connector }}.bin" #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 "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on" Option "TripleBuffer" "on"
Option "SLI" "Off" Option "SLI" "Off"
@ -2199,6 +2199,10 @@ Section "Screen"
EndSubSection EndSubSection
EndSection EndSection
{% endif %} {% endif %}
Section "Extensions"
Option "Composite" "Disable"
EndSection
#+END_SRC #+END_SRC
#+BEGIN_SRC shell :tangle roles/template-test/templates/xorg.conf_test.j2 #+BEGIN_SRC shell :tangle roles/template-test/templates/xorg.conf_test.j2

View File

@ -48,7 +48,7 @@ Section "Screen"
DefaultDepth 24 DefaultDepth 24
Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}" Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}"
Option "UseDisplayDevice" "{{ 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 "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on" Option "TripleBuffer" "on"
Option "SLI" "Off" Option "SLI" "Off"
@ -89,7 +89,7 @@ Section "Screen"
#Option "ConnectedMonitor" "{{ xorg.secondary.connector }}" #Option "ConnectedMonitor" "{{ xorg.secondary.connector }}"
Option "UseDisplayDevice" "{{ xorg.secondary.connector }}" Option "UseDisplayDevice" "{{ xorg.secondary.connector }}"
#Option "CustomEDID" "{{ xorg.secondary.connector }}:/etc/X11/edid.{{ xorg.secondary.connector }}.bin" #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 "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on" Option "TripleBuffer" "on"
Option "SLI" "Off" Option "SLI" "Off"
@ -100,3 +100,7 @@ Section "Screen"
EndSubSection EndSubSection
EndSection EndSection
{% endif %} {% endif %}
Section "Extensions"
Option "Composite" "Disable"
EndSection