On Wed, Jan 08, 2025 at 09:35:03 +0700, Max Nikulin wrote:
> On 08/01/2025 00:08, Haines Brown wrote:
> > I have no idea how to use pipewire. Do you simply run the comand $ pipewire 
> > to
> > get an interface like alsamixer?
> 
> Why are you trying to start pipewire manually? Systemd should do it for you
> as a part of user session. It is not an application with GUI.

Just as a baseline, audio works fine for me in Debian 12.  I never had
to configure or change anything.

I login on a text console and run "startx" which invokes fvwm because
that's what my ~/.xsession file says to do.

Pipewire is started automatically.  The pipewire.service is triggered
by pipewire.socket, presumably in response to some application trying
to open an audio output device.  It's all hazy and not well documented
(at least in the places I've looked).

hobbit:~$ systemctl --user status pipewire.service
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: e>
    Drop-In: /home/greg/.config/systemd/user/service.d
             └─env.conf, umask.conf
     Active: active (running) since Thu 2024-12-05 06:48:46 EST; 1 month 3 days>
TriggeredBy: ● pipewire.socket
   Main PID: 925 (pipewire)
      Tasks: 2 (limit: 18737)
     Memory: 10.8M
        CPU: 19h 27min 6.188s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
             └─925 /usr/bin/pipewire

Dec 05 06:48:46 hobbit systemd[909]: Started pipewire.service - PipeWire Multim>
Dec 05 06:48:46 hobbit pipewire[925]: mod.rt: Can't find org.freedesktop.portal>
Dec 05 06:48:46 hobbit pipewire[925]: mod.rt: found session bus but no portal

You probably won't have those Drop-In files.  They're unrelated, part
of some testing I was doing a while ago, and never cleaned up.

I don't know what a "portal" means in this context.  It seems unimportant,
though, because it's working as expected.

Reply via email to