[Bug 255348] multimedia/pipewire: first take at alsa and media session
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 23 16:11:57 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255348
Bug ID: 255348
Summary: multimedia/pipewire: first take at alsa and media
session
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: arrowd at FreeBSD.org
Reporter: evgeniy at khramtsov.org
Flags: maintainer-feedback?(arrowd at FreeBSD.org)
Assignee: arrowd at FreeBSD.org
Created attachment 224380
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224380&action=edit
patch
There are patches to build alsa and media session. I plan on sending them
upstream this week. This depends on 245321, media session requires alsa-lib
>=1.1.7. Media session also has flatpak/xdg-portal related code, this might be
useful for these.
PipeWire clients e.g. pw-cat pw-play can play sound via alsa backend with
edited pipewire.conf to include alsa static sink adapter pointing to
"pcm.default" (see asound.conf & posted known working config next). Pulse
clients do not work yet because the pipewire-pulse daemon gets wrong audio
formats from pipewire.
PIPEWIRE_DEBUG=5 is too verbose, the only catch for now is pipewire-pulse
reports sink-name "null", but it seems that "null" means to use the default
sink from pipewire; pactl confirms that the default sink is used. I plan to
continue debugging this next weekend, the PR is here to make sure that the
progress does not block on me.
If sound does not work after configuration change that was faulty, make sure
that ~/.config/pipewire is rm'ed. PipeWire restore-session wasted a lot of my
time before this was found out.
If one wants to build jack, then version >=1.9.10 is needed (bug 251125).
SDL2 is disabled because it is needed only for tests and gets enabled if
devel/sdl20 is installed. If one wants to build it anyway, then make sure to
add localbase to USES.
TODO: find out where the LD_PRELOAD libs are and/or how to build them, check if
static alsa source (microphone) can be configured, xdg-desktop-portal stuff,
OSS backend.
FreeBSD 14 poudriere bulk && poudriere testport w/ all options sets: OK.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list