Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
A message that is not in the archive (sent off-list or not yet received): 20090714135754.4684.74223.reportbug@zarvora
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Earlier messages can be found at http://bugs.debian.org/536896 ]
Quoted 19 lines · James Andrewartha
Quoted 17 lines · Moritz Muehlenhoff
Quoted 9 lines · James Andrewartha
Package: linux-image-2.6.26-2-amd64
Version: 2.6.26-17
Severity: normalAll audio from gstreamer-using apps (eg Totem and Banshee) pops when I use a 2.6.{25,26,28,30} amd64 kernel and i386 userspace. 2.6.24-etchnhalf.1-amd64 does not have this problem, nor does 2.6.26-2-686. It doesn't occur when using non-gstreamer apps like mplayer or mpd, nor with various gst-launch pipelines suggested by #gstreamer like gst-launch playbin uri=file:///home/trs80/a.mp3
Hi,
The next release of Debian (6.0, code name Squeeze) will be based on 2.6.32. Please test the current 2.6.32 from unstable/testing and tell us whether the problem persists. If so, we should report it upstream to the kernel.org developers.
Quoted 5 lines
Quoted 3 lines
The 2.6.32 kernel is available from packages.debian.org and can be installed in both Debian stable, testing and unstable installations.
I've bisected it, and the bad patch is
130755108ba03461f69da990e54e02a254accd23:
Thanks for taking the time to do this.
Quoted 6 lines
Author: Takashi Iwai <[email protected]> 2008-01-09 02:08:14
Committer: Jaroslav Kysela <[email protected]> 2008-02-01 01:29:47
Parent:d948035a928400ae127c873fbf771389bee18949([ALSA] Remove PCMxfer_alignsw params)[ALSA] PCM - clean up snd_pcm_lib_read/write
Quoted 8 lines
Introduce a common helper function for
snd_pcm_lib_readandsnd_pcm_lib_writefor cleaning up the code.Signed-off-by Takashi Iwai <[email protected]>Signed-off-by Jaroslav Kysela <[email protected]>I don't know anything about this code, but I'm happy to deal with upstream if you'd prefer me to.
The above commit is supposed to be cleanup, but it has at least one semantic change: snd_pcm_mmap_control::avail_min no longer applies to non-blocking file handles. I don't know whether this is was an intentional or unintentional change, but it wasn't commented. I also don't know whether this can explain the popping, but I expect that it has changed the timing of audio I/O.
Ben.
Signature · 2 lines
Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
At Sun, 11 Apr 2010 21:25:16 +0100,
Quoted 47 lines · Ben Hutchings
[1 <text/plain; UTF-8 (quoted-printable)>]
[Earlier messages can be found at http://bugs.debian.org/536896 ]Quoted 19 lines · James Andrewartha
Quoted 17 lines · Moritz Muehlenhoff
Quoted 9 lines · James Andrewartha
Package: linux-image-2.6.26-2-amd64
Version: 2.6.26-17
Severity: normalAll audio from gstreamer-using apps (eg Totem and Banshee) pops when I use a 2.6.{25,26,28,30} amd64 kernel and i386 userspace. 2.6.24-etchnhalf.1-amd64 does not have this problem, nor does 2.6.26-2-686. It doesn't occur when using non-gstreamer apps like mplayer or mpd, nor with various gst-launch pipelines suggested by #gstreamer like gst-launch playbin uri=file:///home/trs80/a.mp3
Hi,
The next release of Debian (6.0, code name Squeeze) will be based on 2.6.32. Please test the current 2.6.32 from unstable/testing and tell us whether the problem persists. If so, we should report it upstream to the kernel.org developers.Quoted 5 lines
Quoted 3 lines
The 2.6.32 kernel is available from packages.debian.org and can be installed in both Debian stable, testing and unstable installations.
I've bisected it, and the bad patch is
130755108ba03461f69da990e54e02a254accd23:Thanks for taking the time to do this.
Quoted 6 lines
Author: Takashi Iwai <[email protected]> 2008-01-09 02:08:14
Committer: Jaroslav Kysela <[email protected]> 2008-02-01 01:29:47
Parent:d948035a928400ae127c873fbf771389bee18949([ALSA] Remove PCMxfer_alignsw params)[ALSA] PCM - clean up snd_pcm_lib_read/write
Quoted 8 lines
Introduce a common helper function for
snd_pcm_lib_readandsnd_pcm_lib_writefor cleaning up the code.Signed-off-by Takashi Iwai <[email protected]>Signed-off-by Jaroslav Kysela <[email protected]>I don't know anything about this code, but I'm happy to deal with upstream if you'd prefer me to.
Quoted 6 lines
The above commit is supposed to be cleanup, but it has at least one semantic change:
snd_pcm_mmap_control::avail_minno longer applies to non-blocking file handles. I don't know whether this is was an intentional or unintentional change, but it wasn't commented. I also don't know whether this can explain the popping, but I expect that it has changed the timing of audio I/O.
The above change is essentially a fix of the buggy behavior for non-blocking access. avail_min is the definition for wake-up behavior, and it doesn't define the blocking behavior. But, it's possible that this changes the timing, indeed. If so, it implies that the app expects somehow wrongly.
thanks,
Takashi
Quoted 7 lines · Takashi Iwai
At Sun, 11 Apr 2010 21:25:16 +0100,
Quoted 5 lines · Ben Hutchings
[1 <text/plain; UTF-8 (quoted-printable)>]
[Earlier messages can be found at http://bugs.debian.org/536896 ]On Mon, 2010-04-12 at 01:08 +0800, James Andrewartha wrote:
[...]
Quoted 22 lines
Quoted 15 lines
Quoted 6 lines
Author: Takashi Iwai <[email protected]> 2008-01-09 02:08:14
Committer: Jaroslav Kysela <[email protected]> 2008-02-01 01:29:47
Parent:d948035a928400ae127c873fbf771389bee18949([ALSA] Remove PCMxfer_alignsw params)[ALSA] PCM - clean up snd_pcm_lib_read/write
Quoted 8 lines
Introduce a common helper function for
snd_pcm_lib_readandsnd_pcm_lib_writefor cleaning up the code.Signed-off-by Takashi Iwai <[email protected]>Signed-off-by Jaroslav Kysela <[email protected]>I don't know anything about this code, but I'm happy to deal with upstream if you'd prefer me to.
Quoted 6 lines
The above commit is supposed to be cleanup, but it has at least one semantic change:
snd_pcm_mmap_control::avail_minno longer applies to non-blocking file handles. I don't know whether this is was an intentional or unintentional change, but it wasn't commented. I also don't know whether this can explain the popping, but I expect that it has changed the timing of audio I/O.
Quoted 5 lines
The above change is essentially a fix of the buggy behavior for non-blocking access.
avail_minis the definition for wake-up behavior, and it doesn't define the blocking behavior. But, it's possible that this changes the timing, indeed. If so, it implies that the app expects somehow wrongly.
Thanks for your quick response. I will reassign this bug to the applications that were mentioned.
Ben.
Signature · 2 lines
Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
Quoted 31 lines · Ben Hutchings
Quoted 7 lines · Takashi Iwai
At Sun, 11 Apr 2010 21:25:16 +0100,
Quoted 5 lines · Ben Hutchings
[1 <text/plain; UTF-8 (quoted-printable)>]
[Earlier messages can be found at http://bugs.debian.org/536896 ]On Mon, 2010-04-12 at 01:08 +0800, James Andrewartha wrote:
[...]
Quoted 22 lines
Quoted 21 lines
Quoted 6 lines
Author: Takashi Iwai <[email protected]> 2008-01-09 02:08:14
Committer: Jaroslav Kysela <[email protected]> 2008-02-01 01:29:47
Parent:d948035a928400ae127c873fbf771389bee18949([ALSA] Remove PCMxfer_alignsw params)[ALSA] PCM - clean up snd_pcm_lib_read/write
Quoted 8 lines
Introduce a common helper function for
snd_pcm_lib_readandsnd_pcm_lib_writefor cleaning up the code.Signed-off-by Takashi Iwai <[email protected]>Signed-off-by Jaroslav Kysela <[email protected]>I don't know anything about this code, but I'm happy to deal with upstream if you'd prefer me to.
The above commit is supposed to be cleanup, but it has at least one semantic change:
snd_pcm_mmap_control::avail_minno longer applies to non-blocking file handles. I don't know whether this is was an intentional or unintentional change, but it wasn't commented. I also don't know whether this can explain the popping, but I expect that it has changed the timing of audio I/O.
Quoted 8 lines
Quoted 5 lines
The above change is essentially a fix of the buggy behavior for non-blocking access.
avail_minis the definition for wake-up behavior, and it doesn't define the blocking behavior. But, it's possible that this changes the timing, indeed. If so, it implies that the app expects somehow wrongly.Thanks for your quick response. I will reassign this bug to the applications that were mentioned.
I've tested totem from squeeze in a chroot and it still occurs, so it hasn't been fixed there.
ii totem 2.28.5-3 A simple media player for the GNOME desktop based on GStreamer ii gstreamer0.10-alsa 0.10.28-1 GStreamer plugin for ALSA ii gstreamer0.10-plugins-good 0.10.21-1 GStreamer plugins from the "good" set ii libgstreamer-plugins-base0. 0.10.28-1 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.28-1 Core GStreamer libraries and elements
Signature · 4 lines
# TRS-80 trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \ # UCC Wheel Member http://trs80.ucc.asn.au/ #| what squirrels do best | [ "There's nobody getting rich writing ]| -- Collect and hide your | [ software that I know of" -- Bill Gates, 1980 ]\ nuts." -- Acid Reflux #231 /