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

Bug 97935

Summary: Sound freezes when playing musepack files with Beep-Media-Player
Product: Gentoo Linux Reporter: Fredrik Smedberg <jva-misc>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fredrik Smedberg 2005-07-04 14:00:45 UTC
When playing a musepack-file with Beep-Media-Player using the bmp-musepack
plugin and having "Enable Dynamic Bitrate Display" activated, the sound freezes
and stops playing if I lock the screen using the screensaver in Gnome. It's like
it has no screen to update the bitrate on and then stops playing... I've tried
to disable the dynamic bitrate display and then it works perfect and never freezes.

I use media-plugins/bmp-musepack-1.2_rc1 and this is my emerge info:
(I've tried to turn the CFLAGS off and then reemerged the plugin)

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 22 2005, 23:06:56)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.se http://mirror.pudas.net/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnow 3dnowext 7zip X a52 acpi alsa bcmath berkdb bitmap-fonts bzlib
cdr crypt cups curl dvd dvdr eds esd fam flac font-server fortran ftp gdbm gif
gnome gnutls gpm gstreamer gtk imlib ipv6 jp2 jpeg jpeg2k libwww lzo lzw
lzw-tiff mad mmx mmxext mozilla mp3 multilib mysql ncurses network nls nptl ogg
oggvorbis opengl oss pam perl png python qt readline sdl slang sqlite sse sse2
ssl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales vorbis xinerama xml xml2 xmms xpm xrandr xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS

Reproducible: Always
Steps to Reproduce:
1. Play a musepack song in Beep-Media-Player and lock the screen in Gnome.
Comment 1 Fredrik Smedberg 2005-07-05 03:41:51 UTC
I've been able to reproduce this with the plugin for playing OGG Vorbis-files
too. One thing is weird though. I've only been able to reproduce this when
playing .ogg -or .mpc-files using the ALSA Output-plugin. If I output the audio
with OSS, I've never been able to reproduce it even with "Enable Dynamic Bitrate
Display" activated.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2005-07-30 10:05:57 UTC
Do not expect support with CFLAGS like this (all of the flags following after
-fomit-frame-pointer have been explained as unsupported numerous times), in
order to undo their effects you would have to emerge -e world. I am unable to
reproduce this bug.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-4.0.1,
glibc-2.3.5.20050722-r0, 2.6.13-rc4 i686)
=================================================================
System uname: 2.6.13-rc4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer
-ftree-vectorize"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer
-ftree-vectorize"
DISTDIR="/store/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sfperms
sign"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/cvs/gentoo-x86/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/disabled"
USE="x86 16bit 3dnow 3dnowex 3dnowext S3TC X X509 a52 aac aalib acpi aim alsa ao
aotuv asm audiofile avi bash bash-completion beepmp berkdb bitmap-fonts bmp
bonobo bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr codecs crypt css cups
curl dga djbfft dmx dpms dts dv dvd ecc edl eds elf encode erandom evo evo2 exif
faad fame fb fbcon ffmpeg fftw firefox flac flash font-server foomaticdb fortran
fpx freetype ftp gb gcj gd gdbm gif glitz glut gnome gnomedb gnutls gphoto2
gstreamer gtk gtk2 gtkhtml hal howl icq imagemagick imap imlib imlib2 inifile
ipv6 irc jabber java jbig jce jikes joystick jpeg kde kerberos krb4 ldap libcaca
libg++ libsamplerate libwww live lm_sensors lzo lzw mad maildir matroska md5sum
mikmod mjpeg mmap mmx mmxext mng monkey mono mozsvg mp3 mpeg mpeg4 mplayer msn
native ncurses nls nptl nptlonly ntlm nvidia ode ogg oggvorbis openal opengl
oscar pam pcre pdflib perl physfs pic png posix ppds python quicktime readline
real rtc sblive sdl serial silc slang slp smime sndfile speex spell sqlite sse
ssl stencil-buffer svg svgz symlink sysfs sysvipc szip tcltk tetex tga theora
tiff timidity transcode truetype truetype-fonts type1-fonts unicode ups uptimed
usb utf8 v4l v4l2 vcd vorbis wifi win32codecs wma123 wmf xanim xine xinerama xml
xml2 xprint xscreensaver xv xvid xvmc yv12 zeroconf zlib zvbi userland_GNU
kernel_linux elibc_glibc"Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS
Comment 3 Fredrik Smedberg 2005-07-31 07:47:52 UTC
Tony, if you look carefully at my post you see that I wrote "(I've tried to turn
the CFLAGS off and then reemerged the plugin)", which means I've also tried to
compile with no CFLAG-optimizings at all. The only one I used was -march=athlon64

This problem however with the freezing occurs for both mp3, ogg and musepack,
but only when using the ALSA-output plugin. When I use OSS-output it never ever
occurs.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2005-07-31 07:59:10 UTC
I feel I am repeating myself when I say:
"Do not expect support with CFLAGS like this (all of the flags following after
-fomit-frame-pointer have been explained as unsupported numerous times), in
order to undo their effects you would have to emerge -e world. I am unable to
reproduce this bug."
Especially the part about emerge -e world is important. It could be any
supporting package being broken, from the musepack library to the software
volume control in ALSA.
If you want to use CFLAGS marked unsupported, that is fine, this is a free
country. You can have a CFLAGS line in /etc/make.conf that wraps around to the
next line 5 times. However, you can not open a bug and demand support.