summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2018-10-23 11:38:50 -0400
committerMichel Dänzer <[email protected]>2018-12-28 16:44:27 +0100
commita9c36dbf9c56b0d8b3810f7c95d44202bf79dac7 (patch)
tree9cef783fa08ede9363e54f5ed2271e05c9fa1937 /src/util
parent7407670036e1acb32cfeb49742a523e056e93e0a (diff)
drirc: Initial blacklist for adaptive sync
Applications that don't present at a predictable rate (ie. not games) shouldn't have adapative sync enabled. This list covers some of the common desktop compositors, web browsers and video players. [ Michel Dänzer: Added entry for firefox-esr ] Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/00-mesa-defaults.conf85
1 files changed, 85 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index f9d44df1645..cb0e6e659e2 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -21,6 +21,8 @@ Application bugs worked around in this file:
built-ins (specifically gl_VertexID), which causes the vertex shaders to fail
to compile.
+* Applications that are not suitable for adapative sync are blacklisted here.
+
TODO: document the other workarounds.
-->
@@ -321,6 +323,89 @@ TODO: document the other workarounds.
<application name="Talos Principle (Unrestricted)" executable="Talos_Unrestricted">
<option name="mesa_glthread" value="true"/>
</application>
+
+ <!-- Adaptive sync blacklist follows below: -->
+ <application name="gnome-shell" executable="gnome-shell">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Desktop — Plasma" executable="plasmashell">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="kwin_x11" executable="kwin_x11">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="ksmserver-logout-greeter" executable="ksmserver-logout-greeter">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="ksmserver-switchuser-greeter" executable="ksmserver-switchuser-greeter">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="kscreenlocker_greet" executable="kscreenlocker_greet">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="startplasma" executable="startplasma">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="krunner" executable="krunner">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="marco" executable="marco">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="compton" executable="compton">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="xfwm4" executable="xfwm4">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Enlightenment" executable="enlightenment">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="mutter" executable="mutter">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="muffin" executable="muffin">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="compiz" executable="compiz">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Firefox" executable="firefox">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Firefox ESR" executable="firefox-esr">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Chromium" executable="chromium">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Google Chrome" executable="chrome">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Iceweasel" executable="iceweasel">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Epiphany" executable="epiphany">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Konqueror" executable="konqueror">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Seamonkey" executable="seamonkey">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="VLC Media Player" executable="vlc">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Totem" executable="totem">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="Dragon Player" executable="dragon">
+ <option name="adaptive_sync" value="false" />
+ </application>
+ <application name="mpv" executable="mpv">
+ <option name="adaptive_sync" value="false" />
+ </application>
</device>
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
<device driver="vmwgfx">