mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
179 lines
8.9 KiB
Diff
179 lines
8.9 KiB
Diff
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
|
|
index 2b45eda..0cf8099 100644
|
|
--- a/src/util/00-mesa-defaults.conf
|
|
+++ b/src/util/00-mesa-defaults.conf
|
|
@@ -166,6 +166,12 @@ TODO: document the other workarounds.
|
|
<option name="disable_uniform_array_resize" value="true" />
|
|
</application>
|
|
|
|
+ <application name="The Chronicles of Riddick: Assault on Dark Athena" executable="DarkAthena.exe">
|
|
+ <option name="disable_uniform_array_resize" value="true" />
|
|
+ <option name="alias_shader_extension" value="GL_ATI_shader_texture_lod:GL_ARB_shader_texture_lod" />
|
|
+ <option name="allow_vertex_texture_bias" value="true" />
|
|
+ </application>
|
|
+
|
|
<application name="Dying Light" executable="DyingLightGame">
|
|
<option name="allow_glsl_builtin_variable_redeclaration" value="true" />
|
|
</application>
|
|
@@ -364,6 +370,16 @@ TODO: document the other workarounds.
|
|
<option name="lower_depth_range_rate" value="0.8" />
|
|
</application>
|
|
|
|
+ <application name="The Spirit and The Mouse" executable="TheSpiritAndTheMouse.exe">
|
|
+ <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/9738 -->
|
|
+ <option name="lower_depth_range_rate" value="0.8" />
|
|
+ </application>
|
|
+
|
|
+ <application name="Penumbra: Overture" executable="Penumbra.exe">
|
|
+ <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/8425 -->
|
|
+ <option name="allow_multisampled_copyteximage" value="true" />
|
|
+ </application>
|
|
+
|
|
<!-- Workarounds for SPECviewperf relying on invalid / non-conformant
|
|
OpenGL behavior. Older SPECviewperf versions might also need this.
|
|
-->
|
|
@@ -713,6 +729,7 @@ TODO: document the other workarounds.
|
|
<application name="gnome-shell" executable="gnome-shell">
|
|
<option name="adaptive_sync" value="false" />
|
|
<option name="v3d_nonmsaa_texture_size_limit" value="true" />
|
|
+ <option name="mesa_glthread" value="false"/>
|
|
</application>
|
|
<application name="Desktop — Plasma" executable="plasmashell">
|
|
<option name="adaptive_sync" value="false" />
|
|
@@ -908,6 +925,49 @@ TODO: document the other workarounds.
|
|
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/5437 -->
|
|
<option name="vk_dont_care_as_load" value="true" />
|
|
</application>
|
|
+
|
|
+ <!-- Path of Exile stops with "unsupported backbuffer count" when more than
|
|
+ 3 swapchain image are reported. -->
|
|
+ <application name="Path of Exile" executable="PathOfExile_x64Steam.exe">
|
|
+ <option name="vk_x11_override_min_image_count" value="3" />
|
|
+ </application>
|
|
+ <application name="Path of Exile" executable="PathOfExileSteam.exe">
|
|
+ <option name="vk_x11_override_min_image_count" value="3" />
|
|
+ </application>
|
|
+
|
|
+ <!-- Disable fp16 support for browsers, since there is too much
|
|
+ broken WebGL out there that uses the wrong precision.
|
|
+ Bonus workaround for Firefox bug #1845309. -->
|
|
+ <application name="Firefox" executable="firefox">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Firefox ESR" executable="firefox-esr">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Chromium" executable="chromium">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Google Chrome" executable="chrome">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Iceweasel" executable="iceweasel">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Epiphany" executable="epiphany">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Konqueror" executable="konqueror">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Falkon" executable="falkon">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Seamonkey" executable="seamonkey">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
+ <application name="Waterfox" executable="waterfox">
|
|
+ <option name="no_fp16" value="true" />
|
|
+ </application>
|
|
</device>
|
|
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
|
|
<device driver="vmwgfx">
|
|
@@ -1016,6 +1076,11 @@ TODO: document the other workarounds.
|
|
<option name="mesa_glthread" value="false"/>
|
|
</application>
|
|
|
|
+ <application name="Borderlands 2 (Native, OpenGL, 32bit)" executable="Borderlands2">
|
|
+ <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/9205 -->
|
|
+ <option name="glsl_correct_derivatives_after_discard" value="true" />
|
|
+ </application>
|
|
+
|
|
<!-- GL_POINT_SMOOTH is used in Quake II to render particles -->
|
|
<application name="Quake II" executable="quake2-engine">
|
|
<option name="zink_emulate_point_smooth" value="true"/>
|
|
@@ -1026,6 +1091,9 @@ TODO: document the other workarounds.
|
|
<application name="Quake II (wine)" executable="quake2.exe">
|
|
<option name="zink_emulate_point_smooth" value="true"/>
|
|
</application>
|
|
+ <application name="Tomb Raider 2013" executable="TombRaider">
|
|
+ <option name="zink_shader_object_enable" value="true" />
|
|
+ </application>
|
|
</device>
|
|
<device driver="iris">
|
|
<application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor">
|
|
@@ -1078,6 +1146,28 @@ TODO: document the other workarounds.
|
|
<application name="NieR:Automata" executable="NieRAutomata.exe">
|
|
<option name="limit_trig_input_range" value="true" />
|
|
</application>
|
|
+ <application name="Cyberpunk 2077" executable="Cyberpunk2077.exe">
|
|
+ <option name="force_vk_vendor" value="-1" />
|
|
+ </application>
|
|
+ <application name="Cyberpunk 2077" executable="Cyberpunk2077.exe">
|
|
+ <!--
|
|
+ Cyberpunk 2077 uses a watchdog thread to terminate
|
|
+ the process in case the render thread hasn't responded within 2 minutes.
|
|
+ This option speeds up shader compilation.
|
|
+ See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9241
|
|
+ -->
|
|
+ <option name="shader_spilling_rate" value="15" />
|
|
+ </application>
|
|
+ <application name="Elden Ring" executable="eldenring.exe">
|
|
+ <option name="fake_sparse" value="true" />
|
|
+ </application>
|
|
+ <!-- Needed to avoid XeSS code paths. -->
|
|
+ <application name="Marvel's Spider-Man Remastered" executable="Spider-Man.exe">
|
|
+ <option name="force_vk_vendor" value="-1" />
|
|
+ </application>
|
|
+ <application name="Hogwarts Legacy" executable="HogwartsLegacy.exe">
|
|
+ <option name="force_vk_vendor" value="-1" />
|
|
+ </application>
|
|
<application name="DEATH STRANDING" executable="ds.exe">
|
|
<option name="force_vk_vendor" value="-1" />
|
|
</application>
|
|
diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf
|
|
index f127955..6e6f77a 100644
|
|
--- a/src/util/00-radv-defaults.conf
|
|
+++ b/src/util/00-radv-defaults.conf
|
|
@@ -105,6 +105,7 @@ Application bugs worked around in this file:
|
|
<option name="radv_override_uniform_offset_alignment" value="16" />
|
|
<option name="radv_disable_shrink_image_store" value="true" />
|
|
<option name="radv_invariant_geom" value="true" />
|
|
+ <option name="dual_color_blend_by_location" value="true" />
|
|
</application>
|
|
|
|
<application name="DOOM VFR" application_name_match="DOOM_VFR">
|
|
@@ -156,6 +157,12 @@ Application bugs worked around in this file:
|
|
<option name="radv_app_layer" value="metroexodus" />
|
|
</application>
|
|
|
|
+ <application name="Hellblade: Senua's Sacrifice" application_name_match="HellbladeGame-Win64-Shipping.exe">
|
|
+ <!-- RT shaders in Hellblade: Senua's Sacrifice cause misrenders because they assume full subgroups.
|
|
+ This is only guaranteed with wave64, so force wave64 on for this game. -->
|
|
+ <option name="radv_rt_wave64" value="true" />
|
|
+ </application>
|
|
+
|
|
<!-- OpenGL Game workarounds (zink) -->
|
|
<application name="Black Geyser: Couriers of Darkness" executable="BlackGeyser.x86_64">
|
|
<option name="radv_zero_vram" value="true" />
|
|
@@ -188,5 +195,9 @@ Application bugs worked around in this file:
|
|
<application name="Rocket League" executable="RocketLeague">
|
|
<option name="radv_zero_vram" value="true" />
|
|
</application>
|
|
+
|
|
+ <application name="Forza Horizon 5" application_name_match="ForzaHorizon5.exe">
|
|
+ <option name="vk_x11_override_min_image_count" value="4" />
|
|
+ </application>
|
|
</device>
|
|
</driconf>
|