Andreas Boll pushed to branch debian-stretch at X Strike Force / xserver / xorg-server
Commits:
-
40d524fa
by Andreas Boll at 2018-10-31T16:58:53Z
3 changed files:
- debian/changelog
- + debian/patches/12_glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch
- debian/patches/series
Changes:
1 |
+xorg-server (2:1.19.2-1+deb9u5) stretch; urgency=medium
|
|
2 |
+ |
|
3 |
+ * Cherry-pick c2954b16c (glx: do not pick sRGB config for 32-bit RGBA
|
|
4 |
+ visual) from upstream. Fixes various blending issues with kwin and
|
|
5 |
+ Mesa >= 18.0 (i.e. Mesa from stretch-backports) (Closes: #908601).
|
|
6 |
+ Thanks to Nicholas D Steeves and Robert Trebula for testing!
|
|
7 |
+ |
|
8 |
+ -- Andreas Boll <aboll@debian.org> Wed, 31 Oct 2018 17:58:03 +0100
|
|
9 |
+ |
|
1 | 10 |
xorg-server (2:1.19.2-1+deb9u4) stretch-security; urgency=medium
|
2 | 11 |
|
3 | 12 |
* Disable -logfile and -modulepath when running with elevated privileges.
|
1 |
+commit c2954b16c8730c7ed8441fd8dba25900f3aed265
|
|
2 |
+Author: Tapani Pälli <tapani.palli@intel.com>
|
|
3 |
+Date: Tue Nov 28 09:23:29 2017 +0200
|
|
4 |
+ |
|
5 |
+ glx: do not pick sRGB config for 32-bit RGBA visual
|
|
6 |
+
|
|
7 |
+ This fixes blending issues seen with kwin and gnome-shell when
|
|
8 |
+ 32bit visual has sRGB capability set.
|
|
9 |
+
|
|
10 |
+ Reviewed-by: Adam Jackson <ajax@redhat.com>
|
|
11 |
+ Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
|
|
12 |
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103699
|
|
13 |
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103646
|
|
14 |
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103655
|
|
15 |
+ |
|
16 |
+diff --git a/glx/glxscreens.c b/glx/glxscreens.c
|
|
17 |
+index 73444152a..596d972e0 100644
|
|
18 |
+--- a/glx/glxscreens.c
|
|
19 |
++++ b/glx/glxscreens.c
|
|
20 |
+@@ -271,6 +271,11 @@ pickFBConfig(__GLXscreen * pGlxScreen, VisualPtr visual)
|
|
21 |
+ /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
|
|
22 |
+ if (visual->nplanes == 32 && config->rgbBits != 32)
|
|
23 |
+ continue;
|
|
24 |
++ /* If it's the 32-bit RGBA visual, do not pick sRGB capable config.
|
|
25 |
++ * This can cause issues with compositors that are not sRGB aware.
|
|
26 |
++ */
|
|
27 |
++ if (visual->nplanes == 32 && config->sRGBCapable == GL_TRUE)
|
|
28 |
++ continue;
|
|
29 |
+ /* Can't use the same FBconfig for multiple X visuals. I think. */
|
|
30 |
+ if (config->visualID != 0)
|
|
31 |
+ continue;
|
... | ... | @@ -10,3 +10,4 @@ |
10 | 10 |
09_Xi-Do-not-try-to-swap-GenericEvent.patch
|
11 | 11 |
10_Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch
|
12 | 12 |
11_xfree86-Disable-logfile-and-modulepath.patch
|
13 |
+12_glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch
|