Mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch
Michal Srb e94d97e054 Accepting request 644832 from home:michalsrb:bug1113211:X11:XOrg
- n_drirc-disable-rgb10-for-chromium-on-amd.patch
  * Disallow rgb10 configs for chromium with radeonsi to prevent
    broken colors in video. (boo#1113211)

OBS-URL: https://build.opensuse.org/request/show/644832
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=777
2018-10-26 11:17:37 +00:00

16 lines
795 B
Diff

Index: mesa-18.2.3/src/util/drirc
===================================================================
--- mesa-18.2.3.orig/src/util/drirc
+++ mesa-18.2.3/src/util/drirc
@@ -330,5 +330,10 @@ TODO: document the other workarounds.
<application name="ARK: Survival Evolved (and unintentionally the UE4 demo template)" executable="ShooterGame">
<option name="radeonsi_clear_db_cache_before_clear" 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>
</device>
</driconf>