You are not logged in.
Hello!
I'm having some sound playback issues when playing videos in a browser (youtube, twitch - I've tried both Firefox and Brave and they both behaved the exact same way).
When I load up any video, the video more or less freezes if the sound is on, and the audio plays in a loop, repeating every 9 seconds or so.
After my installation, I initially installed pulse, then switched to pipewire, so I suspect this might be part of the issue.
The reason I switched from pipewire to pulse was because I was having a similar issue on pulse, where I had to switch configurations in order to get sound to play.
The issue happens both over some USB speakers and over HDMI when connected to a TV.
I know this thread sounds a lot like this one but it doesn't seem to be the same issue.
I will put here the output of some commands that I've seen requested in other similar threads or on the internet during my searches. I ran all of these after a fresh boot (so that the issue would happen).
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [MAG274QRF-QD]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [XB271HU]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: V3 [Pebble V3], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 3: Gamin [Corsair VOID PRO Wireless Gamin], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: evilbunny 725 F.... wireplumber
/dev/snd/controlC1: evilbunny 725 F.... wireplumber
/dev/snd/controlC2: evilbunny 725 F.... wireplumber
/dev/snd/controlC3: evilbunny 725 F.... wireplumber
/dev/snd/pcmC2D0p: evilbunny 724 F...m pipewire
/dev/snd/seq: evilbunny 724 F.... pipewire
systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
Active: active (running) since Mon 2023-02-13 21:16:10 CET; 1h 14min ago
TriggeredBy: ● pipewire.socket
Main PID: 724 (pipewire)
Tasks: 2 (limit: 38340)
Memory: 10.8M
CPU: 6.450s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─724 /usr/bin/pipewire
Feb 13 21:16:10 evilpc systemd[717]: Started PipeWire Multimedia Service.
Feb 13 21:16:10 evilpc pipewire[724]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Feb 13 21:16:10 evilpc pipewire[724]: mod.rt: found session bus but no portal
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
Active: active (running) since Mon 2023-02-13 21:16:10 CET; 1h 14min ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 726 (pipewire-pulse)
Tasks: 2 (limit: 38340)
Memory: 22.1M
CPU: 2.566s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─726 /usr/bin/pipewire-pulse
Feb 13 21:16:10 evilpc systemd[717]: Started PipeWire PulseAudio.
Feb 13 21:16:10 evilpc pipewire-pulse[726]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Feb 13 21:16:10 evilpc pipewire-pulse[726]: mod.rt: found session bus but no portal
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Mon 2023-02-13 21:16:10 CET; 1h 14min ago
Main PID: 725 (wireplumber)
Tasks: 5 (limit: 38340)
Memory: 96.5M
CPU: 1.682s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─725 /usr/bin/wireplumber
Feb 13 21:16:10 evilpc systemd[717]: Started Multimedia Service Session Manager.
Feb 13 21:16:10 evilpc wireplumber[725]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Feb 13 21:16:10 evilpc wireplumber[725]: found session bus but no portal
Feb 13 21:16:10 evilpc wireplumber[725]: Failed to set scheduler settings: Operation not permitted
Feb 13 21:16:11 evilpc wireplumber[725]: [0:00:16.177809413] [725] INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Feb 13 21:16:12 evilpc wireplumber[725]: Trying to use legacy bluez5 API for LE Audio - only A2DP will be supported. Please upgrade bluez5.
Feb 13 21:16:12 evilpc wireplumber[725]: <WpSiAudioAdapter:0x55cc2286f070> Object activation aborted: proxy destroyed
Feb 13 21:16:12 evilpc wireplumber[725]: <WpSiAudioAdapter:0x55cc2286f070> failed to activate item: Object activation aborted: proxy destroyed
pw-cli | ts
Error: "unsupported type PipeWire:Interface:Profiler"
Feb 13 22:32:31 Welcome to PipeWire version 0.3.65. Type 'help' for usage.
Feb 13 22:32:31 >> remote 0 is named 'pipewire-0'
Feb 13 22:32:43 remote 0 link 64 changed
Feb 13 22:32:43 remote 0 link 62 changed
Feb 13 22:32:43 remote 0 node 49 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 removed global: id 64, type PipeWire:Interface:Link/3
Feb 13 22:32:43 object.serial = "490"
Feb 13 22:32:43 factory.id = "20"
Feb 13 22:32:43 client.id = "33"
Feb 13 22:32:43 link.output.port = "60"
Feb 13 22:32:43 link.input.port = "44"
Feb 13 22:32:43 link.output.node = "61"
Feb 13 22:32:43 link.input.node = "49"
Feb 13 22:32:43 remote 0 removed global: id 60, type PipeWire:Interface:Port/3
Feb 13 22:32:43 object.serial = "488"
Feb 13 22:32:43 object.path = "Firefox:output_0"
Feb 13 22:32:43 format.dsp = "32 bit float mono audio"
Feb 13 22:32:43 node.id = "61"
Feb 13 22:32:43 audio.channel = "FL"
Feb 13 22:32:43 port.id = "0"
Feb 13 22:32:43 port.name = "output_FL"
Feb 13 22:32:43 port.direction = "out"
Feb 13 22:32:43 port.alias = "Firefox:output_FL"
Feb 13 22:32:43 remote 0 removed global: id 62, type PipeWire:Interface:Link/3
Feb 13 22:32:43 object.serial = "491"
Feb 13 22:32:43 factory.id = "20"
Feb 13 22:32:43 client.id = "33"
Feb 13 22:32:43 link.output.port = "68"
Feb 13 22:32:43 link.input.port = "51"
Feb 13 22:32:43 link.output.node = "61"
Feb 13 22:32:43 link.input.node = "49"
Feb 13 22:32:43 remote 0 removed global: id 68, type PipeWire:Interface:Port/3
Feb 13 22:32:43 object.serial = "489"
Feb 13 22:32:43 object.path = "Firefox:output_1"
Feb 13 22:32:43 format.dsp = "32 bit float mono audio"
Feb 13 22:32:43 node.id = "61"
Feb 13 22:32:43 audio.channel = "FR"
Feb 13 22:32:43 port.id = "1"
Feb 13 22:32:43 port.name = "output_FR"
Feb 13 22:32:43 port.direction = "out"
Feb 13 22:32:43 port.alias = "Firefox:output_FR"
Feb 13 22:32:43 remote 0 removed global: id 61, type PipeWire:Interface:Node/3
Feb 13 22:32:43 object.serial = "487"
Feb 13 22:32:43 factory.id = "6"
Feb 13 22:32:43 client.id = "56"
Feb 13 22:32:43 application.name = "Firefox"
Feb 13 22:32:43 node.name = "Firefox"
Feb 13 22:32:43 media.class = "Stream/Output/Audio"
Feb 13 22:32:43 remote 0 added global: id 61, type PipeWire:Interface:Node/3
Feb 13 22:32:43 object.serial = "493"
Feb 13 22:32:43 factory.id = "6"
Feb 13 22:32:43 client.id = "56"
Feb 13 22:32:43 application.name = "Firefox"
Feb 13 22:32:43 node.name = "Firefox"
Feb 13 22:32:43 media.class = "Stream/Output/Audio"
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 added global: id 68, type PipeWire:Interface:Port/3
Feb 13 22:32:43 object.serial = "494"
Feb 13 22:32:43 object.path = "Firefox:output_0"
Feb 13 22:32:43 format.dsp = "32 bit float mono audio"
Feb 13 22:32:43 node.id = "61"
Feb 13 22:32:43 audio.channel = "FL"
Feb 13 22:32:43 port.id = "0"
Feb 13 22:32:43 port.name = "output_FL"
Feb 13 22:32:43 port.direction = "out"
Feb 13 22:32:43 port.alias = "Firefox:output_FL"
Feb 13 22:32:43 remote 0 added global: id 62, type PipeWire:Interface:Port/3
Feb 13 22:32:43 object.serial = "495"
Feb 13 22:32:43 object.path = "Firefox:output_1"
Feb 13 22:32:43 format.dsp = "32 bit float mono audio"
Feb 13 22:32:43 node.id = "61"
Feb 13 22:32:43 audio.channel = "FR"
Feb 13 22:32:43 port.id = "1"
Feb 13 22:32:43 port.name = "output_FR"
Feb 13 22:32:43 port.direction = "out"
Feb 13 22:32:43 port.alias = "Firefox:output_FR"
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 added global: id 60, type PipeWire:Interface:Link/3
Feb 13 22:32:43 object.serial = "496"
Feb 13 22:32:43 factory.id = "20"
Feb 13 22:32:43 client.id = "33"
Feb 13 22:32:43 link.output.port = "68"
Feb 13 22:32:43 link.input.port = "44"
Feb 13 22:32:43 link.output.node = "61"
Feb 13 22:32:43 link.input.node = "49"
Feb 13 22:32:43 remote 0 added global: id 64, type PipeWire:Interface:Link/3
Feb 13 22:32:43 object.serial = "497"
Feb 13 22:32:43 factory.id = "20"
Feb 13 22:32:43 client.id = "33"
Feb 13 22:32:43 link.output.port = "62"
Feb 13 22:32:43 link.input.port = "51"
Feb 13 22:32:43 link.output.node = "61"
Feb 13 22:32:43 link.input.node = "49"
Feb 13 22:32:43 remote 0 port 68 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 port 62 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 port 68 changed
Feb 13 22:32:43 remote 0 port 62 changed
Feb 13 22:32:43 remote 0 link 60 changed
Feb 13 22:32:43 remote 0 link 60 changed
Feb 13 22:32:43 remote 0 link 64 changed
Feb 13 22:32:43 remote 0 link 64 changed
Feb 13 22:32:43 remote 0 link 60 changed
Feb 13 22:32:43 remote 0 link 64 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 49 changed
Feb 13 22:32:43 remote 0 link 60 changed
Feb 13 22:32:43 remote 0 link 64 changed
Feb 13 22:32:43 remote 0 node 61 changed
Feb 13 22:32:43 remote 0 node 49 changed
Feb 13 22:32:52 remote 0 link 60 changed
Feb 13 22:32:52 remote 0 link 64 changed
Feb 13 22:32:52 remote 0 node 49 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 removed global: id 60, type PipeWire:Interface:Link/3
Feb 13 22:32:52 object.serial = "496"
Feb 13 22:32:52 factory.id = "20"
Feb 13 22:32:52 client.id = "33"
Feb 13 22:32:52 link.output.port = "68"
Feb 13 22:32:52 link.input.port = "44"
Feb 13 22:32:52 link.output.node = "61"
Feb 13 22:32:52 link.input.node = "49"
Feb 13 22:32:52 remote 0 removed global: id 68, type PipeWire:Interface:Port/3
Feb 13 22:32:52 object.serial = "494"
Feb 13 22:32:52 object.path = "Firefox:output_0"
Feb 13 22:32:52 format.dsp = "32 bit float mono audio"
Feb 13 22:32:52 node.id = "61"
Feb 13 22:32:52 audio.channel = "FL"
Feb 13 22:32:52 port.id = "0"
Feb 13 22:32:52 port.name = "output_FL"
Feb 13 22:32:52 port.direction = "out"
Feb 13 22:32:52 port.alias = "Firefox:output_FL"
Feb 13 22:32:52 remote 0 removed global: id 64, type PipeWire:Interface:Link/3
Feb 13 22:32:52 object.serial = "497"
Feb 13 22:32:52 factory.id = "20"
Feb 13 22:32:52 client.id = "33"
Feb 13 22:32:52 link.output.port = "62"
Feb 13 22:32:52 link.input.port = "51"
Feb 13 22:32:52 link.output.node = "61"
Feb 13 22:32:52 link.input.node = "49"
Feb 13 22:32:52 remote 0 removed global: id 62, type PipeWire:Interface:Port/3
Feb 13 22:32:52 object.serial = "495"
Feb 13 22:32:52 object.path = "Firefox:output_1"
Feb 13 22:32:52 format.dsp = "32 bit float mono audio"
Feb 13 22:32:52 node.id = "61"
Feb 13 22:32:52 audio.channel = "FR"
Feb 13 22:32:52 port.id = "1"
Feb 13 22:32:52 port.name = "output_FR"
Feb 13 22:32:52 port.direction = "out"
Feb 13 22:32:52 port.alias = "Firefox:output_FR"
Feb 13 22:32:52 remote 0 removed global: id 61, type PipeWire:Interface:Node/3
Feb 13 22:32:52 object.serial = "493"
Feb 13 22:32:52 factory.id = "6"
Feb 13 22:32:52 client.id = "56"
Feb 13 22:32:52 application.name = "Firefox"
Feb 13 22:32:52 node.name = "Firefox"
Feb 13 22:32:52 media.class = "Stream/Output/Audio"
Feb 13 22:32:52 remote 0 added global: id 61, type PipeWire:Interface:Node/3
Feb 13 22:32:52 object.serial = "498"
Feb 13 22:32:52 factory.id = "6"
Feb 13 22:32:52 client.id = "56"
Feb 13 22:32:52 application.name = "Firefox"
Feb 13 22:32:52 node.name = "Firefox"
Feb 13 22:32:52 media.class = "Stream/Output/Audio"
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 added global: id 62, type PipeWire:Interface:Port/3
Feb 13 22:32:52 object.serial = "499"
Feb 13 22:32:52 object.path = "Firefox:output_0"
Feb 13 22:32:52 format.dsp = "32 bit float mono audio"
Feb 13 22:32:52 node.id = "61"
Feb 13 22:32:52 audio.channel = "FL"
Feb 13 22:32:52 port.id = "0"
Feb 13 22:32:52 port.name = "output_FL"
Feb 13 22:32:52 port.direction = "out"
Feb 13 22:32:52 port.alias = "Firefox:output_FL"
Feb 13 22:32:52 remote 0 added global: id 64, type PipeWire:Interface:Port/3
Feb 13 22:32:52 object.serial = "500"
Feb 13 22:32:52 object.path = "Firefox:output_1"
Feb 13 22:32:52 format.dsp = "32 bit float mono audio"
Feb 13 22:32:52 node.id = "61"
Feb 13 22:32:52 audio.channel = "FR"
Feb 13 22:32:52 port.id = "1"
Feb 13 22:32:52 port.name = "output_FR"
Feb 13 22:32:52 port.direction = "out"
Feb 13 22:32:52 port.alias = "Firefox:output_FR"
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 added global: id 68, type PipeWire:Interface:Link/3
Feb 13 22:32:52 object.serial = "501"
Feb 13 22:32:52 factory.id = "20"
Feb 13 22:32:52 client.id = "33"
Feb 13 22:32:52 link.output.port = "62"
Feb 13 22:32:52 link.input.port = "44"
Feb 13 22:32:52 link.output.node = "61"
Feb 13 22:32:52 link.input.node = "49"
Feb 13 22:32:52 remote 0 added global: id 60, type PipeWire:Interface:Link/3
Feb 13 22:32:52 object.serial = "502"
Feb 13 22:32:52 factory.id = "20"
Feb 13 22:32:52 client.id = "33"
Feb 13 22:32:52 link.output.port = "64"
Feb 13 22:32:52 link.input.port = "51"
Feb 13 22:32:52 link.output.node = "61"
Feb 13 22:32:52 link.input.node = "49"
Feb 13 22:32:52 remote 0 port 62 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 port 64 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 port 62 changed
Feb 13 22:32:52 remote 0 port 64 changed
Feb 13 22:32:52 remote 0 link 68 changed
Feb 13 22:32:52 remote 0 link 68 changed
Feb 13 22:32:52 remote 0 link 60 changed
Feb 13 22:32:52 remote 0 link 60 changed
Feb 13 22:32:52 remote 0 link 68 changed
Feb 13 22:32:52 remote 0 link 60 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 49 changed
Feb 13 22:32:52 remote 0 link 68 changed
Feb 13 22:32:52 remote 0 link 60 changed
Feb 13 22:32:52 remote 0 node 61 changed
Feb 13 22:32:52 remote 0 node 49 changed
The pw-cli output above happens every 9 seconds, but disappears after the configuration switch.
What I do in order to "fix" this is open up pavucontrol, I go to the "Configuration" tab, and I switch the profile from "Analog Stereo" to "Digital Stereo (IEC958) Output" and back (or in the case of HDMI from "Digital Stereo (HDMI) Output" to "Digital Stereo (HDMI 2) Output" and back) and then the issue is gone until the next boot.
While my speakers are set to "Digital Stereo", there is no sound.
Update:
Might be relevant, this does not seem to be an issue using bluetooth earbuds.
Last edited by EvilBunny (2023-02-18 12:00:45)
Offline