-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support pulseaudio via pipewire #418
Comments
This is odd. Why/how could pipewire disallow this?
I would not like to share the existing socket. This might cause security issues. Could you please try to run with |
When I'm running in tcp-mode pulseaudio clients exit with timeout:
|
As far as I understand the Pipewire documentation about modules the module The TCP module |
Thank you for the details! I was not aware that pipewire directly supports pulseaudio commands. that should make things easier. Regarding the tcp issue:
What do you get with this command? |
Thanks for testing this setup. Running the command on my host system works:
To run pavucontrol IIRC you have to start the following services as user (at least they are running on my system):
When I stop pipewire-media-session I get the same error as you do. |
Ok, after some attempts I finally got pipewire to work. Your hint with Now I can reproduce your issue. The command x11docker uses:
(port and IP can differ) Note: For I also tried
but failed, too. |
Today the load-module command fails again. Don't know why. As a workaround, I've introduced option |
The Unfortunately I cannot test that ATM but the Thanks for debugging and implementing the workaround. |
Good to know, thanks for investigation! |
Hi,
I just face the same issue as #238 after switching to pipewire via http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu.
I also found #380 were you stated that you do not see a reason for implementing pipewire support.
When running pipewire the pactl command cannot create its own socket.
A solution I found was to mount the existing pulseaudio socket created by pipewire into the container for
/x11docker/pulseaudio.socket
like this:-v "$(LC_ALL=C pactl info | grep 'Server String' | cut -d' ' -f3):/x11docker/pulseaudio.socket"
Maybe it could be implemented as fallback when socket creation using pactl fails.
I tried adding the required code myself but haven't found the intended way to add a volume to the Backendcommand.
If you can give me a hint on that I'll create a pull request.
Regards,
Andrwe
The text was updated successfully, but these errors were encountered: