dri/vmwgfx: Disable a couple of glx extensions also for Ubuntu unity / compiz
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 16 May 2017 14:25:12 +0000 (07:25 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 7 Jun 2017 17:43:54 +0000 (19:43 +0200)
It appears like the GLX_EXT_buffer_age extension also prevents Compiz /
Ubuntu Unity from performing partial buffer swaps when it otherwise
feels like doing so. So try to get them back again. We also disable
GLX_OML_sync_control since it appears it had a favourable impact on
gnome-shell.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
src/mesa/drivers/dri/common/drirc

index b6c3c6a..5152b20 100644 (file)
@@ -158,5 +158,9 @@ TODO: document the other workarounds.
             <option name="glx_disable_ext_buffer_age" value="true" />
             <option name="glx_disable_oml_sync_control" value="true" />
         </application>
+       <application name="Compiz" executable="Compiz">
+            <option name="glx_disable_ext_buffer_age" value="true" />
+           <option name="glx_disable_oml_sync_control" value="true" />
+        </application>
     </device>
 </driconf>