1<?xml version="1.0" standalone="yes"?> 2<!-- 3 4============================================ 5Application bugs worked around in this file: 6============================================ 7 8* Unigine Heaven 3.0 and older contain too many bugs and can't be supported 9 by drivers that want to be compliant. 10 11* Various Unigine products don't use the #version and #extension GLSL 12 directives, meaning they only get GLSL 1.10 and no extensions for their 13 shaders. 14 Enabling all extensions for Unigine fixes most issues, but the GLSL version 15 is still 1.10. 16 17* If ARB_sample_shading is supported, Unigine Heaven 4.0 and Valley 1.0 uses 18 an #extension directive in the middle of its shaders, which is illegal 19 in GLSL. 20 21* Dying Light and Dead Island Definitive Edition redeclare vertex shader 22 built-ins (specifically gl_VertexID), which causes the vertex shaders to fail 23 to compile. 24 25* Applications that are not suitable for adapative sync are denylisted here. 26 27TODO: document the other workarounds. 28 29--> 30 31<!DOCTYPE driconf [ 32 <!ELEMENT driconf (device+)> 33 <!ELEMENT device (application | engine)+> 34 <!ATTLIST device driver CDATA #IMPLIED 35 device CDATA #IMPLIED> 36 <!ELEMENT application (option+)> 37 <!ATTLIST application name CDATA #REQUIRED 38 executable CDATA #IMPLIED 39 sha1 CDATA #IMPLIED 40 application_name_match CDATA #IMPLIED 41 application_versions CDATA #IMPLIED> 42 <!ELEMENT engine (option+)> 43 44 <!-- engine_name_match: A regexp matching the engine name --> 45 <!-- engine_versions: A version in range format 46 (version 1 to 4 : "1:4") --> 47 48 <!ATTLIST engine engine_name_match CDATA #REQUIRED 49 engine_versions CDATA #IMPLIED> 50 51 <!ELEMENT option EMPTY> 52 <!ATTLIST option name CDATA #REQUIRED 53 value CDATA #REQUIRED> 54]> 55 56<driconf> 57 <!-- Please always enable app-specific workarounds for all drivers and 58 screens. --> 59 <device> 60 <application name="Unigine Sanctuary" executable="Sanctuary"> 61 <option name="force_glsl_extensions_warn" value="true" /> 62 <option name="disable_blend_func_extended" value="true" /> 63 <option name="disable_arb_gpu_shader5" value="true" /> 64 </application> 65 66 <application name="Unigine Tropics" executable="Tropics"> 67 <option name="force_glsl_extensions_warn" value="true" /> 68 <option name="disable_blend_func_extended" value="true" /> 69 <option name="disable_arb_gpu_shader5" value="true" /> 70 </application> 71 72 <application name="Unigine Heaven (32-bit)" executable="heaven_x86"> 73 <option name="allow_glsl_extension_directive_midshader" value="true" /> 74 <!-- remove dual_color_blend_by_location if 4.1 ever comes out --> 75 <option name="dual_color_blend_by_location" value="true" /> 76 </application> 77 78 <application name="Unigine Heaven (64-bit)" executable="heaven_x64"> 79 <option name="allow_glsl_extension_directive_midshader" value="true" /> 80 <!-- remove dual_color_blend_by_location if 4.1 ever comes out --> 81 <option name="dual_color_blend_by_location" value="true" /> 82 </application> 83 84 <application name="Unigine Valley (32-bit)" executable="valley_x86"> 85 <option name="allow_glsl_extension_directive_midshader" value="true" /> 86 <!-- remove dual_color_blend_by_location if 1.1 ever comes out --> 87 <option name="dual_color_blend_by_location" value="true" /> 88 </application> 89 90 <application name="Unigine Valley (64-bit)" executable="valley_x64"> 91 <option name="allow_glsl_extension_directive_midshader" value="true" /> 92 <!-- remove dual_color_blend_by_location if 1.1 ever comes out --> 93 <option name="dual_color_blend_by_location" value="true" /> 94 </application> 95 96 <application name="Unigine OilRush (32-bit)" executable="OilRush_x86"> 97 <option name="disable_blend_func_extended" value="true" /> 98 <option name="allow_glsl_extension_directive_midshader" value="true" /> 99 </application> 100 101 <application name="Unigine OilRush (64-bit)" executable="OilRush_x64"> 102 <option name="disable_blend_func_extended" value="true" /> 103 <option name="allow_glsl_extension_directive_midshader" value="true" /> 104 </application> 105 106 <application name="Savage 2" executable="savage2.bin"> 107 <option name="disable_glsl_line_continuations" value="true" /> 108 </application> 109 110 <application name="Topogun (32-bit)" executable="topogun32"> 111 <option name="always_have_depth_buffer" value="true" /> 112 </application> 113 114 <application name="Topogun (64-bit)" executable="topogun64"> 115 <option name="always_have_depth_buffer" value="true" /> 116 </application> 117 118 <application name="Dead Island (incl. Definitive Edition)" executable="DeadIslandGame"> 119 <option name="allow_glsl_extension_directive_midshader" value="true" /> 120 121 <!-- For the Definitive Edition which shares the same executable name --> 122 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 123 </application> 124 125 <application name="Dead Island Riptide Definitive Edition" executable="DeadIslandRiptideGame"> 126 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 127 </application> 128 129 <application name="Doom 3: BFG" executable="Doom3BFG.exe"> 130 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 131 <option name="force_glsl_extensions_warn" value="true" /> 132 </application> 133 134 <application name="Dying Light" executable="DyingLightGame"> 135 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 136 </application> 137 138 <application name="Full Bore" executable="fullbore"> 139 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 140 </application> 141 142 <application name="RAGE (64-bit)" executable="Rage64.exe"> 143 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 144 </application> 145 146 <application name="RAGE (32-bit)" executable="Rage.exe"> 147 <option name="allow_glsl_builtin_variable_redeclaration" value="true" /> 148 </application> 149 150 <application name="Second Life" executable="do-not-directly-run-secondlife-bin"> 151 <option name="allow_glsl_extension_directive_midshader" value="true" /> 152 </application> 153 154 <application name="Warsow (32-bit)" executable="warsow.i386"> 155 <option name="allow_glsl_extension_directive_midshader" value="true" /> 156 </application> 157 158 <application name="Warsow (64-bit)" executable="warsow.x86_64"> 159 <option name="allow_glsl_extension_directive_midshader" value="true" /> 160 </application> 161 162 <application name="Rust" executable="rust"> 163 <option name="glsl_zero_init" value="true"/> 164 </application> 165 166 <application name="Divinity: Original Sin Enhanced Edition" executable="EoCApp"> 167 <option name="allow_glsl_extension_directive_midshader" value="true" /> 168 <option name="glsl_correct_derivatives_after_discard" value="true" /> 169 <option name="force_gl_vendor" value="ATI Technologies, Inc."/> 170 </application> 171 172 <application name="Metro 2033 Redux / Metro Last Night Redux" executable="metro"> 173 <option name="allow_glsl_extension_directive_midshader" value="true" /> 174 </application> 175 176 <application name="Worms W.M.D" executable="Worms W.M.Dx64"> 177 <option name="allow_higher_compat_version" value="true" /> 178 </application> 179 180 <application name="Crookz - The Big Heist" executable="Crookz"> 181 <option name="allow_higher_compat_version" value="true" /> 182 </application> 183 184 <application name="Tropico 5" executable="Tropico5"> 185 <option name="allow_higher_compat_version" value="true" /> 186 </application> 187 188 <application name="Faster than Light (32-bit)" executable="FTL.x86"> 189 <option name="allow_higher_compat_version" value="true" /> 190 </application> 191 192 <application name="Faster than Light (64-bit)" executable="FTL.amd64"> 193 <option name="allow_higher_compat_version" value="true" /> 194 </application> 195 196 <application name="Final Fantasy VIII: Remastered" executable="FFVIII.exe"> 197 <option name="allow_higher_compat_version" value="true" /> 198 </application> 199 200 <application name="The Culling" executable="Victory"> 201 <option name="force_glsl_version" value="440" /> 202 </application> 203 204 <application name="Spec Ops: The Line (32-bit)" executable="specops.i386"> 205 <option name="force_glsl_abs_sqrt" value="true" /> 206 </application> 207 208 <application name="Spec Ops: The Line (64-bit)" executable="specops"> 209 <option name="force_glsl_abs_sqrt" value="true" /> 210 </application> 211 212 <application name="Kerbal Space Program (32-bit)" executable="KSP.x86"> 213 <option name="glsl_zero_init" value="true"/> 214 </application> 215 216 <application name="Kerbal Space Program (64-bit)" executable="KSP.x86_64"> 217 <option name="glsl_zero_init" value="true"/> 218 </application> 219 220 <application name="Luna Sky" executable="lunasky"> 221 <option name="force_glsl_version" value="130"/> 222 <option name="glsl_ignore_write_to_readonly_var" value="true"/> 223 </application> 224 225 <application name="Rocket League" executable="RocketLeague"> 226 <option name="glsl_correct_derivatives_after_discard" value="true"/> 227 </application> 228 229 <application name="The Witcher 2" executable="witcher2"> 230 <option name="glsl_correct_derivatives_after_discard" value="true"/> 231 </application> 232 233 <application name="Unreal 4 Editor" executable="UE4Editor"> 234 <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/> 235 </application> 236 237 <application name="Observer" executable="TheObserver-Linux-Shipping"> 238 <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/> 239 </application> 240 241 <application name="Steamroll" executable="Steamroll-Linux-Shipping"> 242 <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/> 243 </application> 244 245 <application name="Refunct" executable="Refunct-Linux-Shipping"> 246 <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/> 247 </application> 248 249 <application name="We Happy Few" executable="GlimpseGame"> 250 <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/> 251 </application> 252 253 <application name="Google Earth VR" executable="Earth.exe"> 254 <option name="allow_glsl_builtin_const_expression" value="true"/> 255 <option name="allow_glsl_relaxed_es" value="true"/> 256 </application> 257 258 <application name="Champions of Regnum" executable="game"> 259 <option name="allow_extra_pp_tokens" value="true" /> 260 </application> 261 262 <application name="Wolfenstein The Old Blood" executable="WolfOldBlood_x64.exe"> 263 <option name="force_compat_profile" value="true" /> 264 </application> 265 266 <application name="ARMA 3" executable="arma3.x86_64"> 267 <option name="glsl_correct_derivatives_after_discard" value="true"/> 268 </application> 269 270 <application name="Epic Games Launcher" executable="EpicGamesLauncher.exe"> 271 <option name="force_compat_profile" value="true" /> 272 </application> 273 274 <application name="GpuTest" executable="GpuTest"> 275 <!-- GiMark benchmark from GpuTest does not initialize .w channel of 276 lightDir0 and lightDir1 varyings in the vertex shader while 277 uses it in the fragment shader. --> 278 <option name="glsl_zero_init" value="true"/> 279 </application> 280 281 <application name="Curse of the Dead Gods" executable="Curse of the Dead Gods.exe"> 282 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/2598 --> 283 <option name="glsl_zero_init" value="true" /> 284 </application> 285 286 <application name="GRID Autosport" executable="GridAutosport"> 287 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/1258 --> 288 <option name="force_integer_tex_nearest" value="true" /> 289 </application> 290 291 <application name="DIRT: Showdown" executable="dirt.i386"> 292 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/1258 --> 293 <option name="force_integer_tex_nearest" value="true" /> 294 </application> 295 296 <!-- Workarounds for SPECviewperf relying on invalid / non-conformant 297 OpenGL behavior. Older SPECviewperf versions might also need this. 298 --> 299 <application name="SPECviewperf13" executable="viewperf"> 300 <option name="allow_glsl_extension_directive_midshader" value="true" /> 301 <option name="allow_glsl_120_subset_in_110" value="true" /> 302 <option name="force_gl_names_reuse" value="true" /> 303 <!-- This makes it use GL_NVX_gpu_memory_info to query memory info 304 instead of non-existent GLX_AMD_gpu_association. Yes, it checks 305 the vendor string, not the extension list. --> 306 <option name="force_gl_vendor" value="NVIDIA Corporation" /> 307 <!-- creo-02 doesn't enable GL_EXT_shader_image_load_store in GLSL --> 308 <option name="force_glsl_extensions_warn" value="true" /> 309 <option name="allow_draw_out_of_order" value="true" /> 310 <option name="mesa_glthread" value="true" /> 311 <option name="mesa_no_error" value="true" /> 312 <!-- Creating 10-bit pbuffers fails in the X server and returns BadAlloc. --> 313 <option name="allow_rgb10_configs" value="false" /> 314 </application> 315 316 <!-- Workaround for unsynchronized VBO updates on Dead Cells android 317 game. (Possibly also needed for desktop version?) 318 --> 319 <application name="Dead-Cells" executable="com.playdigious.deadcells.mobile"> 320 <option name="ignore_map_unsynchronized" value="true" /> 321 </application> 322 323 <application name="Teardown" executable="teardown.exe"> 324 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714 --> 325 <option name="force_integer_tex_nearest" value="true" /> 326 <option name="allow_glsl_extension_directive_midshader" value="true" /> 327 </application> 328 329 <application name="Golf With Your Friends" executable="Golf With Your Friends.x86_64"> 330 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/4547 --> 331 <option name="glsl_correct_derivatives_after_discard" value="true" /> 332 </application> 333 334 <!-- The GL thread allowlist is below, workarounds are above. 335 Keep it that way. --> 336 337 <application name="Alien Isolation" executable="AlienIsolation"> 338 <option name="mesa_glthread" value="true"/> 339 </application> 340 341 <application name="BioShock Infinite" executable="bioshock.i386"> 342 <option name="mesa_glthread" value="true"/> 343 </application> 344 345 <application name="Borderlands 2" executable="Borderlands2"> 346 <option name="mesa_glthread" value="true"/> 347 </application> 348 349 <application name="Civilization 5" executable="Civ5XP"> 350 <option name="mesa_glthread" value="true"/> 351 </application> 352 <application name="Civilization 6" executable="Civ6"> 353 <option name="mesa_glthread" value="true"/> 354 </application> 355 <application name="Civilization 6" executable="Civ6Sub"> 356 <option name="mesa_glthread" value="true"/> 357 </application> 358 359 <application name="Dreamfall Chapters" executable="Dreamfall Chapters"> 360 <option name="mesa_glthread" value="true"/> 361 </application> 362 363 <application name="Hitman" executable="HitmanPro"> 364 <option name="mesa_glthread" value="true"/> 365 </application> 366 367 <application name="Renowned Explorers: International Society" executable="abbeycore_steam"> 368 <option name="mesa_glthread" value="true"/> 369 </application> 370 371 <application name="Saints Row 2" executable="saintsrow2.i386"> 372 <option name="mesa_glthread" value="true"/> 373 </application> 374 <application name="Saints Row: The Third" executable="SaintsRow3.i386"> 375 <option name="mesa_glthread" value="true"/> 376 </application> 377 <application name="Saints Row IV" executable="SaintsRow4.i386"> 378 <option name="mesa_glthread" value="true"/> 379 </application> 380 <application name="Saints Row: Gat out of Hell" executable="SaintsRow4GooH.i386"> 381 <option name="mesa_glthread" value="true"/> 382 </application> 383 384 <application name="Sid Meier's: Civilization Beyond Earth" executable="CivBE"> 385 <option name="mesa_glthread" value="true"/> 386 </application> 387 388 <application name="The Witcher 2" executable="witcher2"> 389 <option name="mesa_glthread" value="true"/> 390 </application> 391 392 <application name="American Truck Simulator" executable="amtrucks"> 393 <option name="mesa_glthread" value="true"/> 394 </application> 395 <application name="Euro Truck Simulator 2" executable="eurotrucks2"> 396 <option name="mesa_glthread" value="true"/> 397 </application> 398 399 <application name="Overlord" executable="overlord.i386"> 400 <option name="mesa_glthread" value="true"/> 401 </application> 402 <application name="Overlord 2" executable="overlord2.i386"> 403 <option name="mesa_glthread" value="true"/> 404 </application> 405 406 <application name="Oil Rush" executable="OilRush_x86"> 407 <option name="mesa_glthread" value="true"/> 408 </application> 409 410 <application name="War Thunder" executable="aces"> 411 <option name="mesa_glthread" value="true"/> 412 </application> 413 <application name="War Thunder (Wine)" executable="aces.exe"> 414 <option name="mesa_glthread" value="true"/> 415 </application> 416 417 <application name="Outlast" executable="OLGame.x86_64"> 418 <option name="mesa_glthread" value="true"/> 419 </application> 420 421 <application name="Spec Ops: The Line (32-bit)" executable="specops.i386"> 422 <option name="mesa_glthread" value="true"/> 423 </application> 424 <application name="Spec Ops: The Line (64-bit)" executable="specops"> 425 <option name="mesa_glthread" value="true"/> 426 </application> 427 <application name="Mount and Blade Warband" executable="mb_warband_linux"> 428 <option name="mesa_glthread" value="true"/> 429 </application> 430 431 <application name="Valheim" executable="valheim.x86_64"> 432 <option name="mesa_glthread" value="true"/> 433 </application> 434 435 <!-- around 18% performance increase in min and avg fps, max fps capped at 60fps. --> 436 <application name="Medieval II: Total War" executable="Medieval2"> 437 <option name="mesa_glthread" value="true"/> 438 </application> 439 440 <!-- min fps ~21 ===> ~27 while standing still in game, also higher gpu load. --> 441 <application name="Carnivores: Dinosaur Hunter Reborn (wine)" executable="Carnivores-master.exe"> 442 <option name="mesa_glthread" value="true"/> 443 </application> 444 445 <!-- around 30% increase in avg fps --> 446 <application name="Far Cry 2 (wine)" executable="farcry2.exe"> 447 <option name="mesa_glthread" value="true"/> 448 </application> 449 450 <application name="Talos Principle" executable="Talos"> 451 <option name="mesa_glthread" value="true"/> 452 </application> 453 <application name="Talos Principle (Unrestricted)" executable="Talos_Unrestricted"> 454 <option name="mesa_glthread" value="true"/> 455 </application> 456 457 <!-- roughly 30% increase in fps --> 458 <application name="7 Days To Die (64-bit)" executable="7DaysToDie.x86_64"> 459 <option name="mesa_glthread" value="true"/> 460 </application> 461 <application name="7 Days To Die (32-bit)" executable="7DaysToDie.x86"> 462 <option name="mesa_glthread" value="true"/> 463 </application> 464 465 <!-- Emulator tends to have a high CPU load for GPU emulation, so separating the driver overhead yield an improvement. --> 466 <application name="Dolphin Emulator" executable="dolphin-emu"> 467 <option name="mesa_glthread" value="true"/> 468 </application> 469 <application name="Citra - Nintendo 3DS Emulator" executable="citra-qt"> 470 <option name="mesa_glthread" value="true"/> 471 </application> 472 <application name="Yuzu - Nintendo Switch Emulator" executable="yuzu"> 473 <option name="mesa_glthread" value="true"/> 474 </application> 475 <application name="RPCS3" executable="rpcs3"> 476 <option name="mesa_glthread" value="true"/> 477 </application> 478 <application name="PCSX2" executable="PCSX2"> 479 <option name="mesa_glthread" value="true"/> 480 </application> 481 482 <application name="From The Depths" executable="From_The_Depths.x86_64"> 483 <option name="mesa_glthread" value="true"/> 484 </application> 485 486 <!-- #Minimum fps 136 ==> 144 --> 487 <application name="Plague Inc Evolved (32-bit)" executable="PlagueIncEvolved.x86"> 488 <option name="mesa_glthread" value="true" /> 489 </application> 490 <application name="Plague Inc Evolved (64-bit)" executable="PlagueIncEvolved.x86_64"> 491 <option name="mesa_glthread" value="true" /> 492 </application> 493 494 <!-- 10% fps increase --> 495 <application name="Beholder (32-bit)" executable="Beholder.x86"> 496 <option name="mesa_glthread" value="true" /> 497 </application> 498 <application name="Beholder (64-bit)" executable="Beholder.x86_64"> 499 <option name="mesa_glthread" value="true" /> 500 </application> 501 502 <!-- X3 games: 15% avg fps increase while flying in space --> 503 <application name="X3 Reunion" executable="X3R_main"> 504 <option name="mesa_glthread" value="true" /> 505 </application> 506 <application name="X3 Terran Conflict" executable="X3TR_main"> 507 <option name="mesa_glthread" value="true" /> 508 </application> 509 <application name="X3 Albion Prelude" executable="X3AP_main"> 510 <option name="mesa_glthread" value="true" /> 511 </application> 512 513 <!-- +30% avg fps --> 514 <application name="Borderlands: The Pre-Sequel" executable="BorderlandsPreSequel"> 515 <option name="mesa_glthread" value="true" /> 516 </application> 517 <application name="Transport Fever" executable="TransportFever"> 518 <option name="mesa_glthread" value="true" /> 519 </application> 520 521 <!-- Adaptive sync denylist follows below: --> 522 <application name="gnome-shell" executable="gnome-shell"> 523 <option name="adaptive_sync" value="false" /> 524 <option name="v3d_nonmsaa_texture_size_limit" value="true" /> 525 </application> 526 <application name="Desktop — Plasma" executable="plasmashell"> 527 <option name="adaptive_sync" value="false" /> 528 </application> 529 <application name="budgie-wm" executable="budgie-wm"> 530 <option name="adaptive_sync" value="false" /> 531 </application> 532 <application name="kwin_x11" executable="kwin_x11"> 533 <option name="adaptive_sync" value="false" /> 534 </application> 535 <application name="ksmserver-logout-greeter" executable="ksmserver-logout-greeter"> 536 <option name="adaptive_sync" value="false" /> 537 </application> 538 <application name="ksmserver-switchuser-greeter" executable="ksmserver-switchuser-greeter"> 539 <option name="adaptive_sync" value="false" /> 540 </application> 541 <application name="kscreenlocker_greet" executable="kscreenlocker_greet"> 542 <option name="adaptive_sync" value="false" /> 543 </application> 544 <application name="startplasma" executable="startplasma"> 545 <option name="adaptive_sync" value="false" /> 546 </application> 547 <application name="sddm-greeter" executable="sddm-greeter"> 548 <option name="adaptive_sync" value="false" /> 549 </application> 550 <application name="krunner" executable="krunner"> 551 <option name="adaptive_sync" value="false" /> 552 </application> 553 <application name="spectacle" executable="spectacle"> 554 <option name="adaptive_sync" value="false" /> 555 </application> 556 <application name="marco" executable="marco"> 557 <option name="adaptive_sync" value="false" /> 558 </application> 559 <application name="compton" executable="compton"> 560 <option name="adaptive_sync" value="false" /> 561 </application> 562 <application name="picom" executable="picom"> 563 <option name="adaptive_sync" value="false" /> 564 </application> 565 <application name="xfwm4" executable="xfwm4"> 566 <option name="adaptive_sync" value="false" /> 567 </application> 568 <application name="Enlightenment" executable="enlightenment"> 569 <option name="adaptive_sync" value="false" /> 570 </application> 571 <application name="mutter" executable="mutter"> 572 <option name="adaptive_sync" value="false" /> 573 <option name="v3d_nonmsaa_texture_size_limit" value="true" /> 574 </application> 575 <application name="muffin" executable="muffin"> 576 <option name="adaptive_sync" value="false" /> 577 </application> 578 <application name="compiz" executable="compiz"> 579 <option name="adaptive_sync" value="false" /> 580 </application> 581 <application name="Firefox" executable="firefox"> 582 <option name="adaptive_sync" value="false" /> 583 </application> 584 <application name="Firefox ESR" executable="firefox-esr"> 585 <option name="adaptive_sync" value="false" /> 586 </application> 587 <application name="Chromium" executable="chromium"> 588 <option name="adaptive_sync" value="false" /> 589 </application> 590 <application name="Google Chrome" executable="chrome"> 591 <option name="adaptive_sync" value="false" /> 592 </application> 593 <application name="Iceweasel" executable="iceweasel"> 594 <option name="adaptive_sync" value="false" /> 595 </application> 596 <application name="Epiphany" executable="epiphany"> 597 <option name="adaptive_sync" value="false" /> 598 </application> 599 <application name="Konqueror" executable="konqueror"> 600 <option name="adaptive_sync" value="false" /> 601 </application> 602 <application name="Falkon" executable="falkon"> 603 <option name="adaptive_sync" value="false" /> 604 </application> 605 <application name="Seamonkey" executable="seamonkey"> 606 <option name="adaptive_sync" value="false" /> 607 </application> 608 <application name="Waterfox" executable="waterfox"> 609 <option name="adaptive_sync" value="false" /> 610 </application> 611 <application name="VLC Media Player" executable="vlc"> 612 <option name="adaptive_sync" value="false" /> 613 </application> 614 <application name="Totem" executable="totem"> 615 <option name="adaptive_sync" value="false" /> 616 </application> 617 <application name="Dragon Player" executable="dragon"> 618 <option name="adaptive_sync" value="false" /> 619 </application> 620 <application name="mpv" executable="mpv"> 621 <option name="adaptive_sync" value="false" /> 622 </application> 623 <application name="Xorg" executable="Xorg"> 624 <option name="v3d_nonmsaa_texture_size_limit" value="true" /> 625 </application> 626 627 <application name="gfxbench" executable="testfw_app"> 628 <option name="vk_x11_override_min_image_count" value="2" /> 629 <option name="vk_wsi_force_bgra8_unorm_first" value="true" /> 630 </application> 631 632 <application name="Brink" executable="brink.exe"> 633 <option name="glx_extension_override" value="-GLX_OML_swap_method" /> 634 <option name="allow_higher_compat_version" value="true" /> 635 </application> 636 637 <application name="Enter The Gungeon (32 bits)" executable="EtG.x86"> 638 <option name="glsl_correct_derivatives_after_discard" value="true" /> 639 </application> 640 641 <application name="Enter The Gungeon (64 bits)" executable="EtG.x86_64"> 642 <option name="glsl_correct_derivatives_after_discard" value="true" /> 643 </application> 644 645 <!-- Workaround for STAR WARS: Knights of the Old Republic relying on 646 non-specified OpenGL behavior (expecting texture names to be 647 small enough to fit in the static array). 648 --> 649 <application name="SWKOTOR (wine)" executable="swkotor.exe"> 650 <option name="force_gl_names_reuse" value="true"/> 651 </application> 652 653 <application name="Assault Android Cactus (32-bit)" executable="cactus_demo.x86"> 654 <option name="vs_position_always_precise" value="true" /> 655 </application> 656 <application name="Assault Android Cactus (64-bit)" executable="cactus_demo.x86_64"> 657 <option name="vs_position_always_precise" value="true" /> 658 </application> 659 <application name="Assault Android Cactus (32-bit)" executable="cactus.x86"> 660 <option name="vs_position_always_precise" value="true" /> 661 </application> 662 <application name="Assault Android Cactus (64-bit)" executable="cactus.x86_64"> 663 <option name="vs_position_always_precise" value="true" /> 664 </application> 665 666 <!-- Vulkan workarounds: --> 667 668 <!-- Works around the game not starting (does not deal with 669 the implementation returning more images than the minimum 670 specified by the application. --> 671 <engine engine_name_match="UnrealEngine4.*" engine_versions="0:23"> 672 <option name="vk_x11_strict_image_count" value="true" /> 673 </engine> 674 675 <!-- DOOM crashes at startup without this workaround if the adaptative sync mode is enabled. --> 676 <application name="DOOM" executable="DOOMx64vk.exe"> 677 <option name="vk_x11_strict_image_count" value="true" /> 678 </application> 679 680 <!-- DOOM Doom Eternal happily creates a swapchain with 2 images for 681 IMMEDIATE. This fixes a 10% performance issue with RADV. --> 682 <application name="DOOMEternal" executable="DOOMEternalx64vk.exe"> 683 <option name="vk_x11_ensure_min_image_count" value="true" /> 684 </application> 685 686 <!-- Wolfenstein: Youngblood crashes at startup on xwayland without this workaround. --> 687 <application name="Wolfenstein: Youngblood(x64vk)" executable="Youngblood_x64vk.exe"> 688 <option name="vk_x11_strict_image_count" value="true" /> 689 </application> 690 691 <!-- Metro:Exodus crashes at startup on xwayland without this workaround. --> 692 <application name="Metro: Exodus" application_name_match="metroexodus"> 693 <option name="vk_x11_strict_image_count" value="true" /> 694 </application> 695 </device> 696 <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.--> 697 <device driver="vmwgfx"> 698 <application name="gnome-shell" executable="gnome-shell"> 699 <option name="glx_extension_override" value="-GLX_EXT_buffer_age -GLX_OML_sync_control -GLX_SGI_video_sync" /> 700 </application> 701 <application name="Compiz" executable="Compiz"> 702 <option name="glx_extension_override" value="-GLX_EXT_buffer_age -GLX_OML_sync_control" /> 703 </application> 704 </device> 705 <device driver="radeonsi"> 706 <application name="Half Life 2" executable="hl2_linux"> 707 <option name="mesa_glthread" value="true" /> 708 </application> 709 <application name="Black Mesa" executable="bms_linux"> 710 <option name="mesa_glthread" value="true" /> 711 </application> 712 <application name="Alien Isolation" executable="AlienIsolation"> 713 <option name="force_gl_vendor" value="X.Org" /> 714 </application> 715 <application name="American Truck Simulator" executable="amtrucks"> 716 <option name="radeonsi_zerovram" value="true" /> 717 </application> 718 <application name="Counter-Strike Global Offensive" executable="csgo_linux64"> 719 <option name="mesa_glthread" value="true" /> 720 <option name="radeonsi_zerovram" value="true" /> 721 <option name="radeonsi_clamp_div_by_zero" value="true" /> 722 </application> 723 <application name="Rocket League" executable="RocketLeague"> 724 <option name="radeonsi_zerovram" value="true" /> 725 </application> 726 <application name="DiRT Rally" executable="DirtRally"> 727 <option name="radeonsi_prim_restart_tri_strips_only" value="true"/> 728 </application> 729 <application name="Gfx Bench" executable="gfxbench_gl"> 730 <!-- Helps offscreen tests --> 731 <option name="mesa_glthread" value="true"/> 732 </application> 733 <!-- YoYo game engine workarounds --> 734 <application name="Monolith demo5" executable="runner" sha1="0c40d509a74e357f0280cb1bd882e9cd94b91bdf"> 735 <option name="radeonsi_sync_compile" value="true" /> 736 <option name="radeonsi_zerovram" value="true" /> 737 </application> 738 <!-- Note: The following fix works for both Memoranda and Riptale as they have the same sha --> 739 <application name="Memoranda / Riptale" executable="runner" sha1="aa13dec6af63c88f308ebb487693896434a4db56"> 740 <option name="radeonsi_sync_compile" value="true" /> 741 </application> 742 <application name="Nuclear Throne" executable="runner" sha1="84814e8db125e889f5d9d4195a0ca72a871ea1fd"> 743 <option name="radeonsi_sync_compile" value="true" /> 744 </application> 745 <application name="Undertale" executable="runner" sha1="dfa302e7ec78641d0696dbbc1a06fc29f34ff1ff"> 746 <option name="radeonsi_sync_compile" value="true" /> 747 </application> 748 <application name="Turmoil" executable="runner" sha1="cbbf757aaab289859f8dae191a7d63afc30643d9"> 749 <option name="radeonsi_sync_compile" value="true" /> 750 </application> 751 <application name="Peace, Death!" executable="runner" sha1="5b909f3d21799773370adf084f649848f098234e"> 752 <option name="radeonsi_sync_compile" value="true" /> 753 </application> 754 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/2647 --> 755 <application name="Kerbal Space Program" executable="KSP.x86_64"> 756 <option name="radeonsi_no_infinite_interp" value="true" /> 757 </application> 758 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/2686 --> 759 <application name="7 Days to Die" executable="7DaysToDie.x86_64"> 760 <option name="radeonsi_zerovram" value="true" /> 761 </application> 762 <application name="7 Days to Die" executable="7DaysToDie.x86"> 763 <option name="radeonsi_zerovram" value="true" /> 764 </application> 765 <application name="SPECviewperf13" executable="viewperf"> 766 <option name="radeonsi_sync_compile" value="true" /> 767 <option name="radeonsi_clamp_div_by_zero" value="true" /> 768 <option name="radeonsi_inline_uniforms" value="true" /> 769 <option name="radeonsi_shader_culling" value="true" /> 770 </application> 771 <application name="Road Redemption" executable="RoadRedemption.x86_64"> 772 <option name="radeonsi_clamp_div_by_zero" value="true" /> 773 </application> 774 <application name="Wasteland 2" executable="WL2"> 775 <option name="radeonsi_clamp_div_by_zero" value="true" /> 776 </application> 777 <application name="Teardown" executable="teardown.exe"> 778 <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714 --> 779 <option name="radeonsi_clamp_div_by_zero" value="true" /> 780 <option name="radeonsi_no_infinite_interp" value="true" /> 781 </application> 782 <application name="SpaceEngine" executable="SpaceEngine.exe"> 783 <option name="force_gl_vendor" value="X.Org" /> 784 </application> 785 </device> 786 <device driver="i965"> 787 <application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor"> 788 <option name="vs_position_always_invariant" value="true" /> 789 </application> 790 </device> 791 <device driver="iris"> 792 <application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor"> 793 <option name="vs_position_always_invariant" value="true" /> 794 </application> 795 </device> 796 <device driver="radv"> 797 <!-- Engine workarounds --> 798 <engine engine_name_match="vkd3d"> 799 <option name="radv_zero_vram" value="true" /> 800 </engine> 801 802 <engine engine_name_match="Quantic Dream Engine"> 803 <option name="radv_zero_vram" value="true" /> 804 <option name="radv_lower_discard_to_demote" value="true" /> 805 <option name="radv_disable_tc_compat_htile_general" value="true" /> 806 </engine> 807 808 <!-- Game workarounds --> 809 <application name="Shadow Of The Tomb Raider (Native)" application_name_match="ShadowOfTheTomb"> 810 <option name="radv_report_llvm9_version_string" value="true" /> 811 <option name="radv_invariant_geom" value="true" /> 812 </application> 813 814 <application name="Shadow Of The Tomb Raider (DX11/DX12)" application_name_match="SOTTR.exe"> 815 <option name="radv_invariant_geom" value="true" /> 816 </application> 817 818 <application name="RAGE 2" executable="RAGE2.exe"> 819 <option name="radv_enable_mrt_output_nan_fixup" value="true" /> 820 </application> 821 822 <application name="Path of Exile (64-bit, Steam)" executable="PathOfExile_x64Steam.exe"> 823 <option name="radv_no_dynamic_bounds" value="true" /> 824 <option name="radv_absolute_depth_bias" value="true" /> 825 </application> 826 <application name="Path of Exile (32-bit, Steam)" executable="PathOfExileSteam.exe"> 827 <option name="radv_no_dynamic_bounds" value="true" /> 828 <option name="radv_absolute_depth_bias" value="true" /> 829 </application> 830 <application name="Path of Exile (64-bit)" executable="PathOfExile_x64.exe"> 831 <option name="radv_no_dynamic_bounds" value="true" /> 832 <option name="radv_absolute_depth_bias" value="true" /> 833 </application> 834 <application name="Path of Exile (32-bit)" executable="PathOfExile.exe"> 835 <option name="radv_no_dynamic_bounds" value="true" /> 836 <option name="radv_absolute_depth_bias" value="true" /> 837 </application> 838 839 <application name="The Surge 2" application_name_match="Fledge"> 840 <option name="radv_disable_shrink_image_store" value="true" /> 841 <option name="radv_zero_vram" value="true" /> 842 </application> 843 844 <application name="World War Z (and World War Z: Aftermath)" application_name_match="WWZ|wwz"> 845 <option name="radv_override_uniform_offset_alignment" value="16" /> 846 <option name="radv_disable_shrink_image_store" value="true" /> 847 <option name="radv_invariant_geom" value="true" /> 848 </application> 849 850 <application name="DOOM VFR" application_name_match="DOOM_VFR"> 851 <option name="radv_no_dynamic_bounds" value="true" /> 852 </application> 853 854 <application name="DOOM Eternal" application_name_match="DOOMEternal"> 855 <option name="radv_zero_vram" value="true" /> 856 </application> 857 858 <application name="No Man's Sky" application_name_match="No Man's Sky"> 859 <option name="radv_lower_discard_to_demote" value="true" /> 860 </application> 861 862 <application name="Monster Hunter World" application_name_match="MonsterHunterWorld.exe"> 863 <option name="radv_invariant_geom" value="true" /> 864 </application> 865 866 <application name="DOOM (2016)" application_name_match="DOOM$"> 867 <option name="radv_disable_dcc" value="true" /> 868 </application> 869 870 <application name="Wolfenstein II" application_name_match="Wolfenstein II The New Colossus"> 871 <option name="radv_disable_dcc" value="true" /> 872 </application> 873 874 <application name="RDR2" application_name_match="Red Dead Redemption 2"> 875 <option name="radv_report_apu_as_dgpu" value="true" /> 876 </application> 877 878 <application name="Resident Evil Village" application_name_match="re8.exe"> 879 <option name="radv_invariant_geom" value="true" /> 880 </application> 881 </device> 882 <!-- 883 The android game hall of shame: 884 885 Workarounds for android games that are not aware of open source drivers. 886 These can be removed as games have their allowlists updated. 887 --> 888 <device driver="msm" device="FD618"> 889 <application name="Call of Duty Mobile" executable="com.activision.callofduty.shooter"> 890 <option name="force_gl_renderer" value="Adreno (TM) 618"/> 891 <option name="force_gl_vendor" value="Qualcomm"/> 892 </application> 893 <application name="Asphalt 8" executable="com.gameloft.android.ANMP.GloftA8HM"> 894 <!-- Note: asphalt8's allowlist seems to not have been updated recently 895 enough to be aware of "Adreno (TM) 618", but we seem to otherwise 896 have enough headroom to opt into the higher settings. (Conversely 897 the allowlist seems to allow G72-MP3 into the higher tier, despite 898 not being able to maintain fps.. possibly it is not properly 899 differentiating between various core MPn configurations. So I'm 900 going to use that to justify claiming to be a618's *slightly* 901 bigger brother) 902 --> 903 <option name="force_gl_renderer" value="Adreno (TM) 630"/> 904 <option name="force_gl_vendor" value="Qualcomm"/> 905 </application> 906 <application name="Asphalt 9" executable="com.gameloft.android.ANMP.GloftA9HM"> 907 <option name="force_gl_renderer" value="Adreno (TM) 618"/> 908 <option name="force_gl_vendor" value="Qualcomm"/> 909 </application> 910 <application name="PUBG Mobile" executable="com.tencent.ig"> 911 <!-- Note: Maxed out a630 settings still limits max framerate, yet GPU 912 is below 45% utilization (mostly closer to 40%). If I claim to 913 be a640, that unlocks "Extreme" framerate (and "Ultra HD" graphics). 914 With "Extreme" + "HDR" we are comfortably at 60fps with plenty of 915 headroom. "Extreme" + "Ultra HD" (max settings for a640) we are 916 starting to approach the limit. I'll stick with a630 to be 917 conservative, but argueably we could go higher. (This flagship 918 gaming phone thing is a scam!) 919 --> 920 <option name="force_gl_renderer" value="Adreno (TM) 630"/> 921 <option name="force_gl_vendor" value="Qualcomm"/> 922 </application> 923 </device> 924</driconf> 925