pipewire: bad sound quality in qemu

Description

The sound in qemu is bad, as the pipewire alsa sink constantly underruns. This is a problem with the algorithm used to time the writes on the alsa device.

Environment

None
100% Done
Loading...

Activity

Walt Miner 
July 30, 2019 at 9:38 PM

Close for HH 8.0.0 release

George Kiagiadakis 
July 4, 2019 at 3:40 PM

Upstream ticket with some deep analysis of the algorithm issues:

https://github.com/PipeWire/pipewire/issues/163

 

Jan-Simon Moeller 
June 28, 2019 at 9:31 PM

For qemu we have 2 layers here .. pipewire and qemu itself.

So as Scott mentioned, there seems to be an issue within the pipewire version we use and on-top we have qemu which as these:

 

 

Scott Murray 
June 27, 2019 at 1:45 PM

I'm also seeing this on a UP^2 board with a Jabra USB sound card / speaker:

Jun 27 12:55:06 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 20 usec 0 0.000000
Jun 27 12:55:06 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 279 usec 13 0.000000
Jun 27 12:55:10 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 549 usec 26 0.000000
Jun 27 12:55:15 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 20 usec 0 0.000000
Jun 27 12:55:15 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 19 usec 0 0.000000
Jun 27 12:55:15 intel-corei7-64 pipewire[1398]: [E][alsa-utils.c:544 alsa_recover()] 0x5621ddeec570: xrun of 5223 usec 250 0.000000

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Hardware Platform(s) Affected

QEMU x86_64

Components

Priority

Created June 26, 2019 at 4:17 PM
Updated September 19, 2019 at 12:06 PM
Resolved July 25, 2019 at 1:55 PM