driconf: Re-enable GLX_EXT_buffer_age on vmwgfx

Now that distributions are no longer installing device specific Xorg
drivers by default we have to rely on the modesetting driver which
currently does not work with glXCopySubBuffer. Both kwin and mutter prefer
using glXSwapBuffers over glXCopySubBuffer if GLX_EXT_buffer_age is present.
Therefore we want to ensure that it is available in order to avoid using
the broken glXCopySubBuffer.

Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Reviewed-by: Neha Bhende <neha.bhende@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31565>
This commit is contained in:
Ian Forbes
2024-10-07 15:03:51 -05:00
committed by Marge Bot
parent d975d23cd8
commit 40557383dd
+3 -3
View File
@@ -1000,13 +1000,13 @@ TODO: document the other workarounds.
<!-- 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_extension_override" value="-GLX_EXT_buffer_age -GLX_OML_sync_control -GLX_SGI_video_sync" />
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
</application>
<application name="cinnamon" executable="cinnamon">
<option name="glx_extension_override" value="-GLX_EXT_buffer_age -GLX_OML_sync_control -GLX_SGI_video_sync" />
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
</application>
<application name="Compiz" executable="Compiz">
<option name="glx_extension_override" value="-GLX_EXT_buffer_age -GLX_OML_sync_control" />
<option name="glx_extension_override" value="-GLX_OML_sync_control" />
</application>
</device>
<device driver="radeonsi">