Mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch

17 lines
857 B
Diff
Raw Normal View History

Index: mesa-19.0.0/src/util/00-mesa-defaults.conf
===================================================================
--- mesa-19.0.0.orig/src/util/00-mesa-defaults.conf
+++ mesa-19.0.0/src/util/00-mesa-defaults.conf
@@ -412,6 +412,11 @@ TODO: document the other workarounds.
<application name="mpv" executable="mpv">
<option name="adaptive_sync" value="false" />
</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>
</device>
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
<device driver="vmwgfx">