You are not logged in.
Pages: 1
Hello.
I have an arch linux host and created an unpriv. arch linux lxc container called archie inside there.
I use `xhost +local:` on the host, and the following profile on the container
config:
environment.DISPLAY: :0.0
environment.PULSE_SERVER: unix:/home/archie/pulse-native
description: X11 LXD profile
devices:
PASocket1:
bind: container
connect: unix:/run/user/1000/pulse/native
gid: "1000"
listen: unix:/home/archie/pulse-native
mode: "0777"
security.gid: "1000"
security.uid: "1000"
type: proxy
uid: "1000"
X0:
bind: container
connect: unix:@/tmp/.X11-unix/X0
listen: unix:@/tmp/.X11-unix/X0
security.gid: "1000"
security.uid: "1000"
type: proxy
mygpu:
type: gpu
name: X11
used_by:
- /1.0/instances/arch
- /1.0/instances/archiewhich provides X connection, video accel, and pulseaudio works inside the container. (once we `sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf` on the host)
The problem that I am having is that steam games (Baba is You, Recursed, Snake's Tale) do not have sound or do not launch and I think it's because they fail to get audio (Yankai's peak does have sound). Some errors:
Opening audio device
corrupted double-linked list
/home/archie/.local/share/Steam/steamapps/common/Baba Is You/run.sh: line 10: 8772 Aborted (core dumped) "./bin64/Chowdren"
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Failed to open the audio device
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Failed to open the audio device
I am not sure how to diagnose this problem or troubleshoot it so if anybody could recommend some tools or things to try that would be very kind! thanks.
I updated both at the same time to ensure all the libraries are at the same versions. I installed pulseaudio-alsa on the host and container, lib32-libpulse and lib32-alsa-plugins on the container.
Last edited by rain1 (2020-12-18 23:05:19)
Offline
Pages: 1