Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203173

Summary: media-sound/audacious: pulseaudio problem
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.atheme.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: audacious log

Description Rafał Mużyło 2007-12-23 20:34:14 UTC
Regarding 1.4.4 (probably whole 1.4 series)
At first I thought it was a problem with flac plugin, but it seems it's actually pulseaudio related.
As long as I played an Audio CD everything seemed fine, but when I tried to play a flac file, problems appeared. However when I tried a mp3 file similar problem appeared.
The problem:
1. when audio is set to pulse output, playback repeatly stops and starts again
2. when audio is set to alsa output (through pulse alsa plugin) playback in each file is fine, but when it reaches end of the file, it does not advance to the next one (audtool playback-status reports playing whole time) - with pulse output this does not happen, when end of file is reached, it advances correctly
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-12-23 21:56:22 UTC
This bug report is incomplete. I am missing:
1) emerge --info
2) emerge -pv audacious audacious-plugins
3) audacious --no-log &> audacious.runlog.txt
Comment 2 Rafał Mużyło 2007-12-23 22:24:09 UTC
emerge --info :
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Duron(tm) Processor
Timestamp of tree: Sun, 23 Dec 2007 14:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r2, 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -mtune=athlon -pipe -fgnu89-inline"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -mtune=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,relro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -mtune=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,relro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi afs alsa apache2 apm audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 bzlib cairo caps cdr cjk cli cracklib crypt cscope curl dbus directfb doc dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg firefox flac fortran ftp gdbm ggi gif glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap ipv6 isdnlog java javascript joystick jpeg jpeg2k kerberos lcms ldap leim libwww mad maildir matroska midi mikmod mmap mmx mng motif mp3 mpeg mudflap mysql ncurses nis nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png posix pppd python qt qt3support qt4 quicktime readline reflection ruby sasl sdl session sharedext slp sndfile sockets speex spell spl ssl svg tcpd tetex theora tiff tk tokenizer truetype truetype-fonts type1-fonts unicode v4l vcd vhosts vorbis win32codecs wmf wxwindows x86 xcb xface xinerama xml xml2 xorg xosd xv xvid zlib" ALSA_CARDS="dummy virmidi ens1371 mpu401 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 evdev linuxinput ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-- it won't help you, I've got a large packages.keywords
version of audacious: look above, plugins: 1.4.2
Comment 3 Rafał Mużyło 2007-12-23 22:25:35 UTC
Created attachment 139215 [details]
audacious log

Finally, audacious log, really helpful, ain't it ?
Comment 4 Rafał Mużyło 2007-12-23 22:34:29 UTC
Thing that actually might be helpful:
media-sound/pulseaudio-0.9.8-r2
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2007-12-23 22:52:28 UTC
You still haven't provided:
2) emerge -pv audacious audacious-plugins

Your LDFLAGS are cause for concern, compile at least the audacious core, plugins & pulseaudio without them.
Comment 6 Rafał Mużyło 2007-12-23 23:22:04 UTC
I did, you just missed it:
audacious: 1.4.4; plugins: 1.4.2
And LDFLAGS should not be a problem:
-Wl,-O1 -Wl,--sort-common -Wl,-z,relro are considered safe (relro is a default for hardened, I think)
and while -Wl,--as-needed does cause problems sometimes, they are mainly linking problems, and ldd -r would discover them.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2007-12-23 23:24:12 UTC
Bug reporter is unable to provide requested information and unwilling to try without unsupported LDFLAGS. I will be unable to assist.
Comment 8 Rafał Mużyło 2007-12-24 00:17:56 UTC
Listen, I may try reemerging it tomorrow.
But I'm almost 100% that you are wrong.
I've got dozens of packages with those flags (nearly all)
AudioCDs work regardless of output type
flac123 that uses libao, which is setup to use pulseaudio plays those files correctly
What's more, if LDFLAGS were actually the problem, then I think there would be errors while loading the plugins
While I had a few of as-needed bugs, most of them were easily solved (in most cases by myself) and they were either failing to link during compile or were detected by ldd -r
If it was a linking problem those plugins would probably not be loaded at all and as  I said they DO work, but with issues.
(If I had to guess, I'd say that pulse output maybe some thread locking issue, don't know about alsa, though.)
Comment 9 Tony Vroon (RETIRED) gentoo-dev 2007-12-24 01:14:02 UTC
Feel free to report the issue upstream if you do not agree with me.