After upgrade to ALSA 1.0.9 (lib, driver), sound with snd-ens1371 has several 100ms latency. Nasty in bzflag, noticeable with xmms, not noticeable with xine playing dvd. fps "cube" crashes while starting. Problem is reproducible with kernel 2.6.12-r4, 2.6.12-r6 and vanilla 2.6.11.12. Problem not affected by IO-APIC option, HPET or in kernel-alsa or alsa-driver. Problem does not affect the snd-via82xx driver, which is on the mainboard. Reproducible: Always Steps to Reproduce: 1. have 2.6.12 kernel running with alsa-1.0.9 and snd-end1371 as only soundcard 2. start a bzflag game OR 3. start cube Actual Results: In bzflag, all sounds are some 100ms late and slightly disturbed. cube crashes after starting "SDL parachute deployed" Expected Results: work as with snd-via82xx, e.g. no noticable latency, cube not crashing. Maybe bug #94577 is induced by this fault.
Please provide emerge --info. I've got that card in my sparc box, and it's working great for me with 1.0.9b driver and 1.0.8 lib. Can you try downgrading alsa-lib.
With alsa-lib-1.0.8 bzflag works OK with snd-ens1371; xmms has no noticeable latency. cube still crashes (I have to say I installed cube separately from a tarball and precompiled binary): zut@heinrich /usr/local/src/cube $ ./cube_unix init: sdl init: net init: world game mode is ffa/default init: video: sdl init: video: mode init: video: misc init: gl init: basetex init: sound sound init failed (SDL_mixer): Could not open requested file init: cfg could not read "servers.cfg" init: localconnect init: mainloop read map packages/base/metl3.cgz (223 milliseconds) Cyclops by metlslime game mode is ffa/default Fatal signal: Floating Point Exception (SDL Parachute Deployed) My info (before downgrading to alsa-lib-1.0.8): heinrich zut # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-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/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de nds en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl divx4linux dvd dvdread emboss encode esd fam flac foomaticdb fortran gd gdbm gif gimpprint gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java joystick jpeg jpeg2k junit kde libg++ libwww mad mbox mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline real scanner sdl slang speex spell sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis xine xinerama xml2 xmms xv zlib linguas_de linguas_nds linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, PORTDIR_OVERLAY
Sorry for being away for so long... is this still noticible with a 2.6.16 kernel and its builtin alsa modules? What about alsa-driver-1.0.11_rc?
Please, test w/ alsa-driver-1.0.11 and current kernels, as requested above.
Just switched from in-kernel alsa to alsa-driver-1.0.11. kernel is 2.6.17-r4. bzflag: sound stutters with relatively high frequency (5-8/s, shots sound like machine gun). cube: starts and plays sound as expected. amarok plays sound as it should. had no time yet to test via-driver or in-kernel alsa with snd-ens-1371.
Switched to via82xx and alsa-driver, sound in bzflag is normal again. semms to be driver-specific.