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

* fixes patch (boo#1145188)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=905
This commit is contained in:
Stefan Dirsch 2020-01-05 20:12:49 +00:00 committed by Git OBS Bridge
parent 2751947d00
commit 0275127f5c
5 changed files with 22 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 5 20:07:47 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- n_drirc-disable-rgb10-for-chromium-on-amd.patch
* fixes patch (boo#1145188)
-------------------------------------------------------------------
Sun Dec 29 09:09:03 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa-drivers
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 5 20:07:47 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- n_drirc-disable-rgb10-for-chromium-on-amd.patch
* fixes patch (boo#1145188)
-------------------------------------------------------------------
Sun Dec 29 09:09:03 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,22 +1,19 @@
Index: mesa-19.2.0/src/util/00-mesa-defaults.conf
Index: mesa-19.3.1/src/util/00-mesa-defaults.conf
===================================================================
--- mesa-19.2.0.orig/src/util/00-mesa-defaults.conf
+++ mesa-19.2.0/src/util/00-mesa-defaults.conf
@@ -490,6 +490,17 @@ TODO: document the other workarounds.
<option name="glx_disable_ext_buffer_age" value="true" />
<option name="glx_disable_oml_sync_control" value="true" />
--- 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="radeonsi">
<application name="ARK: Survival Evolved (and unintentionally the UE4 demo template)" executable="ShooterGame">
<device driver="virtio_gpu">
<!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES