Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)  (Read 1638 times)

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.651
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #15 on: 2021/10/29, 14:05:10 »
I guess I was puzzled :)

On topic I can state that pipewire works fine with wireplumber instead of pipewire-media-session.

Offline absolut

  • User
  • Posts: 448
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #16 on: 2021/10/30, 22:23:19 »
hi all,

i also ran into the issue on the dist-upgrade. reading through the thread, i got my audio back by running wireplumber manually as user. now, my main question is, how to get it running as daemon automatically on boot?

pipewire-session-manager was removed/purgedcompletely

according to this page:
https://pipewire.pages.freedesktop.org/wireplumber/running-wireplumber-daemon.html

Code: [Select]
absolut@sidbox: ~ $ systemctl --user --now enable wireplumber
Created symlink /home/absolut/.config/systemd/user/pipewire-session-manager.service → /usr/lib/systemd/user/wireplumber.service.
Created symlink /home/absolut/.config/systemd/user/pipewire.service.wants/wireplumber.service → /usr/lib/systemd/user/wireplumber.service.


Code: [Select]
absolut@sidbox: ~ $ dpkg -l | grep wire
ii  crda                                          4.14+git20191112.9856751-1          amd64        wireless Central Regulatory Domain Agent
ii  iw                                            5.9-3                               amd64        tool for configuring Linux wireless devices
ii  knetwalk                                      4:21.08.0-1                         amd64        wire puzzle game
ii  libpipewire-0.3-0:amd64                       0.3.39-3                            amd64        libraries for the PipeWire multimedia server
ii  libpipewire-0.3-common                        0.3.39-3                            all          libraries for the PipeWire multimedia server - common files
ii  libpipewire-0.3-modules:amd64                 0.3.39-3                            amd64        libraries for the PipeWire multimedia server - modules
ii  libwireplumber-0.4-0:amd64                    0.4.4-1                             amd64        Shared libraries for WirePlumber
ii  pipewire:amd64                                0.3.39-3                            amd64        audio and video processing engine multimedia server
ii  pipewire-bin                                  0.3.39-3                            amd64        PipeWire multimedia server - programs
ii  pipewire-pulse                                0.3.39-3                            amd64        PipeWire PulseAudio daemon
ii  rfkill                                        2.37.2-4                            amd64        tool for enabling and disabling wireless devices
ii  wireless-regdb                                2021.08.28-1                        all          wireless regulatory database for Linux
ii  wireless-tools                                30~pre9-13.1                        amd64        Tools for manipulating Linux Wireless Extensions
ii  wireplumber                                   0.4.4-1                             amd64        modular session / policy manager for PipeWire


running wireplumber as application from konsole enables audio devices, and everything seems fine... logout or reboot requires to manually start wireplumber again.

Code: [Select]
absolut@sidbox: ~ $ wireplumber &
[1] 156411
absolut@sidbox: ~ $ M 22:23:50.761386          wp-device ../lib/wp/device.c:620:wp_spa_device_new_from_spa_factory: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
M 22:23:50.761423       script/bluez bluez.lua:136:createMonitor: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.

am i missing something? any help appreciated. :) best!

absolut

Offline dpanter

  • User
  • Posts: 33
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #17 on: 2021/10/31, 00:19:07 »
reading through the thread, i got my audio back by running wireplumber manually as user. now, my main question is, how to get it running as daemon automatically on boot?
Simply installing wireplumber should handle everything for you. Purge everything you did there and reinstall wireplumber, let it install the proper services. Check the output for any issues. Once rebooted, check that wireplumber.service has started and pipewire-media-session.service is deleted or masked/dead.

Code: [Select]
$ systemctl --user status wireplumber
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-10-28 22:14:25 CEST; 2 days ago
   Main PID: 2211 (wireplumber)
      Tasks: 4 (limit: 38404)
     Memory: 19.6M
        CPU: 36.585s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2211 /usr/bin/wireplumber

okt 28 22:14:25 panther-desktop systemd[1470]: Started Multimedia Service Session Manager.


Code: [Select]
$ systemctl --user status pipewire-media-session
○ pipewire-media-session.service
     Loaded: masked (Reason: Unit pipewire-media-session.service is masked.)
     Active: inactive (dead)
<< insert signature here >>

Offline absolut

  • User
  • Posts: 448
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #18 on: 2021/10/31, 07:45:07 »
okay, let's start with checking the situation before any attempts to fix it:

Code: [Select]
$ systemctl --user status wireplumber
× wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2021-10-31 07:39:34 CET; 2min 53s ago
    Process: 43964 ExecStart=/usr/bin/wireplumber (code=exited, status=70)
   Main PID: 43964 (code=exited, status=70)
        CPU: 39ms

Okt 31 07:39:34 sidbox systemd[43805]: wireplumber.service: Scheduled restart job, restart counter is at 5.
Okt 31 07:39:34 sidbox systemd[43805]: Stopped Multimedia Service Session Manager.
Okt 31 07:39:34 sidbox systemd[43805]: ^[[0;1;38;5;185m^[[0;1;39m^[[0;1;38;5;185mwireplumber.service: Start request repeated too quickly.
Okt 31 07:39:34 sidbox systemd[43805]: ^[[0;1;38;5;185m^[[0;1;39m^[[0;1;38;5;185mwireplumber.service: Failed with result 'exit-code'.
Okt 31 07:39:34 sidbox systemd[43805]: ^[[0;1;39mFailed to start Multimedia Service Session Manager.

and

Code: [Select]
$ systemctl --user status pipewire-media-session
Unit pipewire-media-session.service could not be found.

-----


after purging "all" related to pipewire and wireplumber, and removing states from user home folder
Code: [Select]
rm -r /home/absolut/.local/state/wireplumber/
 i remain with only libpipewire packages... after reboot audio perfectly works!
Code: [Select]
absolut@sidbox: ~ $ dpkg -l | grep wire
ii  crda                                          4.14+git20191112.9856751-1          amd64        wireless Central Regulatory Domain Agent
ii  iw                                            5.9-3                               amd64        tool for configuring Linux wireless devices
ii  knetwalk                                      4:21.08.0-1                         amd64        wire puzzle game
ii  libpipewire-0.3-0:amd64                       0.3.39-3                            amd64        libraries for the PipeWire multimedia server
ii  libpipewire-0.3-common                        0.3.39-3                            all          libraries for the PipeWire multimedia server - common files
ii  libpipewire-0.3-modules:amd64                 0.3.39-3                            amd64        libraries for the PipeWire multimedia server - modules
ii  libwireplumber-0.4-0:amd64                    0.4.4-1                             amd64        Shared libraries for WirePlumber
ii  rfkill                                        2.37.2-4                            amd64        tool for enabling and disabling wireless devices
ii  wireless-regdb                                2021.08.28-1                        all          wireless regulatory database for Linux
ii  wireless-tools                                30~pre9-13.1                        amd64        Tools for manipulating Linux Wireless Extensions



« Last Edit: 2021/10/31, 08:28:51 by absolut »

Offline dpanter

  • User
  • Posts: 33
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #19 on: 2021/10/31, 09:01:18 »
i remain with only libpipewire packages... after reboot audio perfectly works!
You do have libwireplumber-0.4-0:amd64 installed... ;) Not sure how it's working here to be honest, as I understand it, the wireplumber (or pipewire-media-session) binary needs to run as a user process.
In any case, working is working. :)
<< insert signature here >>

Offline absolut

  • User
  • Posts: 448
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #20 on: 2021/10/31, 10:20:42 »
well, yeah, as intermediate state of affairs that is fine to me, but honestly i wonder how that actually does work...

i am now spending the day with family, and will later come back to that topic... curiosity, you know :D

Offline sidemmc

  • User
  • Posts: 21
Re: [SOLVED] DU breaks pipewire (incomplete 0.3.39-1 atm)
« Reply #21 on: 2021/10/31, 15:11:58 »
Remark: for bluetooth working, wireplumber requires package    libspa-0.2-bluetooth   being installed (#997862).