Frequent underruns with `disable-tsched` at lower latencies
- PipeWire version (
pipewire --version
): 0.3.69 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: Gnome
- Kernel version (
uname -r
): 6.2.11
Description of Problem:
When using the IRQ based scheduling, I get frequent underruns on my system when playing back anything with lower latency. I noticed that first with games on wine, which tend to end up with around 5ms of latency, but it's also reproducible with seemingly everything else, like e.g. mpv when using PIPEWIRE_LATENCY=256/48000.
I realize IRQ based scheduling is probably still WIP, and I have no good reason to use it in the first place, but I thought I should report this anyways.
How Reproducible:
Always.
Steps to Reproduce:
- Enable IRQ based scheduling with
api.alsa.disable-tsched = true
- Play a video in mpv like:
PIPEWIRE_LATENCY=256/48000 mpv --ao=pipewire some_video.mp4
- Notice underruns being reported in
pw-top
Actual Results:
Frequent underruns.
Expected Results:
No underruns, like with the default timer-based scheduling.
💯
Additional Info (as attachments)-
pw-dump > pw-dump.log
: pw-dump.txt