Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2023-03-03 22:24:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Mesa" Fri Mar 3 22:24:08 2023 rev:473 rq:1068561 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2023-03-01 16:14:02.546596814 +0100 +++ /work/SRC/openSUSE:Factory/.Mesa.new.31432/Mesa.changes 2023-03-03 22:24:09.526453232 +0100 @@ -1,0 +2,9 @@ +Wed Mar 1 21:55:02 UTC 2023 - Stefan Dirsch <sndir...@suse.com> + +- U_glx-fix-indirect-initialization-crash.patch + * Fixes: b090246a ("glx: Only compute client GL extensions for + indirect contexts") + * Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8393 +- supersedes n_Revert-glx-Only-compute-client-GL-extensions-for-ind.patch + +------------------------------------------------------------------- Old: ---- n_Revert-glx-Only-compute-client-GL-extensions-for-ind.patch New: ---- U_glx-fix-indirect-initialization-crash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.GtndPR/_old 2023-03-03 22:24:11.406460376 +0100 +++ /var/tmp/diff_new_pack.GtndPR/_new 2023-03-03 22:24:11.410460390 +0100 @@ -139,7 +139,7 @@ Source7: Mesa.keyring Patch2: n_add-Mesa-headers-again.patch # To address https://gitlab.freedesktop.org/mesa/mesa/-/issues/8393 -Patch3: n_Revert-glx-Only-compute-client-GL-extensions-for-ind.patch +Patch3: U_glx-fix-indirect-initialization-crash.patch # never to be upstreamed Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch58: u_dep_xcb.patch ++++++ U_glx-fix-indirect-initialization-crash.patch ++++++ >From 1eab7e69e2ba84244f551f6901f4307a687a9504 Mon Sep 17 00:00:00 2001 From: Illia Polishchuk <illia.a.polishc...@globallogic.com> Date: Tue, 28 Feb 2023 16:07:59 +0200 Subject: [PATCH] glx: fix indirect initialization crash Fixes: b090246a ("glx: Only compute client GL extensions for indirect contexts") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8393 Reviewed-by: Adam Jackson <a...@redhat.com> Signed-off-by: Illia Polishchuk <illia.a.polishc...@globallogic.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21591> --- src/glx/glxext.c | 9 ++++++++- src/glx/indirect_glx.c | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/glx/glxext.c b/src/glx/glxext.c index 755a75ab568..4b3496b5a14 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -813,10 +813,17 @@ AllocAndFetchScreenConfigs(Display * dpy, struct glx_display * priv) if (psc == NULL) psc = applegl_create_screen(i, priv); #else + bool indirect = false; if (psc == NULL) - psc = indirect_create_screen(i, priv); + { + psc = indirect_create_screen(i, priv); + indirect = true; + } #endif priv->screens[i] = psc; + + if(indirect) /* Load extensions required only for indirect glx */ + glxSendClientInfo(priv, i); } SyncHandle(); return GL_TRUE; diff --git a/src/glx/indirect_glx.c b/src/glx/indirect_glx.c index dc3464fc99e..abe561f700b 100644 --- a/src/glx/indirect_glx.c +++ b/src/glx/indirect_glx.c @@ -365,7 +365,6 @@ indirect_create_screen(int screen, struct glx_display * priv) return NULL; glx_screen_init(psc, screen, priv); - glxSendClientInfo(priv, screen); psc->vtable = &indirect_screen_vtable; return psc; -- 2.35.3