Rather than blindly accept the "switch to the older package" solution I looked at how Fedora gets away with using PipeWire and it turns out there are using pipewire-pulse - The PipeWire PulseAudio replacement.
The wiki describes it here:
https://wiki.archlinux.org/title/PipeWi … io_clients
Switch wireplumber for pipewire-media-session which got briefly replaced before noticing how much it would break should generally be the preferable approach here.
I have a specific setup where I use alsa directly for mpd and retroarch and pulseaudio for everything else.
Obviously when mpd runs no other process can access the audio, which is what I like.
I started having audio issues when chrome would start for the last 2 days pushing the volume up and messing up my setup but V1del answer fixed my problem:
1- Install pipewire-media-session
2- Remove wireplumber
I do not know for how long I will be able to keep things has they are but for now problem fixed, thank you!
]]>I've been using linux for 20+ years, work in IT and couldn't figure out how to enable the hdmi output of my desktop using wireplumber which I was forced to install. Either it's too complicated to setup or I'm just plain stupid. Luckily wireplumber was dropped and I could re-install pipewire-media-session which just works.
]]>Switch wireplumber for pipewire-media-session which got briefly replaced before noticing how much it would break should generally be the preferable approach here.
This is the way. Thx!
]]>Was just having the same issue on my setup, currently using AUX/Line Out audio too. Commenting out that line fixed the issue. Was only happening when streaming video vias Chrome/browser and then the audio sink would become unavailable and ffmpeg codecs all fail etc.
]]>#load-module module-suspend-on-idle
Seems to be working for me now. Thanks!
]]>Trying to stream a video or play a local video, the player just sits buffering while showing a still image. I have found it's something related to pulseaudio. If I do
systemctl restart --user pulseaudio
then the videos begin to play. But if there is a few seconds where sound is not playing, the issue repeats itself. Getting status during the event looks like this:
systemctl status --user pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Wed 2022-05-11 09:21:20 EDT; 8min ago
TriggeredBy: ● pulseaudio.socket
Main PID: 3014 (pulseaudio)
Tasks: 9 (limit: 38376)
Memory: 12.2M
CPU: 601ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─ 3014 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─ 3019 /usr/lib/pulse/gsettings-helper
May 11 09:21:19 Behemoth systemd[1025]: Starting Sound Service...
May 11 09:21:20 Behemoth pulseaudio[3014]: stat('/etc/pulse/default.pa.d'): No such file or directory
May 11 09:21:20 Behemoth systemd[1025]: Started Sound Service.
May 11 09:23:12 Behemoth pulseaudio[3014]: Failed to create sink input: sink is suspended.
May 11 09:23:12 Behemoth pulseaudio[3014]: Failed to create sink input: sink is suspended.
May 11 09:23:12 Behemoth pulseaudio[3014]: Failed to create sink input: sink is suspended.
EDIT:
I have found that if I unplug and replug the aux cable on the back of my PC, that also temporarily fixes it, until it's idle again and the problem happens again.