File n_drirc-disable-rgb10-for-chromium-on-amd.patch of Package A_sr-Mesa

20
 
1
Index: mesa-24.3.0-rc1/src/util/00-mesa-defaults.conf
2
===================================================================
3
--- mesa-24.3.0-rc1.orig/src/util/00-mesa-defaults.conf
4
+++ mesa-24.3.0-rc1/src/util/00-mesa-defaults.conf
5
@@ -1040,6 +1040,14 @@ TODO: document the other workarounds.
6
         <application name="Rocket League" executable="RocketLeague">
7
             <option name="radeonsi_zerovram" value="true" />
8
         </application>
9
+        <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
10
+        <application name="Chromium" executable="chromium">
11
+            <option name="allow_rgb10_configs" value="false" />
12
+        </application>
13
+        <!-- This is workaround to prevent distorted colors on hardware accelerated video in Totem. https://bugzilla.opensuse.org/show_bug.cgi?id=1142270 -->
14
+        <application name="Totem" executable="totem">
15
+            <option name="allow_rgb10_configs" value="false" />
16
+        </application>
17
         <application name="Gfx Bench" executable="gfxbench_gl">
18
             <!-- Helps offscreen tests -->
19
             <option name="mesa_glthread_app_profile" value="1"/>
20