[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Audio/sound (ALSA) in guix environment --container
From: |
Pierre Neidhardt |
Subject: |
Audio/sound (ALSA) in guix environment --container |
Date: |
Thu, 21 Mar 2019 20:50:22 +0100 |
Hi!
I'm trying to run an graphical application with audio in a Guix
environment.
So far:
--8<---------------cut here---------------start------------->8---
guix environment --container \
--share=/tmp/.X11-unix/ \
--share=/dev/snd \
--ad-hoc foo coreutils -- \
env DISPLAY=$DISPLAY foo "$@"
--8<---------------cut here---------------end--------------->8---
I get this error:
--8<---------------cut here---------------start------------->8---
ALSA lib pcm_direct.c:1943:(snd1_pcm_direct_parse_open_conf) The field ipc_gid
must be a valid group (create group audio)
--8<---------------cut here---------------end--------------->8---
I though --share=/dev/snd would help, but I don't think that's useful.
I tried creating the "audio" group in the container or adding the user
to the group, to no avail:
--8<---------------cut here---------------start------------->8---
> guix environment -C --ad-hoc coreutils shadow
address@hidden . [env]# groups
groups: cannot find name for group ID 0
0 groups: cannot find name for group ID 65534
65534
address@hidden . [env]# groupadd foo
groupadd: PAM: Critical error - immediate abort
--8<---------------cut here---------------end--------------->8---
Can anyone get ALSA to work in Guix containers?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Audio/sound (ALSA) in guix environment --container,
Pierre Neidhardt <=
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/26
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/26
- Re: Audio/sound (ALSA) in guix environment --container, Pierre Neidhardt, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Pierre Neidhardt, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/27