Audio glitches when listening to YT at the same time as running the Android emulator
If you are filing this issue with a regular release please try master as it might already be fixed.
Version, Distribution, Desktop Environment:
Fedora Silverblue 34.20210813.0 (2021-08-13T00:47:20Z), GNOME 40.3.0
According to rpm-ostree db list, these are the version of pipewire packages:
pipewire-0.3.33-3.fc34.x86_64 pipewire-alsa-0.3.33-3.fc34.x86_64 pipewire-gstreamer-0.3.33-3.fc34.x86_64 pipewire-jack-audio-connection-kit-0.3.33-3.fc34.x86_64 pipewire-libs-0.3.33-3.fc34.x86_64 pipewire-pulseaudio-0.3.33-3.fc34.x86_64 pipewire-utils-0.3.33-3.fc34.x86_64
Description of Problem:
I tend to use the official Android emulator tool for testing the app I work on for my job, and sometimes I also listen to music from YouTube while doing so.
Interestingly while I rarely have a problem with pipewire-pulse when I am only listening to music, when I open the Android emulator at the same time, then I get some audio glitches.
I am not sure how to explain the glitch, but it is something like if the audio just went back a few milliseconds and then got back to the right place. Sometimes coupled with a weird noise together with it.
Basically happens every time I run the Android emulator while listening to music at the same time via Firefox
Steps to Reproduce:
- Run the Android emulator
- Run Firefox or you favorite browser
- Listen to some music
Some audio glitches every once and a while
No audio glitches
Additional Info Eg.
pw-dump -N > file (As Attachment Please):
I believe this is somehow related to the virtualization, so this could be specific to the Android emulator, something related to qemu, or maybe even to the fact I have IOMMU enabled (Intel VT-d enabled on BIOS +
intel_iommu=on on kernel command line)
Journalctl also has a bunch of messages like this:
ago 13 17:43:40 centauro pipewire: 1 events suppressed ago 13 17:43:51 centauro pipewire: 7 events suppressed ago 13 17:43:59 centauro pipewire: 8 events suppressed ago 13 17:44:04 centauro pipewire: 7 events suppressed ago 13 17:44:21 centauro pipewire: 5 events suppressed ago 13 17:44:25 centauro pipewire: 6 events suppressed ago 13 17:44:28 centauro pipewire: 4 events suppressed ago 13 17:44:31 centauro pipewire: 8 events suppressed ago 13 17:44:35 centauro pipewire-pulse: 2 events suppressed ago 13 17:44:38 centauro pipewire: 1 events suppressed ago 13 17:44:48 centauro pipewire: 7 events suppressed ago 13 17:44:51 centauro pipewire: 7 events suppressed