eruption-project / eruption

Realtime RGB LED Driver for Linux
https://eruption-project.org/
GNU General Public License v3.0
270 stars 33 forks source link

eruption and pipewire #53

Closed Glog78 closed 3 years ago

Glog78 commented 3 years ago

Describe the bug Not a bug / feature request

To Reproduce none

Expected behavior I would love to use audio viz on distributions with pipewire

Logs none

As far as i see currently pulseaudio and the root "workaround" is requiered to get the audio setup done. Could you check if it could also work with a local pulse server (localhost:port) which can be provided with pipewire too. Additional config option maybe ? Needs maybe to check periodically if the server is started or something like this since there pipewire daemon in the user context.

X3n0m0rph59 commented 3 years ago

@Glog78 Thanks for posting this feature request!

I have looked into adding support for PipeWire and added some preliminary documentation on how to set up audio for PipeWire enabled Linux distributions.

I got it working using the PulseAudio interface of PipeWire on ArcoLinux (Arch based) using the packages pipewire-git and pipewire-pulse-git. I only tried the unix domain socket transport, not the IP socket based transport, but I suppose that would work too.

Glog78 commented 3 years ago

Thanks alot for the additional information. I think i will update to pipewire-git and pipewire-pulse-git in this case and check over. For me this one can be closed and i will report back once i can check (might take me a little).