unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Abhishek Cherath <abhi@quic.us>
To: 69971@debbugs.gnu.org
Subject: [bug#69971] Some more information
Date: Sun, 24 Mar 2024 17:22:25 -0400	[thread overview]
Message-ID: <87le67iaum.fsf@quic.us> (raw)
In-Reply-To: <02189bbb2583491df0be62c56568caa4bf245997.1711245733.git.abhi@quic.us>

The reason the driver path stuff is particularly important is that I get
my env vars for LIBVA_DRIVERS_PATH from guix package --search paths as
follows

```bash
eval "$(guix package --search-paths \
-p $HOME/.config/guix/current \
-p $HOME/.guix-profile \
-p $HOME/.guix-extra-profiles/emacs/emacs \
-p $HOME/.guix-home/profile \
-p /run/current-system/profile)"
```

and this gives the following for LIBVA_DRIVERS_PATH:
```bash
export LIBVA_DRIVERS_PATH="/run/current-system/profile/lib/dri:/home/abhishek/.guix-profile/lib/dri"
```

This means that any sandboxed program with access to one of those won't
be able to use hardware acceleration. I only figured this out when I got
curious about why mpv could use hardware accel just fine but nyxt
couldn't. It's also a problem for firefox. Guess I should put in a bug
report there?




  parent reply	other threads:[~2024-03-24 21:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24  2:02 [bug#69971] [PATCH] gnu: webkitgtk: Add locale and dri access to gtk sandbox in order to silence gtk locale warnings and enable hardware accelerated video, respectively Abhishek Cherath
2024-03-24  5:54 ` [bug#69971] [PATCH v2] " Abhishek Cherath
2024-04-01  1:33   ` Maxim Cournoyer
2024-04-01  2:17     ` Abhishek Cherath
2024-04-01  6:32       ` Liliana Marie Prikler
2024-04-01 10:49         ` Abhishek Cherath
2024-04-01 17:05           ` Liliana Marie Prikler
2024-04-01 18:11             ` Jack Hill
2024-04-01 18:20               ` Liliana Marie Prikler
2024-04-01 18:28                 ` Abhishek Cherath
2024-03-24  6:24 ` [bug#69971] Explanation Abhishek Cherath
2024-03-24 21:22 ` Abhishek Cherath [this message]
2024-03-24 21:26   ` [bug#69971] Some more information Abhishek Cherath
2024-04-18  3:09 ` [bug#69971] Submitted to gnome-team Abhishek Cherath
2024-04-18  3:14 ` [bug#69971] close 69971 Abhishek Cherath

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=87le67iaum.fsf@quic.us \
    --to=abhi@quic.us \
    --cc=69971@debbugs.gnu.org \
    /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).