When using ALSA libs 1.0.8 mplayer is fine. But if I upgrade to 1.0.9 or any of the rc releases before 1.0.9 was released the sound and the video are desynced. I've tried all different combinations of static in kernel drivers, modular kernel drivers, and alsa-driver. All provide the same results. Upon downgrading to 1.0.8 mplayer acts fine. Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc5-ck1 i686) ================================================================= System uname: 2.6.12-rc5-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.7.1 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 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.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -ftracer -fweb -pipe" 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/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -ftracer -fweb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noinfo sandbox sfperms" GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.espri.arizona.edu/gentoo-portage" USE="x86 X alsa apache2 cdr cups curl gtk gtk2 java jpeg junit lirc mmx mysql ncurses nptl opengl pcre perl png python readline sse ssl win32codecs xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
try -srate 44100 and -srate 48000, I heard it fixed problems sometimes. Does this also happen with the OSS emulation?
-srate 44100 looks like it works, but woudlnt that mean there is a bug somewhere if it WAS working and now it can't detect it properly or something?
(In reply to comment #2) > -srate 44100 looks like it works, but woudlnt that mean there is a bug somewhere > if it WAS working and now it can't detect it properly or something? I never know with alsa, but maybe your soundcard driver claims it can do 48kHz audio but in reality can't? Maybe try other video players, and try with and without dmix. But actually I'd suggest using OSS emulation, it works much better in most cases.
Making mplayer use oss also seems to fix it, but I still think its a bug somewhere in something. Nothing wrong with my driver cuz it worked fine with alsa libs 1.0.8.
try to use the updated drivers
So it seems ALSA 1.0.9 enables dmix by default and acording to the docs, dmix defaults to 48000. I've been googling and wiki'ing and just can't seem to find the right asoundrc file to get it to 44100. But the fixes in the mplayer config "fix" it.
so what is req here. If alsa 1.09 forces dmix , does it not provide a working config? I never managed to get dmix to work so say the built-in mixing as a way out. The result is sound is now completely broken (jumps stuttery unstable) and even retro-grading to 1.08 now shows the same issues. Is there possibley some residue that breaks 1.08. How to clean up and get back. Mplayer is now _unusable_ on any config. eg mp3 only... Video: no video Starting playback... alsa-space: xrun of at least 6.499 msecs. resetting stream alsa-space: xrun of at least 8.741 msecs. resetting stream A: 2.7 (02.7) 0.7% 77% MPlayer interrupted by signal 2 in module: play_audio alsa-uninit: pcm closed
This sounds familiar - I have a sound latency issue in alsa-libs 1.0.9 with bzflag. Funny is, it is only with my sound blaster (snd-ens1371). With onboard ac97-sound (snd-via82xx) there is no latency. with alsa 1.0.8, I
This sounds familiar - I have a sound latency issue in alsa-libs 1.0.9 with bzflag. Funny is, it is only with my sound blaster (snd-ens1371). With onboard ac97-sound (snd-via82xx) there is no latency. with alsa 1.0.8, I´m fine with both cards. See bug #100276.
Adding another datapoint. I have sync issues using amd64 with nvidia onboard using intel8x0 kernel driver. According to http://www.alsa-project.org/alsa-doc/index.php?vendor=vendor-Nvidia#matrix this chip always resamples to 48khz. Downgraded to 1.08 and no problems.
me too i have the same problem Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2. 6.13-gentoo-r3 x86_64) ================================================================= System uname: 2.6.13-gentoo-r3 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=nocona -march=nocona -pipe -fomit-frame-pointer -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/shar e/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/li b64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /u sr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/q mail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=nocona -march=nocona -pipe -fomit-frame-pointer -mfpmath=s se" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tis cali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/" LANG="it_IT.UTF-8" LINGUAS="ar bg bn br bs ca cs cy da de el en_GB eo es et eu fi fr fy ga he hi hsb hu is it lt mk nb nds nl nn pa pl pt pt_BR ro ru se sk sl sr sr@Latn sv ta tg tr uk zh_CN" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa apache2 arts audiofile authdaemon avi bash -completion bcmath berkdb bidi bitmap-fonts bluetooth bmp bonobo bzip2 caps cdd a cddb cdio cdr cgi chroot cpudetection crypt cups curl dbm dbus directfb dts d v dvd dvdr dvdread eds emacs emboss encode esd ethereal evo exif fam fame fbcon ffmpeg fftw firefox flac flash foomaticdb fortran freetype ftp gb gcj gd gdbm gif gimp gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ha l ieee1394 imagemagick imap imlib ithreads jack java jpeg junit kde libcaca lib clamav libedit libg++ libsamplerate libwww live lm_sensors logrotate lzo lzw lz w-tiff mad maildir matroska mikmod mjpeg mms motif mozilla mp3 mpeg msn mule mx mysql ncurses nls nsplugin ogg oggvorbis opengl oss pam pdf pdflib perl php pi c png ppds python qmail qt quicktime quotas rdesktop readline real recode samba scanner sdl session slang smp sndfile spamassassin speex spell ssl stream svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unic ode usb v4l vcd vhosts vorbis wifi wxgtk1 wxwindows xine xml xml2 xmms xpm xv x vid yahoo zlib linguas_ar linguas_bg linguas_bn linguas_br linguas_bs linguas_c a linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en_GB linguas_ eo linguas_es linguas_et linguas_eu linguas_fi linguas_fr linguas_fy linguas_ga linguas_he linguas_hi linguas_hsb linguas_hu linguas_is linguas_it linguas_lt linguas_mk linguas_nb linguas_nds linguas_nl linguas_nn linguas_pa linguas_pl l inguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_se linguas_sk linguas_sl linguas_sr linguas_sr@Latn linguas_sv linguas_ta linguas_tg linguas_tr linguas_ uk linguas_zh_CN userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
no alsa driver but last kernel
Cleaning out old bugs, the alsa libs mentioned arent even in the tree anymore. :) Thanks all