Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501096 - games-kids/gcompris-13.11 [-gstreamer] plays corrupt music
Summary: games-kids/gcompris-13.11 [-gstreamer] plays corrupt music
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 16:53 UTC by raffaele
Modified: 2014-02-13 21:04 UTC (History)
0 users

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 raffaele 2014-02-12 16:53:40 UTC
With gcompris-13.11 audio is completely corrupt. The previous version worked fine. On the shell there are the following messages:

$ gcompris
** Message: Binary relocation disabled
exec_prefix              = NONE
package_data_dir         = /usr/share/games/gcompris/boards
package_skin_dir         = /usr/share/games/gcompris/boards/skins
package_menu_dir         = /usr/share/games/gcompris/boards
package_locale_dir       = /usr/share/locale
package_plugin_dir       = /usr/games/lib64/gcompris
package_python_plugin_dir= /usr/share/games/gcompris/python
user_dir                 = /home/ralf/My GCompris
Infos:
   Config dir '/home/ralf/.config/.gcompris'
   Users dir '/home/ralf/My GCompris'
   Database '/home/ralf/.config/.gcompris/gcompris_sqlite.db'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:7843:(snd_pcm_recover) underrun occurred

The last message is repeated continously.
After starting gcompris, pulseaudio+gcompris consume 100% of CPU (with pulseaudio taking more than half of that); exiting gcompris CPU load returns idle.

# emerge -pv gcompris

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] games-kids/gcompris-13.11  USE="-gstreamer" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB




Reproducible: Always




Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.9.11-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.9.11-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.2
KiB Mem:     2533592 total,   1845064 free
KiB Swap:    1028124 total,   1028124 free
Timestamp of tree: Mon, 10 Feb 2014 21:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="/var/tmp/distdir.mirror ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://91.121.124.139/gentoo-distfiles/ ftp://tux.rainside.sk/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acpi alsa amd64 branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif faac fam firefox flac foomaticdb gdbm gif gimp gpm iconv jpeg jpeg2k lcms libnotify mad mjpeg mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2014-02-13 16:13:18 UTC
pulseaudio is terrible.  try without that.
Comment 2 raffaele 2014-02-13 19:44:05 UTC
(In reply to Mr. Bones. from comment #1)
> pulseaudio is terrible.  try without that.

You mean I should try to rebuild gcompris with +gstreamer ? Or rebuild world with -pulseaudio?

thanks
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2014-02-13 20:08:59 UTC
try pulseaudio --kill first and see if that makes a difference.  You're pretty much on your own as far as I'm concerned with pulseaudio though since there's no way I run that on any of my machines.
Comment 4 raffaele 2014-02-13 20:24:26 UTC
(In reply to Mr. Bones. from comment #3)
> try pulseaudio --kill first and see if that makes a difference.  You're
> pretty much on your own as far as I'm concerned with pulseaudio though since
> there's no way I run that on any of my machines.

Killing pulseaudio was not sufficient, it was spawned again when I started gcompris.
I rebuild media-plugins/alsa-plugins with -pulseaudio and now gcompris audio is OK.
The bug can be closed for me.

thanks again,

raffaele