Debian Bug report logs - #549925
alsa output started munging sound

version graph

Package: audacious; Maintainer for audacious is Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>; Source for audacious is src:audacious (PTS, buildd, popcon).

Reported by: Josip Rodin <joy@debbugs.entuzijast.net>

Date: Tue, 6 Oct 2009 11:12:04 UTC

Severity: normal

Found in version audacious/2.1-1

Done: Josip Rodin <joy@debbugs.entuzijast.net>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Tue, 06 Oct 2009 11:12:07 GMT) (full text, mbox, link).


Acknowledgement sent to Josip Rodin <joy@debbugs.entuzijast.net>:
New Bug report received and forwarded. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Tue, 06 Oct 2009 11:12:07 GMT) (full text, mbox, link).


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

From: Josip Rodin <joy@debbugs.entuzijast.net>
To: submit@bugs.debian.org
Subject: alsa output started munging sound
Date: Tue, 6 Oct 2009 12:45:01 +0200
Package: audacious
Version: 2.1-1

Hi,

I ran into a bizarre problem with audio, and I didn't notice it until a few
hours of play :) audio output has been shifted a few notes down and slightly
slowed down, when played through the Audacious ALSA plugin. As soon as I
switch to the OSS output plugin, everything is back to normal.

To make sure it's not ALSA as a whole that's misbehaving, I've tried to
reproduce it with sox(1) (with libsox-fmt-oss and libsox-fmt-alsa), like
this:
% sox /win/WINDOWS/Media/tada.wav -t alsa default
% sox /win/WINDOWS/Media/tada.wav -t oss /dev/dsp
But both of those played the sound correctly -- the same at least, and the
same as the Audacious OSS output -- so I'm thinking Audacious ALSA plugin
is at fault.

I had previously fiddled with buffering settings (because the Audacious
version in lenny and with an older kernel used to skip a lot on this
machine under load), but I don't believe I selected any setting that would
need to cause this kind of distortion.

% cat ~/.audacious/config
[audacious]
allow_multiple_instances=FALSE
use_realtime=FALSE
always_show_cb=TRUE
convert_underscore=TRUE
convert_twenty=TRUE
show_numbers_in_pl=TRUE
show_separator_in_pl=TRUE
snap_windows=TRUE
save_window_positions=TRUE
dim_titlebar=TRUE
get_info_on_load=FALSE
get_info_on_demand=TRUE
eq_doublesize_linked=TRUE
no_playlist_advance=FALSE
refresh_file_list=TRUE
sort_jump_to_file=FALSE
use_pl_metadata=TRUE
warn_about_unplayables=TRUE
use_backslash_as_dir_delimiter=FALSE
player_shaded=FALSE
player_visible=TRUE
shuffle=TRUE
repeat=FALSE
doublesize=TRUE
autoscroll_songname=TRUE
stop_after_current_song=FALSE
playlist_shaded=FALSE
playlist_visible=TRUE
playlist_transparent=FALSE
use_fontsets=FALSE
equalizer_visible=FALSE
equalizer_active=FALSE
equalizer_shaded=FALSE
equalizer_autoload=FALSE
easy_move=FALSE
use_eplugins=FALSE
always_on_top=FALSE
sticky=FALSE
random_skin_on_play=FALSE
pause_between_songs=FALSE
show_wm_decorations=FALSE
eq_extra_filtering=TRUE
analyzer_peaks=TRUE
custom_cursors=TRUE
close_dialog_open=TRUE
close_dialog_add=TRUE
resume_playback_on_startup=FALSE
playlist_detect=FALSE
show_filepopup_for_tuple=TRUE
recurse_for_cover=FALSE
use_file_cover=FALSE
use_xmms_style_fileselector=FALSE
player_x=378
player_y=127
timer_mode=0
vis_type=0
analyzer_mode=0
analyzer_type=1
scope_mode=0
vu_mode=1
vis_refresh_rate=0
analyzer_falloff=3
peaks_falloff=1
playlist_x=378
playlist_y=359
playlist_width=550
playlist_height=522
playlist_position=64
equalizer_x=392
equalizer_y=384
snap_distance=10
pause_between_songs_time=2
mouse_wheel_change=8
scroll_pl_by=3
titlestring_preset=2
resume_playback_on_startup_time=195681
output_buffer_size=3000
recurse_for_cover_depth=0
filepopup_pixelsize=150
filepopup_delay=20
mainwin_use_xfont=FALSE
playlist_font=Sans Bold 8
mainwin_font=Sans Bold 9
eqpreset_default_file=dir_default.preset
eqpreset_extension=preset
generic_title_format=%{p:%p - %}%{a:%a - %}%t
cover_name_exclude=back
equalizer_preamp=0
equalizer_band0=0
equalizer_band1=0
equalizer_band2=0
equalizer_band3=0
equalizer_band4=0
equalizer_band5=0
equalizer_band6=0
equalizer_band7=0
equalizer_band8=0
equalizer_band9=0
skin=/usr/share/audacious/Skins/Default
output_plugin=/usr/lib/audacious/Output/libALSA.so
url_history_length=0
filesel_path=/bla1/novimp3

[ALSA]
buffer_time=500
period_time=100
pcm_device=default
mixer_card=0
mixer_device=PCM
soft_volume=FALSE
volume_left=100
volume_right=100



% lsmod | grep snd
snd_intel8x0           34760  1 
snd_ac97_codec        123096  1 snd_intel8x0
ac97_bus                2096  1 snd_ac97_codec
snd_pcm_oss            41664  1 
snd_mixer_oss          18176  1 snd_pcm_oss
snd_pcm                81080  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_oss            32224  0 
snd_seq_midi            7856  0 
snd_rawmidi            23568  1 snd_seq_midi
snd_seq_midi_event      7824  2 snd_seq_oss,snd_seq_midi
snd_seq                57664  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              23120  2 snd_pcm,snd_seq
snd_seq_device          7748  4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    63816  10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc          9824  2 snd_intel8x0,snd_pcm

% cat /proc/asound/cards 
 0 [CK804          ]: NFORCE - NVidia CK804
                      NVidia CK804 with ALC850 at irq 23

% uname -a
Linux pork 2.6.30.8 #3 SMP PREEMPT Mon Sep 28 00:03:01 CEST 2009 x86_64 GNU/Linux

If you need more information, please don't hesitate to ask. TIA.

-- 
     2. That which causes joy or happiness.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Sat, 14 Nov 2009 01:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sat, 14 Nov 2009 01:51:02 GMT) (full text, mbox, link).


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

From: John Lindgren <john.lindgren@tds.net>
To: Josip Rodin <joy@debbugs.entuzijast.net>
Cc: 549925@bugs.debian.org
Subject: Re: ALSA output started munging sound
Date: Fri, 13 Nov 2009 20:46:29 -0500
Hello Josip,

Audacious 2.2 will have a new ALSA output plugin.  Can you test it
please?  I've compiled a package which can coexist with the Debian
version.

(1) Download the .tar.gz and unpack it in the "/opt" folder, creating a
folder named "/opt/audacious".

        http://lockerbox.insideavemaria.org/Public/Students/john%20lindgren/audacious-unofficial-20091113.tar.gz

(2) Type this command to run it:

        export LD_LIBRARY_PATH=/opt/audacious/lib ; /opt/audacious/bin/audacious"
        
It's possible that the new plugin will fix your pitch problem; if not,
then we can debug it further.

Thanks for your time.

John Lindgren





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Sun, 15 Nov 2009 19:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Josip Rodin <joy@debbugs.entuzijast.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sun, 15 Nov 2009 19:21:03 GMT) (full text, mbox, link).


Message #15 received at 549925@bugs.debian.org (full text, mbox, reply):

From: Josip Rodin <joy@debbugs.entuzijast.net>
To: John Lindgren <john.lindgren@tds.net>
Cc: 549925@bugs.debian.org
Subject: Re: ALSA output started munging sound
Date: Sun, 15 Nov 2009 19:49:51 +0100
On Fri, Nov 13, 2009 at 08:46:29PM -0500, John Lindgren wrote:
> Hello Josip,
> 
> Audacious 2.2 will have a new ALSA output plugin.  Can you test it
> please?  I've compiled a package which can coexist with the Debian
> version.
> 
> (1) Download the .tar.gz and unpack it in the "/opt" folder, creating a
> folder named "/opt/audacious".
> 
>         http://lockerbox.insideavemaria.org/Public/Students/john%20lindgren/audacious-unofficial-20091113.tar.gz
> 
> (2) Type this command to run it:
> 
>         export LD_LIBRARY_PATH=/opt/audacious/lib ; /opt/audacious/bin/audacious"
>         
> It's possible that the new plugin will fix your pitch problem; if not,
> then we can debug it further.

Thanks for the offer, but I'm on x86_64 and your binaries are for x86_32;
I seemed to have most of the required libraries, but a couple are missing,
namely libmowgli.so.1, libmcs.so.1. I overrode those manually, but then
the plugins started complaining about libfaad.so.2, then I overrode that
manually, and then I got errors from them about libmad.so.0,
libsndfile.so.1, libvorbisfile.so.3, ... it's a new version of "DLL hell" :)
Sorry. Please provide a 64-bit build or tell us where to get the source.

-- 
     2. That which causes joy or happiness.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Mon, 16 Nov 2009 03:12:06 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Mon, 16 Nov 2009 03:12:06 GMT) (full text, mbox, link).


Message #20 received at 549925@bugs.debian.org (full text, mbox, reply):

From: John Lindgren <john.lindgren@tds.net>
To: Josip Rodin <joy@debbugs.entuzijast.net>
Cc: 549925@bugs.debian.org
Subject: Re: ALSA output started munging sound
Date: Sun, 15 Nov 2009 22:07:36 -0500
On Sun, 2009-11-15 at 19:49 +0100, Josip Rodin wrote:
> Thanks for the offer, but I'm on x86_64 and your binaries are for x86_32;
> I seemed to have most of the required libraries, but a couple are missing,
> namely libmowgli.so.1, libmcs.so.1. I overrode those manually, but then
> the plugins started complaining about libfaad.so.2, then I overrode that
> manually, and then I got errors from them about libmad.so.0,
> libsndfile.so.1, libvorbisfile.so.3, ... it's a new version of "DLL hell" :)
> Sorry. Please provide a 64-bit build or tell us where to get the source.

I don't have a 64-bit machine around to build on -- the source is at
http://audacious-media-player.org .

John Lindgren





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Mon, 12 Apr 2010 14:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Mon, 12 Apr 2010 14:03:03 GMT) (full text, mbox, link).


Message #25 received at 549925@bugs.debian.org (full text, mbox, reply):

From: John Lindgren <john.lindgren@tds.net>
To: Josip Rodin <joy@debbugs.entuzijast.net>
Cc: 549925@bugs.debian.org
Subject: Re: audacious: alsa output started munging sound
Date: Mon, 12 Apr 2010 10:01:24 -0400
Hello Josip,

Do you still see this problem with version 2.3?  You might also play
around with different sample rates; I once had a machine that would play
fine up to 48 kHz but would lower the pitch a little if I went to 96
kHz.

Peace,
John Lindgren





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Mon, 19 Apr 2010 16:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Mon, 19 Apr 2010 16:48:07 GMT) (full text, mbox, link).


Message #30 received at 549925@bugs.debian.org (full text, mbox, reply):

From: John Lindgren <john.lindgren@tds.net>
To: Josip Rodin <joy@debbugs.entuzijast.net>
Cc: 549925@bugs.debian.org
Subject: Re: audacious: alsa output started munging sound
Date: Mon, 19 Apr 2010 12:47:07 -0400
On Mon, 2010-04-19 at 18:43 +0200, Josip Rodin wrote:
> I'll need to fetch 2.3 from experimental, it seems. Do I need to expect
> any flakiness because of this?

IMO 2.3 is more stable than 2.1, but of course it hasn't been tested as
thoroughly yet.

Peace,
John Lindgren






Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#549925; Package audacious. (Mon, 19 Apr 2010 17:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Josip Rodin <joy@debbugs.entuzijast.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Mon, 19 Apr 2010 17:27:03 GMT) (full text, mbox, link).


Message #35 received at 549925@bugs.debian.org (full text, mbox, reply):

From: Josip Rodin <joy@debbugs.entuzijast.net>
To: John Lindgren <john.lindgren@tds.net>
Cc: 549925@bugs.debian.org
Subject: Re: audacious: alsa output started munging sound
Date: Mon, 19 Apr 2010 18:43:41 +0200
On Mon, Apr 12, 2010 at 10:01:24AM -0400, John Lindgren wrote:
> Do you still see this problem with version 2.3?  You might also play
> around with different sample rates; I once had a machine that would play
> fine up to 48 kHz but would lower the pitch a little if I went to 96
> kHz.

I'll need to fetch 2.3 from experimental, it seems. Do I need to expect
any flakiness because of this?

-- 
     2. That which causes joy or happiness.




Reply sent to Josip Rodin <joy@debbugs.entuzijast.net>:
You have taken responsibility. (Mon, 19 Apr 2010 18:27:09 GMT) (full text, mbox, link).


Notification sent to Josip Rodin <joy@debbugs.entuzijast.net>:
Bug acknowledged by developer. (Mon, 19 Apr 2010 18:27:09 GMT) (full text, mbox, link).


Message #40 received at 549925-close@bugs.debian.org (full text, mbox, reply):

From: Josip Rodin <joy@debbugs.entuzijast.net>
To: John Lindgren <john.lindgren@tds.net>
Cc: 549925-close@bugs.debian.org
Subject: Re: audacious: alsa output started munging sound
Date: Mon, 19 Apr 2010 19:58:25 +0200
On Mon, Apr 19, 2010 at 12:47:07PM -0400, John Lindgren wrote:
> On Mon, 2010-04-19 at 18:43 +0200, Josip Rodin wrote:
> > I'll need to fetch 2.3 from experimental, it seems. Do I need to expect
> > any flakiness because of this?
> 
> IMO 2.3 is more stable than 2.1, but of course it hasn't been tested as
> thoroughly yet.

Just as I was about to upgrade to 2.3, I went to reproduce the problem, but
then I realized that I no longer have the same setup - that motherboard with
a NVidia CK804 broke a few weeks ago and I replaced it with a different one
that happens to have HDA ATI SB, so my ALSA now uses snd_hda_intel, and
I don't see any problem with Audacious ALSA plugin any more (v2.1).

JFTR this is on:

% lsmod | grep snd
snd_hda_codec_realtek   260261  1 
snd_hda_intel          20936  0 
snd_hda_codec          66310  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5722  1 snd_hda_codec
snd_pcm_oss            32329  0 
snd_mixer_oss          12891  1 snd_pcm_oss
snd_pcm                67992  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss            24949  0 
snd_seq_midi            4613  0 
snd_rawmidi            17870  1 snd_seq_midi
snd_seq_midi_event      5716  2 snd_seq_oss,snd_seq_midi
snd_seq                46214  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              17731  2 snd_pcm,snd_seq
snd_seq_device          5433  4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    53454  12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc          6949  2 snd_hda_intel,snd_pcm

% cat /proc/asound/cards 
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe024000 irq 16

Since no one else stepped forward to corroborate my old problem, I'll close
this bug report, it could have been an obsolete fluke. Thanks for your
patience.

-- 
     2. That which causes joy or happiness.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 18 May 2010 07:33:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:07:01 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.