1b8e80941Smrg<?xml version="1.0" standalone="yes"?>
2b8e80941Smrg<!--
3b8e80941Smrg
4b8e80941Smrg============================================
5b8e80941SmrgApplication bugs worked around in this file:
6b8e80941Smrg============================================
7b8e80941Smrg
8b8e80941Smrg* Unigine Heaven 3.0 and older contain too many bugs and can't be supported
9b8e80941Smrg  by drivers that want to be compliant.
10b8e80941Smrg
11b8e80941Smrg* Various Unigine products don't use the #version and #extension GLSL
12b8e80941Smrg  directives, meaning they only get GLSL 1.10 and no extensions for their
13b8e80941Smrg  shaders.
14b8e80941Smrg  Enabling all extensions for Unigine fixes most issues, but the GLSL version
15b8e80941Smrg  is still 1.10.
16b8e80941Smrg
17b8e80941Smrg* If ARB_sample_shading is supported, Unigine Heaven 4.0 and Valley 1.0 uses
18b8e80941Smrg  an #extension directive in the middle of its shaders, which is illegal
19b8e80941Smrg  in GLSL.
20b8e80941Smrg
21b8e80941Smrg* Dying Light and Dead Island Definitive Edition redeclare vertex shader
22b8e80941Smrg  built-ins (specifically gl_VertexID), which causes the vertex shaders to fail
23b8e80941Smrg  to compile.
24b8e80941Smrg
25b8e80941Smrg* Applications that are not suitable for adapative sync are blacklisted here.
26b8e80941Smrg
27b8e80941SmrgTODO: document the other workarounds.
28b8e80941Smrg
29b8e80941Smrg-->
30b8e80941Smrg
31b8e80941Smrg<!DOCTYPE driconf [
32b8e80941Smrg   <!ELEMENT driconf      (device+)>
33b8e80941Smrg   <!ELEMENT device       (application+)>
34b8e80941Smrg   <!ATTLIST device       driver CDATA #IMPLIED>
35b8e80941Smrg   <!ELEMENT application  (option+)>
36b8e80941Smrg   <!ATTLIST application  name CDATA #REQUIRED
37b8e80941Smrg                          executable CDATA #REQUIRED>
38b8e80941Smrg   <!ELEMENT option       EMPTY>
39b8e80941Smrg   <!ATTLIST option       name CDATA #REQUIRED
40b8e80941Smrg                          value CDATA #REQUIRED>
41b8e80941Smrg]>
42b8e80941Smrg
43b8e80941Smrg<driconf>
44b8e80941Smrg    <!-- Please always enable app-specific workarounds for all drivers and
45b8e80941Smrg         screens. -->
46b8e80941Smrg    <device>
47b8e80941Smrg        <application name="Unigine Sanctuary" executable="Sanctuary">
48b8e80941Smrg            <option name="force_glsl_extensions_warn" value="true" />
49b8e80941Smrg            <option name="disable_blend_func_extended" value="true" />
50b8e80941Smrg        </application>
51b8e80941Smrg
52b8e80941Smrg        <application name="Unigine Tropics" executable="Tropics">
53b8e80941Smrg            <option name="force_glsl_extensions_warn" value="true" />
54b8e80941Smrg            <option name="disable_blend_func_extended" value="true" />
55b8e80941Smrg        </application>
56b8e80941Smrg
57b8e80941Smrg        <application name="Unigine Heaven (32-bit)" executable="heaven_x86">
58b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
59b8e80941Smrg            <!-- remove dual_color_blend_by_location if 4.1 ever comes out -->
60b8e80941Smrg            <option name="dual_color_blend_by_location" value="true" />
61b8e80941Smrg        </application>
62b8e80941Smrg
63b8e80941Smrg        <application name="Unigine Heaven (64-bit)" executable="heaven_x64">
64b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
65b8e80941Smrg            <!-- remove dual_color_blend_by_location if 4.1 ever comes out -->
66b8e80941Smrg            <option name="dual_color_blend_by_location" value="true" />
67b8e80941Smrg        </application>
68b8e80941Smrg
69b8e80941Smrg        <application name="Unigine Valley (32-bit)" executable="valley_x86">
70b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
71b8e80941Smrg            <!-- remove dual_color_blend_by_location if 1.1 ever comes out -->
72b8e80941Smrg            <option name="dual_color_blend_by_location" value="true" />
73b8e80941Smrg        </application>
74b8e80941Smrg
75b8e80941Smrg        <application name="Unigine Valley (64-bit)" executable="valley_x64">
76b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
77b8e80941Smrg            <!-- remove dual_color_blend_by_location if 1.1 ever comes out -->
78b8e80941Smrg            <option name="dual_color_blend_by_location" value="true" />
79b8e80941Smrg        </application>
80b8e80941Smrg
81b8e80941Smrg        <application name="Unigine OilRush (32-bit)" executable="OilRush_x86">
82b8e80941Smrg            <option name="disable_blend_func_extended" value="true" />
83b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
84b8e80941Smrg        </application>
85b8e80941Smrg
86b8e80941Smrg        <application name="Unigine OilRush (64-bit)" executable="OilRush_x64">
87b8e80941Smrg            <option name="disable_blend_func_extended" value="true" />
88b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
89b8e80941Smrg        </application>
90b8e80941Smrg
91b8e80941Smrg        <application name="Savage 2" executable="savage2.bin">
92b8e80941Smrg            <option name="disable_glsl_line_continuations" value="true" />
93b8e80941Smrg        </application>
94b8e80941Smrg
95b8e80941Smrg        <application name="Topogun (32-bit)" executable="topogun32">
96b8e80941Smrg            <option name="always_have_depth_buffer" value="true" />
97b8e80941Smrg        </application>
98b8e80941Smrg
99b8e80941Smrg        <application name="Topogun (64-bit)" executable="topogun64">
100b8e80941Smrg            <option name="always_have_depth_buffer" value="true" />
101b8e80941Smrg        </application>
102b8e80941Smrg
103b8e80941Smrg        <application name="Dead Island (incl. Definitive Edition)" executable="DeadIslandGame">
104b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
105b8e80941Smrg
106b8e80941Smrg            <!-- For the Definitive Edition which shares the same executable name -->
107b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
108b8e80941Smrg        </application>
109b8e80941Smrg
110b8e80941Smrg        <application name="Dead Island Riptide Definitive Edition" executable="DeadIslandRiptideGame">
111b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
112b8e80941Smrg        </application>
113b8e80941Smrg
114b8e80941Smrg        <application name="Doom 3: BFG" executable="Doom3BFG.exe">
115b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
116b8e80941Smrg            <option name="force_glsl_extensions_warn" value="true" />
117b8e80941Smrg        </application>
118b8e80941Smrg
119b8e80941Smrg        <application name="Dying Light" executable="DyingLightGame">
120b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
121b8e80941Smrg        </application>
122b8e80941Smrg
123b8e80941Smrg        <application name="RAGE (64-bit)" executable="Rage64.exe">
124b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
125b8e80941Smrg        </application>
126b8e80941Smrg
127b8e80941Smrg        <application name="RAGE (32-bit)" executable="Rage.exe">
128b8e80941Smrg            <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
129b8e80941Smrg        </application>
130b8e80941Smrg
131b8e80941Smrg        <application name="Second Life" executable="do-not-directly-run-secondlife-bin">
132b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
133b8e80941Smrg        </application>
134b8e80941Smrg
135b8e80941Smrg        <application name="Warsow (32-bit)" executable="warsow.i386">
136b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
137b8e80941Smrg        </application>
138b8e80941Smrg
139b8e80941Smrg        <application name="Warsow (64-bit)" executable="warsow.x86_64">
140b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
141b8e80941Smrg        </application>
142b8e80941Smrg
143b8e80941Smrg        <application name="Rust" executable="rust">
144b8e80941Smrg            <option name="glsl_zero_init" value="true"/>
145b8e80941Smrg        </application>
146b8e80941Smrg
147b8e80941Smrg        <application name="Divinity: Original Sin Enhanced Edition" executable="EoCApp">
148b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
149b8e80941Smrg        </application>
150b8e80941Smrg
151b8e80941Smrg        <application name="Metro 2033 Redux / Metro Last Night Redux" executable="metro">
152b8e80941Smrg            <option name="allow_glsl_extension_directive_midshader" value="true" />
153b8e80941Smrg        </application>
154b8e80941Smrg
155b8e80941Smrg        <application name="Worms W.M.D" executable="Worms W.M.Dx64">
156b8e80941Smrg            <option name="allow_higher_compat_version" value="true" />
157b8e80941Smrg        </application>
158b8e80941Smrg
159b8e80941Smrg        <application name="Crookz - The Big Heist" executable="Crookz">
160b8e80941Smrg            <option name="allow_higher_compat_version" value="true" />
161b8e80941Smrg        </application>
162b8e80941Smrg
163b8e80941Smrg        <application name="Tropico 5" executable="Tropico5">
164b8e80941Smrg            <option name="allow_higher_compat_version" value="true" />
165b8e80941Smrg        </application>
166b8e80941Smrg
167b8e80941Smrg        <application name="The Culling" executable="Victory">
168b8e80941Smrg            <option name="force_glsl_version" value="440" />
169b8e80941Smrg        </application>
170b8e80941Smrg
171b8e80941Smrg        <application name="Spec Ops: The Line (32-bit)" executable="specops.i386">
172b8e80941Smrg            <option name="force_glsl_abs_sqrt" value="true" />
173b8e80941Smrg        </application>
174b8e80941Smrg
175b8e80941Smrg        <application name="Spec Ops: The Line (64-bit)" executable="specops">
176b8e80941Smrg            <option name="force_glsl_abs_sqrt" value="true" />
177b8e80941Smrg        </application>
178b8e80941Smrg
179b8e80941Smrg        <application name="Kerbal Space Program (32-bit)" executable="KSP.x86">
180b8e80941Smrg            <option name="glsl_zero_init" value="true"/>
181b8e80941Smrg        </application>
182b8e80941Smrg
183b8e80941Smrg        <application name="Kerbal Space Program (64-bit)" executable="KSP.x86_64">
184b8e80941Smrg            <option name="glsl_zero_init" value="true"/>
185b8e80941Smrg        </application>
186b8e80941Smrg
187b8e80941Smrg        <application name="Rocket League" executable="RocketLeague">
188b8e80941Smrg            <option name="glsl_correct_derivatives_after_discard" value="true"/>
189b8e80941Smrg        </application>
190b8e80941Smrg
191b8e80941Smrg        <application name="The Witcher 2" executable="witcher2">
192b8e80941Smrg            <option name="glsl_correct_derivatives_after_discard" value="true"/>
193b8e80941Smrg        </application>
194b8e80941Smrg
195b8e80941Smrg        <application name="Unreal 4 Editor" executable="UE4Editor">
196b8e80941Smrg            <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
197b8e80941Smrg        </application>
198b8e80941Smrg
199b8e80941Smrg        <application name="Observer" executable="TheObserver-Linux-Shipping">
200b8e80941Smrg            <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
201b8e80941Smrg        </application>
202b8e80941Smrg
203b8e80941Smrg        <application name="Steamroll" executable="Steamroll-Linux-Shipping">
204b8e80941Smrg            <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
205b8e80941Smrg        </application>
206b8e80941Smrg
207b8e80941Smrg        <application name="Refunct" executable="Refunct-Linux-Shipping">
208b8e80941Smrg            <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
209b8e80941Smrg        </application>
210b8e80941Smrg
211b8e80941Smrg        <application name="Google Earth VR" executable="Earth.exe">
212b8e80941Smrg            <option name="allow_glsl_builtin_const_expression" value="true"/>
213b8e80941Smrg            <option name="allow_glsl_relaxed_es" value="true"/>
214b8e80941Smrg        </application>
215b8e80941Smrg
216b8e80941Smrg        <application name="No Mans Sky" executable="NMS.exe">
217b8e80941Smrg            <option name="force_glsl_extensions_warn" value="true" />
218b8e80941Smrg            <option name="allow_glsl_layout_qualifier_on_function_parameters" value="true" />
219b8e80941Smrg        </application>
220b8e80941Smrg
221b8e80941Smrg        <application name="Wolfenstein The Old Blood" executable="WolfOldBlood_x64.exe">
222b8e80941Smrg            <option name="force_compat_profile" value="true" />
223b8e80941Smrg        </application>
224b8e80941Smrg
225b8e80941Smrg        <application name="ARMA 3" executable="arma3.x86_64">
226b8e80941Smrg            <option name="glsl_correct_derivatives_after_discard" value="true"/>
227b8e80941Smrg        </application>
228b8e80941Smrg
229b8e80941Smrg        <application name="Epic Games Launcher" executable="EpicGamesLauncher.exe">
230b8e80941Smrg            <option name="force_compat_profile" value="true" />
231b8e80941Smrg        </application>
232b8e80941Smrg
233b8e80941Smrg        <!-- The GL thread whitelist is below, workarounds are above.
234b8e80941Smrg             Keep it that way. -->
235b8e80941Smrg
236b8e80941Smrg        <application name="Alien Isolation" executable="AlienIsolation">
237b8e80941Smrg            <option name="mesa_glthread" value="true"/>
238b8e80941Smrg        </application>
239b8e80941Smrg
240b8e80941Smrg        <application name="BioShock Infinite" executable="bioshock.i386">
241b8e80941Smrg            <option name="mesa_glthread" value="true"/>
242b8e80941Smrg        </application>
243b8e80941Smrg
244b8e80941Smrg        <application name="Borderlands 2" executable="Borderlands2">
245b8e80941Smrg            <option name="mesa_glthread" value="true"/>
246b8e80941Smrg        </application>
247b8e80941Smrg
248b8e80941Smrg        <application name="Civilization 5" executable="Civ5XP">
249b8e80941Smrg            <option name="mesa_glthread" value="true"/>
250b8e80941Smrg        </application>
251b8e80941Smrg        <application name="Civilization 6" executable="Civ6">
252b8e80941Smrg            <option name="mesa_glthread" value="true"/>
253b8e80941Smrg        </application>
254b8e80941Smrg        <application name="Civilization 6" executable="Civ6Sub">
255b8e80941Smrg            <option name="mesa_glthread" value="true"/>
256b8e80941Smrg        </application>
257b8e80941Smrg
258b8e80941Smrg        <application name="Dreamfall Chapters" executable="Dreamfall Chapters">
259b8e80941Smrg            <option name="mesa_glthread" value="true"/>
260b8e80941Smrg        </application>
261b8e80941Smrg
262b8e80941Smrg        <application name="Hitman" executable="HitmanPro">
263b8e80941Smrg            <option name="mesa_glthread" value="true"/>
264b8e80941Smrg        </application>
265b8e80941Smrg
266b8e80941Smrg        <application name="Renowned Explorers: International Society" executable="abbeycore_steam">
267b8e80941Smrg            <option name="mesa_glthread" value="true"/>
268b8e80941Smrg        </application>
269b8e80941Smrg
270b8e80941Smrg        <application name="Saints Row 2" executable="saintsrow2.i386">
271b8e80941Smrg            <option name="mesa_glthread" value="true"/>
272b8e80941Smrg        </application>
273b8e80941Smrg        <application name="Saints Row: The Third" executable="SaintsRow3.i386">
274b8e80941Smrg            <option name="mesa_glthread" value="true"/>
275b8e80941Smrg        </application>
276b8e80941Smrg        <application name="Saints Row IV" executable="SaintsRow4.i386">
277b8e80941Smrg            <option name="mesa_glthread" value="true"/>
278b8e80941Smrg        </application>
279b8e80941Smrg        <application name="Saints Row: Gat out of Hell" executable="SaintsRow4GooH.i386">
280b8e80941Smrg            <option name="mesa_glthread" value="true"/>
281b8e80941Smrg        </application>
282b8e80941Smrg
283b8e80941Smrg        <application name="Sid Meier's: Civilization Beyond Earth" executable="CivBE">
284b8e80941Smrg            <option name="mesa_glthread" value="true"/>
285b8e80941Smrg        </application>
286b8e80941Smrg
287b8e80941Smrg        <application name="The Witcher 2" executable="witcher2">
288b8e80941Smrg            <option name="mesa_glthread" value="true"/>
289b8e80941Smrg        </application>
290b8e80941Smrg
291b8e80941Smrg        <application name="American Truck Simulator" executable="amtrucks">
292b8e80941Smrg            <option name="mesa_glthread" value="true"/>
293b8e80941Smrg        </application>
294b8e80941Smrg        <application name="Euro Truck Simulator 2" executable="eurotrucks2">
295b8e80941Smrg            <option name="mesa_glthread" value="true"/>
296b8e80941Smrg        </application>
297b8e80941Smrg
298b8e80941Smrg        <application name="Overlord" executable="overlord.i386">
299b8e80941Smrg            <option name="mesa_glthread" value="true"/>
300b8e80941Smrg        </application>
301b8e80941Smrg        <application name="Overlord 2" executable="overlord2.i386">
302b8e80941Smrg            <option name="mesa_glthread" value="true"/>
303b8e80941Smrg        </application>
304b8e80941Smrg
305b8e80941Smrg        <application name="Oil Rush" executable="OilRush_x86">
306b8e80941Smrg            <option name="mesa_glthread" value="true"/>
307b8e80941Smrg        </application>
308b8e80941Smrg
309b8e80941Smrg        <application name="War Thunder" executable="aces">
310b8e80941Smrg            <option name="mesa_glthread" value="true"/>
311b8e80941Smrg        </application>
312b8e80941Smrg        <application name="War Thunder (Wine)" executable="aces.exe">
313b8e80941Smrg            <option name="mesa_glthread" value="true"/>
314b8e80941Smrg        </application>
315b8e80941Smrg
316b8e80941Smrg        <application name="Outlast" executable="OLGame.x86_64">
317b8e80941Smrg            <option name="mesa_glthread" value="true"/>
318b8e80941Smrg        </application>
319b8e80941Smrg
320b8e80941Smrg        <application name="Spec Ops: The Line (32-bit)" executable="specops.i386">
321b8e80941Smrg            <option name="mesa_glthread" value="true"/>
322b8e80941Smrg        </application>
323b8e80941Smrg        <application name="Spec Ops: The Line (64-bit)" executable="specops">
324b8e80941Smrg            <option name="mesa_glthread" value="true"/>
325b8e80941Smrg        </application>
326b8e80941Smrg        <application name="Mount and Blade Warband" executable="mb_warband_linux">
327b8e80941Smrg            <option name="mesa_glthread" value="true"/>
328b8e80941Smrg        </application>
329b8e80941Smrg
330b8e80941Smrg        <!-- around 18% performance increase in min and avg fps, max fps capped at 60fps. -->
331b8e80941Smrg        <application name="Medieval II: Total War" executable="Medieval2">
332b8e80941Smrg            <option name="mesa_glthread" value="true"/>
333b8e80941Smrg        </application>
334b8e80941Smrg
335b8e80941Smrg        <!-- min fps ~21 ===> ~27 while standing still in game, also higher gpu load. -->
336b8e80941Smrg        <application name="Carnivores: Dinosaur Hunter Reborn (wine)" executable="Carnivores-master.exe">
337b8e80941Smrg            <option name="mesa_glthread" value="true"/>
338b8e80941Smrg        </application>
339b8e80941Smrg
340b8e80941Smrg        <!-- around 30% increase in avg fps -->
341b8e80941Smrg        <application name="Far Cry 2 (wine)" executable="farcry2.exe">
342b8e80941Smrg            <option name="mesa_glthread" value="true"/>
343b8e80941Smrg        </application>
344b8e80941Smrg
345b8e80941Smrg        <application name="Talos Principle" executable="Talos">
346b8e80941Smrg            <option name="mesa_glthread" value="true"/>
347b8e80941Smrg        </application>
348b8e80941Smrg        <application name="Talos Principle (Unrestricted)" executable="Talos_Unrestricted">
349b8e80941Smrg            <option name="mesa_glthread" value="true"/>
350b8e80941Smrg        </application>
351b8e80941Smrg
352b8e80941Smrg        <!-- Adaptive sync blacklist follows below: -->
353b8e80941Smrg        <application name="gnome-shell" executable="gnome-shell">
354b8e80941Smrg            <option name="adaptive_sync" value="false" />
355b8e80941Smrg        </application>
356b8e80941Smrg        <application name="Desktop — Plasma" executable="plasmashell">
357b8e80941Smrg            <option name="adaptive_sync" value="false" />
358b8e80941Smrg        </application>
359b8e80941Smrg        <application name="budgie-wm" executable="budgie-wm">
360b8e80941Smrg            <option name="adaptive_sync" value="false" />
361b8e80941Smrg        </application>
362b8e80941Smrg        <application name="kwin_x11" executable="kwin_x11">
363b8e80941Smrg            <option name="adaptive_sync" value="false" />
364b8e80941Smrg        </application>
365b8e80941Smrg        <application name="ksmserver-logout-greeter" executable="ksmserver-logout-greeter">
366b8e80941Smrg            <option name="adaptive_sync" value="false" />
367b8e80941Smrg        </application>
368b8e80941Smrg        <application name="ksmserver-switchuser-greeter" executable="ksmserver-switchuser-greeter">
369b8e80941Smrg            <option name="adaptive_sync" value="false" />
370b8e80941Smrg        </application>
371b8e80941Smrg        <application name="kscreenlocker_greet" executable="kscreenlocker_greet">
372b8e80941Smrg            <option name="adaptive_sync" value="false" />
373b8e80941Smrg        </application>
374b8e80941Smrg        <application name="startplasma" executable="startplasma">
375b8e80941Smrg            <option name="adaptive_sync" value="false" />
376b8e80941Smrg        </application>
377b8e80941Smrg        <application name="sddm-greeter" executable="sddm-greeter">
378b8e80941Smrg            <option name="adaptive_sync" value="false" />
379b8e80941Smrg        </application>
380b8e80941Smrg        <application name="krunner" executable="krunner">
381b8e80941Smrg            <option name="adaptive_sync" value="false" />
382b8e80941Smrg        </application>
383b8e80941Smrg        <application name="spectacle" executable="spectacle">
384b8e80941Smrg            <option name="adaptive_sync" value="false" />
385b8e80941Smrg        </application>
386b8e80941Smrg        <application name="marco" executable="marco">
387b8e80941Smrg            <option name="adaptive_sync" value="false" />
388b8e80941Smrg        </application>
389b8e80941Smrg        <application name="compton" executable="compton">
390b8e80941Smrg            <option name="adaptive_sync" value="false" />
391b8e80941Smrg        </application>
392b8e80941Smrg        <application name="xfwm4" executable="xfwm4">
393b8e80941Smrg            <option name="adaptive_sync" value="false" />
394b8e80941Smrg        </application>
395b8e80941Smrg        <application name="Enlightenment" executable="enlightenment">
396b8e80941Smrg            <option name="adaptive_sync" value="false" />
397b8e80941Smrg        </application>
398b8e80941Smrg        <application name="mutter" executable="mutter">
399b8e80941Smrg            <option name="adaptive_sync" value="false" />
400b8e80941Smrg        </application>
401b8e80941Smrg        <application name="muffin" executable="muffin">
402b8e80941Smrg            <option name="adaptive_sync" value="false" />
403b8e80941Smrg        </application>
404b8e80941Smrg        <application name="compiz" executable="compiz">
405b8e80941Smrg            <option name="adaptive_sync" value="false" />
406b8e80941Smrg        </application>
407b8e80941Smrg        <application name="Firefox" executable="firefox">
408b8e80941Smrg            <option name="adaptive_sync" value="false" />
409b8e80941Smrg        </application>
410b8e80941Smrg        <application name="Firefox ESR" executable="firefox-esr">
411b8e80941Smrg            <option name="adaptive_sync" value="false" />
412b8e80941Smrg        </application>
413b8e80941Smrg        <application name="Chromium" executable="chromium">
414b8e80941Smrg            <option name="adaptive_sync" value="false" />
415b8e80941Smrg        </application>
416b8e80941Smrg        <application name="Google Chrome" executable="chrome">
417b8e80941Smrg            <option name="adaptive_sync" value="false" />
418b8e80941Smrg        </application>
419b8e80941Smrg        <application name="Iceweasel" executable="iceweasel">
420b8e80941Smrg            <option name="adaptive_sync" value="false" />
421b8e80941Smrg        </application>
422b8e80941Smrg        <application name="Epiphany" executable="epiphany">
423b8e80941Smrg            <option name="adaptive_sync" value="false" />
424b8e80941Smrg        </application>
425b8e80941Smrg        <application name="Konqueror" executable="konqueror">
426b8e80941Smrg            <option name="adaptive_sync" value="false" />
427b8e80941Smrg        </application>
428b8e80941Smrg        <application name="Falkon" executable="falkon">
429b8e80941Smrg            <option name="adaptive_sync" value="false" />
430b8e80941Smrg        </application>
431b8e80941Smrg        <application name="Seamonkey" executable="seamonkey">
432b8e80941Smrg            <option name="adaptive_sync" value="false" />
433b8e80941Smrg        </application>
434b8e80941Smrg        <application name="Waterfox" executable="waterfox">
435b8e80941Smrg            <option name="adaptive_sync" value="false" />
436b8e80941Smrg        </application>
437b8e80941Smrg        <application name="VLC Media Player" executable="vlc">
438b8e80941Smrg            <option name="adaptive_sync" value="false" />
439b8e80941Smrg        </application>
440b8e80941Smrg        <application name="Totem" executable="totem">
441b8e80941Smrg            <option name="adaptive_sync" value="false" />
442b8e80941Smrg        </application>
443b8e80941Smrg        <application name="Dragon Player" executable="dragon">
444b8e80941Smrg            <option name="adaptive_sync" value="false" />
445b8e80941Smrg        </application>
446b8e80941Smrg        <application name="mpv" executable="mpv">
447b8e80941Smrg            <option name="adaptive_sync" value="false" />
448b8e80941Smrg        </application>
449b8e80941Smrg
450b8e80941Smrg        <!-- Gallium Nine workarounds: -->
451b8e80941Smrg        <application name="Rayman Legends" executable="Rayman Legends.exe">
452b8e80941Smrg            <option name="dynamic_texture_workaround" value="true" />
453b8e80941Smrg        </application>
454b8e80941Smrg    </device>
455b8e80941Smrg    <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
456b8e80941Smrg    <device driver="vmwgfx">
457b8e80941Smrg        <application name="gnome-shell" executable="gnome-shell">
458b8e80941Smrg            <option name="glx_disable_ext_buffer_age" value="true" />
459b8e80941Smrg            <option name="glx_disable_oml_sync_control" value="true" />
460b8e80941Smrg            <option name="glx_disable_sgi_video_sync" value="true" />
461b8e80941Smrg        </application>
462b8e80941Smrg        <application name="Compiz" executable="Compiz">
463b8e80941Smrg            <option name="glx_disable_ext_buffer_age" value="true" />
464b8e80941Smrg            <option name="glx_disable_oml_sync_control" value="true" />
465b8e80941Smrg        </application>
466b8e80941Smrg    </device>
467b8e80941Smrg    <device driver="radeonsi">
468b8e80941Smrg        <application name="ARK: Survival Evolved (and unintentionally the UE4 demo template)" executable="ShooterGame">
469b8e80941Smrg            <option name="radeonsi_clear_db_cache_before_clear" value="true" />
470b8e80941Smrg        </application>
471b8e80941Smrg        <application name="Counter-Strike Global Offensive" executable="csgo_linux64">
472b8e80941Smrg            <option name="radeonsi_zerovram" value="true" />
473b8e80941Smrg        </application>
474b8e80941Smrg        <application name="No Mans Sky" executable="NMS.exe">
475b8e80941Smrg            <option name="radeonsi_zerovram" value="true" />
476b8e80941Smrg        </application>
477b8e80941Smrg        <application name="Civilization 6" executable="Civ6">
478b8e80941Smrg            <option name="radeonsi_enable_nir" value="true"/>
479b8e80941Smrg        </application>
480b8e80941Smrg        <application name="Civilization 6" executable="Civ6Sub">
481b8e80941Smrg            <option name="radeonsi_enable_nir" value="true"/>
482b8e80941Smrg        </application>
483b8e80941Smrg    </device>
484b8e80941Smrg</driconf>
485