Mesa (master): dri: Turn of a couple of glx extensions for gnome-shell on vmwgfx.
Thomas Hellstrom
thomash at kemper.freedesktop.org
Wed Jun 7 17:48:11 UTC 2017
Module: Mesa
Branch: master
Commit: 37e8341db4e9618fcd874c52aca57579f639bfe8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37e8341db4e9618fcd874c52aca57579f639bfe8
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Fri May 5 06:26:03 2017 -0700
dri: Turn of a couple of glx extensions for gnome-shell on vmwgfx.
Increases performance on vmwgfx since we're avoiding full buffer damage and
since we can't sync to vertical retrace anyway.
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/mesa/drivers/dri/common/drirc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index d820462fad..b6c3c6a5db 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -152,4 +152,11 @@ TODO: document the other workarounds.
<option name="glsl_zero_init" value="true"/>
</application>
</device>
+ <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
+ <device driver="vmwgfx">
+ <application name="gnome-shell" executable="gnome-shell">
+ <option name="glx_disable_ext_buffer_age" value="true" />
+ <option name="glx_disable_oml_sync_control" value="true" />
+ </application>
+ </device>
</driconf>
More information about the mesa-commit
mailing list