Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 16:11:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255348] multimedia/pipewire: first take at alsa and media session
Message-ID:  <bug-255348-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255348

            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@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)
          Assignee: arrowd@FreeBSD.org

Created attachment 224380
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224380&action=
=3Dedit
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
>=3D1.1.7. Media session also has flatpak/xdg-portal related code, this mig=
ht 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=3D5 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 >=3D1.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, chec=
k 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255348-7788>