SHA256
1
0
forked from pool/Mesa

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
This commit is contained in:
Michal Srb 2018-10-26 11:17:37 +00:00 committed by Git OBS Bridge
parent 91f4a178d8
commit e94d97e054
5 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 25 14:29:20 UTC 2018 - msrb@suse.com
- n_drirc-disable-rgb10-for-chromium-on-amd.patch
* Disallow rgb10 configs for chromium with radeonsi to prevent
broken colors in video. (boo#1113211)
-------------------------------------------------------------------
Mon Oct 22 13:24:59 UTC 2018 - sndirsch@suse.com

View File

@ -141,6 +141,7 @@ Patch50: U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch
Patch51: U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch
Patch52: U_python-Fix-rich-comparisons.patch
Patch53: U_python-Use-key-functions-when-sorting-containers.patch
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@ -731,6 +732,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch51 -p1
%patch52 -p1
%patch53 -p1
%patch54 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ...

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 25 14:29:20 UTC 2018 - msrb@suse.com
- n_drirc-disable-rgb10-for-chromium-on-amd.patch
* Disallow rgb10 configs for chromium with radeonsi to prevent
broken colors in video. (boo#1113211)
-------------------------------------------------------------------
Mon Oct 22 13:24:59 UTC 2018 - sndirsch@suse.com

View File

@ -140,6 +140,7 @@ Patch50: U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch
Patch51: U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch
Patch52: U_python-Fix-rich-comparisons.patch
Patch53: U_python-Use-key-functions-when-sorting-containers.patch
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@ -730,6 +731,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch51 -p1
%patch52 -p1
%patch53 -p1
%patch54 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ...

View File

@ -0,0 +1,15 @@
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>