Bug 78205 - game trine2/steam voice chat/steam big picture mode produce scratchy sound with 5.1 usb audio card
Summary: game trine2/steam voice chat/steam big picture mode produce scratchy sound wi...
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: clients (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
: 73209 (view as bug list)
Depends on:
Reported: 2014-05-02 20:30 UTC by Sylvain BERTRAND
Modified: 2014-05-05 20:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Sylvain BERTRAND 2014-05-02 20:30:58 UTC
hardware: 5.1 amplifier usb-audio

up-to-date fedora rawhide (radeonsi mesa driver), up-to-date steam beta client, trine2 game produces scratchy sound and music.
Comment 1 Sylvain BERTRAND 2014-05-02 22:44:33 UTC
receive voice chat also produces scratchy sound
Comment 2 Sylvain BERTRAND 2014-05-03 13:48:26 UTC
The steam big picture mode also produces scratchy sound
Comment 3 Sylvain BERTRAND 2014-05-04 16:21:39 UTC
*** Bug 73209 has been marked as a duplicate of this bug. ***
Comment 4 Sylvain BERTRAND 2014-05-04 16:33:59 UTC
2 things:
  * in dmesg, when the 5.1 usb-audio card is enabled, I get those non stopping messages:
 retire_playback_urb: 993 callbacks suppressed
    they stop when I switch off the card in pavuctl

  * I compared with a linux kernel 3.10.4 and a previous version of pulseaudio (debian wheezy with alchemist_beta repos):
while playing trine2, no retire_playback_urb messages in dmesg, the sink input (pactl command output) misses the rate parameter in format field.

It seems pulseaudio misses the rate parameter of the sink input and then tries to play a 44100Hz 5.1 stream on a 48000Hz device which creates the retire_playback_urb messages.
Comment 5 Sylvain BERTRAND 2014-05-05 20:38:15 UTC
found a workaround:

For my usb-audio 5.1 system (Bose companion 5.1), I modified default-fragments and default-fragment-size-msec in /etc/pulse/daemon.conf:
default-fragments = 8 (instead of 4)
default-fragment-size-msec = 5 (instead of 25)

Still have the retire_playback_urb in dmesg though.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.