Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mesa: update to version 23.3.0.
@ 2023-11-29 23:31 SpidFightFR
  2023-11-29 23:41 ` SpidFightFR
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-29 23:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

There is a new pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages update-mesa
https://github.com/void-linux/void-packages/pull/47494

mesa: update to version 23.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey lads, a PR to update mesa to version 23.3.0, i hope it will be less of a mess for raytracing than 23.2.1 tho...!
It'll be a draft for now, as i'm testing this out, once that's done, i'll go public.

A patch file from https://github.com/void-linux/void-packages/pull/47494.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-mesa-47494.patch --]
[-- Type: text/x-diff, Size: 7350 bytes --]

From 3948090d952f5751716763dca1961c21863e46ac Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Thu, 30 Nov 2023 00:05:27 +0100
Subject: [PATCH] mesa: update to version 23.3.0.

---
 ...ch64-force-persistent-buffers-to-GTT.patch | 39 ----------
 ...bce3e249a34665b2c42b20bfdbdc7f32147f.patch | 76 ++-----------------
 srcpkgs/mesa/template                         |  6 +-
 3 files changed, 10 insertions(+), 111 deletions(-)
 delete mode 100644 srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch

diff --git a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
deleted file mode 100644
index 0890a795306b0..0000000000000
--- a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://gist.github.com/jnettlet/4dd6e43bcd5a551df29b12d3212e6edd
-
-From d72aa8ae74ffb7329003f9f23ffa05833af951ab Mon Sep 17 00:00:00 2001
-From: Jon Nettleton <jon@solid-run.com>
-Date: Fri, 14 Aug 2020 13:36:08 +0200
-Subject: [PATCH] radeonsi: On Aarch64 force persistent buffers to GTT
-
-This fixes a glamore corruption issue on the HoneyComb and by
-internet reports should also fix problems seen on Huaweii
-Kunpeng hardware.
-
-The root cause of the corruption needs to be worked out, but
-this patch also adds a noticable performance improvement. The
-aquarium webgl demo under chromium increases from 39-49 FPS
-when 5000 fish being rendered is selected.  Glmark scores also
-improve by ~200 with no specific tests showing any regression.
-
-Signed-off-by: Jon Nettleton <jon@solid-run.com>
----
- src/gallium/drivers/radeonsi/si_buffer.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c
-index 6b58aebee2d..c9e983367a0 100644
---- a/src/gallium/drivers/radeonsi/si_buffer.c
-+++ b/src/gallium/drivers/radeonsi/si_buffer.c
-@@ -91,6 +91,10 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
-        */
-       if (!sscreen->info.is_amdgpu)
-          res->domains = RADEON_DOMAIN_GTT;
-+
-+#if defined(PIPE_ARCH_AARCH64)
-+      res->domains = RADEON_DOMAIN_GTT;
-+#endif
-    }
- 
-    /* Tiled textures are unmappable. Always put them in VRAM. */
--- 
-2.26.2
diff --git a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch b/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
index debefd3999d32..63ecaecd16e9d 100644
--- a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
+++ b/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
@@ -1,75 +1,13 @@
-From 9590bce3e249a34665b2c42b20bfdbdc7f32147f Mon Sep 17 00:00:00 2001
-From: WinLinux1028 <reimu@hakurei.win>
-Date: Tue, 11 Jul 2023 18:16:01 +0900
-Subject: [PATCH] radeonsi: prefix function with si_ to prevent name collision
-
-Fixed a build error caused by multiple gfx11_init_query symbols when building with iris and radeonsi specified in gallium-drivers.
-
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9238
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24045>
----
- src/gallium/drivers/radeonsi/gfx11_query.c | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.c     | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.h     | 4 ++--
- 3 files changed, 6 insertions(+), 6 deletions(-)
-
 diff --git a/src/gallium/drivers/radeonsi/gfx11_query.c b/src/gallium/drivers/radeonsi/gfx11_query.c
-index bfcd8e2511050..2a331cc3bda25 100644
+index 792afdc..0c94ae0 100644
 --- a/src/gallium/drivers/radeonsi/gfx11_query.c
 +++ b/src/gallium/drivers/radeonsi/gfx11_query.c
-@@ -422,13 +422,13 @@ struct pipe_query *gfx11_sh_query_create(struct si_screen *screen, enum pipe_que
-    return (struct pipe_query *)query;
+@@ -21,7 +21,7 @@ static void emit_shader_query(struct si_context *sctx, unsigned index)
+    qbuf->head += sizeof(struct gfx11_sh_query_buffer_mem);
  }
  
--void gfx11_init_query(struct si_context *sctx)
-+void si_gfx11_init_query(struct si_context *sctx)
+-static void gfx11_release_query_buffers(struct si_context *sctx,
++static void si_gfx11_init_query(struct si_context *sctx,
+                                         struct gfx11_sh_query_buffer *first,
+                                         struct gfx11_sh_query_buffer *last)
  {
-    list_inithead(&sctx->shader_query_buffers);
-    sctx->atoms.s.shader_query.emit = emit_shader_query;
- }
- 
--void gfx11_destroy_query(struct si_context *sctx)
-+void si_gfx11_destroy_query(struct si_context *sctx)
- {
-    if (!sctx->shader_query_buffers.next)
-       return;
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
-index fb5c02c473b96..2b4fceb89b198 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.c
-+++ b/src/gallium/drivers/radeonsi/si_pipe.c
-@@ -192,7 +192,7 @@ static void si_destroy_context(struct pipe_context *context)
-    si_release_all_descriptors(sctx);
- 
-    if (sctx->gfx_level >= GFX10 && sctx->has_graphics)
--      gfx11_destroy_query(sctx);
-+      si_gfx11_destroy_query(sctx);
- 
-    if (sctx->sqtt) {
-       struct si_screen *sscreen = sctx->screen;
-@@ -637,7 +637,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
-    /* Initialize graphics-only context functions. */
-    if (sctx->has_graphics) {
-       if (sctx->gfx_level >= GFX10)
--         gfx11_init_query(sctx);
-+         si_gfx11_init_query(sctx);
-       si_init_msaa_functions(sctx);
-       si_init_shader_functions(sctx);
-       si_init_state_functions(sctx);
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
-index 55f1d1788f1a1..389716854f9a6 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.h
-+++ b/src/gallium/drivers/radeonsi/si_pipe.h
-@@ -1616,8 +1616,8 @@ void *si_create_query_result_cs(struct si_context *sctx);
- void *gfx11_create_sh_query_result_cs(struct si_context *sctx);
- 
- /* gfx11_query.c */
--void gfx11_init_query(struct si_context *sctx);
--void gfx11_destroy_query(struct si_context *sctx);
-+void si_gfx11_init_query(struct si_context *sctx);
-+void si_gfx11_destroy_query(struct si_context *sctx);
- 
- /* si_test_image_copy_region.c */
- void si_test_image_copy_region(struct si_screen *sscreen);
--- 
-GitLab
-
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index f36ebe5938041..ae9f8420a489e 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=23.2.1
-revision=2
+version=23.3.0
+revision=1
 build_style=meson
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
 configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
 changelog="https://docs.mesa3d.org/relnotes.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc
+checksum=50f729dd60ed6335b989095baad81ef5edf7cfdd4b4b48b9b955917cb07d69c5
 
 build_options="wayland"
 build_options_default="wayland"

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
@ 2023-11-29 23:41 ` SpidFightFR
  2023-11-30  0:00 ` [PR PATCH] [Updated] " SpidFightFR
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-29 23:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1832872267

Comment:
Alright, looks like [9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch](https://github.com/void-linux/void-packages/pull/47494/files#diff-1a118364f8f615f00bb39a1feb2235265e4d3fcce75794e398a63be08a28c0af) is creating errors... checking that...

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
  2023-11-29 23:41 ` SpidFightFR
@ 2023-11-30  0:00 ` SpidFightFR
  2023-11-30  0:01 ` SpidFightFR
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-30  0:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages update-mesa
https://github.com/void-linux/void-packages/pull/47494

mesa: update to version 23.3.0.
#### Testing the changes
- I tested the changes in this PR:**briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey lads, a PR to update mesa to version 23.3.0, i hope it will be less of a mess for raytracing than 23.2.1 tho...!
It'll be a draft for now, as i'm testing this out, once that's done, i'll go public.

A patch file from https://github.com/void-linux/void-packages/pull/47494.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-mesa-47494.patch --]
[-- Type: text/x-diff, Size: 6929 bytes --]

From c010b4626ab564f69dbf154e6c648b97d1f4d756 Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Thu, 30 Nov 2023 00:05:27 +0100
Subject: [PATCH] mesa: update to version 23.3.0.

---
 ...ch64-force-persistent-buffers-to-GTT.patch | 39 ----------
 ...bce3e249a34665b2c42b20bfdbdc7f32147f.patch | 75 -------------------
 srcpkgs/mesa/template                         |  6 +-
 3 files changed, 3 insertions(+), 117 deletions(-)
 delete mode 100644 srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
 delete mode 100644 srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch

diff --git a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
deleted file mode 100644
index 0890a795306b0..0000000000000
--- a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://gist.github.com/jnettlet/4dd6e43bcd5a551df29b12d3212e6edd
-
-From d72aa8ae74ffb7329003f9f23ffa05833af951ab Mon Sep 17 00:00:00 2001
-From: Jon Nettleton <jon@solid-run.com>
-Date: Fri, 14 Aug 2020 13:36:08 +0200
-Subject: [PATCH] radeonsi: On Aarch64 force persistent buffers to GTT
-
-This fixes a glamore corruption issue on the HoneyComb and by
-internet reports should also fix problems seen on Huaweii
-Kunpeng hardware.
-
-The root cause of the corruption needs to be worked out, but
-this patch also adds a noticable performance improvement. The
-aquarium webgl demo under chromium increases from 39-49 FPS
-when 5000 fish being rendered is selected.  Glmark scores also
-improve by ~200 with no specific tests showing any regression.
-
-Signed-off-by: Jon Nettleton <jon@solid-run.com>
----
- src/gallium/drivers/radeonsi/si_buffer.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c
-index 6b58aebee2d..c9e983367a0 100644
---- a/src/gallium/drivers/radeonsi/si_buffer.c
-+++ b/src/gallium/drivers/radeonsi/si_buffer.c
-@@ -91,6 +91,10 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
-        */
-       if (!sscreen->info.is_amdgpu)
-          res->domains = RADEON_DOMAIN_GTT;
-+
-+#if defined(PIPE_ARCH_AARCH64)
-+      res->domains = RADEON_DOMAIN_GTT;
-+#endif
-    }
- 
-    /* Tiled textures are unmappable. Always put them in VRAM. */
--- 
-2.26.2
diff --git a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch b/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
deleted file mode 100644
index debefd3999d32..0000000000000
--- a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 9590bce3e249a34665b2c42b20bfdbdc7f32147f Mon Sep 17 00:00:00 2001
-From: WinLinux1028 <reimu@hakurei.win>
-Date: Tue, 11 Jul 2023 18:16:01 +0900
-Subject: [PATCH] radeonsi: prefix function with si_ to prevent name collision
-
-Fixed a build error caused by multiple gfx11_init_query symbols when building with iris and radeonsi specified in gallium-drivers.
-
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9238
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24045>
----
- src/gallium/drivers/radeonsi/gfx11_query.c | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.c     | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.h     | 4 ++--
- 3 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/gallium/drivers/radeonsi/gfx11_query.c b/src/gallium/drivers/radeonsi/gfx11_query.c
-index bfcd8e2511050..2a331cc3bda25 100644
---- a/src/gallium/drivers/radeonsi/gfx11_query.c
-+++ b/src/gallium/drivers/radeonsi/gfx11_query.c
-@@ -422,13 +422,13 @@ struct pipe_query *gfx11_sh_query_create(struct si_screen *screen, enum pipe_que
-    return (struct pipe_query *)query;
- }
- 
--void gfx11_init_query(struct si_context *sctx)
-+void si_gfx11_init_query(struct si_context *sctx)
- {
-    list_inithead(&sctx->shader_query_buffers);
-    sctx->atoms.s.shader_query.emit = emit_shader_query;
- }
- 
--void gfx11_destroy_query(struct si_context *sctx)
-+void si_gfx11_destroy_query(struct si_context *sctx)
- {
-    if (!sctx->shader_query_buffers.next)
-       return;
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
-index fb5c02c473b96..2b4fceb89b198 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.c
-+++ b/src/gallium/drivers/radeonsi/si_pipe.c
-@@ -192,7 +192,7 @@ static void si_destroy_context(struct pipe_context *context)
-    si_release_all_descriptors(sctx);
- 
-    if (sctx->gfx_level >= GFX10 && sctx->has_graphics)
--      gfx11_destroy_query(sctx);
-+      si_gfx11_destroy_query(sctx);
- 
-    if (sctx->sqtt) {
-       struct si_screen *sscreen = sctx->screen;
-@@ -637,7 +637,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
-    /* Initialize graphics-only context functions. */
-    if (sctx->has_graphics) {
-       if (sctx->gfx_level >= GFX10)
--         gfx11_init_query(sctx);
-+         si_gfx11_init_query(sctx);
-       si_init_msaa_functions(sctx);
-       si_init_shader_functions(sctx);
-       si_init_state_functions(sctx);
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
-index 55f1d1788f1a1..389716854f9a6 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.h
-+++ b/src/gallium/drivers/radeonsi/si_pipe.h
-@@ -1616,8 +1616,8 @@ void *si_create_query_result_cs(struct si_context *sctx);
- void *gfx11_create_sh_query_result_cs(struct si_context *sctx);
- 
- /* gfx11_query.c */
--void gfx11_init_query(struct si_context *sctx);
--void gfx11_destroy_query(struct si_context *sctx);
-+void si_gfx11_init_query(struct si_context *sctx);
-+void si_gfx11_destroy_query(struct si_context *sctx);
- 
- /* si_test_image_copy_region.c */
- void si_test_image_copy_region(struct si_screen *sscreen);
--- 
-GitLab
-
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index f36ebe5938041..ae9f8420a489e 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=23.2.1
-revision=2
+version=23.3.0
+revision=1
 build_style=meson
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
 configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
 changelog="https://docs.mesa3d.org/relnotes.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc
+checksum=50f729dd60ed6335b989095baad81ef5edf7cfdd4b4b48b9b955917cb07d69c5
 
 build_options="wayland"
 build_options_default="wayland"

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
  2023-11-29 23:41 ` SpidFightFR
  2023-11-30  0:00 ` [PR PATCH] [Updated] " SpidFightFR
@ 2023-11-30  0:01 ` SpidFightFR
  2023-11-30  7:02 ` SpidFightFR
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-30  0:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1832887678

Comment:
Alright, build worked for me, i'll let the checks run overnight, if they're good tomorrow, then the PR will set as public.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (2 preceding siblings ...)
  2023-11-30  0:01 ` SpidFightFR
@ 2023-11-30  7:02 ` SpidFightFR
  2023-11-30 20:21 ` SpidFightFR
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-30  7:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1833213383

Comment:
Alright arm is failing, imma check this later on...

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (3 preceding siblings ...)
  2023-11-30  7:02 ` SpidFightFR
@ 2023-11-30 20:21 ` SpidFightFR
  2023-12-01  1:14 ` [PR PATCH] [Updated] " classabbyamp
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-11-30 20:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1834492630

Comment:
I tried to check, but i struggle to understand what's wrong... help would be welcome !

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (4 preceding siblings ...)
  2023-11-30 20:21 ` SpidFightFR
@ 2023-12-01  1:14 ` classabbyamp
  2023-12-01  1:15 ` classabbyamp
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-01  1:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/SpidFightFR/void-packages update-mesa
https://github.com/void-linux/void-packages/pull/47494

mesa: update to version 23.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey lads, a PR to update mesa to version 23.3.0, i hope it will be less of a mess for raytracing than 23.2.1 tho...!
It'll be a draft for now, as i'm testing this out, once that's done, i'll go public.

A patch file from https://github.com/void-linux/void-packages/pull/47494.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-mesa-47494.patch --]
[-- Type: text/x-diff, Size: 7780 bytes --]

From 597d9f838faa8a3e90eceb0322fe1af07c9ef386 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 30 Nov 2023 20:08:32 -0500
Subject: [PATCH 1/2] common/build-helper/meson: pass target to bindgen

---
 common/build-helper/meson.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index adb092e4a8e97..7e6d35ff3248a 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -74,6 +74,7 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
 	
 	[properties]
 	needs_exe_wrapper = true
+	bindgen_clang_arguments = ['-target', '${RUST_TARGET}']
 	
 	[host_machine]
 	system = 'linux'

From a82477ff3f1379d6a8eee2a787b43b971da2b3cb Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Thu, 30 Nov 2023 00:05:27 +0100
Subject: [PATCH 2/2] mesa: update to version 23.3.0.

---
 ...ch64-force-persistent-buffers-to-GTT.patch | 39 ----------
 ...bce3e249a34665b2c42b20bfdbdc7f32147f.patch | 75 -------------------
 srcpkgs/mesa/template                         |  7 +-
 3 files changed, 4 insertions(+), 117 deletions(-)
 delete mode 100644 srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
 delete mode 100644 srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch

diff --git a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
deleted file mode 100644
index 0890a795306b0..0000000000000
--- a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://gist.github.com/jnettlet/4dd6e43bcd5a551df29b12d3212e6edd
-
-From d72aa8ae74ffb7329003f9f23ffa05833af951ab Mon Sep 17 00:00:00 2001
-From: Jon Nettleton <jon@solid-run.com>
-Date: Fri, 14 Aug 2020 13:36:08 +0200
-Subject: [PATCH] radeonsi: On Aarch64 force persistent buffers to GTT
-
-This fixes a glamore corruption issue on the HoneyComb and by
-internet reports should also fix problems seen on Huaweii
-Kunpeng hardware.
-
-The root cause of the corruption needs to be worked out, but
-this patch also adds a noticable performance improvement. The
-aquarium webgl demo under chromium increases from 39-49 FPS
-when 5000 fish being rendered is selected.  Glmark scores also
-improve by ~200 with no specific tests showing any regression.
-
-Signed-off-by: Jon Nettleton <jon@solid-run.com>
----
- src/gallium/drivers/radeonsi/si_buffer.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c
-index 6b58aebee2d..c9e983367a0 100644
---- a/src/gallium/drivers/radeonsi/si_buffer.c
-+++ b/src/gallium/drivers/radeonsi/si_buffer.c
-@@ -91,6 +91,10 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
-        */
-       if (!sscreen->info.is_amdgpu)
-          res->domains = RADEON_DOMAIN_GTT;
-+
-+#if defined(PIPE_ARCH_AARCH64)
-+      res->domains = RADEON_DOMAIN_GTT;
-+#endif
-    }
- 
-    /* Tiled textures are unmappable. Always put them in VRAM. */
--- 
-2.26.2
diff --git a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch b/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
deleted file mode 100644
index debefd3999d32..0000000000000
--- a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 9590bce3e249a34665b2c42b20bfdbdc7f32147f Mon Sep 17 00:00:00 2001
-From: WinLinux1028 <reimu@hakurei.win>
-Date: Tue, 11 Jul 2023 18:16:01 +0900
-Subject: [PATCH] radeonsi: prefix function with si_ to prevent name collision
-
-Fixed a build error caused by multiple gfx11_init_query symbols when building with iris and radeonsi specified in gallium-drivers.
-
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9238
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24045>
----
- src/gallium/drivers/radeonsi/gfx11_query.c | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.c     | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.h     | 4 ++--
- 3 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/gallium/drivers/radeonsi/gfx11_query.c b/src/gallium/drivers/radeonsi/gfx11_query.c
-index bfcd8e2511050..2a331cc3bda25 100644
---- a/src/gallium/drivers/radeonsi/gfx11_query.c
-+++ b/src/gallium/drivers/radeonsi/gfx11_query.c
-@@ -422,13 +422,13 @@ struct pipe_query *gfx11_sh_query_create(struct si_screen *screen, enum pipe_que
-    return (struct pipe_query *)query;
- }
- 
--void gfx11_init_query(struct si_context *sctx)
-+void si_gfx11_init_query(struct si_context *sctx)
- {
-    list_inithead(&sctx->shader_query_buffers);
-    sctx->atoms.s.shader_query.emit = emit_shader_query;
- }
- 
--void gfx11_destroy_query(struct si_context *sctx)
-+void si_gfx11_destroy_query(struct si_context *sctx)
- {
-    if (!sctx->shader_query_buffers.next)
-       return;
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
-index fb5c02c473b96..2b4fceb89b198 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.c
-+++ b/src/gallium/drivers/radeonsi/si_pipe.c
-@@ -192,7 +192,7 @@ static void si_destroy_context(struct pipe_context *context)
-    si_release_all_descriptors(sctx);
- 
-    if (sctx->gfx_level >= GFX10 && sctx->has_graphics)
--      gfx11_destroy_query(sctx);
-+      si_gfx11_destroy_query(sctx);
- 
-    if (sctx->sqtt) {
-       struct si_screen *sscreen = sctx->screen;
-@@ -637,7 +637,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
-    /* Initialize graphics-only context functions. */
-    if (sctx->has_graphics) {
-       if (sctx->gfx_level >= GFX10)
--         gfx11_init_query(sctx);
-+         si_gfx11_init_query(sctx);
-       si_init_msaa_functions(sctx);
-       si_init_shader_functions(sctx);
-       si_init_state_functions(sctx);
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
-index 55f1d1788f1a1..389716854f9a6 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.h
-+++ b/src/gallium/drivers/radeonsi/si_pipe.h
-@@ -1616,8 +1616,8 @@ void *si_create_query_result_cs(struct si_context *sctx);
- void *gfx11_create_sh_query_result_cs(struct si_context *sctx);
- 
- /* gfx11_query.c */
--void gfx11_init_query(struct si_context *sctx);
--void gfx11_destroy_query(struct si_context *sctx);
-+void si_gfx11_init_query(struct si_context *sctx);
-+void si_gfx11_destroy_query(struct si_context *sctx);
- 
- /* si_test_image_copy_region.c */
- void si_test_image_copy_region(struct si_screen *sscreen);
--- 
-GitLab
-
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index f36ebe5938041..aa7286201de9d 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=23.2.1
-revision=2
+version=23.3.0
+revision=1
 build_style=meson
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
 configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
 changelog="https://docs.mesa3d.org/relnotes.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc
+checksum=50f729dd60ed6335b989095baad81ef5edf7cfdd4b4b48b9b955917cb07d69c5
 
 build_options="wayland"
 build_options_default="wayland"
@@ -121,6 +121,7 @@ fi
 
 if [ "$_have_virgl" ]; then
 	_gallium_drivers+=",virgl"
+	_vulkan_drivers+=",virtio"
 fi
 
 if [ "$_have_nine" ]; then

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (5 preceding siblings ...)
  2023-12-01  1:14 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-12-01  1:15 ` classabbyamp
  2023-12-01  1:16 ` classabbyamp
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-01  1:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1835245050

Comment:
that should fix it

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (6 preceding siblings ...)
  2023-12-01  1:15 ` classabbyamp
@ 2023-12-01  1:16 ` classabbyamp
  2023-12-01  2:33 ` [PR PATCH] [Updated] " classabbyamp
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-01  1:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1835245050

Comment:
that should fix it. also enabled virtio vulkan

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (7 preceding siblings ...)
  2023-12-01  1:16 ` classabbyamp
@ 2023-12-01  2:33 ` classabbyamp
  2023-12-01  7:02 ` SpidFightFR
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-01  2:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/SpidFightFR/void-packages update-mesa
https://github.com/void-linux/void-packages/pull/47494

mesa: update to version 23.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey lads, a PR to update mesa to version 23.3.0, i hope it will be less of a mess for raytracing than 23.2.1 tho...!
It'll be a draft for now, as i'm testing this out, once that's done, i'll go public.

A patch file from https://github.com/void-linux/void-packages/pull/47494.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-mesa-47494.patch --]
[-- Type: text/x-diff, Size: 7787 bytes --]

From 63e5b2a62948091c39070642e2f51056f345d32b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 30 Nov 2023 20:08:32 -0500
Subject: [PATCH 1/2] common/build-helper/meson: pass target to bindgen

---
 common/build-helper/meson.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index adb092e4a8e97..6232f9260c2e9 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -74,6 +74,7 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
 	
 	[properties]
 	needs_exe_wrapper = true
+	bindgen_clang_arguments = ['-target', '${XBPS_CROSS_TRIPLET}']
 	
 	[host_machine]
 	system = 'linux'

From b27ee92b5c882c2e0c92f5e4dc02923e532f404b Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Thu, 30 Nov 2023 00:05:27 +0100
Subject: [PATCH 2/2] mesa: update to version 23.3.0.

---
 ...ch64-force-persistent-buffers-to-GTT.patch | 39 ----------
 ...bce3e249a34665b2c42b20bfdbdc7f32147f.patch | 75 -------------------
 srcpkgs/mesa/template                         |  7 +-
 3 files changed, 4 insertions(+), 117 deletions(-)
 delete mode 100644 srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
 delete mode 100644 srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch

diff --git a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
deleted file mode 100644
index 0890a795306b0..0000000000000
--- a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://gist.github.com/jnettlet/4dd6e43bcd5a551df29b12d3212e6edd
-
-From d72aa8ae74ffb7329003f9f23ffa05833af951ab Mon Sep 17 00:00:00 2001
-From: Jon Nettleton <jon@solid-run.com>
-Date: Fri, 14 Aug 2020 13:36:08 +0200
-Subject: [PATCH] radeonsi: On Aarch64 force persistent buffers to GTT
-
-This fixes a glamore corruption issue on the HoneyComb and by
-internet reports should also fix problems seen on Huaweii
-Kunpeng hardware.
-
-The root cause of the corruption needs to be worked out, but
-this patch also adds a noticable performance improvement. The
-aquarium webgl demo under chromium increases from 39-49 FPS
-when 5000 fish being rendered is selected.  Glmark scores also
-improve by ~200 with no specific tests showing any regression.
-
-Signed-off-by: Jon Nettleton <jon@solid-run.com>
----
- src/gallium/drivers/radeonsi/si_buffer.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c
-index 6b58aebee2d..c9e983367a0 100644
---- a/src/gallium/drivers/radeonsi/si_buffer.c
-+++ b/src/gallium/drivers/radeonsi/si_buffer.c
-@@ -91,6 +91,10 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
-        */
-       if (!sscreen->info.is_amdgpu)
-          res->domains = RADEON_DOMAIN_GTT;
-+
-+#if defined(PIPE_ARCH_AARCH64)
-+      res->domains = RADEON_DOMAIN_GTT;
-+#endif
-    }
- 
-    /* Tiled textures are unmappable. Always put them in VRAM. */
--- 
-2.26.2
diff --git a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch b/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
deleted file mode 100644
index debefd3999d32..0000000000000
--- a/srcpkgs/mesa/patches/9590bce3e249a34665b2c42b20bfdbdc7f32147f.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 9590bce3e249a34665b2c42b20bfdbdc7f32147f Mon Sep 17 00:00:00 2001
-From: WinLinux1028 <reimu@hakurei.win>
-Date: Tue, 11 Jul 2023 18:16:01 +0900
-Subject: [PATCH] radeonsi: prefix function with si_ to prevent name collision
-
-Fixed a build error caused by multiple gfx11_init_query symbols when building with iris and radeonsi specified in gallium-drivers.
-
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9238
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24045>
----
- src/gallium/drivers/radeonsi/gfx11_query.c | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.c     | 4 ++--
- src/gallium/drivers/radeonsi/si_pipe.h     | 4 ++--
- 3 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/gallium/drivers/radeonsi/gfx11_query.c b/src/gallium/drivers/radeonsi/gfx11_query.c
-index bfcd8e2511050..2a331cc3bda25 100644
---- a/src/gallium/drivers/radeonsi/gfx11_query.c
-+++ b/src/gallium/drivers/radeonsi/gfx11_query.c
-@@ -422,13 +422,13 @@ struct pipe_query *gfx11_sh_query_create(struct si_screen *screen, enum pipe_que
-    return (struct pipe_query *)query;
- }
- 
--void gfx11_init_query(struct si_context *sctx)
-+void si_gfx11_init_query(struct si_context *sctx)
- {
-    list_inithead(&sctx->shader_query_buffers);
-    sctx->atoms.s.shader_query.emit = emit_shader_query;
- }
- 
--void gfx11_destroy_query(struct si_context *sctx)
-+void si_gfx11_destroy_query(struct si_context *sctx)
- {
-    if (!sctx->shader_query_buffers.next)
-       return;
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
-index fb5c02c473b96..2b4fceb89b198 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.c
-+++ b/src/gallium/drivers/radeonsi/si_pipe.c
-@@ -192,7 +192,7 @@ static void si_destroy_context(struct pipe_context *context)
-    si_release_all_descriptors(sctx);
- 
-    if (sctx->gfx_level >= GFX10 && sctx->has_graphics)
--      gfx11_destroy_query(sctx);
-+      si_gfx11_destroy_query(sctx);
- 
-    if (sctx->sqtt) {
-       struct si_screen *sscreen = sctx->screen;
-@@ -637,7 +637,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
-    /* Initialize graphics-only context functions. */
-    if (sctx->has_graphics) {
-       if (sctx->gfx_level >= GFX10)
--         gfx11_init_query(sctx);
-+         si_gfx11_init_query(sctx);
-       si_init_msaa_functions(sctx);
-       si_init_shader_functions(sctx);
-       si_init_state_functions(sctx);
-diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
-index 55f1d1788f1a1..389716854f9a6 100644
---- a/src/gallium/drivers/radeonsi/si_pipe.h
-+++ b/src/gallium/drivers/radeonsi/si_pipe.h
-@@ -1616,8 +1616,8 @@ void *si_create_query_result_cs(struct si_context *sctx);
- void *gfx11_create_sh_query_result_cs(struct si_context *sctx);
- 
- /* gfx11_query.c */
--void gfx11_init_query(struct si_context *sctx);
--void gfx11_destroy_query(struct si_context *sctx);
-+void si_gfx11_init_query(struct si_context *sctx);
-+void si_gfx11_destroy_query(struct si_context *sctx);
- 
- /* si_test_image_copy_region.c */
- void si_test_image_copy_region(struct si_screen *sscreen);
--- 
-GitLab
-
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index f36ebe5938041..aa7286201de9d 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=23.2.1
-revision=2
+version=23.3.0
+revision=1
 build_style=meson
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
 configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
 changelog="https://docs.mesa3d.org/relnotes.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc
+checksum=50f729dd60ed6335b989095baad81ef5edf7cfdd4b4b48b9b955917cb07d69c5
 
 build_options="wayland"
 build_options_default="wayland"
@@ -121,6 +121,7 @@ fi
 
 if [ "$_have_virgl" ]; then
 	_gallium_drivers+=",virgl"
+	_vulkan_drivers+=",virtio"
 fi
 
 if [ "$_have_nine" ]; then

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (8 preceding siblings ...)
  2023-12-01  2:33 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-12-01  7:02 ` SpidFightFR
  2023-12-02  2:45 ` [PR PATCH] [Merged]: " classabbyamp
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: SpidFightFR @ 2023-12-01  7:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1835573075

Comment:
> that should fix it. also enabled virtio vulkan

Hey thanks! 
Virtio huh... Reminds me of that display method on Proxmox, that may be the same virtio thingy...!

Thanks for the help ! 🙏

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Merged]: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (9 preceding siblings ...)
  2023-12-01  7:02 ` SpidFightFR
@ 2023-12-02  2:45 ` classabbyamp
  2023-12-05 13:46 ` devlocalhost
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-02  2:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

There's a merged pull request on the void-packages repository

mesa: update to version 23.3.0.
https://github.com/void-linux/void-packages/pull/47494

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey lads, a PR to update mesa to version 23.3.0, i hope it will be less of a mess for raytracing than 23.2.1 tho...!
It'll be a draft for now, as i'm testing this out, once that's done, i'll go public.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (10 preceding siblings ...)
  2023-12-02  2:45 ` [PR PATCH] [Merged]: " classabbyamp
@ 2023-12-05 13:46 ` devlocalhost
  2023-12-05 15:26 ` devlocalhost
  2023-12-05 16:11 ` classabbyamp
  13 siblings, 0 replies; 15+ messages in thread
From: devlocalhost @ 2023-12-05 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1840825041

Comment:
this is causing issues for me. gnome is very unstable, crashes randomly, lots of graphical glitches and some other stuff too. someone on irc also had issues with that (flatpak apps), they downgraded to 23.2.1 and everything was fine. heres what i got (when trying to run spotify flatpak):
```
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: crocus
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: crocus
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
```

these errors are gone if i downgrade mesa, and everything is back to normal

inxi -G --display output:
```
 > inxi -G --display
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics driver: i915 v: kernel
  Device-2: Suyin Acer/Lenovo Webcam [CN0316] driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.1 compositor: gnome-shell
    v: 44.2 driver: X: loaded: intel unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915
    resolution: 1366x768
  API: EGL v: 1.5 drivers: N/A platforms: gbm,wayland
  API: OpenGL Message: No GL data available.
  API: Vulkan Message: No Vulkan data available.
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (11 preceding siblings ...)
  2023-12-05 13:46 ` devlocalhost
@ 2023-12-05 15:26 ` devlocalhost
  2023-12-05 16:11 ` classabbyamp
  13 siblings, 0 replies; 15+ messages in thread
From: devlocalhost @ 2023-12-05 15:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1911 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1840825041

Comment:
this is causing issues for me. gnome is very unstable, crashes randomly, lots of graphical glitches and some other stuff too (some app windows not appearing). someone on irc also had issues with that (flatpak apps), they downgraded to 23.2.1 and everything was fine. heres what i got (when trying to run spotify flatpak):
```
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: crocus
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: crocus
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
```

these errors are gone if i downgrade mesa, and everything is back to normal

inxi -G --display output:
```
 > inxi -G --display
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics driver: i915 v: kernel
  Device-2: Suyin Acer/Lenovo Webcam [CN0316] driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.1 compositor: gnome-shell
    v: 44.2 driver: X: loaded: intel unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915
    resolution: 1366x768
  API: EGL v: 1.5 drivers: N/A platforms: gbm,wayland
  API: OpenGL Message: No GL data available.
  API: Vulkan Message: No Vulkan data available.
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: mesa: update to version 23.3.0.
  2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
                   ` (12 preceding siblings ...)
  2023-12-05 15:26 ` devlocalhost
@ 2023-12-05 16:11 ` classabbyamp
  13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2023-12-05 16:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/47494#issuecomment-1841111091

Comment:
make an issue, then

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-12-05 16:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29 23:31 [PR PATCH] mesa: update to version 23.3.0 SpidFightFR
2023-11-29 23:41 ` SpidFightFR
2023-11-30  0:00 ` [PR PATCH] [Updated] " SpidFightFR
2023-11-30  0:01 ` SpidFightFR
2023-11-30  7:02 ` SpidFightFR
2023-11-30 20:21 ` SpidFightFR
2023-12-01  1:14 ` [PR PATCH] [Updated] " classabbyamp
2023-12-01  1:15 ` classabbyamp
2023-12-01  1:16 ` classabbyamp
2023-12-01  2:33 ` [PR PATCH] [Updated] " classabbyamp
2023-12-01  7:02 ` SpidFightFR
2023-12-02  2:45 ` [PR PATCH] [Merged]: " classabbyamp
2023-12-05 13:46 ` devlocalhost
2023-12-05 15:26 ` devlocalhost
2023-12-05 16:11 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).