SHA256
1
0
forked from pool/Mesa
Mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch

20 lines
1.2 KiB
Diff

Index: mesa-19.3.1/src/util/00-mesa-defaults.conf
===================================================================
--- mesa-19.3.1.orig/src/util/00-mesa-defaults.conf
+++ mesa-19.3.1/src/util/00-mesa-defaults.conf
@@ -523,6 +523,14 @@ TODO: document the other workarounds.
<application name="DiRT Rally" executable="DirtRally">
<option name="radeonsi_prim_restart_tri_strips_only" value="true"/>
</application>
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
+ <application name="Chromium" executable="chromium">
+ <option name="allow_rgb10_configs" value="false" />
+ </application>
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Totem. https://bugzilla.opensuse.org/show_bug.cgi?id=1142270 -->
+ <application name="Totem" executable="totem">
+ <option name="allow_rgb10_configs" value="false" />
+ </application>
</device>
<device driver="virtio_gpu">
<!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES