Michał Mirosław
2016-06-25 22:40:01 UTC
Package: pulseaudio
Version: 8.0-2+b2
Severity: important
--- Please enter the report below this line. ---
There is some weird interaction of pulseaudio with emu10k1 ALSA driver.
Sometimes it can't start playback, but just eats 100% CPU and spams
system logs (if allowed) with "Resume failed, couldn't restore original
sample settings."
I managed to catch in a debugging session that at
modules/alsa/alsa-sink.c:1099:
(gdb) p u->sink->sample_spec
$9 = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2 '\002'}
(gdb) p ss
$11 = {format = PA_SAMPLE_S16LE, rate = 48000, channels = 2 '\002'}
This stopped (resulting in working sound) after I changed
/etc/pulse/daemon.conf's default-sample-rate from 48000 to 44100,
commented alternate-sample-rate 44100 line and killed pulseaudio. The
problem didn't reappear after reverting the changes and killing
pulseaudio again, though.
--- System information. ---
Architecture: amd64
Kernel: Linux 4.6.3mq
Debian Release: stretch/sid
900 testing ftp.icm.edu.pl
800 jessie-backports ftp.icm.edu.pl
750 stable www.deb-multimedia.org
750 stable security.debian.org
750 stable repos.fds-team.de
750 stable ftp.icm.edu.pl
700 unstable ftp.icm.edu.pl
600 experimental ftp.icm.edu.pl
500 unstable-debug debug.mirrors.debian.org
500 testing-debug debug.mirrors.debian.org
500 stable deb.opera.com
500 proposed-updates ftp.icm.edu.pl
1 experimental-debug debug.mirrors.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================================================-+-=======================
libasound2 (>= 1.0.24.1) |
libc6 (>= 2.15) |
libcap2 (>= 1:2.10) |
libdbus-1-3 (>= 1.9.14) |
libfftw3-single3 |
libgcc1 (>= 1:3.0) |
libice6 (>= 1:1.0.0) |
libltdl7 (>= 2.4.6) |
liborc-0.4-0 (>= 1:0.4.25) |
libpulse0 (= 8.0-2+b2) |
libsm6 |
libsndfile1 (>= 1.0.20) |
libsoxr0 (>= 0.1.0) |
libspeexdsp1 (>= 1.2~beta3.2-1) |
libstdc++6 (>= 4.1.1) |
libsystemd0 |
libtdb1 (>= 1.2.7+git20101214) |
libudev1 (>= 183) |
libwebrtc-audio-processing-0 |
libx11-6 |
libx11-xcb1 |
libxcb1 |
libxtst6 |
adduser |
lsb-base (>= 3.2-13) |
udev (>= 143) |
libasound2-plugins |
pulseaudio-utils |
Recommends (Version) | Installed
====================================-+-===========
pulseaudio-module-x11 | 8.0-2+b2
rtkit | 0.11-4
Suggests (Version) | Installed
==========================-+-===========
pavumeter |
pavucontrol | 3.0-3+b2
paman |
paprefs |
Version: 8.0-2+b2
Severity: important
--- Please enter the report below this line. ---
There is some weird interaction of pulseaudio with emu10k1 ALSA driver.
Sometimes it can't start playback, but just eats 100% CPU and spams
system logs (if allowed) with "Resume failed, couldn't restore original
sample settings."
I managed to catch in a debugging session that at
modules/alsa/alsa-sink.c:1099:
(gdb) p u->sink->sample_spec
$9 = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2 '\002'}
(gdb) p ss
$11 = {format = PA_SAMPLE_S16LE, rate = 48000, channels = 2 '\002'}
This stopped (resulting in working sound) after I changed
/etc/pulse/daemon.conf's default-sample-rate from 48000 to 44100,
commented alternate-sample-rate 44100 line and killed pulseaudio. The
problem didn't reappear after reverting the changes and killing
pulseaudio again, though.
--- System information. ---
Architecture: amd64
Kernel: Linux 4.6.3mq
Debian Release: stretch/sid
900 testing ftp.icm.edu.pl
800 jessie-backports ftp.icm.edu.pl
750 stable www.deb-multimedia.org
750 stable security.debian.org
750 stable repos.fds-team.de
750 stable ftp.icm.edu.pl
700 unstable ftp.icm.edu.pl
600 experimental ftp.icm.edu.pl
500 unstable-debug debug.mirrors.debian.org
500 testing-debug debug.mirrors.debian.org
500 stable deb.opera.com
500 proposed-updates ftp.icm.edu.pl
1 experimental-debug debug.mirrors.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================================================-+-=======================
libasound2 (>= 1.0.24.1) |
libc6 (>= 2.15) |
libcap2 (>= 1:2.10) |
libdbus-1-3 (>= 1.9.14) |
libfftw3-single3 |
libgcc1 (>= 1:3.0) |
libice6 (>= 1:1.0.0) |
libltdl7 (>= 2.4.6) |
liborc-0.4-0 (>= 1:0.4.25) |
libpulse0 (= 8.0-2+b2) |
libsm6 |
libsndfile1 (>= 1.0.20) |
libsoxr0 (>= 0.1.0) |
libspeexdsp1 (>= 1.2~beta3.2-1) |
libstdc++6 (>= 4.1.1) |
libsystemd0 |
libtdb1 (>= 1.2.7+git20101214) |
libudev1 (>= 183) |
libwebrtc-audio-processing-0 |
libx11-6 |
libx11-xcb1 |
libxcb1 |
libxtst6 |
adduser |
lsb-base (>= 3.2-13) |
udev (>= 143) |
libasound2-plugins |
pulseaudio-utils |
Recommends (Version) | Installed
====================================-+-===========
pulseaudio-module-x11 | 8.0-2+b2
rtkit | 0.11-4
Suggests (Version) | Installed
==========================-+-===========
pavumeter |
pavucontrol | 3.0-3+b2
paman |
paprefs |