GNU bug report logs - #58251
Mesa missing patches for Vulkan shared libraries

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mája Tomášek <maya.tomasek@HIDDEN>; dated Sun, 2 Oct 2022 14:34:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 58251 <at> debbugs.gnu.org:


Received: (at 58251) by debbugs.gnu.org; 21 Nov 2022 19:17:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 21 14:17:15 2022
Received: from localhost ([127.0.0.1]:48877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxCI7-0001Ug-BP
	for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 14:17:15 -0500
Received: from mail-4316.protonmail.ch ([185.70.43.16]:54447)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaelyn.alexi@HIDDEN>)
 id 1oxCI2-0001UK-IA; Mon, 21 Nov 2022 14:17:13 -0500
Date: Mon, 21 Nov 2022 19:16:50 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1669058223; x=1669317423;
 bh=toEE6TjbGck6WSjS8VK607vvWNH+jTmWLfF/DZODUZY=;
 h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=dfgy7rcmczPztmUftm7sTu+uzADes94vHS2VaRwRvs5IUAC5aBBIQd8EhvMu6w+00
 Rg8tzIF61Bgh3nAxAXe5dHPnVS/nGRnMaJGVYf1sTaQ/R/HRUV3tIQdK7o49w1m0+7
 JD4+o0oIDN68M9ZPlVFksbAMKL0LZg/v1XhbzC7MlAcjIpa7T11xHUEoBMTRw4NiaK
 VTXRdWkj6Ef3tbXjXuCiVp1tHNxtkY02UVGubYhoHW8O5LqBv3/5fX07/t7EkQjhas
 +NMMASd3LdPNWF80TKcTVDNKsCz3kmKZ9qglHXSUmCydHKn8ipuBiNVx3iR3SUaUkD
 xZTNT0Z2i6VQw==
To: "58251 <at> debbugs.gnu.org" <58251 <at> debbugs.gnu.org>
From: Kaelyn <kaelyn.alexi@HIDDEN>
Subject: Re: Mesa missing patches for Vulkan shared libraries
Message-ID: <mMOF0iUQmEqnMCl5GZY6_efUCebwChxpK1AuyPs6bw0EpRgL4gc-LdqIauUckj_0euYiNF1nHuvnCZ1EHsV__5NFRXBbRrlGvwBt1ELjV5E=@protonmail.com>
Feedback-ID: 34709329:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 58251
Cc: "58566 <at> debbugs.gnu.org" <58566 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I've just created https://issues.guix.gnu.org/59453 with the patch to mesa =
on core-updates to fix the library paths in the Vulkan layer manifests. I s=
plit the change out from my previous mesa update patch (https://issues.guix=
.gnu.org/58566) as mesa on core-updates has since been updated to version 2=
2.2.4.




Information forwarded to bug-guix@HIDDEN:
bug#58251; Package guix. Full text available.

Message received at 58251 <at> debbugs.gnu.org:


Received: (at 58251) by debbugs.gnu.org; 16 Oct 2022 16:57:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 16 12:57:34 2022
Received: from localhost ([127.0.0.1]:45995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ok6xB-0001aH-RH
	for submit <at> debbugs.gnu.org; Sun, 16 Oct 2022 12:57:34 -0400
Received: from mail-40133.protonmail.ch ([185.70.40.133]:44365)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaelyn.alexi@HIDDEN>) id 1ok6x9-0001a3-KE
 for 58251 <at> debbugs.gnu.org; Sun, 16 Oct 2022 12:57:32 -0400
Date: Sun, 16 Oct 2022 16:57:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1665939445; x=1666198645;
 bh=/kOmJQR74r9zcTYP5iAhYMZRiy3AEglLhN9WCm5FZZ8=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID;
 b=OPeV6Lw0SMvAjWDe8whLIj/cZUCeLDah0KvWqDR0aJ/c0BbxKY2bFj3EPk2A5372N
 HQl8X/m8hJAfuM/XDT0UxMpPXmMwUEtf1iCVlxvGZyPOkeOyAv+H8rRvuq692PwmhU
 SgvTntSLb0KXGnEQRPZ/5ZkzoNO125Ig6o4NRxF/i+3TgSH8tTQ6H/Co56A3nHwrMS
 8hV01MrxgjM7YFk9qTj8cq3bqPKen/7nmCWX9UV5ufRTmYauxHN9bMRC0hWmjCFw0u
 s7gAS+o7xx7AYJb2SMuS+Eq8BhgRVb3rQCC5XBXOOVOI24N0lrnY3iesnSS1PsdYjT
 1BlbwteSiiZ9A==
To: "58251 <at> debbugs.gnu.org" <58251 <at> debbugs.gnu.org>
From: Kaelyn <kaelyn.alexi@HIDDEN>
Subject: Re: Mesa missing patches for Vulkan shared libraries
Message-ID: <OpaXBfPD99lxnbZY8S1RaX4vp6wCRuRp3OvRw8dSyoTlrG9nBdTJAcvKoRu9vZPDR99nBItqu49b1BfFHMkP5FWNHVGP9fVv_9yyTEnsJoM=@protonmail.com>
Feedback-ID: 34709329:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 58251
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I've just sent in https://issues.guix.gnu.org/58566 to update mesa on core-=
updates, and that patch includes a new phase to fix up the Vulkan layer man=
ifests similar to how I'd done for vulkan-validationlayers in https://issue=
s.guix.gnu.org/57297.




Information forwarded to bug-guix@HIDDEN:
bug#58251; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Oct 2022 14:33:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 02 10:33:31 2022
Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1of026-00020c-Kz
	for submit <at> debbugs.gnu.org; Sun, 02 Oct 2022 10:33:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:57782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maya.tomasek@HIDDEN>) id 1of025-00020V-H1
 for submit <at> debbugs.gnu.org; Sun, 02 Oct 2022 10:33:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54348)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maya.tomasek@HIDDEN>)
 id 1of025-0005Aw-C3
 for bug-guix@HIDDEN; Sun, 02 Oct 2022 10:33:29 -0400
Received: from knopi.disroot.org ([178.21.23.139]:38166)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maya.tomasek@HIDDEN>)
 id 1of023-00071l-1i
 for bug-guix@HIDDEN; Sun, 02 Oct 2022 10:33:28 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 6E7D14C33A
 for <bug-guix@HIDDEN>; Sun,  2 Oct 2022 16:33:18 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 11L42yoQ1xRH for <bug-guix@HIDDEN>;
 Sun,  2 Oct 2022 16:33:17 +0200 (CEST)
From: =?utf-8?B?TcOhamEgVG9tw6HFoWVr?= <maya.tomasek@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1664721197; bh=kg1CxW36eoteB+z+U2iCcOyoehk24xppwNUWfrtaXqo=;
 h=From:To:Subject:Date;
 b=kilBBO7A55NYX9D1i1XbNJi2DqS0qZr1sGHBgSL9bi9Wt2EOKIXFBTp/OGya7g0eB
 LVHOLFtzv62+ef20scwYUtEwh+LIiiMRPTEzwhNIH33t9wCgwNWnZXw3soYp+18f7i
 zmTsqzTgY1+yvMtxqPpzOtk9CYc5KlvpKEgItGyd8kDI9DEm01tPT7WK4uTjJSnwI3
 6FZpfa1yTXKbKtiGPIFwNup7CS6qhmPKD+g3pjKa0QM7aZZRjmxXwPB9floqlcKtzN
 4fIFCTasUTNKtylj7aFQps28m0GVTfJz3hzPSdsmxHtM38oU5jH6RVqk3xFShrkrFY
 aswXt/kmfIb3A==
To: bug-guix@HIDDEN
Subject: Mesa missing patches for Vulkan shared libraries
Date: Sun, 02 Oct 2022 16:33:13 +0200
Message-ID: <878rly70t2.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=178.21.23.139;
 envelope-from=maya.tomasek@HIDDEN; helo=knopi.disroot.org
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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


As per https://issues.guix.gnu.org/57297

> It was only recently that I was able to fix an issue with the tutorial
> program not finding the .so for the validation layer, by patching the
> layer manifest file with the full store path of the .so. A similar
> phase would need to be added to the mesa package definition for its
> device selection layer to work properly. The error from the mesa layer
> not being found when I run the basic tutorial program is:
>
> !! validation layer: libVkLayer_MESA_device_select.so: cannot open
> shared object file: No such file or directory

And the mentioned patch is:

> + #:phases #~(modify-phases %standard-phases
> +              (add-after 'install 'set-layer-path-in-manifest
> +                (lambda* (#:key outputs #:allow-other-keys)
> +                  (let* ((out (assoc-ref outputs "out"))
> +                              (manifest (string-append out
> +                                        "/share/vulkan/explicit_layer.d"
> +                                        "/VkLayer_khronos_validation.json")))
> +                          (substitute* manifest
> +                             (("\"libVkLayer_khronos_validation.so\"")
> +                              (string-append "\"" out
> "/lib/libVkLayer_khronos_validation.so\"")))))))))

This errors actually appears in more packages, for example vulkan-info
prints this error.

Patches to all shared vulkan libraries should be added into mesa, so
applications can actually load vulkan.




Acknowledgement sent to Mája Tomášek <maya.tomasek@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#58251; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 21 Nov 2022 19:30:02 UTC

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