* [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
@ 2023-07-19 21:02 Sigve Sudland
2023-07-20 10:22 ` 宋文武 via Guix-patches via
2023-07-20 19:35 ` John Kehayias via Guix-patches via
0 siblings, 2 replies; 7+ messages in thread
From: Sigve Sudland @ 2023-07-19 21:02 UTC (permalink / raw)
To: 64738; +Cc: Sigve Sudland
* gnu/packages/gl.scm (mesa): Enable zstd compression.
---
gnu/packages/gl.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 1691086e1a..2f54d8553d 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -299,7 +299,8 @@ (define-public mesa
libxvmc
llvm-for-mesa
wayland
- wayland-protocols))
+ wayland-protocols
+ `(,zstd "lib")))
(native-inputs
(list bison
flex
@@ -362,6 +363,9 @@ (define-public mesa
;; Enable the codecs that were built by default as part of the
;; 21.3.x releases to avoid functionality regressions.
"-Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc"
+
+ ;; Enable ZSTD compression for shader cache
+ "-Dzstd=enabled"
;; Also enable the tests.
"-Dbuild-tests=true"
base-commit: ebb54e6a5fba36a571ed239398ee3e0307a91c26
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
2023-07-19 21:02 [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib Sigve Sudland
@ 2023-07-20 10:22 ` 宋文武 via Guix-patches via
2023-07-20 10:58 ` 宋文武 via Guix-patches via
2023-07-20 19:35 ` John Kehayias via Guix-patches via
1 sibling, 1 reply; 7+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-20 10:22 UTC (permalink / raw)
To: Sigve Sudland; +Cc: 64738
Sigve Sudland <sigve_sudland@hotmail.com> writes:
> * gnu/packages/gl.scm (mesa): Enable zstd compression.
Good idea! Follow our commit log style, I adjust it to:
gnu: mesa: Enable zstd compression for shader cache.
* gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
[arguments]: Add '-Dzstd=enabled' to configure-flags.
And apply it on the mesa-updates branch locally, wait it building, once
done I'll pushed it to the mesa-updates branch. I think this issue
should be closed when it got merged into master.
Thank you!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
2023-07-19 21:02 [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib Sigve Sudland
2023-07-20 10:22 ` 宋文武 via Guix-patches via
@ 2023-07-20 19:35 ` John Kehayias via Guix-patches via
2023-07-21 10:15 ` 宋文武 via Guix-patches via
1 sibling, 1 reply; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-07-20 19:35 UTC (permalink / raw)
To: 宋文武; +Cc: Sigve Sudland, 64738
On Thu, Jul 20, 2023 at 06:58 PM, 宋文武 wrote:
>>
>> gnu: mesa: Enable zstd compression for shader cache.
>>
>> * gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
>> [arguments]: Add '-Dzstd=enabled' to configure-flags.
>
> Pushed to the mesa-updates branch, merging progress tracked in
> https://issues.guix.gnu.org/64369.
>
> Thanks.
An update here: I reset mesa-updates to just be the 2 commits from
before this patch (that were already built on Cuirass) but rebased on
master. Based on how many builds may be new, we can see what to do. I
hope it is just a small amount of rebuilds so mesa-updates can be merged
as is, and then include this and other patches for the next round.
Hope that is okay, especially as I think this is a minor change to mesa,
rather than a bug or missing hardware support.
John
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
2023-07-20 19:35 ` John Kehayias via Guix-patches via
@ 2023-07-21 10:15 ` 宋文武 via Guix-patches via
2023-07-25 21:27 ` John Kehayias via Guix-patches via
0 siblings, 1 reply; 7+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-21 10:15 UTC (permalink / raw)
To: John Kehayias; +Cc: Sigve Sudland, 64738
John Kehayias <john.kehayias@protonmail.com> writes:
> On Thu, Jul 20, 2023 at 06:58 PM, 宋文武 wrote:
>
>>>
>>> gnu: mesa: Enable zstd compression for shader cache.
>>>
>>> * gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
>>> [arguments]: Add '-Dzstd=enabled' to configure-flags.
>>
>> Pushed to the mesa-updates branch, merging progress tracked in
>> https://issues.guix.gnu.org/64369.
>>
>> Thanks.
>
> An update here: I reset mesa-updates to just be the 2 commits from
> before this patch (that were already built on Cuirass) but rebased on
> master. Based on how many builds may be new, we can see what to do. I
> hope it is just a small amount of rebuilds so mesa-updates can be merged
> as is, and then include this and other patches for the next round.
>
> Hope that is okay, especially as I think this is a minor change to mesa,
> rather than a bug or missing hardware support.
>
That's fine, thank you for take care of it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
2023-07-21 10:15 ` 宋文武 via Guix-patches via
@ 2023-07-25 21:27 ` John Kehayias via Guix-patches via
2023-07-31 15:27 ` bug#64738: " John Kehayias via Guix-patches via
0 siblings, 1 reply; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-07-25 21:27 UTC (permalink / raw)
To: 宋文武; +Cc: Sigve Sudland, 64738
Hello,
On Fri, Jul 21, 2023 at 06:15 PM, 宋文武 wrote:
> John Kehayias <john.kehayias@protonmail.com> writes:
>
>> On Thu, Jul 20, 2023 at 06:58 PM, 宋文武 wrote:
>>
>>>>
>>>> gnu: mesa: Enable zstd compression for shader cache.
>>>>
>>>> * gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
>>>> [arguments]: Add '-Dzstd=enabled' to configure-flags.
>>>
>>> Pushed to the mesa-updates branch, merging progress tracked in
>>> <https://issues.guix.gnu.org/64369>.
>>>
>>> Thanks.
>>
>> An update here: I reset mesa-updates to just be the 2 commits from
>> before this patch (that were already built on Cuirass) but rebased on
>> master. Based on how many builds may be new, we can see what to do. I
>> hope it is just a small amount of rebuilds so mesa-updates can be merged
>> as is, and then include this and other patches for the next round.
>>
>> Hope that is okay, especially as I think this is a minor change to mesa,
>> rather than a bug or missing hardware support.
>>
>
> That's fine, thank you for take care of it.
I ended up adding this (and other changes) to mesa-updates along with
a mesa version bump and some other patches. Hopefully merging to
master in the next few days once substitutes look good.
Thanks!
John
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64738: [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
2023-07-25 21:27 ` John Kehayias via Guix-patches via
@ 2023-07-31 15:27 ` John Kehayias via Guix-patches via
0 siblings, 0 replies; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-07-31 15:27 UTC (permalink / raw)
To: 宋文武; +Cc: Sigve Sudland, 64738-done
On Tue, Jul 25, 2023 at 09:27 PM, John Kehayias wrote:
> Hello,
>
> On Fri, Jul 21, 2023 at 06:15 PM, 宋文武 wrote:
>
>> John Kehayias <john.kehayias@protonmail.com> writes:
>>
>>> On Thu, Jul 20, 2023 at 06:58 PM, 宋文武 wrote:
>>>
>>>>>
>>>>> gnu: mesa: Enable zstd compression for shader cache.
>>>>>
>>>>> * gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
>>>>> [arguments]: Add '-Dzstd=enabled' to configure-flags.
>>>>
>>>> Pushed to the mesa-updates branch, merging progress tracked in
>>>> <https://issues.guix.gnu.org/64369>.
>>>>
>>>> Thanks.
>>>
>>> An update here: I reset mesa-updates to just be the 2 commits from
>>> before this patch (that were already built on Cuirass) but rebased on
>>> master. Based on how many builds may be new, we can see what to do. I
>>> hope it is just a small amount of rebuilds so mesa-updates can be merged
>>> as is, and then include this and other patches for the next round.
>>>
>>> Hope that is okay, especially as I think this is a minor change to mesa,
>>> rather than a bug or missing hardware support.
>>>
>>
>> That's fine, thank you for take care of it.
>
> I ended up adding this (and other changes) to mesa-updates along with
> a mesa version bump and some other patches. Hopefully merging to
> master in the next few days once substitutes look good.
>
> Thanks!
> John
Pushed as 090c254fe7713db330636dae2c204c8282207cc8. Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-31 15:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-19 21:02 [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib Sigve Sudland
2023-07-20 10:22 ` 宋文武 via Guix-patches via
2023-07-20 10:58 ` 宋文武 via Guix-patches via
2023-07-20 19:35 ` John Kehayias via Guix-patches via
2023-07-21 10:15 ` 宋文武 via Guix-patches via
2023-07-25 21:27 ` John Kehayias via Guix-patches via
2023-07-31 15:27 ` bug#64738: " John Kehayias via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).