Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43752 - xmms sometimes gets noisy when using alsa+dmix
Summary: xmms sometimes gets noisy when using alsa+dmix
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 15:17 UTC by John Haiducek
Modified: 2004-03-24 16:43 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 John Haiducek 2004-03-04 15:17:17 UTC
When I run xmms with dmix, songs occasionally gain a lot of static/noise.  The problem goes away when I pause the song and start it again.  It's never happened with two songs playing simultaneously, but it only happens when I have dmix turned on.  All of my songs are mp3's, if that matters.

xmms 1.2.8
alsa-xmms 0.9.12
alsa 0.9.8

Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.






Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache apm arts avi berkdb bonobo cdr crypt cups dvd encode esd fbco
n foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib jpeg kde libg++ lib
www mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam
 pdflib perl php png ppds python qt quicktime readline sdl slang spell ssl svga 
tcpd truetype video_cards_radeon x86 xinerama xml xml2 xmms xv zlib"
Comment 1 John Haiducek 2004-03-04 15:20:51 UTC
Hardware: ThinkPad T30
Sound hardware: intel8x0

kernel 2.4.22-gentoo-r8

lsmod output:
Module                  Size  Used by    Not tainted
snd-mixer-oss          13168   0 (autoclean)
snd-intel8x0           19076   4
snd-pcm                60992   1 [snd-intel8x0]
snd-timer              14436   1 [snd-pcm]
snd-ac97-codec         42232   0 [snd-intel8x0]
snd-page-alloc          6068   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3456   0 [snd-intel8x0]
snd-rawmidi            12992   0 [snd-mpu401-uart]
snd-seq-device          4064   0 [snd-rawmidi]
snd                    32644   2 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3492   1 [snd]
sr_mod                 12728   0 (autoclean)
floppy                 49628   0 (autoclean)
radeon                121664   1
agpgart                18128   3 (autoclean)
parport_pc             26920   1 (autoclean)
lp                      6240   0 (autoclean)
parport                24064   1 (autoclean) [parport_pc lp]
usb-storage            22832   0 (unused)
mousedev                3988   1
hid                    14568   0 (unused)
input                   3232   0 [mousedev hid]
usb-uhci               22348   0 (unused)
hw_random               2744   0 (unused)
serial                 47012   0 (unused)
isa-pnp                29636   0 [serial]
rtc                     6556   0 (autoclean)
usbcore                59744   1 [usb-storage hid usb-uhci]
nls_iso8859-1           2812   1 (autoclean)
ntfs                   76556   1 (autoclean)
ide-scsi                9680   0
ide-floppy             13632   0
ide-cd                 30436   0
cdrom                  29728   0 [sr_mod ide-cd]
apm                    10148   2


asound.conf:
[code]
pcm.!default {
        type plug
        slave.pcm "dmixer"
    }

pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
} 
    pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
            pcm "hw:0,0"
            period_time 0
            period_size 1024
            buffer_size 8192
            rate 44100
        }
        bindings {
            0 0
            1 1
        }
    }
 
    ctl.dmixer {
        type hw
        card 0
    }

        pcm.intel8x0 {
           type hw
           card 0
        }

        ctl.intel8x0 {
           type hw
           card 0
        }

[/code]
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2004-03-12 13:25:51 UTC
don't emerge alsa-xmms 0.9.12. an alsa plugin is already included in xmms! and try upgrading to xmms-1.2.10.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-20 20:24:40 UTC
John, did the xmms-included alsa plugin fix your problem?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-24 16:43:05 UTC
closing due to lack of response from submitter.