x11docker: Pulseaudio 12 not working anymore
I don’t know if this issue is related to x11docker, but maybe someone has some hints for me to solve it.
After an upgrade of different packages inclusive pulseaudio and nvidia driver (arch linux), pulseaudio has stopped working with Docker. Downgrading of pulseaudio has no effect. For example vlc error message is vlcpulse audio output error: PulseAudio server connection failure: Timeout. It’s not connection refused! See logs
If I install vlc on host system, it can connect to pulseaudio via socket and sound is working. See logs
Pulseaudio native is mounted to the container but I don’t know why it can not connect anymore. Any hints appreciated.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 29 (29 by maintainers)
Commits related to this issue
- --pulseaudio: allow optional arg 'socket' or 'tcp' for connection mode (#71) — committed to mviereck/x11docker by mviereck 6 years ago
- --pulseaudio: provide PULSE_COOKIE in container (#71) — committed to mviereck/x11docker by mviereck 6 years ago
- --pulseaudio: only share socket in use instead of whole pulse folder #71 — committed to mviereck/x11docker by mviereck 6 years ago
- --pulseaudio: create new unix socket instead of sharing existing one (#71) — committed to mviereck/x11docker by mviereck 6 years ago
- --pulseaudio: remove auth-anonymous=1 (#71) — committed to mviereck/x11docker by mviereck 6 years ago
- --puleaudio: regression fix #71 — committed to mviereck/x11docker by mviereck 6 years ago
Thanks for reporting! It is fixed now.
I did a great code change putting the long linear code flow into functions() and creating a short main() routine that gives an easier overview of x11docker code flow. Accidently I’ve deleted a pulseaudio check during this operation that changes
automode intotcporsocket.I got this in terminal without the logs: 😉
Quite awesome,
--pulseaudio=tcpworks like a charm for vlc and pavucontrol. 🎉 I don’t find a symlink.If I run
--sharedir /run/user/1000/pulse/dbus-socketwithout--pulseaudiovlc said this timevlcpulse audio output error: PulseAudio server connection failure: Connection refused. So it’s no timeout.And this Dockerfile does not work for you via socket?
Is there anything that I can do to help to bring pulseaudio socket back to work? Or maybe we wait a month or so and see if it works with new updates again? This depends on your ideas how to debug. 😉 In the meantime I can live with tcp.
Thank you very much for your effort. I highly appreciate it.