Fullscreen videos break audio, and won't start playing until I mute the audio
- PipeWire version (
pipewire --version
): pipewire compiled with libpipewire 0.3.77, linked with libpipewire 0.3.77 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Fedora Linux 38 (Workstation Edition) - Desktop Environment: Gnome 44.3, Wayland
- Kernel version (
uname -r
): 6.4.8-200.fc38.x86_64
Description of Problem:
Audio in videos (tested on Firefox 116.0) completely breaks when I open a video in fullscreen mode. The video immediately freezes, even though "pause" buttons appear (meaning that to the player the video should be running). The video stays frozen until I mute the audio from the video player, which makes the video run again although no audio comes through.
I have noticed that if I wait long enough, sometimes I can get further frames from the video, but this happens occasionally and I have not been able to understand when or why this happens.
Taking a look at the service's status, messages like these can be found:
Aug 12 10:36:31 impasse-pc pipewire[2324]: spa.alsa: front:1: impossible timeout 15978 15978>
Aug 12 10:36:33 impasse-pc pipewire[2324]: spa.alsa: front:1: impossible timeout 9570 9570 1>
Aug 12 10:36:35 impasse-pc pipewire[2324]: spa.alsa: front:1: impossible timeout 3162 3162 1>
Aug 12 10:36:37 impasse-pc pipewire[2324]: spa.alsa: front:1: impossible timeout 29862 29862>
I am able to temporarily "fix" the problem by restarting Pipewire like so: systemctl --user restart pipewire
.
I suspect that this might be related to #2550, since both instances seem like they deal with apps going fullscreen. Or at least I assume so since we're talking about videogames.
How Reproducible:
I'm not able to reproduce this on demand. However, this has happened while browsing Twitter over the span of less than 12 hours for a total of 3-4 times. After this has happened, the audio in videos breaks on every webpage, both on streaming websites (at least on twitch.com) and on Youtube.
Steps to Reproduce:
I fear that this can actually happen on every video/streaming website, but I'll give Twitter as an example since this is where it's happened for me:
- open up Twitter and scroll until a video is found
- open it up in fullscreen
- notice that the video is frozen
- muting lets the video play; unmuting frozes the video.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log