Banshee/Rhythmbox regularly stop playing audio when left on in the background ["Failed to push data into queue"]

Bug #978604 reported by Matthew Wardrop
342
This bug affects 74 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Confirmed
Medium
Unassigned
Precise
Won't Fix
Undecided
Unassigned

Bug Description

If Banshee or Rhythmbox is left playing in the background they will randomly stop playing in the latest builds of Ubuntu 12.04. Starting a new piece of music usually fixes the problem. If left to its own devices, the music will start playing again at some random time, at some random position. This problem exists on both my desktop machine (custom built Intel machine) and my laptop (Macbook 5,1). It has been happening for several months now.

I became frustrated enough to load up pulseaudio in debugging mode. The log shows that when the music player just finishes playing one piece, and tries to start the next piece, you see something like this:

-------------------------------
( 335.399| 34.388) D: [alsa-sink] sink-input.c: Requesting rewind due to corking
( 335.400| 0.001) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 335.400| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 14820 bytes.
( 335.400| 0.000) D: [alsa-sink] alsa-sink.c: before: 3705
( 335.400| 0.000) D: [alsa-sink] alsa-sink.c: after: 3705
( 335.400| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 14820 bytes.
( 335.400| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 335.400| 0.000) D: [alsa-sink] sink.c: latency = 1643
( 335.400| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 14820 bytes on render memblockq.
( 335.400| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 14820 bytes on implementor.
( 335.400| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 335.400| 0.000) D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
( 335.402| 0.001) D: [alsa-sink] alsa-sink.c: hwbuf_unused=0
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15502
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Requested volume: 0: 34% 1: 34%
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -28.11 dB 1: -28.11 dB
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 34% 1: 34%
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -28.00 dB 1: -28.00 dB
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100% (accurate-enough=yes)
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -0.11 dB 1: -0.11 dB
( 335.402| 0.000) D: [alsa-sink] sink.c: Volume not changing
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15300 bytes.
( 335.402| 0.000) D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: before: 3825
( 335.402| 0.000) D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: after: 3825
( 335.402| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15300 bytes.
( 335.402| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 335.402| 0.000) D: [alsa-sink] sink.c: latency = 1402
( 335.402| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 335.402| 0.000) I: [pulseaudio] sink-input.c: Freeing input 3 "'zero-project - 05 - Forest of the unicorns' by 'zero-project'"
( 335.402| 0.000) D: [pulseaudio] module-stream-restore.c: Not restoring device for stream sink-input-by-media-role:music, because already set to 'alsa_output.pci-0000_00_1b.0.analog-stereo'.
( 335.403| 0.000) D: [pulseaudio] module-intended-roles.c: Not setting device for stream Playback Stream, because already set.
( 335.403| 0.000) I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-media-role:music.
( 335.403| 0.000) I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input sink-input-by-media-role:music.
( 335.403| 0.000) D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy.
( 335.403| 0.000) I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
( 335.403| 0.000) I: [pulseaudio] resampler.c: Using resampler 'copy'
( 335.403| 0.000) I: [pulseaudio] resampler.c: Using float32le as working format.
( 335.403| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
( 335.403| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
( 335.403| 0.000) I: [pulseaudio] sink-input.c: Created input 4 "Playback Stream" on alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec float32le 2ch 44100Hz and channel map front-left,front-right
( 335.403| 0.000) I: [pulseaudio] sink-input.c: media.name = "Playback Stream"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.name = "Banshee"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: native-protocol.version = "26"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: media.role = "music"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.id = "23258"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.user = "themadhatter"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.host = "themadhatter-desktop"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.binary = "mono"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.icon_name = "media-player-banshee"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: window.x11.display = ":0"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.machine_id = "8128ee9200ba7ce4b9230dbf00000001"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: application.process.session_id = "8128ee9200ba7ce4b9230dbf00000001-1334106345.520104-1231006243"
( 335.403| 0.000) I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-media-role:music"
( 335.403| 0.000) I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
( 335.403| 0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
( 335.403| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=38808, base=8, prebuf=0, minreq=3528 maxrewind=0
( 335.403| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=38808, base=8, prebuf=0, minreq=3528 maxrewind=0
( 335.403| 0.000) I: [pulseaudio] protocol-native.c: Final latency 200.00 ms = 90.00 ms + 2*10.00 ms + 90.00 ms
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 90.00ms
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=49660
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15503
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Requesting rewind due to latency change.
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Requested volume: 0: 34% 1: 34%
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -28.11 dB 1: -28.11 dB
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 34% 1: 34%
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -28.00 dB 1: -28.00 dB
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100% (accurate-enough=yes)
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: in dB: 0: -0.11 dB 1: -0.11 dB
( 335.403| 0.000) D: [alsa-sink] sink.c: Volume not changing
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 65120 bytes.
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: before: 16280
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: after: 16280
( 335.403| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 65120 bytes.
( 335.403| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 335.403| 0.000) D: [alsa-sink] sink.c: latency = 897
( 335.404| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 65120 bytes on render memblockq.
( 335.404| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 335.405| 0.001) W: [alsa-sink] ratelimit.c: 173 events suppressed
( 335.405| 0.000) W: [alsa-sink] protocol-native.c: Failed to push data into queue
( 335.405| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to end of underrun.
( 335.405| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to end of underrun.
( 335.405| 0.000) D: [alsa-sink] sink-input.c: Requesting rewind due to uncorking
( 335.405| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 335.405| 0.000) D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy.
( 335.405| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15300 bytes.
( 335.405| 0.000) D: [alsa-sink] alsa-sink.c: before: 3825
( 335.405| 0.000) D: [alsa-sink] alsa-sink.c: after: 3825
( 335.405| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15300 bytes.
( 335.405| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 335.405| 0.000) D: [alsa-sink] sink.c: latency = 795
( 335.405| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 335.407| 0.001) W: [alsa-sink] protocol-native.c: Failed to push data into queue
( 335.408| 0.001) W: [alsa-sink] protocol-native.c: Failed to push data into queue
( 335.409| 0.000) W: [alsa-sink] protocol-native.c: Failed to push data into queue
( 335.409| 0.000) W: [alsa-sink] protocol-native.c: Failed to push data into queue
--------------------------------------------------

When the music randomly starts playing again:
--------------------------------------------------

( 469.282| 133.873) D: [alsa-sink] protocol-native.c: Requesting rewind due to rewrite.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15620 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: before: 3905
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: after: 3905
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15620 bytes.
( 469.283| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 469.283| 0.000) D: [alsa-sink] sink.c: latency = 1297
( 469.283| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 15620 bytes on render memblockq.
( 469.283| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 31240 bytes on implementor.
( 469.283| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 469.283| 0.000) D: [alsa-sink] protocol-native.c: Underrun on 'Playback Stream', 0 bytes in queue.
( 469.283| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to rewrite.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15620 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: before: 3905
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: after: 3905
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15620 bytes.
( 469.283| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 469.283| 0.000) D: [alsa-sink] sink.c: latency = 1085
( 469.283| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 15620 bytes on render memblockq.
( 469.283| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 31240 bytes on implementor.
( 469.283| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 469.283| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to rewrite.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15460 bytes.
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: before: 3865
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: after: 3865
( 469.283| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15460 bytes.
( 469.283| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 469.284| 0.000) D: [alsa-sink] sink.c: latency = 1309
( 469.284| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 15460 bytes on render memblockq.
( 469.284| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 30920 bytes on implementor.
( 469.284| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 469.284| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to rewrite.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15620 bytes.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: before: 3905
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: after: 3905
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15620 bytes.
( 469.284| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 469.284| 0.000) D: [alsa-sink] sink.c: latency = 1137
( 469.284| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 15620 bytes on render memblockq.
( 469.284| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 31240 bytes on implementor.
( 469.284| 0.000) D: [alsa-sink] source.c: Processing rewind...
( 469.284| 0.000) D: [alsa-sink] protocol-native.c: Requesting rewind due to rewrite.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 15620 bytes.
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: before: 3905
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: after: 3905
( 469.284| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 15620 bytes.
( 469.284| 0.000) D: [alsa-sink] sink.c: Processing rewind...
( 469.284| 0.000) D: [alsa-sink] sink.c: latency = 976
.... etc.
Basically what looks like the same thing over and over again with slightly different numbers.
----------------------------------------------------

Do please let me know what I can do to help. :). I have attached the full log below.

Tags: patch
Revision history for this message
Matthew Wardrop (mister.wardrop) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
linux4me (ta2008) wrote :

I am experiencing the same issue on a machine I updated to 12.04 beta 2 using the alternate CD. It occurs both with Banshee and with Rhytmbox, and using flacs exclusively, not oggs or mp3s as in another bug report.

I'm wondering if this could be an issue due to upgrading instead of doing a clean install. Matthew, are your two machines running clean installs of 12.04 or were they upgraded? I'm toying with the idea of trying a purge of pulseaudio and reinstall or maybe a clean install of 12.04 to see if that makes a difference, but the latter would be a pretty big ordeal with all my files.

Revision history for this message
Matthew Wardrop (mister.wardrop) wrote :

The issue occurs for OGG files for me as well; as I do not use FLAC audio.

I believe that they were both upgraded (although I also recall doing an install of 12.04 alpha and still having the problem). I've yet to try a full reinstall.

Revision history for this message
Reinhard (reinhard-fink) wrote :

I think igot the same problem with amarok (KDE) on a fresh installed 12.04 (64Bit).
Somethimes musik stops/pauses playing at the beginning of a new song.

in syslog i find:
pulseaudio[1900]: [alsa-sink] ratelimit.c: 56 events suppressed
pulseaudio[1900]: [alsa-sink] protocol-native.c: Failed to push data into queue

changing option for snd-hda-intel: for example option snd-hda-intel enable_msi=1 doesn't change anything.

sound in 11.04 was ok.

i posted this "bug" in:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/982385

Revision history for this message
linux4me (ta2008) wrote :

Sounds like the same thing. In my syslog I also see the following when playback in Rhythmbox stops:

pulseaudio[1889]: [alsa-sink] protocol-native.c: Failed to push data into queue

It's good to know it happens with a clean install as well.

Revision history for this message
linux4me (ta2008) wrote :

I haven't found a solution for this yet with Rhythmbox/Banshee, but thanks to the recommendation of a user on the Ubuntu Forums I found that Clementine is a substitute for Rhythmbox/Banshee that is not affected by this. I installed Clementine and it works great without any playback problems.

Revision history for this message
stefan (stefan-home) wrote :

Same here, very annoying. Can't listen more then 5 songs in a row without restarting the playback.

pulseaudio[2177]: [alsa-sink] ratelimit.c: 15 events suppressed
pulseaudio[2177]: [alsa-sink] protocol-native.c: Failed to push data into queue

Revision history for this message
Rookcifer (rookcifer) wrote :

I can confirm this bug. I use banshee, did a clean install of 12.04, and I get the same issue with music stopping playing at random times. All of my music consists of ogg and mp3. Like the others, I did *not* have this issue in 11.10.

Example of error message in /var/log/syslog:

pulseaudio[2001]: [alsa-sink] protocol-native.c: Failed to push data into queue

Revision history for this message
stefan (stefan-home) wrote :

Is this related to bug 981629?

Revision history for this message
linux4me (ta2008) wrote :

It sounds very similar to what I'm experiencing, and bug 956830, which it is marked as a duplicate of, has been confirmed and assigned, so it looks like a fix is coming.

Revision history for this message
Tim Edwards (tkedwards) wrote :

I can confirm this too on a clean install of 12.04 64-bit. My music collection is a mix of ogg (about 40%) and mp3 (the rest) and I see this message in syslog at the time the music stops:
May 12 11:52:07 triton pulseaudio[3004]: [alsa-sink] protocol-native.c: Failed to push data into queue

And I'm using banshee and not rhythmbox so I doubt this issue is related to some bug in the player itself.

Revision history for this message
Reinhard (reinhard-fink) wrote :

I just could reproduce the mistake in bug 956830:

The following transitions cause a pause:
  mp3->ogg

These do not:
  ogg->mp3

So I think we should mark this bug report as a duplicate of bug 956830 (see linux4me)

and hope that

"help is coming" (http://www.youtube.com/watch?v=o9QBlgRAk-0)

:-)

Revision history for this message
Manuel Iglesias Alonso (glesialo) wrote :

My music collection is made up of ogg files EXCLUSIVELY and I can confirm the bug.

Revision history for this message
linux4me (ta2008) wrote :

My music is all flac files, so it happens flac -> flac as well.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you use gapeless playing? does it happen without it?

Revision history for this message
stefan (stefan-home) wrote :

When I use "crossfading" with 1 second, than I have no problems.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
bitinerant (bitinerant) wrote :

Crossfading of 1 second does NOT fix the MP3-to-OGG transition in Rhythmbox 2.96 on my machine.

Revision history for this message
stefan (stefan-home) wrote :

Have you restarted Rhythmbox? After selecting "crossfading" I had to restart Rhythmbox to take effect.

Revision history for this message
ar (arjenmeijernl) wrote :

Radiostreams are also effected. So ...

Revision history for this message
bitinerant (bitinerant) wrote :

@stefan--yes, sorry. After restarting Rhythmbox, the 1 second crossfade works around the problem. A 0.2 second crossfade also works. Ignore comment #19.

Revision history for this message
Tim Edwards (tkedwards) wrote :

I can confirm that disabling gapless playback in Banshee settings (untick Edit->Preferences->Enable gapless playback) also works around the problem. The problem only happens when gapless playback is enabled.

Revision history for this message
NeilGreenwood (neil-greenwood) wrote :

I've found that using the cursor keys on the track progress slider (or dragging the slider a little) often starts the track playing again, but then audio often (but not every time) drops out at about 11 seconds in. It can be restored by moving the slider back a little again. Normally the rest of the track is then fine. I have crossfade disabled.

Revision history for this message
ar (arjenmeijernl) wrote :

In response to #24. I can trigger this behaviour by selecting a playlist and select random play. More often than not Rhythmbox 2.97 stops playing the next song. Moving the slider just a little bit starts playing again. I have crossfase disabled.

Revision history for this message
Tino Meinen (a-t-meinen) wrote :

I experience exactly the same behaviour as described in #24.
In addition, clicking on the 'next' button, always plays the next song; Whether you go from mp3 to ogg or flac or vice versa, it never displays the beheviour described in this bug, where it stops playing the next song.

Revision history for this message
apienk (andrzej-pienkowski) wrote :

My system is also affected by this bug. On music playback, the sound stops after a song and then starts again randomly. However, I have a strong suspition this might be related to acpi. When I am translating a video, turning playback on and off very frequently, I hear a silent click in my headphones 5 or 6 seconds after the playback stops. I believe this is pulseaudio powering down audio card to avoid amplifying white noise. Now I am looking for some way to make pulseaudio not to do it.

Revision history for this message
Derek Monner (dmonner) wrote :

There seem to possibly be several different issues going on here, but I'll tell you how I worked around one of them. My symptoms were: Banshee is playing music, monitor goes off due to machine idle, Banshee continues playing until end of track and then stops. When I move the mouse to get the monitor back on, Banshee starts playing where it left off (i.e. it begins the next track).

I worked around this issue by disabling Banshee's "Notification Area Icon" extension. This means I no longer get notification popups when the track changes, but it allows Banshee to keep playing in the background after the computer goes idle and the monitor goes off. Is it possible that Banshee is blocked from starting playback, waiting to post a notification that can't be posted when the computer is idle?

By the way, I'm using Banshee 2.4.0 under the Cinnamon desktop on Linux Mint Maya (based off of Ubuntu 12.04).

Revision history for this message
David Henningsson (diwic) wrote :

Hi everybody,

Sorry I haven't been able to seen or get to this bug until now. I've tried to reproduce it here, but so far I've failed. Therefore, I have instead built a custom pulseaudio package into my ppa:diwic/temp which adds some debugging info.

So can at least one or two of you do the following:
1) Wait until pulseaudio version 1:1.1-0ubuntu15.2~diwicppa3 has finished building in https://launchpad.net/~diwic
/+archive/temp
2) add ppa:diwic/temp to your software sources and update/upgrade pulseaudio
3) Do a debug log of PulseAudio, see ( https://wiki.ubuntu.com/PulseAudio/Log )
Ensure that the problem is triggered (which seems to be consistent with the error message "Failed to push data into queue" ) while the log is running.

Thanks!

Changed in pulseaudio (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: Confirmed → Incomplete
importance: Undecided → High
Changed in pulseaudio (Ubuntu Precise):
status: Confirmed → Incomplete
Revision history for this message
Tim Edwards (tkedwards) wrote :

I had the problem when using Banshee and the workaround I posted 3 months ago was to disable 'Gapless Playback' in Banshee settings. I've just re-enabled that feature and retested and songs have played now for around 40 mins without interruption.

So in other words I can't reproduce the bug now, I guess one of the updates in the meantime has fixed it (for Banshee at least, I can't say anything about people using other players).

Revision history for this message
bitinerant (bitinerant) wrote :

This seems to be fixed in Rhythmbox too. I had enabled crossfade as a work-around, but just now I disabled crossfade, closed, re-opened Rhythmbox, and tested. The formerly-broken MP3-to-OGG transition works well, as well as all the other combinations of OGG, MP3, and WMA tried. :-)

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

This is not fixed in rhythmbox, at least not the version in the standard repositories. The effect is still observable on transitions between different format tracks. For example, FLAC->MP3 still freezes playback.

Revision history for this message
bitinerant (bitinerant) wrote :

Alistair, perhaps you are experiencing a different bug or perhaps you have a different version of Rhythmbox or a library. I don't have any FLAC files to test. My experience with this bug in the past is that it froze/paused on transitions _from_ MP3 and _not_to_ MP3.

I'm running Rhythmbox version 2.96-0ubuntu4.1, libgstreamer0.10-0 version 0.10.36-1ubuntu1, and libtotem-plparser17 version 3.4.1-1.

Revision history for this message
Tino Meinen (a-t-meinen) wrote :

I still experience this bug on transitions to FLAC from either mp3 or ogg.
The transition from mp3 to ogg doesn't give me any problems anymore.
This was fixed since this commit arrived in the audio stack:

https://lists.ubuntu.com/archives/precise-changes/2012-July/016564.html

gst-plugins-base0.10 (0.10.36-1ubuntu0.1) precise-proposed; urgency=low

  * debian/patches/git_timestamps_discard_issue.patch:
    - "don't discard timestamps when consecutive input buffers have
       the same ts", should fix playback pausing on mp3 to ogg
       transitions in rhythmbox (lp: #921071)

Revision history for this message
David Henningsson (diwic) wrote :

Ok, lowering priority as it seems to be fixed for most people. If somebody still manages to get "Failed to push data into queue" after having followed the instructions in comment #29, let me know.

Changed in pulseaudio (Ubuntu):
assignee: David Henningsson (diwic) → nobody
importance: High → Low
Revision history for this message
Arnaud BERCEGEAY (arnaud-bercegeay) wrote :

I still have the problem. Please find in attachment the "pulseverbose.log" file made as requested in comment #29.

Here is the story:
- start pulsaudio
- start rhythmbox (set to play all my playlist on loop in random order)
- push PLAY button on rhythmbox and it works fine for several songs, and then...
- rhythmbox freezes at the begining of a new song (Yeah! that's the bug). I waited several seconds (maybe 30 seconds)
- i clic at the begin of the "time slider" to jump to "time 0" of the song, and rhythmbox starts to play this new song
- just after i quit pulseaudio.

Hope this helps...

Revision history for this message
James M. (mccannjb) wrote :

I have been experiencing this bug for the past week and I've not had any luck getting around it while using Rhythmbox or Banshee. It usually happens after about three songs and picks back up about 5+ minutes later. I've attached the pulseaudio log of when the music pauses (around 600.738).

Revision history for this message
David Henningsson (diwic) wrote :

From James log (arnauds log does not show the error) :

( 600.740| 0.002) W: [alsa-sink] memblockq.c: Can_push: l = -2134034528, end = 12529, bq->read_index = 0, bq->write_index = 140542054157432, bq->maxlength = 140542062687863

All right, so bq->maxlength and bq->write_index are way too high and l should never be less than zero. This could be a random memory overwrite but it also looks a bit suspicious that write_index and maxlength are about the same.

James, are you familiar with gdb? Or should I add more debug prints and ask for new logs from you? Assuming we both have the time to try to nail this bug down.

Revision history for this message
James M. (mccannjb) wrote :

I really don't know much about what's going on behind the scenes, but I'd be happy to produce/provide more logs with instruction.

Revision history for this message
Kevin Krumwiede (kjkrum) wrote :

I had the same problem with Banshee 2.4.0 on Mint 13. Disabling gapless playback seems to be an effective workaround.

Revision history for this message
Arnaud BERCEGEAY (arnaud-bercegeay) wrote :

Some more information about my experience:

the bug seems to be systematic for the transition "end of OGG file" -> "begin of FLAC file". My playlist contains a lot of OGG and FLAC, and i play all of them randomly. Each time the music "pause", it's at a begin of a "FLAC" file, and the previous file played was a OGG file. Enabling/disabling gapless playback doesn't solve the problem for me.

Then, i upgraded my PC : new motherboard (gigabyte->asus), new processor (amd->intel)... and new OS (ubuntu 32 bits -> ubuntu 64 bits) installed from scratch... and the problem is still there :(

The only common point between my old and my new config is my audio adapter which is an USB audio adapter (DAC connected on a USB2 port).

Maybe this bug only happens with USB audio adapter ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu Precise) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu Precise):
status: Incomplete → Expired
Revision history for this message
Ian M. Stewart (ims) wrote :

I have also been experiencing this bug since I moved to Linux Mint 13 Maya with Cinnamon desktop, based on 12.04, about June 2012. As with the others, just touching the progress slider button in the player, Rhythmbox or Banshee, will start the music again. Strangely, it always stops with certain artists music (e.g. Bob Dylan) and never with others. Mainly MP3 format, but a few flac and ogg.
I'm about to try out Clementine, to see if this works around it.

Revision history for this message
Viachaslau Kachurka (dekho1) wrote :

Since moving to LMDE in September 2012 I have also been experiencing this bug: Rhythmbox is freezing playback when trying to start a new song. Two or three attempts of debugging just led me to flawless playback - seems like the bug just slips through fingers.

Revision history for this message
Max Bruckner (fsmaxb) wrote :

I can confirm this bug for Ubuntu 12.04, 12.10 and 13.04 as well as Archlinux for OGG MP3 M4A and FLAC. Seems to be an upstream bug in some library.

Revision history for this message
Chris Evans (leftbas) wrote :

I'm having the same problem on 13.04. When playing through a list, the player pauses as it begins playing the next track in the playlist. I hope this problem hasn't been abandoned because it's not fixed. It it's really closed, please reopen.

Changed in pulseaudio (Ubuntu):
status: Expired → Confirmed
Changed in pulseaudio (Ubuntu Precise):
status: Expired → Confirmed
Revision history for this message
Ryan (pdxmusl) wrote :

I am having the same problem it seems as everyone else. I have a fresh install of 13.04 and I am using mp3 music files. After a little while listening to music, the music just stops playing. Usually this is right at the beginning of the track (within the first 5 sec or less, typically much less). But I've had the music stop playing in the middle of the track too. I spotted the comment here about using cross fading. I'm going to try that as a temp work around.

Revision history for this message
Cédric Bellegarde (gnumdk) wrote :

Same here on ArchLinux + KDE + Amarok...

Revision history for this message
whochismo (whochismo) wrote :

I just upgraded to 13.10 and I am having the same problem. It is exactly what comment #48 describes. It also happens if I play a playlist using Totem. It seems to happen always to some specific songs, in a consistent way (e.g. i'm unable to play more than 5 seconds of "Led Zeppelin - Immigrant song").

Crossfade doesn't solve the issue for me.

Revision history for this message
S Prasanth (prasanth-s-cmi) wrote :

Still facing issue in Ubuntu 13.10; RB 2.99.1

Crossfade seems to solve the issue. If you don't want to use crossfade (due to how toggle pause/play behaves, or for other reasons), you can try the following workaround. It works for me.

1. Extract `rhythmboxfix.plugin` and `rhythmboxfix.py` from the attached archive into `~/.local/share/rhythmbox/plugins/`.
2. Restart RhythmBox and enable the `RhythmBox Fix` plugin.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "An RB plugin" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Mitch Deoudes (mitch-houseofpain) wrote :

Confirming that this problem exists on Mint Petra, Banshee 2.6.1-3, pulseaudio 1:4.0-0ubuntu6.

Same behavior - banshee will move to a new track, play a fraction of a second, then stop. Play/pause button is ineffectual. Grabbing the time slider and jiggling it starts playback.

Turning off gapless playback has so far worked.

Revision history for this message
Konstantin Baranovskiy (baranovskiykonstantin) wrote :

Rhythmbox 3.0.2 on Ubuntu 14.04 stop playing after first second of the new track.

Revision history for this message
M. Emin Akşehirli (memedemin) wrote :

I confirm the bug on Ubuntu Gnome 14.04. Rythmbox stops after the first second of the song. I have the following lines in the syslog:

xxx pulseaudio[1792]: [alsa-sink-92HD90BXX Analog] ratelimit.c: 88 events suppressed
xxx pulseaudio[1792]: [alsa-sink-92HD90BXX Analog] protocol-native.c: Failed to push data into queue

Revision history for this message
spontex (spontex) wrote :

Hi,
I confirm the bug under Mint Qiana, Banshee 2.6.2, playing CDs.
Disabling gapless playback seems to solve it.
I noticed the following in syslog:

Sep 2 09:19:56 bureau pulseaudio[1756]: [alsa-sink-ALC889 Analog] ratelimit.c: 1859 events suppressed
Sep 2 09:19:56 bureau pulseaudio[1756]: [alsa-sink-ALC889 Analog] protocol-native.c: Failed to push data into queue
Sep 2 09:19:56 bureau pulseaudio[1756]: message repeated 10 times: [ [alsa-sink-ALC889 Analog] protocol-native.c: Failed to push data into queue]
Sep 2 09:22:54 bureau pulseaudio[1756]: [alsa-sink-ALC889 Analog] ratelimit.c: 100 events suppressed
Sep 2 09:22:54 bureau pulseaudio[1756]: [alsa-sink-ALC889 Analog] protocol-native.c: Failed to push data into queue

Revision history for this message
Colin Weaver (colweaver1967) wrote :

I can confirm this bug under Ubuntu 14.10 64-bit (Unity), Rhythumbox 3.0.3 .

Syslog shows just the one relevant entry that matches up with the time of occurrence.

Nov 13 11:11:58 aubnerap06183l pulseaudio[2434]: [alsa-sink-92HD81B1X5 Analog] protocol-native.c: Failed to push data into queue

Pattern is always the same. Rhythmbox minimised playing a longish playlist. Get a few tracks in, and it will play a fraction of a second of a new track then halt. Clicking play/pause won't re-start playback, but moving the slider back to the beginning of the track will. Often I will go for a while without it happening, but once it does it seems to then occur again on nearly every new track.

I've experienced the same under Ubuntu 14.04, and before that on 12.04 going back as far as my initial Ubuntu install in mid 2012. Behavior hasn't altered at all over the last 2 years.

Revision history for this message
Anas (anas27) wrote :

I can confirm this bug in Ubuntu 14.04, banshee. syslog shows:

pulseaudio[1769]: [alsa-sink-ALC272 Analog] ratelimit.c: 206 events suppressed
pulseaudio[1769]: [alsa-sink-ALC272 Analog] protocol-native.c: Failed to push data into queue

Revision history for this message
Shanly Suepaul (shanlys) wrote :

I've observed this happen very frequently in Ubuntu 14.04 on my Dell XPS 13 (2012). It happens when I'm playing high bitrate FLAC files (from Bill Evan's Complete Village Vanguard if that helps to reproduce)

May 19 15:46:35 shanly-Dell-System-XPS-L322X pulseaudio[2661]: message repeated 12 times: [ [alsa-sink-ALC275 Analog] protocol-native.c: Failed to push data into queue]
May 19 15:47:39 shanly-Dell-System-XPS-L322X pulseaudio[2661]: [alsa-sink-ALC275 Analog] ratelimit.c: 14 events suppressed
May 19 15:47:39 shanly-Dell-System-XPS-L322X pulseaudio[2661]: [alsa-sink-ALC275 Analog] protocol-native.c: Failed to push data into queue

Revision history for this message
draxbear (drax) wrote :

I'm encountering this regularly as well on Ubuntu 14.04.02 with Rhythmbox 3.0.2.

Revision history for this message
Andrea Lazzarotto (Lazza) (andrea-lazzarotto) wrote :

I was encountering this bug after enabling the ReplayGain plug-in. I disabled it and the problem seems to be solved.

Revision history for this message
Otto Rask (ojrask) wrote :

Happening here on Rhythmbox 3.0.2 and Ubuntu 14.04. Packages have been kept up to date via `apt-get update/upgrade` procedures.

I've installed a PulseAudio Equalizer and set echo cancellation module on to (try) fix my noisy microphone, but no other "audio mods" are used.

Enabling track crossfade and setting the amount to 0.1s "fixed" this issue for me.

`syslog` mentions the same message most have been seeing: `Failed to push data into queue`.

Revision history for this message
HX_unbanned (linards-liepins) wrote :

Issue happening on Fedora 26 x64 with latest available Rythmbox version.

Revision history for this message
Graham T (grahamt-manichostingservices) wrote :

2017 - still happening. LinuxMint 17.3 Cinnamon. Player is Banshee.

syslog snippet when playback stops:
Mar 31 02:39:27 mypc pulseaudio[2108]: [alsa-sink-ALC269VB Analog] ratelimit.c: 70 events suppressed
Mar 31 02:39:27 mypc pulseaudio[2108]: [alsa-sink-ALC269VB Analog] protocol-native.c: Failed to push data into queue

Always happens on transition from one track to another. Always resolved for me by simply double-clicking on the track that failed to start playback. No Banshee restart required, just click to play the next track and off it goes for a seemingly random number of tracks before it strikes again.

No biggy. Just posting this really to note it's still an unresolved issue.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

Changed in pulseaudio (Ubuntu Precise):
status: Confirmed → Won't Fix
summary: Banshee/Rhythmbox regularly stop playing audio when left on in the
- background
+ background ["Failed to push data into queue"]
Changed in pulseaudio (Ubuntu):
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.