Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298366 - media-sound/audacious-2.2 underruns in alsa playback
Summary: media-sound/audacious-2.2 underruns in alsa playback
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://jira.atheme.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-25 18:39 UTC by Michael P. Soulier
Modified: 2009-12-29 09:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael P. Soulier 2009-12-25 18:39:08 UTC
audacious worked fine previously, but recently I noticed spotty playback. Running in a terminal I found

msoulier@anton:~$ audacious2 &
[1] 4281
msoulier@anton:~$ alsa-gapless: snd_device_name_hint failed: Invalid argument.
madplug: lost synchronization.
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured

This only happens with audacious. mplayer is using alsa for output and it works fine. 

msoulier@anton:~$ emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r8-fsrc1 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-fsrc1-i686-AMD_Athlon-tm-_XP_1700+-with-gentoo-1.12.13
Timestamp of tree: Sat, 19 Dec 2009 09:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r2
dev-lang/python:     2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi aim alsa bash-completion berkdb branding bzip2 cairo cli cracklib crypt cxx dri dvd dvdr dvdread encode exif ffmpeg fontconfig gdbm gif gnuplot gphoto2 gpm gtk iconv imap ipod ipv6 jpeg mikmod modules mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection session spl ssl svg sysfs tcpd tiff tk truetype unicode usb vorbis win32codecs x86 xcomposite xine xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michael P. Soulier 2009-12-25 20:52:48 UTC
Note, I masked-out the 2.2 version and went back to 2.1.

Audacious now plays without the underruns. The "madplug: lost synchronization" warning is still present but it does not seem to affect playback. 
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-12-27 12:50:17 UTC
Not specific to the Gentoo ebuild but instead to your soundcard/ALSA configuration. Please report upstream. The tracker is in the URL field for this bug.
Comment 3 Michael P. Soulier 2009-12-27 14:23:40 UTC
Done. https://support.atlassian.com/browse/JSP-49792
Comment 4 Michael P. Soulier 2009-12-29 04:31:46 UTC
Whoops, make that here

http://jira.atheme.org/browse/AUD-115
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-12-29 09:50:53 UTC
The second looks much better, thank you. I expect that John Lindgren will be in touch soon.