Processed: 1072971 also affects pyside2

2024-06-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 1072971 + src:pyside2
Bug #1072971 [mesa] mesa: fails to initialize OpenGL on s390x: Unexpected 
format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb
Added indication that 1072971 affects src:pyside2
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1072971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072971
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



mesa_24.1.2-1_source.changes ACCEPTED into unstable

2024-06-27 Thread Debian FTP Masters
Thank you for your contribution to Debian.



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 27 Jun 2024 15:23:32 +0300
Source: mesa
Built-For-Profiles: noudeb
Architecture: source
Version: 24.1.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Changes:
 mesa (24.1.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Bump build-deps on directx-headers-dev, libvdpau-dev,
 wayland-protocols.
Checksums-Sha1:
 5f8481b34cafe04f5e0475bf50868751a504a0a5 5924 mesa_24.1.2-1.dsc
 5cdb8437b70ba4c384d602052b7396aab2018363 29057184 mesa_24.1.2.orig.tar.xz
 dca147a3e1903cac8fa242aebdcbdc1cf5f41fcb 488 mesa_24.1.2.orig.tar.xz.asc
 7fdcdb3738278db0d266eaaee8ba158dbdceb9ed 103464 mesa_24.1.2-1.debian.tar.xz
 3a0768c1ac78430fb7f4b2f30c798cb36b45f1a9 10604 mesa_24.1.2-1_source.buildinfo
Checksums-Sha256:
 55d8f8ed734aa3f65dd5d50274de80a08d696e990204fad8d2018d853993a288 5924 
mesa_24.1.2-1.dsc
 a2c584c8d57d3bd8ba11790a6e9ae3713f8821df96c059b78afb29dd975c9f45 29057184 
mesa_24.1.2.orig.tar.xz
 896a3f36343c8e51b8586b86d9615eaef6f69c41bb96cd92b2106cae2f4b2dcf 488 
mesa_24.1.2.orig.tar.xz.asc
 a2e934391bbc00e4eb1c9bdc46009c57238b2b543dea200e6877f84f1585b29e 103464 
mesa_24.1.2-1.debian.tar.xz
 27524c83002b74172eb7f391ca7f4f9d23a0e282bcb90388c1c3a652ec2088c5 10604 
mesa_24.1.2-1_source.buildinfo
Files:
 b1297de0f393be6e5e57bd9b9da15ad8 5924 graphics optional mesa_24.1.2-1.dsc
 f5cf225770a50bf7fcaffb7a16ce4705 29057184 graphics optional 
mesa_24.1.2.orig.tar.xz
 881946c73b9e22e4bb818db1f849c520 488 graphics optional 
mesa_24.1.2.orig.tar.xz.asc
 bf42eae709d33152bd84f9ab0cbe913d 103464 graphics optional 
mesa_24.1.2-1.debian.tar.xz
 cfbe5240e417bc3390132bbd74f52729 10604 graphics optional 
mesa_24.1.2-1_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmZ9Wg4ACgkQy3AxZaiJ
hNy+4A/5Abezx1X1/AEdKlrVR2oxrHnK93rYcioMLxXuUxcg3agpacCqwfSu2Y2x
o3y9R1Mv/0UAa/WKbRfGUS5y2aaQWaTf4jyPem4YBESi04NhBcScIrYfWwwu3Tjs
d1suxvIzmZy1/sW5CSPELRZI5lC77jGRGL5vwAVCExXEu72wLe4CG/YNkzPpu69X
H56DNAJ0sytalLp/xfIKcFWZ1XomV0HM8PXluMxJ7xCY2dwhdbzze8cdRUtHSGwI
d8pqrEmEr7vkDvD5ax5JKOwPtpf+pSNc9/WgTNDI9fwd2TccHKLlueQA8QK3OtYZ
bW0zXfSWjDifJ72dHkwcji6onRNg6OXJLt1aU7gmTm2S9ASahG667Bts2l3zbW2T
X3mIxpt8fSC4+YL1s/67j7Zob/2X+PRT2M4Qsc+ocoNWpOrxU/l59zp4lrUj2SkS
XAtdcQ2m6GgdFMh/Ev9vFTyGPAW9cmEnJdzoFX+6kPmobFUeNt9oqLz03rNu4/A1
g/PgvUL6cejhJX8RagCghJrRXeE4ItYCbrn2dA+gut5G9pOZ0qVtrBhqTkziWyfj
bFo49+nv/jOl19/VEGJSQzpuRUOpu7e5JiQX7TyUdXpG7a9gUFbCSjfPUEQKCT70
fQNOlgCIA1M2a30kis5KBhCknVpAdTC/waTSCRZc5r9hFM3sRBM=
=Svzs
-END PGP SIGNATURE-



pgpP0MjLCLleh.pgp
Description: PGP signature


Processing of mesa_24.1.2-1_source.changes

2024-06-27 Thread Debian FTP Masters
mesa_24.1.2-1_source.changes uploaded successfully to localhost
along with the files:
  mesa_24.1.2-1.dsc
  mesa_24.1.2.orig.tar.xz
  mesa_24.1.2.orig.tar.xz.asc
  mesa_24.1.2-1.debian.tar.xz
  mesa_24.1.2-1_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



[Git][xorg-team/lib/mesa] Pushed new tag mesa-24.1.2-1

2024-06-27 Thread Timo Aaltonen (@tjaalton)


Timo Aaltonen pushed new tag mesa-24.1.2-1 at X Strike Force / lib / mesa

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/tree/mesa-24.1.2-1
You're receiving this email because of your account on salsa.debian.org.




Processed: Re: Bug#1072971: mesa: fails to initialize OpenGL on s390x: Unexpected format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb

2024-06-27 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 upstream, fixed-upstream patch
Bug #1072971 [mesa] mesa: fails to initialize OpenGL on s390x: Unexpected 
format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb
Added tag(s) patch, upstream, and fixed-upstream.
> forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/11360 
> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29837
Bug #1072971 [mesa] mesa: fails to initialize OpenGL on s390x: Unexpected 
format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb
Set Bug forwarded-to-address to 
'https://gitlab.freedesktop.org/mesa/mesa/-/issues/11360 
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29837'.

-- 
1072971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072971
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1072971: mesa: fails to initialize OpenGL on s390x: Unexpected format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb

2024-06-27 Thread Diederik de Haas
Control: tag -1 upstream, fixed-upstream patch
Control: forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/11360 
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29837

On 14 Jun 2024 13:36:54 +0200 Emilio Pozuelo Monfort  wrote:
> Control: reassign -1 mesa 24.1.1-2
> Control: affects -1 kuserfeedback
> Control: retitle -1 mesa: fails to initialize OpenGL on s390x: Unexpected
> format PIPE_FORMAT_X8B8G8R8_SRGB in st_new_renderbuffer_fb
> 
> Actually this looks like a regression in mesa in 24.1. A few rdeps are
> failing their autopkgtests with the same PIPE_FORMAT_X8B8G8R8_SRGB error,
> e.g.:
> 
> https://ci.debian.net/packages/k/kodi/testing/s390x/47675600/
> https://ci.debian.net/packages/o/openscad/testing/s390x/47689316/

This is fixed in upstream commit 5ca85d75c05de9df7c3170122dfdb04bc795b43a
("dri: Fix BGR format exclusion"), which I attached for your convenience.

I haven't tried it as I don't have access to a s390x machine, so if
someone can verify it, that would be most welcome.

Cheers,
  Diederik>From 5ca85d75c05de9df7c3170122dfdb04bc795b43a Mon Sep 17 00:00:00 2001
From: Daniel Stone 
Date: Fri, 21 Jun 2024 11:24:31 +0100
Subject: [PATCH] dri: Fix BGR format exclusion
Origin: upstream, https://gitlab.freedesktop.org/mesa/mesa/-/commit/5ca85d75c05de9df7c3170122dfdb04bc795b43a
Bug-Debian: https://bugs.debian.org/1072971

The check we had for BGR vs. RGB formats was testing completely the
wrong thing. Fix it so we can restore the previous set of configs we
expose to the frontend, which also fixes surfaceless platform on s390x.

Signed-off-by: Daniel Stone 
Fixes: ad0edea53a73 ("st/dri: Check format properties from format helpers")
Closes: mesa/mesa#11360
Part-of: 
---
 src/gallium/frontends/dri/dri_screen.c | 20 
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/gallium/frontends/dri/dri_screen.c b/src/gallium/frontends/dri/dri_screen.c
index 97d11f324ee0b..2e9ce01147a89 100644
--- a/src/gallium/frontends/dri/dri_screen.c
+++ b/src/gallium/frontends/dri/dri_screen.c
@@ -386,17 +386,21 @@ dri_fill_in_modes(struct dri_screen *screen)
   uint8_t msaa_modes[MSAA_VISUAL_MAX_SAMPLES];
 
   /* Expose only BGRA ordering if the loader doesn't support RGBA ordering. */
-  if (!allow_rgba_ordering &&
-  util_format_get_component_shift(pipe_formats[f],
-  UTIL_FORMAT_COLORSPACE_RGB, 0)
+  if (!allow_rgba_ordering) {
+  unsigned sh_ax = util_format_get_component_shift(pipe_formats[f], UTIL_FORMAT_COLORSPACE_RGB, 3);
+  unsigned sh_b = util_format_get_component_shift(pipe_formats[f], UTIL_FORMAT_COLORSPACE_RGB, 2);
 #if UTIL_ARCH_BIG_ENDIAN
- >
+  unsigned sz_b = util_format_get_component_bits(pipe_formats[f], UTIL_FORMAT_COLORSPACE_RGB, 2);
+
+  if (sz_b + sh_b == sh_ax)
+ continue;
 #else
- <
+  unsigned sz_ax = util_format_get_component_bits(pipe_formats[f], UTIL_FORMAT_COLORSPACE_RGB, 3);
+
+  if (sz_ax + sh_ax == sh_b)
+ continue;
 #endif
-  util_format_get_component_shift(pipe_formats[f],
-  UTIL_FORMAT_COLORSPACE_RGB, 2))
- continue;
+   }
 
   if (!allow_rgb10 &&
   util_format_get_component_bits(pipe_formats[f],
-- 
GitLab



signature.asc
Description: This is a digitally signed message part.