You are not logged in.

#1 2024-06-29 16:52:58

theluga
Member
Registered: 2023-12-23
Posts: 24

Pipewire Errors on Boot

I just updated today my laptop with the latest versions of pipewire 1:1.2.0-1

I find this error on boot:

Jun 29 13:29:23  pipewire[1005]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jun 29 13:29:23  pipewire[1005]: mod.adapter: usage: node.name=<string>

If I do a

 sudo journalctl -x -b | grep pipewire 

I get:

Jun 29 13:29:23  pipewire[1005]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
Jun 29 13:29:23  pipewire[1005]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jun 29 13:29:23  pipewire[1005]: mod.adapter: 0x62e75a01abb0: can't get format: No such device
Jun 29 13:29:23  pipewire[1005]: mod.adapter: usage: node.name=<string>
Jun 29 13:29:44  wireplumber[1006]: wireplumber: disconnected from pipewire

I tried creating an asound.conf in /etc/ with

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0

I also changed the numbers from 0 to 3, I also removed the last line from the file. Now I deleted this file since it is useless.

I removed my hdmi and rebooted, I also connected a headphone and at every reboot those errors continued to annoy me.

I also reinstalled the pipewire stack, wireplumber, I deleted all my configurations of wireplumber, pulse and pipewire from ~/ and /etc/ to use on the default on /usr/share. The error persists.

When I downgraded the packages:
extra/libpipewire         1:1.0.7-2
extra/pipewire             1:1.0.7-2
extra/pipewire-pulse  1:1.0.7-2

The error disappeared on boot.

What should a do?

I have re-upgraded my packages and don't find any error on my apps, playing on alsa, pulse etc. helvum works as intended, hdmi, speaker and headphone hotplug works fine too.
It is just an error on boot.

my system:

System:
  Kernel: 6.9.7-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: GNOME v: 46.2 Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82MJ v: IdeaPad Gaming 3 15ACH6

Edit:
upgraded alsa-card-profiles (1:1.2.0-1 -> 1:1.2.0-2)
upgraded dav1d (1.4.2-1 -> 1.4.3-1)
upgraded libpipewire (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire (1:1.2.0-1 -> 1:1.2.0-2)
upgraded gst-plugin-pipewire (1:1.2.0-1 -> 1:1.2.0-2)
upgraded lib32-libldap (2.6.7-1 -> 2.6.8-1)
upgraded libavif (1.0.4-3 -> 1.0.4-4)
upgraded pipewire-audio (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-alsa (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-jack (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-pulse (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-v4l2 (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-x11-bell (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pipewire-zeroconf (1:1.2.0-1 -> 1:1.2.0-2)
upgraded pulse-native-provider (1:1.2.0-1 -> 1:1.2.0-2)

But the error persists.

Edit2: created a issue on https://gitlab.freedesktop.org/pipewire … ssues/4085

Last edited by theluga (2024-06-30 03:05:09)

Offline

#2 2024-06-29 17:50:35

srahman5317
Member
Registered: 2021-11-19
Posts: 2

Re: Pipewire Errors on Boot

Same issue. Occurred after following updates

alsa-card-profiles (1:1.0.7-2 -> 1:1.2.0-1)
libpipewire (1:1.0.7-2 -> 1:1.2.0-1)
pipewire (1:1.0.7-2 -> 1:1.2.0-1)
libwireplumber (0.5.3-1 -> 0.5.5-1)
wireplumber (0.5.3-1 -> 0.5.5-1)
pipewire-audio (1:1.0.7-2 -> 1:1.2.0-1)
pipewire-alsa (1:1.0.7-2 -> 1:1.2.0-1)
pipewire-jack (1:1.0.7-2 -> 1:1.2.0-1)
pipewire-pulse (1:1.0.7-2 -> 1:1.2.0-1)

Don't know which packages caused it. There was also a kernel update at the same time but  I'm on LTS 6.6 kernel. So might not be a kernel issues since OP is on 6.9.

Offline

#3 2024-06-30 16:03:40

milto
Member
Registered: 2023-02-02
Posts: 15

Re: Pipewire Errors on Boot

Same issue as above after upgrading pipewire from 1.0 to 1.2 on my laptop, I can no longer use the output of my embedded sound card

product: 100 Series/C230 Series Chipset Family HD Audio Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3

Offline

#4 2024-07-03 23:35:11

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

So it looks like I'm not the only one because I didn't know how to look for this issue because I couldn't tell exactly what so I actually started my own thread and no one is replying I guess because this is here already.

Why just a handful of us are being affected?

Offline

#5 2024-07-04 09:58:05

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: Pipewire Errors on Boot

Please test those commands and report the output on Gitlab.

Offline

#6 2024-07-04 17:22:40

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

digitalone wrote:

Please test those commands and report the output on Gitlab.

Those commands don't work with my Audient Sono which I've been using for a few years now. This issue started after updating on July 2nd.

Here's an example:

$ alsaucm -c 0 dump text
ALSA lib parser.c:244:(error_node) UCM is not supported for this USB device (Audient Audient Sono at usb-0000:00:14.0-1, high speed @ USB2708:0004)
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsaucm: error failed to open sound card hw:0: No such device or address

Offline

#7 2024-07-05 18:49:11

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

sudo fuser -v /dev/snd/* gave me nothing.

systemctl --user status pipewire{,-pulse} wireplumber pulseaudio

× pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-07-05 14:30:25 EDT; 16min ago
   Duration: 108ms
 Invocation: 184e4a2b980c456f82beff2ae5676459
TriggeredBy: × pipewire.socket
    Process: 849 ExecStart=/usr/bin/pipewire (code=exited, status=234)
   Main PID: 849 (code=exited, status=234)

Jul 05 14:30:25 archlinux systemd[659]: pipewire.service: Failed with result 'exit-code'.
Jul 05 14:30:25 archlinux systemd[659]: pipewire.service: Scheduled restart job, restart counter is at 5.
Jul 05 14:30:25 archlinux systemd[659]: pipewire.service: Start request repeated too quickly.
Jul 05 14:30:25 archlinux systemd[659]: pipewire.service: Failed with result 'exit-code'.
Jul 05 14:30:25 archlinux systemd[659]: Failed to start PipeWire Multimedia Service.
Jul 05 14:30:31 archlinux systemd[659]: pipewire.service: Start request repeated too quickly.
Jul 05 14:30:31 archlinux systemd[659]: pipewire.service: Failed with result 'exit-code'.
Jul 05 14:30:31 archlinux systemd[659]: Failed to start PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Fri 2024-07-05 14:30:31 EDT; 16min ago
 Invocation: 2144473179dc4d1bb5dc8bc5c640b40e
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1037 (pipewire-pulse)
      Tasks: 2 (limit: 21320)
     Memory: 1.6M (peak: 2M)
        CPU: 38ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1037 /usr/bin/pipewire-pulse

Jul 05 14:30:34 archlinux pipewire-pulse[1037]: mod.protocol-pulse: 0x63caef4c1a60: failed to connect client: Host is down
Jul 05 14:30:34 archlinux pipewire-pulse[1037]: mod.protocol-pulse: client 0x63caef4e2230 [Thunar]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jul 05 14:31:06 archlinux pipewire-pulse[1037]: mod.protocol-pulse: 0x63caef4c1a60: failed to connect client: Host is down
Jul 05 14:31:06 archlinux pipewire-pulse[1037]: mod.protocol-pulse: client 0x63caef4e2230 [Xfce Terminal]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jul 05 14:34:00 archlinux pipewire-pulse[1037]: mod.protocol-pulse: 0x63caef4c1a60: failed to connect client: Host is down
Jul 05 14:34:00 archlinux pipewire-pulse[1037]: mod.protocol-pulse: client 0x63caef4e2230 [Firefox]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jul 05 14:35:49 archlinux pipewire-pulse[1037]: mod.protocol-pulse: 0x63caef4c1a60: failed to connect client: Host is down
Jul 05 14:35:49 archlinux pipewire-pulse[1037]: mod.protocol-pulse: client 0x63caef4e3ac0 [Firefox]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jul 05 14:46:51 archlinux pipewire-pulse[1037]: mod.protocol-pulse: 0x63caef4c1a60: failed to connect client: Host is down
Jul 05 14:46:51 archlinux pipewire-pulse[1037]: mod.protocol-pulse: client 0x63caef4e2230 [Xfce Terminal]: ERROR command:9 (SET_CLIENT_NAME) tagUnit pulseaudio.service could not be found.
:1 error:6 (Host is down)

○ wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: inactive (dead) since Fri 2024-07-05 14:30:25 EDT; 16min ago
   Duration: 106ms
 Invocation: 5abe2a5489314ed48761e5b76fd37779
    Process: 850 ExecStart=/usr/bin/wireplumber (code=exited, status=0/SUCCESS)
   Main PID: 850 (code=exited, status=0/SUCCESS)

Jul 05 14:30:25 archlinux wireplumber[850]: wireplumber: Old configuration file detected: /home/harv/.config/wireplumber/bluetooth.lua.d/90-enable-all.lua
Jul 05 14:30:25 archlinux wireplumber[850]: wireplumber: Lua configuration files are NOT supported in WirePlumber 0.5. You need to port them to the new format if you want to use them.
                                            -> See https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/migration.html
Jul 05 14:30:25 archlinux wireplumber[850]: wireplumber: stopped by signal: Terminated
Jul 05 14:30:25 archlinux wireplumber[850]: wireplumber: disconnected from pipewire
Jul 05 14:30:25 archlinux systemd[659]: Stopping Multimedia Service Session Manager...
Jul 05 14:30:25 archlinux systemd[659]: Stopped Multimedia Service Session Manager.
Jul 05 14:30:25 archlinux systemd[659]: Dependency failed for Multimedia Service Session Manager.
Jul 05 14:30:25 archlinux systemd[659]: wireplumber.service: Job wireplumber.service/start failed with result 'dependency'.
Jul 05 14:30:31 archlinux systemd[659]: Dependency failed for Multimedia Service Session Manager.
Jul 05 14:30:31 archlinux systemd[659]: wireplumber.service: Job wireplumber.service/start failed with result 'dependency'.

Offline

#8 2024-07-07 14:33:31

superjcvd
Member
Registered: 2019-09-16
Posts: 8

Re: Pipewire Errors on Boot

Hello same problem for me on my Computer and my Laptop since last Pipewire update.

The temporary fix is to mute/unmute the audio device. And then sound works again...

Offline

#9 2024-07-07 15:10:17

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

I wish that was the issue but after the last update of pipewire it tells me now that my device is not found. I even downgraded and still my device is not found. Try to different interface and the same thing but you can see that my device is there and working fine in fact I connected to a Windows box and I have no issues. I plug my guitar into it and I have sound coming out of the speaker. Connect via alsa to a DAW and that works fine. I just need real time but pipewire -jack doesn't exist even though it's installed.

I see they are others at GitLab going through my pain so I'm waiting to see if there's a resolution there. It's only on arch by the way.

Offline

#10 2024-07-07 20:52:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,038

Re: Pipewire Errors on Boot

@funkmuscle you have a broken old wireplumber configuration, which is not directly related to the issue mentioned here. get rid of /home/harv/.config/wireplumber/bluetooth.lua.d/90-enable-all.lua (and anything else in there that might end with .lua, in doubt delete the entire ~/.config/wireplumber)

Offline

#11 2024-07-08 04:00:15

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

Bingo!! I was just coming here to mention that because I installed arch on a laptop and noticed everything worked. I went to the .config I noticed I had nothing there from pipewire then it hit me, get rid of that directory and that would fix things. Unfortunately I have to wait till Monday morning sometime to test that but I'm glad you said that because I was thinking exactly that when I saw everybody else's issues being resolved. Even if this doesn't work and it's not the problem, thank you so much @v1del And yes call me if this does fix the issue, I will definitely mark this as solved. It's now midnight here in Toronto Canada and I'm about to go to sleep and I think my dreams are going to be better now haha!

Offline

#12 2024-07-08 16:27:51

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: Pipewire Errors on Boot

@V1del, that did not do it. I have to remove the entire/.config/pipewire, reboot and I'm now back to normal. Your information did help because it confirmed what I was thinking all along that those two folders or directories in the .config directory needed to be removed because as I mentioned when I installed arch on a laptop to see if it was just my main system, the laptop worked properly and I noticed in the config directory while the home config directory nothing to do with PW or WP was in there.

So for anyone that is experiencing the issue I have had, just remove wireplumber and pipewire dir from your ~/.config directory, reboot and you should be in business.

Offline

Board footer

Powered by FluxBB