Message ID | cover.1711091869.git.aurtzy@gmail.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6163127BBE9; Fri, 22 Mar 2024 07:30:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8339127BBE9 for <patchwork@mira.cbaines.net>; Fri, 22 Mar 2024 07:30:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rnZM8-00049j-Mj; Fri, 22 Mar 2024 03:30:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rnZM6-00049O-2K for guix-patches@gnu.org; Fri, 22 Mar 2024 03:30:22 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rnZM5-0000FF-QD for guix-patches@gnu.org; Fri, 22 Mar 2024 03:30:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rnZMk-0004xP-56 for guix-patches@gnu.org; Fri, 22 Mar 2024 03:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69637] [PATCH mesa-updates v2 0/5] gnu: mesa: Update to 24.0.3. References: <cover.1709899566.git.aurtzy@gmail.com> In-Reply-To: <cover.1709899566.git.aurtzy@gmail.com> Resent-From: aurtzy <aurtzy@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Mar 2024 07:31:02 +0000 Resent-Message-ID: <handler.69637.B69637.171109263418956@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69637@debbugs.gnu.org Cc: john.kehayias@protonmail.com, aurtzy <aurtzy@gmail.com>, efraim@flashner.co.il Received: via spool by 69637-submit@debbugs.gnu.org id=B69637.171109263418956 (code B ref 69637); Fri, 22 Mar 2024 07:31:02 +0000 Received: (at 69637) by debbugs.gnu.org; 22 Mar 2024 07:30:34 +0000 Received: from localhost ([127.0.0.1]:55544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rnZMH-0004vc-JN for submit@debbugs.gnu.org; Fri, 22 Mar 2024 03:30:33 -0400 Received: from mail-qv1-f42.google.com ([209.85.219.42]:47555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <aurtzy@gmail.com>) id 1rnZMF-0004v9-2g for 69637@debbugs.gnu.org; Fri, 22 Mar 2024 03:30:32 -0400 Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-690cd7f83cdso11160406d6.3 for <69637@debbugs.gnu.org>; Fri, 22 Mar 2024 00:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711092524; x=1711697324; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wjA84B5KkaD0XxvZlxEL/T7LyU5cQqwSpAVZAKrC/dA=; b=hL162j4dXCJWdNjelto46Sw3FD1Ajorb0Ym1X+g+hu/r4tRXgkyNZHsCX1KQ3U+9PM bVyhXkTXQZ0NImv/XlShp2ZIIx3CWdreNf1cJl4tryshQgja0+qZ6gJt4WyCRhzulRNN QHU1PaYeaB2OV2gYArbNc0UEsthNgpEMFT39WFjYlMmMwCPoNVraKsfVJ1uok7JvLYoy fRzWTSawJFweENO6nSSDzz+ApiAWnV3Zv1ETL33TDJuiE66hOObuh1nY4NkplihZ2w0T col5fII3CJyzRj7qeNaKtmh73MKC9EL0DTPuVpma7/rwhkA3qJ/sLe2VEwfPw7cjnP4u zFQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711092524; x=1711697324; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wjA84B5KkaD0XxvZlxEL/T7LyU5cQqwSpAVZAKrC/dA=; b=afPN/Eq0mL/Nz4VD06gmWffjclBrHcoI0vQnXOA6NabIesGggYTEADvHY6Y4DjIYjW 8y8a4OkVrR6alYqYxfXuoVE5wqzLex0OoN4Anj/ZSJPkrmK5uxiXmOBO/m4IMzSOsXLZ +Hp2yu82PJNxNYEMFkcAv7w/RUZjks5A0KAgaXprR/nGtyZ9A1kQYABJF86U0D14xFt8 B28SfZPzlk1gSQ4FfbsSZcB886F85OUDY3D9ZD35fozE6VlDxD6xwMRjeQ97+pZ/ZWqt ZKhib/YF/QOqn4IFU7ADqLX4iBrv0kPt/XorJ8/JBB3a2WioP14oqrFrpyYMvaCBvBxN 83sQ== X-Gm-Message-State: AOJu0YxVeqInwCuu0pJN5Az1ERhIGWQAqoINewocKo924wRa+n6usFqo 31MigDc6v3Lbsfnp4e29RZiEDWhsguVikQYgQczdvt7fhNcmCMyU+MyRqAwK X-Google-Smtp-Source: AGHT+IEEjo1hxftAIP651tWX6dqpRPMkhLoSauN4onoPT31HIbOOwElPl8FNUKXDcLHgIY1uZns7mw== X-Received: by 2002:a05:6214:2685:b0:696:533b:dac0 with SMTP id gm5-20020a056214268500b00696533bdac0mr1502626qvb.3.1711092524217; Fri, 22 Mar 2024 00:28:44 -0700 (PDT) Received: from localhost.localdomain (ool-18bb63f6.dyn.optonline.net. [24.187.99.246]) by smtp.gmail.com with ESMTPSA id q14-20020ad4574e000000b00690f9ea30aesm807048qvx.26.2024.03.22.00.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 00:28:43 -0700 (PDT) From: aurtzy <aurtzy@gmail.com> Date: Fri, 22 Mar 2024 03:24:17 -0400 Message-ID: <cover.1711091869.git.aurtzy@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
gnu: mesa: Update to 24.0.3.
|
|
Message
aurtzy
March 22, 2024, 7:24 a.m. UTC
New patchset coming in. Mesa has been updated to 24.0.3, and I've added TODO comments for future work as suggested. > I would like to get the build farm cranking on the updates I have > queued for mesa-updates (cairo, libdrm, mesa, vulkan). We could also > do just the version update of mesa to start, or just NVK on x86_64, > leaving future changes for the next round. I don't have a preference > myself, other than wanting to get this branch moving with these > updates. NVK on 24.0.3 is also still considered experimental, so if that's a concern we could save this work for 24.1 when it's planned to move out of this stage. > I also tried a couple of different options. The one that I most want > involved using with-output-to-file to rewrite the wrap file and > replacing all the fields. I borrowed the file-sha256 function from > guix/build/cargo-utils.scm to get the source_hash. In the end I wasn't > able to get the gexp and un-gexp bits working to actually get the file > written. > > When I kept a failed build I saw that the 'directory' field is the > directory into which meson writes the meson.build file, which is why > using a different version of the rust crate caused problems with > src/lib.rs not existing. I suppose we could start from your patch and > then, after running substitute, extract the tarball into either a > hardcoded path (determined after manually reading the sources) or we can > extract the 'directory' field by reading the sources and then untar the > source there. Noted, thanks Efraim! I'll keep looking into this. Best, aurtzy aurtzy (5): gnu: Add meson-1.3. gnu: Add rust-syn-2.0.39. gnu: Add rust-proc-macro2-1.0.70. gnu: Add rust-quote-1.0.33. gnu: mesa: Update to 24.0.3. gnu/packages/build-tools.scm | 14 +++++++ gnu/packages/crates-io.scm | 42 +++++++++++++++++++ gnu/packages/gl.scm | 80 ++++++++++++++++++++++++++++-------- 3 files changed, 118 insertions(+), 18 deletions(-) base-commit: 3d2966e0b7dbf15a5cb497037ace73d1be92febf
Comments
Hi aurtzy and Efraim, On Fri, Mar 22, 2024 at 03:24 AM, aurtzy wrote: > New patchset coming in. Mesa has been updated to 24.0.3, and I've added TODO > comments for future work as suggested. > Thanks! >> I would like to get the build farm cranking on the updates I have >> queued for mesa-updates (cairo, libdrm, mesa, vulkan). We could also >> do just the version update of mesa to start, or just NVK on x86_64, >> leaving future changes for the next round. I don't have a preference >> myself, other than wanting to get this branch moving with these >> updates. > > NVK on 24.0.3 is also still considered experimental, so if that's a concern we > could save this work for 24.1 when it's planned to move out of this stage. > Right, I forgot about that. I also remember that it depends (or is helped by) some changes in recent kernels, 6.7 and/or 6.8 if I remember. So, maybe we can take this approach: 1. Make the update just to 24.0.3 for mesa (does that require newer meson?) 2. Add any rust packages as needed to master 3. Either add a mesa-next (to master?) or followup on mesa-updates after it gets merged to master with a mesa based on 24.1 (as soon as it is tagged) with NVK enabled. This will let us at least get mesa built and make for a headstart come 24.0.1. With 24.1 soon ("this quarter"?) and how long it can take us to build on non-x86 architectures, it would be nice to have that go quickly. Since I'll be including cairo, libdrm, and vulkan updates (at least) this round, I anticipate it taking a bit. Does that sound okay? It'll give some time to test things and clean up/find alternatives as Efraim suggested. I'm also not opposed to just enabling NVK now. In that case, we should have one commit to just update mesa and another to enable NVK. >> I also tried a couple of different options. The one that I most want >> involved using with-output-to-file to rewrite the wrap file and >> replacing all the fields. I borrowed the file-sha256 function from >> guix/build/cargo-utils.scm to get the source_hash. In the end I wasn't >> able to get the gexp and un-gexp bits working to actually get the file >> written. >> >> When I kept a failed build I saw that the 'directory' field is the >> directory into which meson writes the meson.build file, which is why >> using a different version of the rust crate caused problems with >> src/lib.rs not existing. I suppose we could start from your patch and >> then, after running substitute, extract the tarball into either a >> hardcoded path (determined after manually reading the sources) or we can >> extract the 'directory' field by reading the sources and then untar the >> source there. > > Noted, thanks Efraim! I'll keep looking into this. > Thanks both of you! I would like to start pushing patches and building everything in the next few days, especially as some have sat for a while and it will take time to build. John
On 3/24/24 21:29, John Kehayias wrote: > Hi aurtzy and Efraim, > > On Fri, Mar 22, 2024 at 03:24 AM, aurtzy wrote: > >> New patchset coming in. Mesa has been updated to 24.0.3, and I've added TODO >> comments for future work as suggested. >> > Thanks! Happy to help! >>> I would like to get the build farm cranking on the updates I have >>> queued for mesa-updates (cairo, libdrm, mesa, vulkan). We could also >>> do just the version update of mesa to start, or just NVK on x86_64, >>> leaving future changes for the next round. I don't have a preference >>> myself, other than wanting to get this branch moving with these >>> updates. >> NVK on 24.0.3 is also still considered experimental, so if that's a concern we >> could save this work for 24.1 when it's planned to move out of this stage. >> > Right, I forgot about that. I also remember that it depends (or is > helped by) some changes in recent kernels, 6.7 and/or 6.8 if I remember. 6.6 appears to be the minimum required according to mesa docs, if that changes anything: https://docs.mesa3d.org/drivers/nvk.html#kernel-requirements > So, maybe we can take this approach: > > 1. Make the update just to 24.0.3 for mesa (does that require newer > meson?) The meson 1.3 requirement is only for NVK; mesa 24.0.3 without NVK can build with the current meson. > 2. Add any rust packages as needed to master > > 3. Either add a mesa-next (to master?) or followup on mesa-updates after > it gets merged to master with a mesa based on 24.1 (as soon as it is > tagged) with NVK enabled. This will let us at least get mesa built and > make for a headstart come 24.0.1. > > With 24.1 soon ("this quarter"?) and how long it can take us to build on > non-x86 architectures, it would be nice to have that go quickly. Since > I'll be including cairo, libdrm, and vulkan updates (at least) this > round, I anticipate it taking a bit. > > Does that sound okay? It'll give some time to test things and clean > up/find alternatives as Efraim suggested. > > I'm also not opposed to just enabling NVK now. In that case, we should > have one commit to just update mesa and another to enable NVK. Looks like 24.1 stable should be releasing May-June: https://docs.mesa3d.org/release-calendar.html This approach sounds fine to me. I don't mind holding back the NVK-related changes for more testing and improvement. >>> I also tried a couple of different options. The one that I most want >>> involved using with-output-to-file to rewrite the wrap file and >>> replacing all the fields. I borrowed the file-sha256 function from >>> guix/build/cargo-utils.scm to get the source_hash. In the end I wasn't >>> able to get the gexp and un-gexp bits working to actually get the file >>> written. >>> >>> When I kept a failed build I saw that the 'directory' field is the >>> directory into which meson writes the meson.build file, which is why >>> using a different version of the rust crate caused problems with >>> src/lib.rs not existing. I suppose we could start from your patch and >>> then, after running substitute, extract the tarball into either a >>> hardcoded path (determined after manually reading the sources) or we can >>> extract the 'directory' field by reading the sources and then untar the >>> source there. >> Noted, thanks Efraim! I'll keep looking into this. >> > Thanks both of you! I would like to start pushing patches and building > everything in the next few days, especially as some have sat for a while > and it will take time to build. > > John Cheers, aurtzy
Hello, On Tue, Mar 26, 2024 at 10:14 PM, aurtzy wrote: > Looks like 24.1 stable should be releasing May-June: <https://docs.mesa3d.org/release-calendar.html> > All the more reason to pre-empt it a bit, as I will be away for most of May and the beginning of June :-) > This approach sounds fine to me. I don't mind holding back the NVK-related changes for more testing and > improvement. > Great, thanks! I applied a version only bump locally (haven't pushed it out live yet) and so far so good. I put you as co-author, even though it was just the hash basically, you did save me having to do that. Once this is on mesa-updates, you can base your patches on that (bunch of other updates too) and it can live on that branch in prep for 24.1. Thanks again! John
On Wed, Mar 27, 2024 at 01:17 AM, John Kehayias wrote: > Hello, > > On Tue, Mar 26, 2024 at 10:14 PM, aurtzy wrote: > >> Looks like 24.1 stable should be releasing May-June: >> <https://docs.mesa3d.org/release-calendar.html> >> > > All the more reason to pre-empt it a bit, as I will be away for most > of May and the beginning of June :-) > >> This approach sounds fine to me. I don't mind holding back the >> NVK-related changes for more testing and >> improvement. >> > > Great, thanks! > > I applied a version only bump locally (haven't pushed it out live yet) > and so far so good. I put you as co-author, even though it was just > the hash basically, you did save me having to do that. > > Once this is on mesa-updates, you can base your patches on that (bunch > of other updates too) and it can live on that branch in prep for 24.1. > > Thanks again! > John mesa updated to 24.0.3 in b43d36a556c1c1d75fdffbec08d8c39121a528cd and then 24.0.4 in 23928e2d426fb63945682c2c8c60145fe4d333dd. Closing this issue number, but thank you for the efforts so far for NVK. Happy to have patches for 24.1 on mesa-updates when you have them. John