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

Previous Next

Package: guix;

Reported by: Mája Tomášek <maya.tomasek <at> disroot.org>

Date: Sun, 2 Oct 2022 14:34:02 UTC

Severity: normal

Done: Kaelyn <kaelyn.alexi <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58251 in the body.
You can then email your comments to 58251 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#58251; Package guix. (Sun, 02 Oct 2022 14:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mája Tomášek <maya.tomasek <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 02 Oct 2022 14:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mája Tomášek <maya.tomasek <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: Mesa missing patches for Vulkan shared libraries
Date: Sun, 02 Oct 2022 16:33:13 +0200
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.




Information forwarded to bug-guix <at> gnu.org:
bug#58251; Package guix. (Sun, 16 Oct 2022 16:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 58251 <at> debbugs.gnu.org (full text, mbox):

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "58251 <at> debbugs.gnu.org" <58251 <at> debbugs.gnu.org>
Subject: Re: Mesa missing patches for Vulkan shared libraries
Date: Sun, 16 Oct 2022 16:57:22 +0000
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 manifests similar to how I'd done for vulkan-validationlayers in https://issues.guix.gnu.org/57297.




Information forwarded to bug-guix <at> gnu.org:
bug#58251; Package guix. (Mon, 21 Nov 2022 19:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 58251 <at> debbugs.gnu.org (full text, mbox):

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "58251 <at> debbugs.gnu.org" <58251 <at> debbugs.gnu.org>
Cc: "58566 <at> debbugs.gnu.org" <58566 <at> debbugs.gnu.org>
Subject: Re: Mesa missing patches for Vulkan shared libraries
Date: Mon, 21 Nov 2022 19:16:50 +0000
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 split 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 22.2.4.




Information forwarded to bug-guix <at> gnu.org:
bug#58251; Package guix. (Sun, 18 Jun 2023 16:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 58251 <at> debbugs.gnu.org (full text, mbox):

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "58251 <at> debbugs.gnu.org" <58251 <at> debbugs.gnu.org>
Subject: Re: Mesa missing patches for Vulkan shared libraries
Date: Sun, 18 Jun 2023 16:23:14 +0000
The manifest files have been fixed in mesa to include the path to the vulkan layer shared objects in commit 02995444dbe9861c32b6e2cdbfb7a7b2affe2c2b.




bug closed, send any further explanations to 58251 <at> debbugs.gnu.org and Mája Tomášek <maya.tomasek <at> disroot.org> Request was from Kaelyn <kaelyn.alexi <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 18 Jun 2023 16:24:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 17 Jul 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 255 days ago.

Previous Next


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