Debian Bug report logs - #536896
linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace

Package: totem; Maintainer for totem is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for totem is src:totem.

Reported by: James Andrewartha <trs80@ucc.gu.uwa.edu.au>

Date: Tue, 14 Jul 2009 14:00:01 UTC

Severity: normal

Forwarded to alsa-devel@alsa-project.org

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Tue, 14 Jul 2009 14:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Andrewartha <trs80@ucc.gu.uwa.edu.au>:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Tue, 14 Jul 2009 14:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Tue, 14 Jul 2009 21:57:54 +0800
Package: linux-image-2.6.26-2-amd64
Version: 2.6.26-17
Severity: normal

All 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

-- Package-specific info:

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (900, 'stable'), (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.26-2-amd64 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o      tools for generating an initramfs
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo

linux-image-2.6.26-2-amd64 recommends no packages.

Versions of packages linux-image-2.6.26-2-amd64 suggests:
ii  grub                       0.97-47lenny2 GRand Unified Bootloader (Legacy v
pn  linux-doc-2.6.26           <none>        (no description available)

-- debconf information:
  linux-image-2.6.26-2-amd64/preinst/lilo-has-ramdisk:
  linux-image-2.6.26-2-amd64/preinst/abort-install-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/postinst/old-initrd-link-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/postinst/depmod-error-initrd-2.6.26-2-amd64: false
  linux-image-2.6.26-2-amd64/postinst/bootloader-test-error-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/prerm/would-invalidate-boot-loader-2.6.26-2-amd64: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.26-2-amd64/postinst/bootloader-error-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/postinst/create-kimage-link-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/preinst/initrd-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/preinst/failed-to-move-modules-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/preinst/bootloader-initrd-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/prerm/removing-running-kernel-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/postinst/depmod-error-2.6.26-2-amd64: false
  linux-image-2.6.26-2-amd64/preinst/overwriting-modules-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/postinst/kimage-is-a-directory:
  linux-image-2.6.26-2-amd64/postinst/old-system-map-link-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/preinst/abort-overwrite-2.6.26-2-amd64:
  linux-image-2.6.26-2-amd64/preinst/elilo-initrd-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/preinst/lilo-initrd-2.6.26-2-amd64: true
  linux-image-2.6.26-2-amd64/postinst/old-dir-initrd-link-2.6.26-2-amd64: true




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Thu, 25 Feb 2010 18:39:54 GMT) Full text and rfc822 format available.

Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Thu, 25 Feb 2010 18:39:55 GMT) Full text and rfc822 format available.

Message #10 received at 536896@bugs.debian.org (full text, mbox):

From: Moritz Muehlenhoff <jmm@inutil.org>
To: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
Cc: 536896@bugs.debian.org, control@bugs.debian.org
Subject: Re: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Thu, 25 Feb 2010 19:34:35 +0100
tags 536896 moreinfo
thanks

On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> Package: linux-image-2.6.26-2-amd64
> Version: 2.6.26-17
> Severity: normal
> 
> All 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.

The 2.6.32 kernel is available from packages.debian.org and can
be installed in both Debian stable, testing and unstable
installations.

Thanks,
        Moritz




Added tag(s) moreinfo. Request was from Moritz Muehlenhoff <jmm@inutil.org> to control@bugs.debian.org. (Thu, 25 Feb 2010 18:39:56 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Fri, 26 Feb 2010 15:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Andrewartha <trs80@ucc.gu.uwa.edu.au>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 26 Feb 2010 15:21:03 GMT) Full text and rfc822 format available.

Message #17 received at 536896@bugs.debian.org (full text, mbox):

From: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: 536896@bugs.debian.org
Subject: Re: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Fri, 26 Feb 2010 23:06:43 +0800 (WST)
On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:

> tags 536896 moreinfo
> thanks
> 
> On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > Package: linux-image-2.6.26-2-amd64
> > Version: 2.6.26-17
> > Severity: normal
> > 
> > All 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.

It still happens with 2.6.32. Is there an easy way to git bisect and 
generate .debs of the kernels to test, or do I have to manually install 
them?

-- 
# 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 /




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Fri, 26 Feb 2010 16:51:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 26 Feb 2010 16:51:06 GMT) Full text and rfc822 format available.

Message #22 received at 536896@bugs.debian.org (full text, mbox):

From: maximilian attems <max@stro.at>
To: James Andrewartha <trs80@ucc.gu.uwa.edu.au>, 536896@bugs.debian.org
Cc: Moritz Muehlenhoff <jmm@inutil.org>
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Fri, 26 Feb 2010 17:41:22 +0100
On Fri, Feb 26, 2010 at 11:06:43PM +0800, James Andrewartha wrote:
> On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:
> 
> > tags 536896 moreinfo
> > thanks
> > 
> > On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > > Package: linux-image-2.6.26-2-amd64
> > > Version: 2.6.26-17
> > > Severity: normal
> > > 
> > > All 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.
> 
> It still happens with 2.6.32. Is there an easy way to git bisect and 
> generate .debs of the kernels to test, or do I have to manually install 
> them?

which 2.6.32 version, tried 2.6.32-9?

indeed in upstream git: make deb-pkg





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Fri, 26 Feb 2010 17:03:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 26 Feb 2010 17:03:06 GMT) Full text and rfc822 format available.

Message #27 received at 536896@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: James Andrewartha <trs80@ucc.gu.uwa.edu.au>, 536896@bugs.debian.org
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Fri, 26 Feb 2010 17:00:34 +0000
On Fri, Feb 26, 2010 at 11:06:43PM +0800, James Andrewartha wrote:
[...]
> It still happens with 2.6.32. Is there an easy way to git bisect and 
> generate .debs of the kernels to test, or do I have to manually install 
> them?
 
You should be able to install the kernel using
'make install modules_install'.  You can build packages using 'make deb-pkg'
but I don't think that will be much easier.

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain. - Lily Tomlin




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Sat, 27 Feb 2010 03:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Andrewartha <trs80@ucc.gu.uwa.edu.au>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sat, 27 Feb 2010 03:57:03 GMT) Full text and rfc822 format available.

Message #32 received at 536896@bugs.debian.org (full text, mbox):

From: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
To: maximilian attems <max@stro.at>
Cc: 536896@bugs.debian.org, Moritz Muehlenhoff <jmm@inutil.org>
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Sat, 27 Feb 2010 11:52:58 +0800 (WST)
On Fri, 26 Feb 2010, maximilian attems wrote:

> On Fri, Feb 26, 2010 at 11:06:43PM +0800, James Andrewartha wrote:
> > On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:
> > 
> > > tags 536896 moreinfo
> > > thanks
> > > 
> > > On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > > > Package: linux-image-2.6.26-2-amd64
> > > > Version: 2.6.26-17
> > > > Severity: normal
> > > > 
> > > > All 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.
> > 
> > It still happens with 2.6.32. Is there an easy way to git bisect and 
> > generate .debs of the kernels to test, or do I have to manually install 
> > them?
> 
> which 2.6.32 version, tried 2.6.32-9?
> 
> indeed in upstream git: make deb-pkg

Only 2.6.32-8 - -9 hasn't propogated to the mirrors yet. Has make deb-pkg 
been around since 2.6.24, since that was where I was going to start 
bisecting?

-- 
# 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 /




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Sun, 28 Feb 2010 00:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 28 Feb 2010 00:30:03 GMT) Full text and rfc822 format available.

Message #37 received at 536896@bugs.debian.org (full text, mbox):

From: maximilian attems <max@stro.at>
To: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
Cc: 536896@bugs.debian.org, Moritz Muehlenhoff <jmm@inutil.org>
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Sun, 28 Feb 2010 01:27:48 +0100
On Sat, 27 Feb 2010, James Andrewartha wrote:

> On Fri, 26 Feb 2010, maximilian attems wrote:
> 
> > On Fri, Feb 26, 2010 at 11:06:43PM +0800, James Andrewartha wrote:
> > > On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:
> > > 
> > > > tags 536896 moreinfo
> > > > thanks
> > > > 
> > > > On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > > > > Package: linux-image-2.6.26-2-amd64
> > > > > Version: 2.6.26-17
> > > > > Severity: normal
> > > > > 
> > > > > All 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.
> > > 
> > > It still happens with 2.6.32. Is there an easy way to git bisect and 
> > > generate .debs of the kernels to test, or do I have to manually install 
> > > them?
> > 
> > which 2.6.32 version, tried 2.6.32-9?
> > 
> > indeed in upstream git: make deb-pkg
> 
> Only 2.6.32-8 - -9 hasn't propogated to the mirrors yet. Has make deb-pkg 
> been around since 2.6.24, since that was where I was going to start 
> bisecting?

yes, you may need to call it with fakeroot in older linux-2.6
fakeroot -u make deb-pkg

-- 
maks




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Sun, 11 Apr 2010 17:21:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Andrewartha <trs80@ucc.gu.uwa.edu.au>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 11 Apr 2010 17:21:06 GMT) Full text and rfc822 format available.

Message #42 received at 536896@bugs.debian.org (full text, mbox):

From: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: 536896@bugs.debian.org
Subject: Re: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Mon, 12 Apr 2010 01:08:19 +0800 (WST)
On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:

> On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > Package: linux-image-2.6.26-2-amd64
> > Version: 2.6.26-17
> > Severity: normal
> > 
> > All 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.
> 
> 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:

Author: Takashi Iwai <tiwai@suse.de>  2008-01-09 02:08:14
Committer: Jaroslav Kysela <perex@perex.cz>  2008-02-01 01:29:47
Parent: d948035a928400ae127c873fbf771389bee18949 ([ALSA] Remove PCM xfer_align sw params)

    [ALSA] PCM - clean up snd_pcm_lib_read/write
    
    Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
    for cleaning up the code.
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Jaroslav Kysela <perex@perex.cz>

I don't know anything about this code, but I'm happy to deal with upstream 
if you'd prefer me to.

-- 
# 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 /




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Sun, 11 Apr 2010 20:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 11 Apr 2010 20:27:02 GMT) Full text and rfc822 format available.

Message #47 received at 536896@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: James Andrewartha <trs80@ucc.gu.uwa.edu.au>, Takashi Iwai <tiwai@suse.de>, Jaroslav Kysela <perex@perex.cz>
Cc: 536896@bugs.debian.org, alsa-devel@alsa-project.org
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Sun, 11 Apr 2010 21:25:16 +0100
[Message part 1 (text/plain, inline)]
[Earlier messages can be found at http://bugs.debian.org/536896 ]

On Mon, 2010-04-12 at 01:08 +0800, James Andrewartha wrote:
> On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:
> 
> > On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > > Package: linux-image-2.6.26-2-amd64
> > > Version: 2.6.26-17
> > > Severity: normal
> > > 
> > > All 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.
> > 
> > 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.

> Author: Takashi Iwai <tiwai@suse.de>  2008-01-09 02:08:14
> Committer: Jaroslav Kysela <perex@perex.cz>  2008-02-01 01:29:47
> Parent: d948035a928400ae127c873fbf771389bee18949 ([ALSA] Remove PCM xfer_align sw params)
> 
>     [ALSA] PCM - clean up snd_pcm_lib_read/write
>     
>     Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
>     for cleaning up the code.
>     
>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
>     Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> 
> 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.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[signature.asc (application/pgp-signature, inline)]

Removed tag(s) moreinfo. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sun, 11 Apr 2010 20:27:06 GMT) Full text and rfc822 format available.

Set Bug forwarded-to-address to 'alsa-devel@alsa-project.org'. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sun, 11 Apr 2010 20:27:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Mon, 12 Apr 2010 07:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Takashi Iwai <tiwai@suse.de>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Mon, 12 Apr 2010 07:42:03 GMT) Full text and rfc822 format available.

Message #56 received at 536896@bugs.debian.org (full text, mbox):

From: Takashi Iwai <tiwai@suse.de>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: James Andrewartha <trs80@ucc.gu.uwa.edu.au>, Jaroslav Kysela <perex@perex.cz>, 536896@bugs.debian.org, alsa-devel@alsa-project.org
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Mon, 12 Apr 2010 09:26:50 +0200
At Sun, 11 Apr 2010 21:25:16 +0100,
Ben Hutchings wrote:
> 
> [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:
> > On Thu, 25 Feb 2010, Moritz Muehlenhoff wrote:
> > 
> > > On Tue, Jul 14, 2009 at 09:57:54PM +0800, James Andrewartha wrote:
> > > > Package: linux-image-2.6.26-2-amd64
> > > > Version: 2.6.26-17
> > > > Severity: normal
> > > > 
> > > > All 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.
> > > 
> > > 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.
> 
> > Author: Takashi Iwai <tiwai@suse.de>  2008-01-09 02:08:14
> > Committer: Jaroslav Kysela <perex@perex.cz>  2008-02-01 01:29:47
> > Parent: d948035a928400ae127c873fbf771389bee18949 ([ALSA] Remove PCM xfer_align sw params)
> > 
> >     [ALSA] PCM - clean up snd_pcm_lib_read/write
> >     
> >     Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
> >     for cleaning up the code.
> >     
> >     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >     Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> > 
> > 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.

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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#536896; Package linux-image-2.6.26-2-amd64. (Mon, 12 Apr 2010 20:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Mon, 12 Apr 2010 20:21:03 GMT) Full text and rfc822 format available.

Message #61 received at 536896@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: Takashi Iwai <tiwai@suse.de>
Cc: James Andrewartha <trs80@ucc.gu.uwa.edu.au>, Jaroslav Kysela <perex@perex.cz>, 536896@bugs.debian.org, alsa-devel@alsa-project.org
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Mon, 12 Apr 2010 21:18:49 +0100
[Message part 1 (text/plain, inline)]
On Mon, 2010-04-12 at 09:26 +0200, Takashi Iwai wrote:
> At Sun, 11 Apr 2010 21:25:16 +0100,
> Ben Hutchings wrote:
> > 
> > [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:
[...]
> > > Author: Takashi Iwai <tiwai@suse.de>  2008-01-09 02:08:14
> > > Committer: Jaroslav Kysela <perex@perex.cz>  2008-02-01 01:29:47
> > > Parent: d948035a928400ae127c873fbf771389bee18949 ([ALSA] Remove PCM xfer_align sw params)
> > > 
> > >     [ALSA] PCM - clean up snd_pcm_lib_read/write
> > >     
> > >     Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
> > >     for cleaning up the code.
> > >     
> > >     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > >     Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> > > 
> > > 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.
> 
> 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 for your quick response.  I will reassign this bug to the
applications that were mentioned.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[signature.asc (application/pgp-signature, inline)]

Bug 536896 cloned as bug 577576. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Mon, 12 Apr 2010 20:21:04 GMT) Full text and rfc822 format available.

Bug reassigned from package 'linux-image-2.6.26-2-amd64' to 'totem'. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Mon, 12 Apr 2010 20:21:06 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions linux-2.6/2.6.26-17. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Mon, 12 Apr 2010 20:21:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Sebastien Bacher <seb128@debian.org>:
Bug#536896; Package totem. (Thu, 29 Apr 2010 11:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Andrewartha <trs80@ucc.gu.uwa.edu.au>:
Extra info received and forwarded to list. Copy sent to Sebastien Bacher <seb128@debian.org>. (Thu, 29 Apr 2010 11:09:03 GMT) Full text and rfc822 format available.

Message #72 received at 536896@bugs.debian.org (full text, mbox):

From: James Andrewartha <trs80@ucc.gu.uwa.edu.au>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: 536896@bugs.debian.org, alsa-devel@alsa-project.org
Subject: Re: Bug#536896: linux-image-2.6.26-2-amd64: audio popping with gstreamer using apps when using amd64 kernel and i386 userspace
Date: Thu, 29 Apr 2010 19:04:17 +0800 (WST)
On Mon, 12 Apr 2010, Ben Hutchings wrote:

> On Mon, 2010-04-12 at 09:26 +0200, Takashi Iwai wrote:
> > At Sun, 11 Apr 2010 21:25:16 +0100,
> > Ben Hutchings wrote:
> > > 
> > > [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:
> [...]
> > > > Author: Takashi Iwai <tiwai@suse.de>  2008-01-09 02:08:14
> > > > Committer: Jaroslav Kysela <perex@perex.cz>  2008-02-01 01:29:47
> > > > Parent: d948035a928400ae127c873fbf771389bee18949 ([ALSA] Remove PCM xfer_align sw params)
> > > > 
> > > >     [ALSA] PCM - clean up snd_pcm_lib_read/write
> > > >     
> > > >     Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
> > > >     for cleaning up the code.
> > > >     
> > > >     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > >     Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> > > > 
> > > > 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.
> > 
> > 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 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


-- 
# 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 /




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 08:04:07 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.