unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58251: Mesa missing patches for Vulkan shared libraries
@ 2022-10-02 14:33 maya.tomasek--- via Bug reports for GNU Guix
  2022-10-16 16:57 ` Kaelyn via Bug reports for GNU Guix
  2023-06-18 16:23 ` Kaelyn via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: maya.tomasek--- via Bug reports for GNU Guix @ 2022-10-02 14:33 UTC (permalink / raw)
  To: 58251


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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#58251: Mesa missing patches for Vulkan shared libraries
  2022-10-02 14:33 bug#58251: Mesa missing patches for Vulkan shared libraries maya.tomasek--- via Bug reports for GNU Guix
@ 2022-10-16 16:57 ` Kaelyn via Bug reports for GNU Guix
  2023-06-18 16:23 ` Kaelyn via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Kaelyn via Bug reports for GNU Guix @ 2022-10-16 16:57 UTC (permalink / raw)
  To: 58251@debbugs.gnu.org

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#58251: Mesa missing patches for Vulkan shared libraries
  2022-10-02 14:33 bug#58251: Mesa missing patches for Vulkan shared libraries maya.tomasek--- via Bug reports for GNU Guix
  2022-10-16 16:57 ` Kaelyn via Bug reports for GNU Guix
@ 2023-06-18 16:23 ` Kaelyn via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Kaelyn via Bug reports for GNU Guix @ 2023-06-18 16:23 UTC (permalink / raw)
  To: 58251@debbugs.gnu.org

The manifest files have been fixed in mesa to include the path to the vulkan layer shared objects in commit 02995444dbe9861c32b6e2cdbfb7a7b2affe2c2b.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-18 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-02 14:33 bug#58251: Mesa missing patches for Vulkan shared libraries maya.tomasek--- via Bug reports for GNU Guix
2022-10-16 16:57 ` Kaelyn via Bug reports for GNU Guix
2023-06-18 16:23 ` Kaelyn via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).