GNU bug report logs - #64738
[PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.

Previous Next

Package: guix-patches;

Reported by: Sigve Sudland <sigve_sudland <at> hotmail.com>

Date: Thu, 20 Jul 2023 06:12:02 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sigve Sudland <sigve_sudland <at> hotmail.com>
Subject: bug#64738: closed (Re: bug#64738: [PATCH] gnu: Make Mesa use zstd
 compression for shader cache instead of zlib.)
Date: Mon, 31 Jul 2023 15:28:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64738: [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64738 <at> debbugs.gnu.org.

-- 
64738: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64738
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John Kehayias <john.kehayias <at> protonmail.com>
To: 宋文武 <iyzsong <at> envs.net>
Cc: Sigve Sudland <sigve_sudland <at> hotmail.com>, 64738-done <at> debbugs.gnu.org
Subject: Re: bug#64738: [PATCH] gnu: Make Mesa use zstd compression for shader
 cache instead of zlib.
Date: Mon, 31 Jul 2023 15:27:23 +0000
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 <at> 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!


[Message part 3 (message/rfc822, inline)]
From: Sigve Sudland <sigve_sudland <at> hotmail.com>
To: guix-patches <at> gnu.org
Cc: Sigve Sudland <sigve_sudland <at> hotmail.com>
Subject: [PATCH] gnu: Make Mesa use zstd compression for shader cache instead
 of zlib.
Date: Wed, 19 Jul 2023 23:02:34 +0200
* 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



This bug report was last modified 1 year and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.