Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#717970: pulseaudio: alsa-sink alsa-sink.c ALSA (POLLINVAL) woke us, but nothing to write (Error in snd_usb_audio)

81 views
Skip to first unread message

pheanex

unread,
Jul 27, 2013, 9:40:02 AM7/27/13
to
Package: pulseaudio
Version: 2.0-6.1
Severity: normal

Extract from syslog:
pulseaudio[4186]: [alsa-sink] alsa-sink.c: ALSA weckte uns auf, um neue Daten
auf das Gerät zu schreiben, doch es gab nichts zum Schreiben!
pulseaudio[4186]: [alsa-sink] alsa-sink.c: Dies ist höchstwahrscheinlich ein
Fehler im ALSA-Treiber 'snd_usb_audio'. Bitte melden Sie diesen Fehler den
ALSA-Entwicklern.
pulseaudio[4186]: [alsa-sink] alsa-sink.c: Wir wurden durch das POLLOUT-Set
geweckt, allerdings lieferte ein anschliessender snd_pcm_avail() den Wert 0
oder einen anderen Wert < min_avail.



-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii adduser 3.113+nmu3
ii consolekit 0.4.5-3.1
ii libasound2 1.0.27.1-2
ii libasound2-plugins 1.0.27-2
ii libc6 2.17-7
ii libcap2 1:2.22-1.2
ii libdbus-1-3 1.6.12-1
ii libfftw3-3 3.3.3-5
ii libgcc1 1:4.8.1-2
ii libice6 2:1.0.8-2
ii libltdl7 2.4.2-1.3
ii liborc-0.4-0 1:0.4.17-2
ii libpulse0 2.0-6.1
ii libsamplerate0 0.1.8-5
ii libsm6 2:1.2.1-2
ii libsndfile1 1.0.25-7
ii libspeexdsp1 1.2~rc1-7
ii libstdc++6 4.8.1-2
ii libsystemd-daemon0 44-12
ii libsystemd-login0 44-12
ii libtdb1 1.2.10-2
ii libudev0 175-7.2
ii libwebrtc-audio-processing-0 0.1-2
ii libx11-6 2:1.6.0-1
ii libx11-xcb1 2:1.6.0-1
ii libxcb1 1.9.1-3
ii libxtst6 2:1.2.1-1+deb7u1
ii lsb-base 4.1+Debian12
ii udev 175-7.2

Versions of packages pulseaudio recommends:
ii gstreamer0.10-pulseaudio 0.10.31-3+nmu1
ii pulseaudio-module-x11 2.0-6.1
ii rtkit 0.10-2

Versions of packages pulseaudio suggests:
pn paman <none>
pn paprefs <none>
ii pavucontrol 1.0-1
pn pavumeter <none>
ii pulseaudio-utils 2.0-6.1

-- Configuration Files:
/etc/pulse/daemon.conf changed:
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
; high-priority = yes
; nice-level = -11
; realtime-scheduling = yes
; realtime-priority = 5
; exit-idle-time = 20
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
; resample-method = speex-float-3
; enable-remixing = yes
; enable-lfe-remixing = no
; flat-volumes = yes
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000
; default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 44100
;alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right
; default-fragments = 4
; default-fragment-size-msec = 25
; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0


-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Felipe Sateler

unread,
Apr 18, 2014, 1:00:02 AM4/18/14
to
Hi,

On Sat, Jul 27, 2013 at 03:36:42PM +0200, pheanex wrote:
> Package: pulseaudio
> Version: 2.0-6.1
> Severity: normal
>
> Extract from syslog:
> pulseaudio[4186]: [alsa-sink] alsa-sink.c: ALSA weckte uns auf, um neue Daten
> auf das Gerät zu schreiben, doch es gab nichts zum Schreiben!
> pulseaudio[4186]: [alsa-sink] alsa-sink.c: Dies ist höchstwahrscheinlich ein
> Fehler im ALSA-Treiber 'snd_usb_audio'. Bitte melden Sie diesen Fehler den
> ALSA-Entwicklern.
> pulseaudio[4186]: [alsa-sink] alsa-sink.c: Wir wurden durch das POLLOUT-Set
> geweckt, allerdings lieferte ein anschliessender snd_pcm_avail() den Wert 0
> oder einen anderen Wert < min_avail.
>

And what happens after this? I fail to see the problem here (other than
a noisy syslog). Does sound still work?


--
Saludos,
Felipe Sateler

Felipe Sateler

unread,
Apr 18, 2014, 11:10:01 AM4/18/14
to
Hi Konstantin,

On Fri, Apr 18, 2014 at 3:32 AM, PHeanEX <phe...@web.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Felipe,
>
> since i've had a lot of them and it was asking me to report it, so i
> did report it ;-D
> I am having some soundproblems, but i dont know it it is connected to
> this error.
> Especially in VLC, there is a big delay in audio start compared to
> video start.

This could be related. Could you please run this:

pulseaudio -k ; LANG=C LC_ALL=C LANGUAGE=C pulseaudio -vvvv
--log-target=file:/tmp/pa.log

And then submit that file? It will give us a full verbose log, and in english ;)

Also, what version of pulseaudio and linux kernel do you have
currently installed?

> But in generally sound does work, yes.

Lets try to make it work better ;)

Felipe Sateler

unread,
Apr 18, 2014, 5:10:01 PM4/18/14
to
Hi Konstantin,

On Fri, Apr 18, 2014 at 5:49 PM, PHeanEX <phe...@web.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Felipe,
>
> pulseaudio -k ; LANG=C LC_ALL=C LANGUAGE=C pulseaudio -vvvv \
> - --log-target=file:/tmp/pa.log
> && cat /tmp/pa.log
<snip>
> E [pulseaudio] pid.c: Daemon already running.
> E [pulseaudio] main.c: pa_pid_file_create() failed

Unfortunately, the pulseaudio daemon is already running. Please see if
there are any pulseaudio processes by a user that is not your own:

ps -fea | grep pulseaudio

If you do not have any, please retry the earlier command a few times
until the daemon manages to start (the problem is that pulseaudio
autorestarts, so the second command needs to win the race against the
autostart, which it can take a few tries to get).

> pulseaudio --version
> pulseaudio 2.0
>
> uname -a
> Linux ordin 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux

OK, this is a wheezy system then?

Felipe Sateler

unread,
Apr 18, 2014, 6:00:02 PM4/18/14
to
On Fri, Apr 18, 2014 at 6:24 PM, PHeanEX <phe...@web.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Filipe,
>
> ps -fea | grep pulseaudio
> pheanex 18948 18033 0 23:22 pts/0 00:00:00 pulseaudio -vvvv
> - --log-target=file:/tmp/pa.log
>
> http://pastebin.com/Ap81fTpv

I don't see the error in the log.

Felipe Sateler

unread,
Apr 19, 2014, 9:30:02 AM4/19/14
to
Control: reassign -1 vlc
Control: retitle -1 vlc: audio and video not synchronized

On Sat, Apr 19, 2014 at 3:46 AM, PHeanEX <phe...@web.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18.04.2014 23:55, Felipe Sateler wrote:
>> On Fri, Apr 18, 2014 at 6:24 PM, PHeanEX <phe...@web.de> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>
>>> Hi Filipe,
>>>
>>> ps -fea | grep pulseaudio pheanex 18948 18033 0 23:22 pts/0
>>> 00:00:00 pulseaudio -vvvv - --log-target=file:/tmp/pa.log
>>>
>>> http://pastebin.com/Ap81fTpv
>>
>> I don't see the error in the log.
>>
> Okay strange, i also looked through all the syslog files and i can't
> find it there neither.
> Maybe sth fixed it? => Consider it fixed?
> But the vlc audio play delay bug is still there.

I'm reassigning against vlc, perhaps it is a problem in vlc.

VLC maintainers, please reassign back if you find it is a problem with
pulseaudio.

Sebastian Ramacher

unread,
Dec 9, 2014, 8:50:03 AM12/9/14
to
On 2014-04-19 10:24:41, Felipe Sateler wrote:
> Control: reassign -1 vlc
> Control: retitle -1 vlc: audio and video not synchronized
>
> On Sat, Apr 19, 2014 at 3:46 AM, PHeanEX <phe...@web.de> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 18.04.2014 23:55, Felipe Sateler wrote:
> >> On Fri, Apr 18, 2014 at 6:24 PM, PHeanEX <phe...@web.de> wrote:
> >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> >>>
> >>> Hi Filipe,
> >>>
> >>> ps -fea | grep pulseaudio pheanex 18948 18033 0 23:22 pts/0
> >>> 00:00:00 pulseaudio -vvvv - --log-target=file:/tmp/pa.log
> >>>
> >>> http://pastebin.com/Ap81fTpv
> >>
> >> I don't see the error in the log.
> >>
> > Okay strange, i also looked through all the syslog files and i can't
> > find it there neither.
> > Maybe sth fixed it? => Consider it fixed?
> > But the vlc audio play delay bug is still there.
>
> I'm reassigning against vlc, perhaps it is a problem in vlc.
>
> VLC maintainers, please reassign back if you find it is a problem with
> pulseaudio.

Sorry for long delay. Is this still an issue with vlc 2.2.0~rc2-1? Could you
please also attach the vlc -vvv output when the issue happens.

Cheers
--
Sebastian Ramacher
signature.asc

PHeanEX

unread,
Dec 9, 2014, 9:20:03 AM12/9/14
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems to be fixed in 2.2.0-rc1 Weatherwax (revision
2.2.0-pre4-97-g8a35de1), or at least it didn't happen any more =>
consider it fixed now?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUhwRVAAoJEPHwdvjI23R7QQIIALPT3Z7AF8KpEwDOBMNtK0lh
ovKeCKD9bWQHZ77MCKwCGs1h+ICqk1Hh4mfODfzL+4KsMvgKBCZnmwevt5FAul+S
VuxmVR01UPJFI03LLCWsonzZm0zj11i0m0btivTlAQmnHNcjCHOdsmR/3QrkTvGI
LmR/3U/60iofM5MF00yicG8q+ni6bnJyFG4ZEZ4jN80iAqnDgHsELG1zo+4BJrul
jy+Gk8u3i8iSbxViV05OlpLHggMUproteycHXru8GI7XS38rTTcLs5SYUQBvM04V
qi/kQZWGh1JUoc/6QHYI8B34LkWsB3mrOR9suNCUMH1jCmJxxa+tdDMvdbaGoaA=
=+T+2
-----END PGP SIGNATURE-----
0 new messages