You are not logged in.

#1 2021-03-21 04:05:39

phamtq
Member
Registered: 2015-10-24
Posts: 5

Intermittent Loss of Audio using Pipewire

I am intermittently losing audio when using various applications like Firefox and VLC. I've noticed that when I pause a video or audio content, wait around 5 seconds, and hit play again, the audio returns. I'm using Gnome and when I open Settings and go to the Sound section, and look at Volume Levels, it shows:

  • the application I'm using

  • pulseeffects with a microphone icon

  • pulseeffects with a video/audio icon.

When I hit pause and wait those 5 seconds, the 2 'pulseeffect' entries go away, and I'm able to hear audio again when pressing play (along with those pulseeffect entries coming back).

I started having the problems after I updated my system and it asked to switch over to using Pipewire. I have a FiiO E10K i'm using to output audio but even plugging headphone directly in the front of my computer does the same thing.

Here are the various outputs that might be relevant. Not sure which logs to include.

$ systemctl --user status pipewire.service
---
pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-03-17 10:36:32 PDT; 3 days ago
TriggeredBy: ● pipewire.socket
   Main PID: 1149 (pipewire)
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1149 /usr/bin/pipewire

Mar 20 20:52:13 hostname pipewire[1149]: set_hw_params: No space left on device
Mar 20 20:52:13 hostname pipewire[1149]: (alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo-53) start node error >
Mar 20 20:52:13 hostname pipewire[1149]: set_hw_params: No space left on device
Mar 20 20:52:13 hostname pipewire[1149]: (alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo-53) start node error >
Mar 20 20:52:13 hostname pipewire[1149]: set_hw_params: No space left on device
Mar 20 20:52:13 hostname pipewire[1149]: (alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo-53) start node error >
Mar 20 20:52:16 hostname pipewire[1149]: set_hw_params: No space left on device
Mar 20 20:52:16 hostname pipewire[1149]: (alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo-53) start node error >
Mar 20 20:52:16 hostname pipewire[1149]: set_hw_params: No space left on device
Mar 20 20:52:16 hostname pipewire[1149]: (alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo-53) start node error >
$ pactl info
---
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 137
Tile Size: 65472
User Name: phamtq
Host Name: tobio
Server Name: PulseAudio (on PipeWire 0.3.23)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo
Default Source: alsa_input.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo
Cookie: fc8a:3bbc

Finally, I've noticed that when I quit the Settings application while video or audio is playing, there's a little bit of crackling of audio that comes and goes quickly. Any suggestions?

Last edited by phamtq (2021-03-23 00:06:44)

Offline

#2 2021-03-21 10:26:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Offline

#3 2021-03-22 23:52:56

phamtq
Member
Registered: 2015-10-24
Posts: 5

Re: Intermittent Loss of Audio using Pipewire

That did it. Thanks!

Edit: Spoke too soon. I did a fresh restart of my computer and it did it immediately after going to YouTube. It was working well all through the rest of the day after putting in the changes. Instead of a whole heap of error message, it says:

systemctl --user status pipewire.service
---
pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-03-22 16:52:15 PDT; 15min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1189 (pipewire)
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1189 /usr/bin/pipewire

Mar 22 16:52:15 hostname systemd[885]: Started Multimedia Service.
Mar 22 17:05:47 hostname pipewire[1189]: set_hw_params: No space left on device

Last edited by phamtq (2021-03-23 00:10:09)

Offline

#4 2021-03-23 17:47:03

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Intermittent Loss of Audio using Pipewire

Check all of the relevant journal entries:

journalctl -u pipewire

Offline

#5 2021-03-24 07:39:10

phamtq
Member
Registered: 2015-10-24
Posts: 5

Re: Intermittent Loss of Audio using Pipewire

Running that command gives me this:

-- Journal begins at Wed 2020-06-03 19:01:44 PDT, ends at Wed 2021-03-24 00:37:00 PDT. --
-- No entries --

I ran it when it was giving me problems and again when I paused it for 5 seconds and resumed.

Running this command again gave me some new information:

systemctl --user status pipewire.service
---
● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-03-22 16:52:15 PDT; 1 day 7h ago
TriggeredBy: ● pipewire.socket
   Main PID: 1189 (pipewire)
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1189 /usr/bin/pipewire

Mar 23 14:30:24 hostname pipewire[1189]: (VLC media player (LibVLC 3.0.12)-94) client too slow! rate:1024/48000 pos:181901312>
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-65) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-39) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-117) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-95) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-119) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:30:24 hostname pipewire[1189]: (Firefox-100) client too slow! rate:1024/48000 pos:181901312 status:triggered
Mar 23 14:39:47 hostname pipewire[1189]: 1 events suppressed
Mar 23 14:43:23 hostname pipewire[1189]: 2 events suppressed
Mar 23 18:56:15 hostname pipewire[1189]: set_hw_params: No space left on device

Last edited by phamtq (2021-03-24 07:41:47)

Offline

#6 2021-03-24 16:51:58

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Intermittent Loss of Audio using Pipewire

How about

journalctl --user --unit pipewire

Offline

#7 2021-03-25 05:27:42

phamtq
Member
Registered: 2015-10-24
Posts: 5

Re: Intermittent Loss of Audio using Pipewire

$ journalctl --user --unit pipewire
---
-- Journal begins at Thu 2020-06-04 09:15:07 PDT, ends at Wed 2021-03-24 22:24:06 PDT. --
Feb 23 09:19:14 hostname systemd[874]: Started Multimedia Service.
Feb 23 09:19:14 hostname systemd-coredump[6595]: Process 6592 (pipewire-media-) of user 1000 dumped core.
                                              
                                              Stack trace of thread 6592:
                                              #0  0x0000559868abd03b n/a (pipewire-media-session + 0x2003b)
                                              #1  0x0000559868abba6b n/a (pipewire-media-session + 0x1ea6b)
                                              #2  0x00007f8ad1b5fdf4 n/a (libpipewire-module-protocol-native.so + 0x16df4)
                                              #3  0x00007f8ad1b59aa2 n/a (libpipewire-module-protocol-native.so + 0x10aa2)
                                              #4  0x00007f8ad1b59ff8 n/a (libpipewire-module-protocol-native.so + 0x10ff8)
                                              #5  0x00007f8ad2c3bd9b n/a (libspa-support.so + 0x6d9b)
                                              #6  0x00007f8ad2bb95ab pw_main_loop_run (libpipewire-0.3.so.0 + 0x425ab)
                                              #7  0x0000559868aa97dc n/a (pipewire-media-session + 0xc7dc)
                                              #8  0x00007f8ad287cb25 __libc_start_main (libc.so.6 + 0x27b25)
                                              #9  0x0000559868aa9c5e n/a (pipewire-media-session + 0xcc5e)
                                              
                                              Stack trace of thread 6593:
                                              #0  0x00007f8ad294937f __poll (libc.so.6 + 0xf437f)
                                              #1  0x00007f8ad2b5195f n/a (libdbus-1.so.3 + 0x2f95f)
                                              #2  0x00007f8ad2b505ed n/a (libdbus-1.so.3 + 0x2e5ed)
                                              #3  0x00007f8ad2b36e1e n/a (libdbus-1.so.3 + 0x14e1e)
                                              #4  0x00007f8ad2b3787f n/a (libdbus-1.so.3 + 0x1587f)
                                              #5  0x00007f8ad2b380a0 dbus_connection_send_with_reply_and_block (libdbus-1.so.3 + 0x160a0)
                                              #6  0x00007f8ad23be75f n/a (libpipewire-module-rtkit.so + 0x275f)
                                              #7  0x00007f8ad2c3bd9b n/a (libspa-support.so + 0x6d9b)
                                              #8  0x00007f8ad2b9ff50 n/a (libpipewire-0.3.so.0 + 0x28f50)
                                              #9  0x00007f8ad2a2b299 start_thread (libpthread.so.0 + 0x9299)
                                              #10 0x00007f8ad2954053 __clone (libc.so.6 + 0xff053)
Feb 25 13:14:13 hostname systemd[874]: Stopping Multimedia Service...
Feb 25 13:14:13 hostname pipewire[6590]: Asked to handle disabled watch: 0x55b445b17590 20

Offline

#8 2021-03-25 19:12:05

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Offline

Board footer

Powered by FluxBB