unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaelyn <kaelyn.alexi@protonmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: John Kehayias <john.kehayias@protonmail.com>,
	guix-devel <guix-devel@gnu.org>
Subject: Re: Mesa vulkan layer path fix for core-updates
Date: Tue, 25 Apr 2023 16:40:55 +0000	[thread overview]
Message-ID: <Xol6PILW72gT40ePkUmvsCxkIHYmhpUjMzxqXk-RKA1zmUvxg_4zoAbZsYsubERyOlfLXf3xE_wY0f9KgKTgv2qxQ0hlIDmx7TLxWLQhX2o=@protonmail.com> (raw)
In-Reply-To: <ZEfgkgmuqwGIfcHC@jurong>

Hi,

------- Original Message -------
On Tuesday, April 25th, 2023 at 2:15 PM, Andreas Enge <andreas@enge.fr> wrote:


> 
> 
> Hello Kaelyn,
> 
> thanks for your research!

You're welcome! :)

> Am Wed, Apr 19, 2023 at 04:07:51PM +0000 schrieb Kaelyn:
> 
> > * 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.)
> 
> 
> I just closed these two.
> 
> > * 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/LoaderInterfaceArchitecture.md
> > * https://issues.guix.gnu.org/58251 would be fixed by https://issues.guix.gnu.org/59453

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.

> > * 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=/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.

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.

Cheers,
Kaelyn
> 
> 
> And leave these to you and anybody who wants to work on them!
> 
> Andreas


  reply	other threads:[~2023-04-25 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 14:41 Mesa vulkan layer path fix for core-updates Kaelyn
2023-04-19 15:26 ` Andreas Enge
2023-04-19 16:07   ` Kaelyn
2023-04-19 16:38     ` John Kehayias
2023-04-25 14:15     ` Andreas Enge
2023-04-25 16:40       ` Kaelyn [this message]
2023-05-09  4:51         ` John Kehayias
2023-05-09 14:56           ` Kaelyn
2023-05-10 12:20             ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Xol6PILW72gT40ePkUmvsCxkIHYmhpUjMzxqXk-RKA1zmUvxg_4zoAbZsYsubERyOlfLXf3xE_wY0f9KgKTgv2qxQ0hlIDmx7TLxWLQhX2o=@protonmail.com' \
    --to=kaelyn.alexi@protonmail.com \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).