From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aNT+Hj5fWmQqrQAASxT56A (envelope-from ) for ; Tue, 09 May 2023 16:57:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wB4SHj5fWmRxFQAAG6o9tA (envelope-from ) for ; Tue, 09 May 2023 16:57:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45A57965A for ; Tue, 9 May 2023 16:57:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwOld-0006pl-Bs; Tue, 09 May 2023 10:56:41 -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 ) id 1pwOla-0006pb-4U for guix-devel@gnu.org; Tue, 09 May 2023 10:56:38 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwOlX-0003fz-NC for guix-devel@gnu.org; Tue, 09 May 2023 10:56:37 -0400 Date: Tue, 09 May 2023 14:56:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683644185; x=1683903385; bh=PS7n3PLePLWT0gNIFzcmFadHJcsqeOdPrZsUhkieXss=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=yAulcElX288QcFCT2oxIWoUQ+BbPHLvOMGlF+KAvQYf16vFqnNwGdpGkK+gtbjmyY iSvfBLHZ1Fjtk2G/kg88SHMfvxbPucqrrA4s7V+ToWSl9dEZQ5nNqW9CJl1aTc1mHS NPN7fXBNS3cmqb1Ev52dPKujarjxB9mmbhEaM2/ghft3+c3u4Y7MhYqvp7L1OD9UXk mFea7gV4bIaXdYEDC1kBPt4ml8LX9/0d9aYnjMW/GLLMBwbwZeG2XkmdCbQHrCDoNa ILCo/OJADPaOLmnbzeXs0wkZ6SlakE/v6GEDC50CvpEhH/EZOX8wBmgkzBfNZOgDMs Xy/2lxA7En9NA== To: John Kehayias From: Kaelyn Cc: Andreas Enge , guix-devel Subject: Re: Mesa vulkan layer path fix for core-updates Message-ID: In-Reply-To: <87zg6ep0o5.fsf@protonmail.com> References: <87zg6ep0o5.fsf@protonmail.com> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683644222; a=rsa-sha256; cv=none; b=AM4UCZnxKesXiQMutfdGaDHndxjVvQO+R0kIL2tTdJhbFpWGbKRZBvxxJsAz5UPgVq9Pwu THjEnJIKO7S+zVyej/bOCeflN//+yWRac45+7hp9M4NY2FROrdU7qH4jJQdaSxh3EYGAaH OIP/7m7JIlYrJhlxBKudkgpQWbSUlvLmNF4Um8wZiOfEtlC3gliAKKtBNiilJFwZ/cRk44 E5RWclGM9rUzfKy/lC21A8ejsifZo1IEckE9fPocNgwK3po9VJYhwYnVN/sMZBRdhOCLDZ yxUHYLUW2iHcswkVoCpaDC3Bwh711Wn3C0P85v/I0GOZ0jKhHXEqtkY4zWk3lQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=yAulcElX; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683644222; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PS7n3PLePLWT0gNIFzcmFadHJcsqeOdPrZsUhkieXss=; b=cUV7QIi5o5SBAlfqz3wnYqRvYRO9dt3Z9oiZd4b6SacfmaumARzzarg17Fzd5liJpKM1PF OTNyxAZpVtvO6LpwfImu7dZw7CW8JkRdCYGfccZNEtiL4NPVrOiOoyoZY8RqNyOB43RIqR a+2nM6ULZGn7ST5FGCDcL86BHYGS6qLYmbxrHE2UMMTdeIw52/nfVqhhDhMZ4qMoQ5Oc7n lmAKqulyBkZe+p9xQDOCJ9IVMTfImxxljbdWhVUuzvTtfmIP0aEutkL35jddmtnipEJfSo PL30jhx3Q2mFZqmnG1B57sdt+WdfviRgil6wm+SgiOsnB14nhB/l41DjoC3y1w== X-Migadu-Spam-Score: -8.08 X-Spam-Score: -8.08 X-Migadu-Queue-Id: 45A57965A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=yAulcElX; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: 1714+ya5cwnS Hi, ------- Original Message ------- On Tuesday, May 9th, 2023 at 4:51 AM, John Kehayias wrote: >=20 > Hello, >=20 > On Tue, Apr 25, 2023 at 04:40 PM, Kaelyn wrote: >=20 > > Hi, > >=20 > > ------- Original Message ------- > > On Tuesday, April 25th, 2023 at 2:15 PM, Andreas Enge andreas@enge.fr w= rote: > >=20 > > > Hello Kaelyn, > > >=20 > > > thanks for your research! > >=20 > > You're welcome! :) > >=20 > > > Am Wed, Apr 19, 2023 at 04:07:51PM +0000 schrieb Kaelyn: > > >=20 > > > > * https://issues.guix.gnu.org/62176 can be closed when > > > > core-updates is merged, since core-updates contains mesa 22.2.4 > > > > * Though not exactly mesa-related, > > > > https://issues.guix.gnu.org/61364 can possibly be closed now, and > > > > almost certainly once the core-updates merge is completed. (The > > > > ticket is a number of workarounds the user applied in early Feb to > > > > be able to build their system profile using core-updates, to pick > > > > up Mesa 22 for newer hardware support. I'm not sure if any of the > > > > patches are still relevant.) > > >=20 > > > I just closed these two. > > >=20 > > > > * https://issues.guix.gnu.org/58887 looks like an alternate way of > > > > solving the layer path issues that > > > > https://issues.guix.gnu.org/59453 also addresses. Additionally, it > > > > adds two new nonstandard VK_*_PATH variables to vulkan-loader, > > > > with at least VK_ILAYER_PATH seeming very similar in functionality > > > > to VK_LAYER_PATH and VK_ADD_LAYER_PATH described at > > > > https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/Loader= InterfaceArchitecture.md > > > > * https://issues.guix.gnu.org/58251 would be fixed by > > > > https://issues.guix.gnu.org/59453 > >=20 > > I feel these two can be closed once 59453 lands, as then the manifests > > will have the store path to their corresponding shared objects. I also > > think having the full paths in the manifests will lead to fewer > > cross-version/cross-package mixing of objects, compared to setting and > > using environment variables of directories to search. >=20 >=20 > I haven't looked at the details, but I'm guessing these can all be > closed now? Yes they can be. As a quick smoke test, prior to these patches landing, "vu= lkaninfo > /dev/null" would consistently print out vulkan loader errors abo= ut not being able to open libVkLayer_MESA_device_select.so. (I call it a sm= oke test because that layer not being found isn't fatal; I first encountere= d the errors in a breaking way when packaging vulkan-validationlayers for u= se with the tutorial at https://vulkan-tutorial.com/.) Slightly off-topic speaking of mesa bugs: another one that can be closed is= https://issues.guix.gnu.org/43849 as the issue with mesa's reproducibility= was fixed with a patch that landed in meson 0.59.0 (which Guix picked up i= n commit b15c3dd9b0 from July 2021). >=20 > > > > * https://issues.guix.gnu.org/62313 might need a modification to > > > > mesa e.g. to add VDPAU_DRIVER_PATH as a native-search-path (one > > > > possible solution; in my home profile I made VDPAU work by setting > > > > "VDPAU_DRIVER_PATH=3D/run/current-system/profile/lib/vdpau"). > > > > * https://issues.guix.gnu.org/48868 appears to be the same > > > > VDPAU_DRIVER_PATH issue as https://issues.guix.gnu.org/62313. > >=20 > > For the VDPAU drivers, I plan to do a little more digging and some > > experimenting but I suspect defining VDPAU_DRIVER_PATH as a > > native-search-path is the best way forward. I'll send a patch once > > I've tested a change locally without having my profile set > > VDPAU_DRIVER_PATH to /run/current-system/profile/lib/vdpau. >=20 >=20 > I checked that both 48868 and 62313 were fixed in the recent updates > and closed both. >=20 > Thanks for the patches! > John You're welcome! And thank you for checking and resolving the bug reports! Cheers, Kaelyn